Uses of Class
org.opencms.acacia.shared.CmsEntity
-
Packages that use CmsEntity Package Description org.opencms.acacia.shared Contains the acacia editor shared client/server classes.org.opencms.acacia.shared.rpc Contains the acacia editor RPC service interfaces.org.opencms.ade.contenteditor Contains server side classes for the XML content editor.org.opencms.ade.contenteditor.shared Contains data beans used on the server side as well as on the client side of the XML content editor.org.opencms.ade.contenteditor.shared.rpc Contains the RPC service interfaces used by the XML content editor. -
-
Uses of CmsEntity in org.opencms.acacia.shared
Methods in org.opencms.acacia.shared that return CmsEntity Modifier and Type Method Description CmsEntity
CmsEntity. cloneEntity()
Clones the given entity keeping all entity ids.CmsEntity
CmsEntity. createDeepCopy(java.lang.String entityId)
Creates a deep copy of this entity.CmsEntity
CmsEntityAttribute. getComplexValue()
Returns the first complex value in the list.CmsEntity
CmsContentDefinition. getEntity()
Returns the entity.CmsEntity
CmsEntity. getEntityById(java.lang.String entityId)
Returns this or a child entity with the given id.Methods in org.opencms.acacia.shared that return types with arguments of type CmsEntity Modifier and Type Method Description java.util.List<CmsEntity>
CmsEntityAttribute. getComplexValues()
Returns the list of complex values.java.util.Map<java.lang.String,CmsEntity>
CmsContentDefinition. getEntities()
Returns the locale specific entities of the content.Methods in org.opencms.acacia.shared with parameters of type CmsEntity Modifier and Type Method Description void
CmsEntity. addAttributeValue(java.lang.String attributeName, CmsEntity value)
Adds the given attribute value.static java.lang.String
CmsEntity. getValueForPath(CmsEntity entity, java.lang.String[] pathElements)
Returns the value of a simple attribute for the given path ornull
, if the value does not exist.void
CmsEntity. insertAttributeValue(java.lang.String attributeName, CmsEntity value, int index)
Inserts a new attribute value at the given index.void
CmsEntity. setAttributeValue(java.lang.String attributeName, CmsEntity value)
Sets the given attribute value.void
CmsEntity. setAttributeValue(java.lang.String attributeName, CmsEntity value, int index)
Sets the given attribute value at the given index.Method parameters in org.opencms.acacia.shared with type arguments of type CmsEntity Modifier and Type Method Description com.google.gwt.event.shared.HandlerRegistration
CmsEntity. addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<CmsEntity> handler)
static CmsEntityAttribute
CmsEntityAttribute. createEntityAttribute(java.lang.String name, java.util.List<CmsEntity> values)
Creates a entity type attribute.void
CmsEntity.EntityChangeHandler. onValueChange(com.google.gwt.event.logical.shared.ValueChangeEvent<CmsEntity> event)
Constructors in org.opencms.acacia.shared with parameters of type CmsEntity Constructor Description CmsEntityChangeEvent(CmsEntity value, CmsEntityChangeEvent.ChangeType type)
Creates a new event instance.Constructor parameters in org.opencms.acacia.shared with type arguments of type CmsEntity Constructor Description CmsContentDefinition(java.lang.String entityId, java.util.Map<java.lang.String,CmsEntity> entities, java.util.Map<java.lang.String,CmsAttributeConfiguration> configurations, java.util.Map<java.lang.String,CmsType> types, java.util.List<CmsTabInfo> tabInfos, boolean groupOptionalFields, java.lang.String locale)
Constructor. -
Uses of CmsEntity in org.opencms.acacia.shared.rpc
Methods in org.opencms.acacia.shared.rpc with parameters of type CmsEntity Modifier and Type Method Description CmsValidationResult
I_CmsContentService. saveEntity(CmsEntity entity)
Saves the given entity and returns a validation result in case of invalid entities.void
I_CmsContentServiceAsync. 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.CmsEntityHtml
I_CmsContentService. updateEntityHtml(CmsEntity entity, java.lang.String contextUri, java.lang.String htmlContextInfo)
Retrieves the updated entity HTML representation.void
I_CmsContentServiceAsync. 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.CmsValidationResult
I_CmsContentService. validateEntity(CmsEntity changedEntity)
Validates the given entity and returns maps of error and warning messages in case of invalid attributes.void
I_CmsContentServiceAsync. 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.Method parameters in org.opencms.acacia.shared.rpc with type arguments of type CmsEntity Modifier and Type Method Description CmsValidationResult
I_CmsContentService. saveEntities(java.util.List<CmsEntity> entities)
Saves the given entities and returns a validation result in case of invalid entities.void
I_CmsContentServiceAsync. 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. -
Uses of CmsEntity in org.opencms.ade.contenteditor
Methods in org.opencms.ade.contenteditor that return CmsEntity Modifier and Type Method Description protected CmsEntity
CmsContentService. readEntity(CmsXmlContent content, org.dom4j.Element element, java.util.Locale locale, java.lang.String entityId, java.lang.String parentPath, java.lang.String typeName, CmsContentTypeVisitor visitor, boolean includeInvisible, CmsEntity editedLocalEntity)
Parses the element into an entity.Methods in org.opencms.ade.contenteditor with parameters of type CmsEntity Modifier and Type Method Description CmsContentDefinition
CmsContentService. callEditorChangeHandlers(java.lang.String entityId, CmsEntity editedLocaleEntity, java.util.Collection<java.lang.String> skipPaths, java.util.Collection<java.lang.String> changedScopes)
void
CmsContentService. copyLocale(java.util.Collection<java.lang.String> locales, CmsEntity sourceLocale)
CmsContentDefinition
CmsContentService. loadDefinition(java.lang.String entityId, java.lang.String clientId, CmsEntity editedLocaleEntity, java.util.Collection<java.lang.String> skipPaths, java.util.Map<java.lang.String,java.lang.String> settingPresets)
CmsContentDefinition
CmsContentService. loadNewDefinition(java.lang.String entityId, java.lang.String clientId, CmsEntity editedLocaleEntity, java.util.Collection<java.lang.String> skipPaths, java.util.Map<java.lang.String,java.lang.String> settingPresets)
protected CmsEntity
CmsContentService. readEntity(CmsXmlContent content, org.dom4j.Element element, java.util.Locale locale, java.lang.String entityId, java.lang.String parentPath, java.lang.String typeName, CmsContentTypeVisitor visitor, boolean includeInvisible, CmsEntity editedLocalEntity)
Parses the element into an entity.CmsSaveResult
CmsContentService. saveAndDeleteEntities(CmsEntity lastEditedEntity, java.lang.String clientId, java.util.List<java.lang.String> deletedEntities, java.util.Collection<java.lang.String> skipPaths, java.lang.String lastEditedLocale, boolean clearOnSuccess)
CmsValidationResult
CmsContentService. saveEntity(CmsEntity entity)
protected void
CmsContentService. transferInvisibleValues(CmsEntity original, CmsEntity target, CmsContentTypeVisitor visitor)
Transfers values marked as invisible from the original entity to the target entity.CmsEntityHtml
CmsContentService. updateEntityHtml(CmsEntity entity, java.lang.String contextUri, java.lang.String htmlContextInfo)
CmsValidationResult
CmsContentService. validateEntity(CmsEntity changedEntity)
Method parameters in org.opencms.ade.contenteditor with type arguments of type CmsEntity Modifier and Type Method Description CmsValidationResult
CmsContentService. saveEntities(java.util.List<CmsEntity> entities)
-
Uses of CmsEntity in org.opencms.ade.contenteditor.shared
Methods in org.opencms.ade.contenteditor.shared that return CmsEntity Modifier and Type Method Description protected static CmsEntity
CmsContentDefinition. createDefaultValueEntity(CmsType entityType, java.util.Map<java.lang.String,CmsType> entityTypes, java.util.Map<java.lang.String,CmsAttributeConfiguration> attributeConfigurations)
Creates an entity object containing the default values configured for it's type.Methods in org.opencms.ade.contenteditor.shared with parameters of type CmsEntity Modifier and Type Method Description static java.lang.String
CmsContentDefinition. getValueForPath(CmsEntity entity, java.lang.String path)
Returns the value for the given XPath expression.static void
CmsContentDefinition. transferValues(CmsEntity original, CmsEntity target, java.util.List<java.lang.String> transferAttributes, java.util.Map<java.lang.String,CmsType> entityTypes, java.util.Map<java.lang.String,CmsAttributeConfiguration> attributeConfigurations, boolean considerDefaults)
Transfers values from the original entity to the given target entity.Constructor parameters in org.opencms.ade.contenteditor.shared with type arguments of type CmsEntity Constructor Description CmsContentDefinition(java.lang.String entityId, java.util.Map<java.lang.String,CmsEntity> entities, java.util.Map<java.lang.String,CmsAttributeConfiguration> configurations, java.util.Collection<CmsExternalWidgetConfiguration> externalWidgetConfigurations, java.util.Map<java.lang.String,CmsComplexWidgetData> complexWidgetData, java.util.Map<java.lang.String,CmsType> types, java.util.List<CmsTabInfo> tabInfos, java.lang.String locale, java.util.List<java.lang.String> contentLocales, java.util.Map<java.lang.String,java.lang.String> availableLocales, java.util.List<java.lang.String> synchronizations, java.util.Map<java.lang.String,java.lang.String> syncValues, java.util.Collection<java.lang.String> skipPaths, java.lang.String title, java.lang.String sitePath, java.lang.String resourceType, java.lang.String iconClasses, boolean performedAutocorrection, boolean autoUnlock, java.util.Set<java.lang.String> editorChangeScopes)
Constructor. -
Uses of CmsEntity in org.opencms.ade.contenteditor.shared.rpc
Methods in org.opencms.ade.contenteditor.shared.rpc with parameters of type CmsEntity Modifier and Type Method Description CmsContentDefinition
I_CmsContentService. callEditorChangeHandlers(java.lang.String entityId, CmsEntity editedLocaleEntity, java.util.Collection<java.lang.String> skipPaths, java.util.Collection<java.lang.String> changedScopes)
Calls the editor change handlers.void
I_CmsContentServiceAsync. callEditorChangeHandlers(java.lang.String entityId, CmsEntity editedLocaleEntity, java.util.Collection<java.lang.String> skipPaths, java.util.Collection<java.lang.String> changedScopes, com.google.gwt.user.client.rpc.AsyncCallback<CmsContentDefinition> callback)
Calls the editor change handlers.void
I_CmsContentService. copyLocale(java.util.Collection<java.lang.String> locales, CmsEntity sourceLocale)
Copies the given source locale to the target locales.void
I_CmsContentServiceAsync. copyLocale(java.util.Collection<java.lang.String> locales, CmsEntity sourceLocale, com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Void> callback)
Copies the given source locale to the target locales.CmsContentDefinition
I_CmsContentService. loadDefinition(java.lang.String entityId, java.lang.String clientId, CmsEntity editedLocaleEntity, java.util.Collection<java.lang.String> skipPaths, java.util.Map<java.lang.String,java.lang.String> settingPresets)
Loads the content definition for a given entity.void
I_CmsContentServiceAsync. loadDefinition(java.lang.String entityId, java.lang.String clientId, CmsEntity editedLocaleEntity, java.util.Collection<java.lang.String> skipPaths, java.util.Map<java.lang.String,java.lang.String> settingPresets, com.google.gwt.user.client.rpc.AsyncCallback<CmsContentDefinition> callback)
Loads the content definition for a given type.CmsContentDefinition
I_CmsContentService. loadNewDefinition(java.lang.String entityId, java.lang.String clientId, CmsEntity editedLocaleEntity, java.util.Collection<java.lang.String> skipPaths, java.util.Map<java.lang.String,java.lang.String> settingPresets)
Loads new entity definition.void
I_CmsContentServiceAsync. loadNewDefinition(java.lang.String entityId, java.lang.String clientId, CmsEntity editedLocaleEntity, java.util.Collection<java.lang.String> skipPaths, java.util.Map<java.lang.String,java.lang.String> settingPresets, com.google.gwt.user.client.rpc.AsyncCallback<CmsContentDefinition> callback)
Loads new entity definition.CmsSaveResult
I_CmsContentService. saveAndDeleteEntities(CmsEntity lastEditedEntity, java.lang.String clientId, java.util.List<java.lang.String> deletedEntities, java.util.Collection<java.lang.String> skipPaths, java.lang.String lastEditedLocale, boolean clearOnSuccess)
Saves and deletes the given entities.void
I_CmsContentServiceAsync. saveAndDeleteEntities(CmsEntity lastEditedEntity, java.lang.String clientId, java.util.List<java.lang.String> deletedEntities, java.util.Collection<java.lang.String> skipPaths, java.lang.String lastEditedLocale, boolean clearOnSuccess, com.google.gwt.user.client.rpc.AsyncCallback<CmsSaveResult> callback)
Saves and deletes the given entities.
-