public interface I_CmsContentServiceAsync
extends com.alkacon.acacia.shared.rpc.I_ContentServiceAsync
限定符和类型 | 方法和说明 |
---|---|
void |
loadDefinition(java.lang.String entityId,
com.google.gwt.user.client.rpc.AsyncCallback<CmsContentDefinition> callback)
Loads the content definition for a given type.
|
void |
loadDefinition(java.lang.String entityId,
java.lang.String newLink,
CmsUUID modelFileId,
java.lang.String editContext,
com.google.gwt.user.client.rpc.AsyncCallback<CmsContentDefinition> callback)
Loads the content definition for a given type creating a new resource according to the new link and model file parameter.
|
void |
loadNewDefinition(java.lang.String entityId,
com.google.gwt.user.client.rpc.AsyncCallback<CmsContentDefinition> callback)
Loads new entity definition.
|
void |
prefetch(com.google.gwt.user.client.rpc.AsyncCallback<CmsContentDefinition> callback)
Returns the content definition of the resource requested through parameter 'resource'.
|
void |
saveAndDeleteEntities(java.util.List<com.alkacon.acacia.shared.Entity> changedEntities,
java.util.List<java.lang.String> deletedEntities,
boolean clearOnSuccess,
com.google.gwt.user.client.rpc.AsyncCallback<com.alkacon.acacia.shared.ValidationResult> callback)
Saves and deletes the given entities.
|
void loadDefinition(java.lang.String entityId, com.google.gwt.user.client.rpc.AsyncCallback<CmsContentDefinition> callback)
entityId
- the entity id/URIcallback
- the asynchronous callbackvoid loadDefinition(java.lang.String entityId, java.lang.String newLink, CmsUUID modelFileId, java.lang.String editContext, com.google.gwt.user.client.rpc.AsyncCallback<CmsContentDefinition> callback)
entityId
- the entity id/URInewLink
- the new linkmodelFileId
- the optional model file ideditContext
- the container page currently being edited (may be null)callback
- the asynchronous callbackvoid loadNewDefinition(java.lang.String entityId, com.google.gwt.user.client.rpc.AsyncCallback<CmsContentDefinition> callback)
This will load the entity representation of a new locale node.
entityId
- the entity id/URIcallback
- the asynchronous callbackvoid prefetch(com.google.gwt.user.client.rpc.AsyncCallback<CmsContentDefinition> callback)
callback
- the callbackvoid saveAndDeleteEntities(java.util.List<com.alkacon.acacia.shared.Entity> changedEntities, java.util.List<java.lang.String> deletedEntities, boolean clearOnSuccess, com.google.gwt.user.client.rpc.AsyncCallback<com.alkacon.acacia.shared.ValidationResult> callback)
changedEntities
- the changed entitiesdeletedEntities
- the entity id's to deleteclearOnSuccess
- true
to unlock resource after savingcallback
- the asynchronous callback