public interface I_CmsContentService
extends com.alkacon.acacia.shared.rpc.I_ContentService
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
DICT_CONTENT_DEFINITION
The content definition dictionary name.
|
static java.lang.String |
PARAM_BACKLINK
The back-link parameter.
|
限定符和类型 | 方法和说明 |
---|---|
CmsContentDefinition |
loadDefinition(java.lang.String entityId)
Loads the content definition for a given entity.
|
CmsContentDefinition |
loadDefinition(java.lang.String entityId,
java.lang.String newLink,
CmsUUID modelFileId,
java.lang.String editContext)
Loads the content definition for a given entity.
|
CmsContentDefinition |
loadNewDefinition(java.lang.String entityId)
Loads new entity definition.
|
CmsContentDefinition |
prefetch()
Returns the content definition of the resource requested through parameter 'resource'.
|
com.alkacon.acacia.shared.ValidationResult |
saveAndDeleteEntities(java.util.List<com.alkacon.acacia.shared.Entity> changedEntities,
java.util.List<java.lang.String> deletedEntities,
boolean clearOnSuccess)
Saves and deletes the given entities.
|
static final java.lang.String DICT_CONTENT_DEFINITION
static final java.lang.String PARAM_BACKLINK
CmsContentDefinition loadDefinition(java.lang.String entityId) throws java.lang.Exception
entityId
- the entity id/URIjava.lang.Exception
- if something goes wrong processing the requestCmsContentDefinition loadDefinition(java.lang.String entityId, java.lang.String newLink, CmsUUID modelFileId, java.lang.String editContext) throws CmsRpcException
entityId
- the entity id/URInewLink
- the new linkmodelFileId
- the optional model file ideditContext
- the container page currently being edited (may be null)CmsRpcException
- if something goes wrong processing the requestCmsContentDefinition loadNewDefinition(java.lang.String entityId) throws CmsRpcException
This will load the entity representation of a new locale node.
entityId
- the entity id/URICmsRpcException
- if something goes wrong processing the requestCmsContentDefinition prefetch() throws CmsRpcException
CmsRpcException
- if something goes wrongcom.alkacon.acacia.shared.ValidationResult saveAndDeleteEntities(java.util.List<com.alkacon.acacia.shared.Entity> changedEntities, java.util.List<java.lang.String> deletedEntities, boolean clearOnSuccess) throws CmsRpcException
changedEntities
- the changed entitiesdeletedEntities
- the entity id's to deleteclearOnSuccess
- true
to unlock resource after savingCmsRpcException
- if something goes wrong processing the request