public interface I_CmsContentServiceAsync
Use this asynchronous interface on the client side.
| Modifier and Type | Method and Description |
|---|---|
void |
loadContentDefinition(java.lang.String entityId,
com.google.gwt.user.client.rpc.AsyncCallback<CmsContentDefinition> callback)
Loads the content definition for a given type.
|
void |
saveEntities(java.util.List<CmsEntity> entities,
com.google.gwt.user.client.rpc.AsyncCallback<CmsValidationResult> callback)
Saves the given entities and returns a validation result in case of invalid entities.
|
void |
saveEntity(CmsEntity entity,
com.google.gwt.user.client.rpc.AsyncCallback<CmsValidationResult> callback)
Saves the given entity and returns a validation result in case of invalid entities.
|
void |
updateEntityHtml(CmsEntity entity,
java.lang.String contextUri,
java.lang.String htmlContextInfo,
com.google.gwt.user.client.rpc.AsyncCallback<CmsEntityHtml> callback)
Retrieves the updated entity HTML representation.
|
void |
validateEntity(CmsEntity changedEntity,
com.google.gwt.user.client.rpc.AsyncCallback<CmsValidationResult> callback)
Validates the given entity and returns maps of error and warning messages in case of invalid attributes.
|
void loadContentDefinition(java.lang.String entityId, com.google.gwt.user.client.rpc.AsyncCallback<CmsContentDefinition> callback)
entityId - the entity id/URIcallback - the asynchronous callbackvoid saveEntities(java.util.List<CmsEntity> entities, com.google.gwt.user.client.rpc.AsyncCallback<CmsValidationResult> callback)
entities - the entities to savecallback - the asynchronous callbackvoid saveEntity(CmsEntity entity, com.google.gwt.user.client.rpc.AsyncCallback<CmsValidationResult> callback)
entity - the entity to savecallback - the asynchronous callbackvoid updateEntityHtml(CmsEntity entity, java.lang.String contextUri, java.lang.String htmlContextInfo, com.google.gwt.user.client.rpc.AsyncCallback<CmsEntityHtml> callback)
The entity data will be validated but not persisted on the server.
entity - the entitycontextUri - the context URIhtmlContextInfo - information about the HTML contextcallback - the asynchronous callbackvoid validateEntity(CmsEntity changedEntity, com.google.gwt.user.client.rpc.AsyncCallback<CmsValidationResult> callback)
changedEntity - the entity to validatecallback - the asynchronous callback