| Package | Description |
|---|---|
| org.springframework.extensions.surf | |
| org.springframework.extensions.surf.persister | |
| org.springframework.extensions.webscripts |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ModuleDeploymentService.addModuleToExtension(String xmlFragment)
Adds a module to the requested extension.
|
void |
ModelObjectService.associateContent(String sourceId,
String sourceType,
String destId,
String assocType,
String formatId)
Associates content to a given presentation object.
|
void |
ModelObjectService.associatePage(String sourceId,
String destId)
Associates a source Page instance to a destination Page instance.
|
void |
ModelObjectService.associatePage(String sourceId,
String destId,
String associationType)
Associates a source Page instance to a destination Page instance.
|
void |
ModelObjectService.associateTemplate(String templateId,
String pageId)
Associates a Template to a Page given their respective ids.
|
void |
ModelObjectService.associateTemplate(String templateId,
String pageId,
String formatId)
Associates a Template to a Page given their respective ids.
|
void |
ModelObjectService.bindComponent(Component component,
String scope,
String regionId,
String sourceId)
Binds a Component to a given scope, region id and source id.
|
void |
ModelObjectService.bindComponent(String componentId,
String scope,
String regionId,
String sourceId)
Binds a Component to a given scope, region id and source id.
|
boolean |
ModuleDeploymentService.deleteModuleFromExtension(String moduleId)
Deletes the requested module from the extension with the supplied id.
|
Map<String,ModelObject> |
ModelObjectPersister.getAllObjects(ModelPersistenceContext context,
String objectTypeId)
Returns a map of all of the objects referenced by this persister.
|
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.
|
ModelObject |
ModelObjectPersister.getObject(ModelPersistenceContext context,
String objectTypeId,
String objectId)
Gets an object from persisted storage by id
|
Extension |
ModuleDeploymentService.getPersistedExtension()
Retrieves the remotely persisted
Extension instance with the id specified by the DEFAULT_PERSISTED_EXTENSION
constant. |
long |
ModelObjectPersister.getTimestamp(ModelPersistenceContext context,
String objectTypeId,
String objectId)
Returns the timestamp of the given object in the underlying store
|
boolean |
ModelObjectPersister.hasObject(ModelPersistenceContext context,
ModelObject object)
Checks whether the given object is persisted
|
boolean |
ModelObjectPersister.hasObject(ModelPersistenceContext context,
String objectTypeId,
String objectId)
Checks whether an object with the given path is persisted
|
ModelObject |
ModelObjectPersister.newObject(ModelPersistenceContext context,
String objectTypeId,
String objectId)
Creates a new object
|
boolean |
ModelObjectPersister.removeObject(ModelPersistenceContext context,
ModelObject object)
Removes an object from persisted storage
|
boolean |
ModelObjectPersister.removeObject(ModelPersistenceContext context,
String objectTypeId,
String objectId)
Removes an object from persisted storage
|
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
|
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
|
void |
ModelObjectService.unassociateTemplate(String pageId)
Unassociates a Template from a Page.
|
void |
ModelObjectService.unassociateTemplate(String pageId,
String formatId)
Unassociates a Template from a Page.
|
boolean |
ModuleDeploymentService.updateModuleToExtension(String xmlFragment)
Updates a module to the requested extension.
|
| Modifier and Type | Method and Description |
|---|---|
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) |
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.
|
protected Map<String,ModelObject> |
AbstractStoreObjectPersister.getObjectsFromPaths(ModelPersistenceContext context,
String objectTypeId,
String[] docPaths) |
long |
AbstractStoreObjectPersister.getTimestamp(ModelPersistenceContext context,
String objectTypeId,
String objectId) |
long |
ReadOnlyStoreObjectPersister.getTimestamp(ModelPersistenceContext context,
String objectTypeId,
String objectId) |
long |
MultiObjectPersister.getTimestamp(ModelPersistenceContext context,
String objectTypeId,
String objectId) |
boolean |
MultiObjectPersister.hasObject(ModelPersistenceContext context,
ModelObject object) |
boolean |
AbstractObjectPersister.hasObject(ModelPersistenceContext context,
ModelObject object) |
boolean |
AbstractStoreObjectPersister.hasObject(ModelPersistenceContext context,
String objectTypeId,
String objectId) |
boolean |
ReadOnlyStoreObjectPersister.hasObject(ModelPersistenceContext context,
String objectTypeId,
String objectId) |
boolean |
MultiObjectPersister.hasObject(ModelPersistenceContext context,
String objectTypeId,
String objectId) |
protected Map<String,ModelObject> |
ReadOnlyStoreObjectPersister.loadObjectAndDependants(ModelPersistenceContext context,
org.dom4j.Document document,
String objectTypeId,
String objectId,
String path) |
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) |
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.removeObject(ModelPersistenceContext context,
String objectTypeId,
String objectId) |
boolean |
AbstractStoreObjectPersister.removeObject(ModelPersistenceContext context,
String objectTypeId,
String objectId) |
boolean |
ReadOnlyStoreObjectPersister.removeObject(ModelPersistenceContext context,
String objectTypeId,
String objectId) |
boolean |
MultiObjectPersister.removeObject(ModelPersistenceContext context,
String objectTypeId,
String objectId)
Removes an object with the supplied type and id from the first
ModelObjectPersister
containing a match. |
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. |
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 | Method and Description |
|---|---|
void |
ScriptSiteData.associateContent(String contentId,
String templateId,
String assocType,
String formatId) |
void |
ScriptSiteData.associateContentType(String contentTypeId,
String templateId,
String assocType,
String formatId) |
void |
ScriptSiteData.associatePage(String sourceId,
String destId) |
void |
ScriptSiteData.associateTemplate(String templateId,
String pageId) |
void |
ScriptSiteData.associateTemplate(String templateId,
String pageId,
String formatId) |
void |
ScriptSiteData.bindComponent(ScriptModelObject componentObject,
String scope,
String regionId,
String sourceId) |
void |
ScriptSiteData.bindComponent(String componentId,
String scope,
String regionId,
String sourceId) |
boolean |
ScriptSiteData.newPreset(String presetId,
org.mozilla.javascript.Scriptable tokens)
Creates model objects based on a given preset id.
|
void |
ScriptSiteData.removeTemplate(String pageId,
String formatId)
Looks up the given Page and unbinds any Template instances that
are bound to the page (keyed by formatId)
If you would like to remove the default Template instance,
set formatId to null
|
void |
ScriptModelObject.save()
Persist the object and all modified properties.
|
void |
ScriptModelObject.save(boolean persist)
Persist the object and all modified properties.
|
void |
ScriptSiteData.unassociateTemplate(String pageId) |
void |
ScriptSiteData.unassociateTemplate(String pageId,
String formatId) |
Copyright © 2005–2016 Alfresco Software. All rights reserved.