|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface I_CmsContentService
The content editor service interface.
| Field Summary | |
|---|---|
static java.lang.String |
DICT_CONTENT_DEFINITION
The content definition dictionary name. |
static java.lang.String |
PARAM_BACKLINK
The back-link parameter. |
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface com.alkacon.acacia.shared.rpc.I_ContentService |
|---|
loadContentDefinition, saveEntities, saveEntity, validateEntities |
| Field Detail |
|---|
static final java.lang.String DICT_CONTENT_DEFINITION
static final java.lang.String PARAM_BACKLINK
| Method Detail |
|---|
CmsContentDefinition loadDefinition(java.lang.String entityId)
throws java.lang.Exception
entityId - the entity id/URI
java.lang.Exception - if something goes wrong processing the request
CmsContentDefinition 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 request
CmsContentDefinition loadNewDefinition(java.lang.String entityId)
throws CmsRpcException
This will load the entity representation of a new locale node.
entityId - the entity id/URI
CmsRpcException - if something goes wrong processing the request
CmsContentDefinition prefetch()
throws CmsRpcException
CmsRpcException - if something goes wrong
com.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 saving
CmsRpcException - if something goes wrong processing the request
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||