| Modifier and Type | Method and Description |
|---|---|
ModelObject |
AbstractDependencyExtensibilityDirective.getModelObject()
Gets the
ModelObject for the current thread. |
ModelObject |
RenderServiceFreeMarkerDirective.getObject() |
ModelObject |
RenderServiceExtensibilityDirective.getObject() |
| Modifier and Type | Method and Description |
|---|---|
AddInlineJavaScriptDirective |
DirectiveFactory.createAddInlineJavaScriptDirective(String directiveName,
ModelObject object,
org.springframework.extensions.surf.extensibility.ExtensibilityModel extensibilityModel,
RequestContext context)
Creates a new
AddInlineJavaScriptDirective directive. |
AddInlineJavaScriptDirective |
DefaultDirectiveFactory.createAddInlineJavaScriptDirective(String directiveName,
ModelObject object,
org.springframework.extensions.surf.extensibility.ExtensibilityModel extensibilityModel,
RequestContext context)
Creates a new
AddInlineJavaScriptDirective directive. |
ChecksumResourceDirective |
DirectiveFactory.createChecksumResourceDirective(String directiveName,
ModelObject object,
org.springframework.extensions.surf.extensibility.ExtensibilityModel extensibilityModel,
RequestContext context)
Creates a new
ChecksumResourceDirective directive. |
ChecksumResourceDirective |
DefaultDirectiveFactory.createChecksumResourceDirective(String directiveName,
ModelObject object,
org.springframework.extensions.surf.extensibility.ExtensibilityModel extensibilityModel,
RequestContext context)
Creates a new
ChecksumResourceDirective directive. |
CreateWebScriptWidgetsDirective |
DirectiveFactory.createCreateWebScriptsDirective(String directiveName,
ModelObject object,
org.springframework.extensions.surf.extensibility.ExtensibilityModel extensibilityModel,
RequestContext context)
Creates a new
CreateWebScriptWidgetsDirective directive. |
CreateWebScriptWidgetsDirective |
DefaultDirectiveFactory.createCreateWebScriptsDirective(String directiveName,
ModelObject object,
org.springframework.extensions.surf.extensibility.ExtensibilityModel extensibilityModel,
RequestContext context)
Creates a new
CreateWebScriptWidgetsDirective directive. |
CssDependencyDirective |
DirectiveFactory.createCssDependencyDirective(String directiveName,
ModelObject object,
org.springframework.extensions.surf.extensibility.ExtensibilityModel extensibilityModel,
RequestContext context)
Creates a new
CssDependencyDirective directive. |
CssDependencyDirective |
DefaultDirectiveFactory.createCssDependencyDirective(String directiveName,
ModelObject object,
org.springframework.extensions.surf.extensibility.ExtensibilityModel extensibilityModel,
RequestContext context)
Creates a new
CssDependencyDirective directive. |
JavaScriptDependencyDirective |
DirectiveFactory.createJavaScriptDependencyDirective(String directiveName,
ModelObject object,
org.springframework.extensions.surf.extensibility.ExtensibilityModel extensibilityModel,
RequestContext context)
Creates a new
JavaScriptDependencyDirective directive. |
JavaScriptDependencyDirective |
DefaultDirectiveFactory.createJavaScriptDependencyDirective(String directiveName,
ModelObject object,
org.springframework.extensions.surf.extensibility.ExtensibilityModel extensibilityModel,
RequestContext context)
Creates a new
JavaScriptDependencyDirective directive. |
MessagesDependencyDirective |
DirectiveFactory.createMessagesDependencyDirective(String directiveName,
ModelObject object,
org.springframework.extensions.surf.extensibility.ExtensibilityModel extensibilityModel,
RequestContext context) |
MessagesDependencyDirective |
DefaultDirectiveFactory.createMessagesDependencyDirective(String directiveName,
ModelObject object,
org.springframework.extensions.surf.extensibility.ExtensibilityModel extensibilityModel,
RequestContext context)
Creates a new
MessagesDependencyDirective directive. |
OutputCSSDirective |
DirectiveFactory.createOutputCssDirective(String directiveName,
ModelObject object,
org.springframework.extensions.surf.extensibility.ExtensibilityModel extensibilityModel,
RequestContext context)
Creates a new
OutputCSSDirective directive. |
OutputCSSDirective |
DefaultDirectiveFactory.createOutputCssDirective(String directiveName,
ModelObject object,
org.springframework.extensions.surf.extensibility.ExtensibilityModel extensibilityModel,
RequestContext context)
Creates a new
OutputCSSDirective directive. |
OutputJavaScriptDirective |
DirectiveFactory.createOutputJavaScriptDirective(String directiveName,
ModelObject object,
org.springframework.extensions.surf.extensibility.ExtensibilityModel extensibilityModel,
RequestContext context)
Creates a new
OutputJavaScriptDirective directive. |
OutputJavaScriptDirective |
DefaultDirectiveFactory.createOutputJavaScriptDirective(String directiveName,
ModelObject object,
org.springframework.extensions.surf.extensibility.ExtensibilityModel extensibilityModel,
RequestContext context)
Creates a new
OutputJavaScriptDirective directive. |
ProcessJsonModelDirective |
DirectiveFactory.createProcessJsonModelDirective(String directiveName,
ModelObject object,
org.springframework.extensions.surf.extensibility.ExtensibilityModel extensibilityModel,
RequestContext context,
WebFrameworkConfigElement webFrameworkConfig)
Creates a new
ProcessJsonModelDirective. |
ProcessJsonModelDirective |
DefaultDirectiveFactory.createProcessJsonModelDirective(String directiveName,
ModelObject object,
org.springframework.extensions.surf.extensibility.ExtensibilityModel extensibilityModel,
RequestContext context,
WebFrameworkConfigElement webFrameworkConfig) |
RelocateJavaScriptOutputDirective |
DirectiveFactory.createRelocateJavaScriptDirective(String directiveName,
ModelObject object,
org.springframework.extensions.surf.extensibility.ExtensibilityModel extensibilityModel,
RequestContext context)
Creates a new
RelocateJavaScriptOutputDirective directive. |
RelocateJavaScriptOutputDirective |
DefaultDirectiveFactory.createRelocateJavaScriptDirective(String directiveName,
ModelObject object,
org.springframework.extensions.surf.extensibility.ExtensibilityModel extensibilityModel,
RequestContext context)
Creates a new
RelocateJavaScriptOutputDirective directive. |
StandaloneWebScriptWrapper |
DirectiveFactory.createStandaloneWebScriptWrapperDirective(String directiveName,
ModelObject object,
org.springframework.extensions.surf.extensibility.ExtensibilityModel extensibilityModel,
RequestContext context) |
StandaloneWebScriptWrapper |
DefaultDirectiveFactory.createStandaloneWebScriptWrapperDirective(String directiveName,
ModelObject object,
org.springframework.extensions.surf.extensibility.ExtensibilityModel extensibilityModel,
RequestContext context)
Creates a new
ChromeDetectionDirective. |
void |
AbstractDependencyExtensibilityDirective.setModelObject(ModelObject object)
Sets the
ModelObject for the current thread. |
protected void |
DefaultDirectiveFactory.setupDirective(AbstractDependencyExtensibilityDirective directive,
ModelObject object,
RequestContext context)
Sets up a directive with the core objects needed.
|
| Constructor and Description |
|---|
ChromeIncludeFreeMarkerDirective(String directiveName,
RequestContext context,
ModelObject object,
RenderService renderService)
Instantiates a new
ChromeIncludeFreeMarkerDirective. |
ComponentFreemarkerTagDirective(String directiveName,
RequestContext context,
ModelObject object,
RenderService renderService)
Instantiates a new
ComponentFreemarkerTagDirective. |
RegionFreemarkerTagDirective(String directiveName,
org.springframework.extensions.surf.extensibility.ExtensibilityModel model,
RequestContext context,
ModelObject object,
RenderService renderService)
Instantiates a new
RegionFreemarkerTagDirective. |
RenderServiceExtensibilityDirective(String directiveName,
org.springframework.extensions.surf.extensibility.ExtensibilityModel model,
RequestContext context,
ModelObject object,
RenderService renderService) |
RenderServiceFreeMarkerDirective(String directiveName,
RequestContext context,
ModelObject object,
RenderService renderService)
This constructor will need to invoked by subclasses and ensures that a directive name,
RequestContext
and RenderService are provided. |
ResourceFreemarkerTagDirective(String directiveName,
RequestContext context,
ModelObject object,
RenderService renderService)
Instantiates a new
ResourceFreemarkerTagDirective. |
StyleSheetFreeMarkerDirective(String directiveName,
RequestContext context,
ModelObject object,
RenderService renderService)
Instantiates a new
StyleSheetFreeMarkerDirective. |
SurfBugIncludeFreeMarkerDirective(String directiveName,
RequestContext context,
ModelObject object,
RenderService renderService)
Instantiates a new
SurfBugIncludeFreeMarkerDirective. |
| Modifier and Type | Method and Description |
|---|---|
ModelObject |
ModelObjectService.clone(String objectTypeId,
String objectId)
Clones a given model object
|
ModelObject |
ModelObjectService.clone(String objectTypeId,
String objectId,
String newObjectId)
Clones a given model object
|
ModelObject |
ModelObjectPersister.getObject(ModelPersistenceContext context,
String objectTypeId,
String objectId)
Gets an object from persisted storage by id
|
ModelObject |
ObjectPersistenceService.getObject(String objectTypeId,
String objectId)
Retrieves an object from the persister that manages the given object type.
|
ModelObject |
ModelObjectService.getObject(String objectTypeId,
String objectId)
Gets an object instance of the given type and with the given id.
|
ModelObject |
ModelObjectPersister.newObject(ModelPersistenceContext context,
String objectTypeId,
String objectId)
Creates a new object
|
ModelObject |
ObjectPersistenceService.newObject(String objectTypeId)
Create a new object.
|
ModelObject |
ModelObjectService.newObject(String objectTypeId)
Creates a new object instance with the given object type id.
|
ModelObject |
ObjectPersistenceService.newObject(String objectTypeId,
String objectId)
Create a new object.
|
ModelObject |
ModelObjectService.newObject(String objectTypeId,
String objectId)
Creates new object instance with teh given object type id and object id.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,ModelObject> |
ModelObjectService.findChrome()
Returns a map of Chrome instances
|
Map<String,ModelObject> |
ModelObjectService.findChrome(String chromeType)
Returns a filtered map of Chrome instances.
|
Map<String,ModelObject> |
ModelObjectService.findComponents()
Returns a map of Component instances.
|
Map<String,ModelObject> |
ModelObjectService.findComponents(String componentTypeId)
Returns a filtered map of Component instances.
|
Map<String,ModelObject> |
ModelObjectService.findComponents(String scope,
String regionId,
String sourceId,
String componentTypeId)
Returns a filtered map of Component instances.
|
Map<String,ModelObject> |
ModelObjectService.findComponentTypes()
Returns a map of Component Type instances.
|
Map<String,ModelObject> |
ModelObjectService.findComponentTypes(String uri)
Returns a fitlered map of Component Type instances.
|
Map<String,ModelObject> |
ModelObjectService.findConfigurations()
Returns a map of Configuration instances.
|
Map<String,ModelObject> |
ModelObjectService.findConfigurations(String sourceId)
Returns a filtered map of Configuration instances.
|
Map<String,ModelObject> |
ModelObjectService.findContentAssociations()
Returns a map of Content Association instances.
|
Map<String,ModelObject> |
ModelObjectService.findContentAssociations(String sourceId,
String sourceType,
String destId,
String assocType,
String formatId)
Returns a filtered map of Content Association instances.
|
Map<String,ModelObject> |
ModelObjectService.findObjects(String objectTypeId)
Returns a map of objects of the given type
|
protected Map<String,ModelObject> |
ModelObjectService.findObjects(String objectTypeId,
Map<String,Object> propertyConstraintMap)
Filtering function that looks up objects of a given type id
and then applies the provided property constraint map.
|
Map<String,ModelObject> |
ModelObjectService.findPageAssociations()
Returns a map of Page Association instances.
|
Map<String,ModelObject> |
ModelObjectService.findPageAssociations(String sourceId,
String destId,
String associationType)
Returns a filtered map of Page Association instances.
|
Map<String,ModelObject> |
ModelObjectService.findPages()
Returns a map of Page instances.
|
Map<String,ModelObject> |
ModelObjectService.findPages(String templateId,
String pageTypeId)
Returns a filtered map of Page instances.
|
Map<String,ModelObject> |
ModelObjectService.findPageTypes()
Returns a map of Page Type instances.
|
Map<String,ModelObject> |
ModelObjectService.findTemplates()
Returns a map of Template instances.
|
Map<String,ModelObject> |
ModelObjectService.findTemplates(String templateType)
Returns a filtered map of Template instances.
|
Map<String,ModelObject> |
ModelObjectService.findTemplateTypes()
Returns a map of Template Type instances.
|
Map<String,ModelObject> |
ModelObjectService.findTemplateTypes(String uri)
Returns a filtered map of Template Type instances.
|
Map<String,ModelObject> |
ModelObjectService.findThemes()
Returns a map of Theme instances.
|
Map<String,ModelObject> |
ModelObjectPersister.getAllObjects(ModelPersistenceContext context,
String objectTypeId)
Returns a map of all of the objects referenced by this persister.
|
Map<String,ModelObject> |
ObjectPersistenceService.getAllObjects(String objectTypeId)
Retrieves all objects of a given type id.
|
Map<String,ModelObject> |
ModelObjectService.getAllObjects(String objectTypeId)
Returns a map with all object instances of the given type.
|
Map<String,ModelObject> |
ObjectPersistenceService.getAllObjects(String objectTypeId,
String filter)
Retrieves all objects of a given type id with the given object ID filter
|
Map<String,ModelObject> |
ModelObjectService.getAllObjects(String objectTypeId,
String objectIdPattern)
Returns a map with all object instances of the given type filtered
by the given object ID filter pattern.
|
Map<String,ModelObject> |
ModelObjectPersister.getAllObjectsByFilter(ModelPersistenceContext context,
String objectTypeId,
String objectIdPattern)
Returns a map of all of the objects referenced by this persister filtered by
the given ID filter.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ObjectPersistenceService.hasObject(ModelObject object)
Returns true if the object is present in a persister
|
boolean |
ModelObjectPersister.hasObject(ModelPersistenceContext context,
ModelObject object)
Checks whether the given object is persisted
|
static boolean |
ModelHelper.isCustomProperty(ModelObject object,
String propertyName)
Determines whether the given property is a custom property for
the given object
|
static boolean |
ModelHelper.isModelProperty(ModelObject object,
String propertyName)
Determines whether the given property is a non-custom (or model)
property for the given object.
|
boolean |
ObjectPersistenceService.removeObject(ModelObject object)
Removes the object.
|
boolean |
ModelObjectService.removeObject(ModelObject object)
Removes the given object.
|
boolean |
ModelObjectPersister.removeObject(ModelPersistenceContext context,
ModelObject object)
Removes an object from persisted storage
|
static void |
ModelHelper.resetId(ModelObject object,
String id)
Allows model object ids to be set manually
|
boolean |
ObjectPersistenceService.saveObject(ModelObject object)
Saves the object to its persister.
|
boolean |
ModelObjectService.saveObject(ModelObject object)
Saves the given object.
|
boolean |
ModelObjectPersister.saveObject(ModelPersistenceContext context,
ModelObject object)
Saves an object to persisted storage
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ObjectPersistenceService.saveObjects(List<ModelObject> objects)
Saves a list of objects to their respective persisters.
|
boolean |
ModelObjectService.saveObjects(List<ModelObject> objects)
Saves the given objects.
|
boolean |
ModelObjectPersister.saveObjects(ModelPersistenceContext context,
List<ModelObject> objects)
Saves a collection of objects to persisted storage
|
| Modifier and Type | Class and Description |
|---|---|
static class |
ModelObjectCache.ModelObjectSentinel
Singleton sentinel class used to represent a 'null' value in some cache implementations
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,CacheItem<ModelObject>> |
ModelObjectCache.cache |
| Modifier and Type | Method and Description |
|---|---|
ModelObject |
ModelObjectCache.get(String key) |
| Modifier and Type | Method and Description |
|---|---|
Collection<CacheItem<ModelObject>> |
ModelObjectCache.values()
Returns the values for the items in the cache
|
| Modifier and Type | Method and Description |
|---|---|
void |
ModelObjectCache.put(String key,
ModelObject obj) |
void |
ModelObjectCache.put(String key,
ModelObject obj,
long timeout) |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,ContentCache<ModelObject>> |
AbstractCachedObjectPersister.caches |
| Modifier and Type | Method and Description |
|---|---|
protected ModelObject |
PathStoreObjectPersister.cacheGet(ModelPersistenceContext context,
String path)
Returns an object from the cache
|
protected ModelObject |
PathStoreObjectPersister.cacheGet(ModelPersistenceContext context,
String objectTypeId,
String objectId)
Returns an object from the cache.
|
protected ModelObject |
ReadOnlyStoreObjectPersister.cacheGet(ModelPersistenceContext context,
String objectTypeId,
String objectId)
Returns an object from the cache
|
protected ModelObject |
ReadOnlyStoreObjectPersister.createObject(org.dom4j.Document document,
String objectTypeId,
String objectId,
String path) |
ModelObject |
PathStoreObjectPersister.getObject(ModelPersistenceContext context,
String objectTypeId,
String objectId) |
ModelObject |
StoreObjectPersister.getObject(ModelPersistenceContext context,
String objectTypeId,
String objectId) |
ModelObject |
ReadOnlyStoreObjectPersister.getObject(ModelPersistenceContext context,
String objectTypeId,
String objectId) |
ModelObject |
MultiObjectPersister.getObject(ModelPersistenceContext context,
String objectTypeId,
String objectId)
Iterates over the
persisters list attempting to find a ModelObject of
the supplied type with the supplied id. |
protected ModelObject |
PathStoreObjectPersister.getObjectByPath(ModelPersistenceContext context,
String path)
Retrieves an object from the underlying store by path
This performs an interrogation of the underlying document
to determine its object type and object id.
|
protected ModelObject |
ReadOnlyStoreObjectPersister.getObjectByPath(ModelPersistenceContext context,
String path)
Retrieves an object from the underlying store by path
This performs an interrogation of the underlying document
to determine its object type and object id.
|
ModelObject |
AbstractStoreObjectPersister.newObject(ModelPersistenceContext context,
String objectTypeId,
String objectId) |
ModelObject |
ReadOnlyStoreObjectPersister.newObject(ModelPersistenceContext context,
String objectTypeId,
String objectId) |
ModelObject |
MultiObjectPersister.newObject(ModelPersistenceContext context,
String objectTypeId,
String objectId)
Creates a new object of the supplied type with the supplied id using the
|
protected ModelObject |
PathStoreObjectPersister.newObject(ModelPersistenceContext context,
String objectTypeId,
String objectId,
boolean addToCache) |
protected ModelObject |
AbstractStoreObjectPersister.newObject(ModelPersistenceContext context,
String objectTypeId,
String objectId,
boolean addToCache) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract ContentCache<ModelObject> |
AbstractCachedObjectPersister.createCache()
Creates a new cache.
|
protected ContentCache<ModelObject> |
AbstractStoreObjectPersister.createCache() |
protected ContentCache<ModelObject> |
ReadOnlyStoreObjectPersister.createCache() |
Map<String,ModelObject> |
PathStoreObjectPersister.getAllObjects(ModelPersistenceContext context,
String objectTypeId) |
Map<String,ModelObject> |
AbstractStoreObjectPersister.getAllObjects(ModelPersistenceContext context,
String objectTypeId) |
Map<String,ModelObject> |
ReadOnlyStoreObjectPersister.getAllObjects(ModelPersistenceContext context,
String objectTypeId) |
Map<String,ModelObject> |
MultiObjectPersister.getAllObjects(ModelPersistenceContext context,
String objectTypeId) |
Map<String,ModelObject> |
AbstractStoreObjectPersister.getAllObjectsByFilter(ModelPersistenceContext context,
String objectTypeId,
String objectIdFilter) |
Map<String,ModelObject> |
ReadOnlyStoreObjectPersister.getAllObjectsByFilter(ModelPersistenceContext context,
String objectTypeId,
String objectIdPattern) |
Map<String,ModelObject> |
MultiObjectPersister.getAllObjectsByFilter(ModelPersistenceContext context,
String objectTypeId,
String filter) |
protected ContentCache<ModelObject> |
PathStoreObjectPersister.getCache(ModelPersistenceContext context,
String bucket)
Gets the cache for a particular model persistence context
|
protected abstract ContentCache<ModelObject> |
AbstractCachedObjectPersister.getCache(ModelPersistenceContext context,
String bucket)
Gets the cache for a particular model persistence context
|
protected ContentCache<ModelObject> |
ReadOnlyStoreObjectPersister.getCache(ModelPersistenceContext context,
String bucket)
Gets the cache for a particular model persistence context
|
protected Map<String,ModelObject> |
AbstractStoreObjectPersister.getObjectsFromPaths(ModelPersistenceContext context,
String objectTypeId,
String[] docPaths) |
protected Map<String,ModelObject> |
ReadOnlyStoreObjectPersister.loadObjectAndDependants(ModelPersistenceContext context,
org.dom4j.Document document,
String objectTypeId,
String objectId,
String path) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
PathStoreObjectPersister.cachePut(ModelPersistenceContext context,
ModelObject obj)
Places an object into this persister's cache.
|
protected void |
AbstractCachedObjectPersister.cachePut(ModelPersistenceContext context,
ModelObject obj)
Places an object into this persister's cache.
|
protected void |
PathStoreObjectPersister.cachePut(ModelPersistenceContext context,
String path,
ModelObject obj)
Places an object into this persister's cache.
|
protected void |
PathStoreObjectPersister.cacheRemove(ModelPersistenceContext context,
ModelObject obj)
Removes an object from the cache
|
protected void |
AbstractCachedObjectPersister.cacheRemove(ModelPersistenceContext context,
ModelObject obj)
Removes an object from the cache
|
boolean |
MultiObjectPersister.hasObject(ModelPersistenceContext context,
ModelObject object) |
boolean |
AbstractObjectPersister.hasObject(ModelPersistenceContext context,
ModelObject object) |
boolean |
MultiObjectPersister.removeObject(ModelPersistenceContext context,
ModelObject object)
Removes the supplied object the first
ModelObjectPersister containing a match. |
boolean |
AbstractObjectPersister.removeObject(ModelPersistenceContext context,
ModelObject object) |
boolean |
PathStoreObjectPersister.saveObject(ModelPersistenceContext context,
ModelObject modelObject) |
boolean |
StoreObjectPersister.saveObject(ModelPersistenceContext context,
ModelObject modelObject) |
boolean |
ReadOnlyStoreObjectPersister.saveObject(ModelPersistenceContext context,
ModelObject modelObject) |
boolean |
MultiObjectPersister.saveObject(ModelPersistenceContext context,
ModelObject object)
Saves the supplied
ModelObject using the default ModelObjectPersister (Please
note: saving does not iterate over the persisters list - it only used the default
persister. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
PathStoreObjectPersister.saveObjects(ModelPersistenceContext context,
List<ModelObject> modelObjects) |
boolean |
StoreObjectPersister.saveObjects(ModelPersistenceContext context,
List<ModelObject> objects) |
boolean |
ReadOnlyStoreObjectPersister.saveObjects(ModelPersistenceContext context,
List<ModelObject> objects) |
boolean |
MultiObjectPersister.saveObjects(ModelPersistenceContext context,
List<ModelObject> objects)
Saves the supplied
ModelObject list using the default ModelObjectPersister (Please
note: saving does not iterate over the persisters list - it only used the default
persister. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractRenderableModelObject
Abstract base class for a renderable model object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractRenderer.all(RequestContext context,
ModelObject object)
Renders both the header and body focus by calling the
header and body methods
in succession. |
void |
Renderer.all(RequestContext renderContext,
ModelObject object)
Executes the renderer in the "all" mode
|
abstract void |
AbstractRenderer.body(RequestContext context,
ModelObject object)
This method must be implemented by concrete subclasses to render the body focus for artifact
being handled by the renderer.
|
void |
Renderer.body(RequestContext renderContext,
ModelObject object)
Executes the renderer in the "body" mode
|
void |
Processor.execute(ProcessorContext processorContext,
ModelObject object,
RenderFocus focus)
Executes the given focus of the processor output using the
given processor context
|
void |
AbstractProcessor.execute(ProcessorContext processorContext,
ModelObject object,
RenderFocus focus) |
void |
Processor.executeBody(ProcessorContext processorContext,
ModelObject object)
Executes the "body" of the processor output using the given
processor context.
|
abstract void |
AbstractProcessor.executeBody(ProcessorContext processorContext,
ModelObject object) |
void |
Processor.executeHeader(ProcessorContext processorContext,
ModelObject object)
Executes the "header" of the processor output using the given
processor context.
|
void |
AbstractProcessor.executeHeader(ProcessorContext processorContext,
ModelObject object) |
boolean |
Processor.exists(ProcessorContext processorContext,
ModelObject object)
Indicates whether the engine responsible for processing
the body of the processor exists.
|
String |
RenderService.generateResourceURL(RequestContext renderContext,
ModelObject object,
String name,
String id,
String protocol,
String endpoint,
String objectId,
String payload) |
void |
AbstractRenderer.header(RequestContext context,
ModelObject object)
This method should be overridden by concrete subclasses to render the header focus for artifact
being handled by the renderer.
|
void |
Renderer.header(RequestContext renderContext,
ModelObject object)
Executes the renderer in the "head" mode
|
void |
RenderService.processRenderable(RequestContext context,
RenderFocus renderFocus,
ModelObject object,
Renderable renderable)
Executes the processor for the given focus on the provided renderable object.
|
void |
AbstractRenderer.render(RequestContext context,
ModelObject object,
RenderFocus focus)
This method directs rendering requests to the appropriate method for the
RenderFocus provided. |
void |
Renderer.render(RequestContext renderContext,
ModelObject object,
RenderFocus focus)
Executes the renderer in the given focus
|
void |
RenderService.renderChromeInclude(RequestContext context,
ModelObject object)
Renders either a component or a region depending upon the value of
RENDER_TYPE key set in the
current RequestContext. |
void |
RenderService.renderRegionComponents(RequestContext context,
ModelObject object,
boolean chromeless)
Renders the components of the region described by the render context
This method is generally called from the region include tag.
|
String |
RenderService.renderTemplateHeaderAsString(RequestContext context,
ModelObject object)
Generates text to be inserted into template markup head for a given
renderer context.
|
| Constructor and Description |
|---|
RenderContextRequest(RequestContext context,
ModelObject object,
javax.servlet.http.HttpServletRequest request) |
| Modifier and Type | Method and Description |
|---|---|
void |
TemplateInstanceRenderer.body(RequestContext context,
ModelObject object)
Renders the current template
|
void |
ComponentRenderer.body(RequestContext context,
ModelObject object) |
void |
RegionRenderer.body(RequestContext context,
ModelObject object) |
void |
PageRenderer.body(RequestContext context,
ModelObject object)
Renders the current page
|
void |
ChromeRenderer.body(RequestContext context,
ModelObject object) |
protected void |
JSPProcessor.doInclude(RequestContext context,
ModelObject object,
String jspPath) |
void |
JSPProcessor.executeBody(ProcessorContext pc,
ModelObject object) |
void |
JSPProcessor.executeHeader(ProcessorContext pc,
ModelObject object) |
boolean |
JSPProcessor.exists(ProcessorContext pc,
ModelObject object)
Checks whether or not the JSP as defined by the "uri" property in the supplied ProcessorContext actually exists.
|
void |
TemplateInstanceRenderer.header(RequestContext context,
ModelObject object) |
void |
ComponentRenderer.header(RequestContext context,
ModelObject object) |
void |
RegionRenderer.header(RequestContext context,
ModelObject object) |
void |
ChromeRenderer.render(RequestContext context,
ModelObject object,
RenderFocus focus)
Overrides the method provided by
AbstractRenderer to set a RENDER_TYPE entry into the
RequestContext where the value indicates whether Component or Region chrome is being rendered. |
| Modifier and Type | Field and Description |
|---|---|
protected ModelObject |
ModelObjectResourceProvider.object |
| Modifier and Type | Method and Description |
|---|---|
protected static org.dom4j.Element |
ModelObjectResourceProvider.getResourceElement(ModelObject object,
String name)
Gets the resource element.
|
protected static org.dom4j.Element |
ModelObjectResourceProvider.getResourcesElement(ModelObject object)
Gets the resources element.
|
| Constructor and Description |
|---|
ModelObjectResourceProvider(ModelObject object)
Instantiates a new model object resource provider.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EmptyRegionRenderer.executeBody(ProcessorContext pc,
ModelObject object) |
void |
EmptyRegionRenderer.executeHeader(ProcessorContext pc,
ModelObject object) |
boolean |
EmptyRegionRenderer.exists(ProcessorContext pc,
ModelObject object) |
| Modifier and Type | Method and Description |
|---|---|
ModelObject |
AbstractRequestContext.getObject() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractRequestContext.setObject(ModelObject object) |
| Modifier and Type | Method and Description |
|---|---|
protected ModelObject |
TagBase.getModelObject() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract int |
RenderServiceTag.invokeRenderService(RenderService renderService,
RequestContext renderContext,
ModelObject object)
This method should be implemented to invoke the required method of the
RenderService
that the subclass needs to render its output |
protected int |
IncludeTag.invokeRenderService(RenderService renderService,
RequestContext renderContext,
ModelObject object) |
protected int |
RegionTag.invokeRenderService(RenderService renderService,
RequestContext context,
ModelObject object) |
protected int |
ObjectLinkTag.invokeRenderService(RenderService renderService,
RequestContext requestContext,
ModelObject object) |
protected int |
ObjectAnchorTag.invokeRenderService(RenderService renderService,
RequestContext requestContext,
ModelObject object)
Generates the URL to the requested resource (either a page or page type with optional object and format
request parameters) and then opens an HTML anchor tag using the generated URL as the HREF argument and setting
a target if provided.
|
protected int |
ComponentTag.invokeRenderService(RenderService renderService,
RequestContext renderContext,
ModelObject object) |
protected int |
ResourceTag.invokeRenderService(RenderService renderService,
RequestContext renderContext,
ModelObject modelObject) |
protected int |
SurfBugInclude.invokeRenderService(RenderService renderService,
RequestContext renderContext,
ModelObject object) |
protected int |
StylesheetTag.invokeRenderService(RenderService renderService,
RequestContext renderContext,
ModelObject object) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
AdvancedComponent
Extends
Component to provide some additional extensibility function. |
interface |
Chrome
Interface for a Chrome object type
|
interface |
Component
Interface for a Component object type
|
interface |
ComponentType
Interface for a ComponentType object type
|
interface |
Configuration
Interface for a Configuration object type
|
interface |
ContentAssociation
Interface for a ContentAssociation object type
|
interface |
Extension |
interface |
ModuleDeployment |
interface |
Page
Interface for a Page object type
|
interface |
PageAssociation
Interface for a PageAssociation object type
|
interface |
PageType
Interface for a PageType object type
|
interface |
SurfBug
A
SurfBug object is used for writing debug HTML to the
output stream when SurfBug mode is enabled. |
interface |
TemplateInstance
Interface for a TemplateInstance object type
|
interface |
TemplateType
Interface for a TemplateType object type
|
interface |
Theme
Interface for a Theme object type
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractModelObject
Abstract base class that can be extended to introduce custom model
objects into the framework.
|
class |
AdvancedComponentImpl |
class |
ChromeImpl
Default chrome implementation
|
class |
ComponentImpl
Default component implementation
|
class |
ComponentTypeImpl
Default component type implementation
|
class |
ConfigurationImpl
Default configuration implementation
|
class |
ContentAssociationImpl
Default content association implementation
|
class |
ExtensionImpl |
class |
ModuleDeploymentImpl |
class |
PageAssociationImpl
Default page association implementation
|
class |
PageImpl
Default page implementation
|
class |
PageTypeImpl
Default page type implementation
|
class |
SubComponent
A type of
Renderable object that is referenced by an AdvancedComponent. |
class |
SurfBugImpl
A
SurfBug object is used for writing debug HTML to the
output stream when SurfBug mode is enabled. |
class |
TemplateInstanceImpl
Default template instance implementation
|
class |
TemplateTypeImpl
Default template type implementation
|
class |
ThemeImpl
Default theme implementation
|
| Modifier and Type | Method and Description |
|---|---|
ModelObject |
ContentAssociationImpl.getObject(RequestContext context) |
ModelObject |
ContentAssociation.getObject(RequestContext context)
Gets the object that is being associated.
|
| Modifier and Type | Method and Description |
|---|---|
ModelObject |
ScriptResources.getModelObject()
Returns the model object
|
ModelObject |
ScriptModelObject.getModelObject()
Returns the model object
|
protected ModelObject |
LocalWebScriptRuntimeContainer.getModelObject() |
ModelObject |
LocalWebScriptContext.getModelObject() |
| Modifier and Type | Method and Description |
|---|---|
void |
LocalWebScriptRuntimeContainer.bindModelObject(ModelObject object) |
void |
WebTemplateProcessor.executeBody(ProcessorContext pc,
ModelObject object)
Execute template Body.
|
void |
WebScriptProcessor.executeBody(ProcessorContext pc,
ModelObject object) |
void |
WebTemplateProcessor.executeHeader(ProcessorContext pc,
ModelObject object)
Execute Template header
|
void |
WebScriptProcessor.executeHeader(ProcessorContext pc,
ModelObject object) |
void |
WebTemplateProcessor.executeScriptBodyExtensions(RequestContext context,
String scriptPath,
Map<String,Object> scriptModel,
Map<String,Object> resultModel,
ModelObject object)
Executes controller scripts that have been provided to extend the template being rendered.
|
boolean |
WebTemplateProcessor.exists(ProcessorContext pc,
ModelObject object) |
boolean |
WebScriptProcessor.exists(ProcessorContext pc,
ModelObject object) |
protected static String |
ScriptForm.getPrefix(RequestContext context,
ModelObject object) |
void |
ProcessorModelHelper.populateScriptModel(RequestContext context,
Map<String,Object> model,
ModelObject object)
Populate the model for script processor.
|
void |
ProcessorModelHelper.populateTemplateModel(RequestContext context,
Map<String,Object> model,
ModelObject object)
Populate the model for template processor.
|
protected static String |
ScriptForm.prefix(RequestContext context,
ModelObject object,
String id) |
void |
LocalWebScriptContext.setModelObject(ModelObject object) |
static org.springframework.extensions.webscripts.ScriptableMap |
ScriptHelper.toScriptableMap(RequestContext context,
ModelObject[] modelObjects)
Creates a Scriptable Map for a given array of model objects
|
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.
|
static Object[] |
ScriptHelper.toScriptModelObjectArray(RequestContext context,
ModelObject[] modelObjects)
Converts an array of ModelObjects to an array of ScriptModelObjects
which can be used by the script and Freemarker engines.
|
| Modifier and Type | Method and Description |
|---|---|
static org.springframework.extensions.webscripts.ScriptableMap |
ScriptHelper.toScriptableMap(RequestContext context,
Map<String,ModelObject> objects)
Creates a Scriptable Map for a given map of model objects
|
static Object[] |
ScriptHelper.toScriptModelObjectArray(RequestContext context,
Map<String,ModelObject> objects)
Converts a map of model objects to an array of ScriptModelObjects
which can be used by the script and Freemarker engines.
|
| Constructor and Description |
|---|
ScriptForm(RequestContext context,
ModelObject object)
Instantiates a new script form.
|
ScriptFormData(RequestContext context,
ModelObject object)
Instantiates a new script form.
|
ScriptModelObject(RequestContext context,
ModelObject modelObject)
Instantiates a new script model object.
|
ScriptRenderingInstance(RequestContext context,
ModelObject object)
Instantiates a new script renderer instance.
|
ScriptResources(RequestContext context,
ModelObject modelObject)
Instantiates a new resources object
|
Copyright © 2005–2016 Alfresco Software. All rights reserved.