| Package | Description |
|---|---|
| org.springframework.extensions.webscripts |
| Modifier and Type | Method and Description |
|---|---|
ScriptModelObject |
ScriptModelObject.clone()
Creates a clone of this model object
|
ScriptModelObject |
ScriptModelObject.clone(String newObjectId)
Creates a clone of this model object
The provided is to set as the new id of the object
|
ScriptModelObject |
ScriptSiteData.findConfiguration(String sourceId)
Looks up Configuration instances and returns the first instance
that is found for the matching constraints.
|
ScriptModelObject |
ScriptSiteData.findTemplate(String pageId)
Looks up Template instances and returns the first instance
that is found for the matching constraints.
|
ScriptModelObject |
ScriptSiteData.findTemplate(String pageId,
String formatId)
Looks up Template instances and returns the first instance
that is found for the matching constraints.
|
ScriptModelObject |
ScriptSiteData.getChrome(String objectId) |
ScriptModelObject |
ScriptSiteData.getComponent(String objectId) |
ScriptModelObject |
ScriptSiteData.getComponent(String scope,
String regionId,
String sourceId) |
ScriptModelObject |
ScriptSiteData.getComponentType(String objectId) |
ScriptModelObject |
ScriptSiteData.getConfiguration(String objectId) |
ScriptModelObject |
ScriptSiteData.getContentAssociation(String objectId) |
ScriptModelObject |
ScriptRenderingInstance.getObject()
Gets the object.
|
static ScriptModelObject |
ScriptHelper.getObject(RequestContext context,
String objectTypeId,
String objectId)
Retrieves a model object from the underlying store and hands it back
wrapped as a ScriptModelObject.
|
ScriptModelObject |
ScriptBase.getObject(String objectTypeId,
String objectId)
Retrieves a model object from the underlying store and hands it back
wrapped as a ScriptModelObject.
|
ScriptModelObject |
ScriptRenderContext.getPage() |
ScriptModelObject |
ScriptSiteData.getPage(String objectId) |
ScriptModelObject |
ScriptSiteData.getPageAssociation(String objectId) |
ScriptModelObject |
ScriptSiteData.getPageType(String objectId) |
ScriptModelObject |
ScriptSiteData.getRootPage()
Provides access to the root page for the web application.
|
ScriptModelObject |
ScriptRenderContext.getRootPage() |
ScriptModelObject |
ScriptSiteData.getSiteConfiguration()
Provides access to the site configuration object for the web
application.
|
ScriptModelObject |
ScriptRenderContext.getSiteConfiguration() |
ScriptModelObject |
ScriptRenderContext.getTemplate() |
ScriptModelObject |
ScriptSiteData.getTemplate(String objectId) |
ScriptModelObject |
ScriptSiteData.getTemplateType(String objectId) |
ScriptModelObject |
ScriptRenderContext.getTheme() |
ScriptModelObject |
ScriptSiteData.getTheme(String objectId) |
ScriptModelObject |
ScriptSiteData.newChrome()
Creates a new Chrome instance.
|
ScriptModelObject |
ScriptSiteData.newComponent()
Creates a new Component instance.
|
ScriptModelObject |
ScriptSiteData.newComponent(String componentTypeId)
Creates a new Component instance of the given component type
The id for the instance is generated using the Web Framework's Random
GUID generator.
|
ScriptModelObject |
ScriptSiteData.newComponent(String scope,
String regionId,
String sourceId)
Creates a new Component instance of the given component type.
|
ScriptModelObject |
ScriptSiteData.newComponent(String componentTypeId,
String scope,
String regionId,
String sourceId)
Creates a new Component instance of the given component type.
|
ScriptModelObject |
ScriptSiteData.newComponentType()
Creates a new ComponentType instance.
|
ScriptModelObject |
ScriptSiteData.newConfiguration()
Creates a new Configuration instance.
|
ScriptModelObject |
ScriptSiteData.newConfiguration(String sourceId)
Creates a new Configuration instance that is bound to the given sourceId.
|
ScriptModelObject |
ScriptSiteData.newContentAssociation()
Creates a new ContentAssociation instance.
|
ScriptModelObject |
ScriptSiteData.newObject(String objectTypeId)
Creates a new object for the given type id
|
ScriptModelObject |
ScriptSiteData.newObject(String objectTypeId,
String objectId)
Creates a new object for the given type id
|
ScriptModelObject |
ScriptSiteData.newPage()
Creates a new Page instance.
|
ScriptModelObject |
ScriptSiteData.newPage(String id)
Creates a new Page instance with the specified ID.
|
ScriptModelObject |
ScriptSiteData.newPage(String id,
String title,
String description)
Creates a new Page instance with the specified ID.
|
ScriptModelObject |
ScriptSiteData.newPage(String id,
String title,
String titleId,
String description,
String descriptionId)
Creates a new Page instance with the specified ID.
|
ScriptModelObject |
ScriptSiteData.newPageAssociation()
Creates a new PageAssociation instance.
|
ScriptModelObject |
ScriptSiteData.newPageType(String objectId)
Creates a new PageType instance.
|
ScriptModelObject |
ScriptSiteData.newTemplate()
Creates a new Template instance.
|
ScriptModelObject |
ScriptSiteData.newTemplate(String templateTypeId)
Creates a new Template instance.
|
ScriptModelObject |
ScriptSiteData.newTemplate(String templateTypeId,
String title,
String description)
Creates a new Template instance.
|
ScriptModelObject |
ScriptSiteData.newTemplate(String templateTypeId,
String title,
String titleId,
String description,
String descriptionId)
Creates a new Template instance.
|
ScriptModelObject |
ScriptSiteData.newTemplateType(String objectId)
Creates a new TemplateType instance.
|
ScriptModelObject |
ScriptSiteData.newTheme(String objectId)
Creates a new Theme instance.
|
static ScriptModelObject |
ScriptHelper.toScriptModelObject(RequestContext context,
ModelObject modelObject)
Wraps a ModelObject with a script wrapper to produce a ScriptModelObject
that can be used by the script and Freemarker engines.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ScriptSiteData.bindComponent(ScriptModelObject componentObject,
String scope,
String regionId,
String sourceId) |
Copyright © 2005–2016 Alfresco Software. All rights reserved.