newTemplate
Returns
Returns a ScriptModelObject representing the new Template instance. The ID for the instance is generated using the Web Framework's random GUID generator.
newTemplate(String templateTypeId)
Parameters
- templateTypeId
- A string representing the id of the template type to be created.
Returns
Returns a ScriptModelObject representing the new Template instance. The ID for the instance is generated using the Web Framework's random GUID generator.
newTemplate(String templateTypeId, String title, String description)
Parameters
- templateTypeId
- A string representing the id of the template type to be created.
- title
- The title of the template instance.
- description
- The description of the template instance.
Returns
Returns a ScriptModelObject representing the new Template instance. The ID for the instance is generated using the Web Framework's random GUID generator.
newTemplate(String templateTypeId, String title, String titleId, String description, String descriptionId)
Parameters
- templateTypeId
- A string representing the id of the template type to be created.
- title
- The title of the template instance.
- titleId
- The message bundle key used to look up the title of the template instance.
- description
- The description of the template instance.
- descriptionId
- The message bundle key used to look up the description of the template instance.
Returns
Returns a ScriptModelObject representing the new Template instance. The ID for the instance is generated using the Web Framework's random GUID generator.