findTemplate() - these methods look up template instances
and return the first instance that is found for the matching constraints.
findTemplate
findTemplate(String pageId) - looks up Template instances
and returns the first instance that is found for the matching constraints.
Parameters
- pageId
- A string representing the page id.
Returns
Returns a ScriptModelObject instance that wraps the Template instance.
findTemplate
findTemplate(String pageId, String formatId) - looks up
Template instances and returns the first instance that is found for the matching
constraints.
Parameters
- pageId
- A string representing the page id.
- formatId
- A string representing the format id.
Returns
Returns a ScriptModelObject instance that wraps the Template instance.