Class CmsEntityBackend

java.lang.Object
org.opencms.acacia.client.entity.CmsEntityBackend
All Implemented Interfaces:
I_CmsEntityBackend

public final class CmsEntityBackend extends Object implements I_CmsEntityBackend
The editor data back-end.

  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changeEntityContentValues(org.opencms.acacia.shared.CmsEntity original, org.opencms.acacia.shared.CmsEntity newContent)
    Changes the original entities content to the given new content.
    void
    Clears all entities from VIE.
    org.opencms.acacia.shared.CmsEntity
    createEntity(String entityId, String entityType)
    Creates a new entity registering it within VIE.
    static org.opencms.acacia.shared.CmsEntity
    createFromNativeWrapper(com.google.gwt.core.client.JavaScriptObject entityWrapper)
    Method to create an entity object from a wrapped instance.
    org.opencms.acacia.shared.CmsType
    Creates a new type.
    List<com.google.gwt.dom.client.Element>
    getAttributeElements(String entityId, String attributeName, com.google.gwt.dom.client.Element context)
    Returns DOM elements displaying the given attribute's value.
    List<com.google.gwt.dom.client.Element>
    getAttributeElements(org.opencms.acacia.shared.CmsEntity entity, String attributeName, com.google.gwt.dom.client.Element context)
    Returns DOM elements displaying the given attribute's value.
    org.opencms.acacia.shared.CmsEntity
    getEntity(String entityId)
    Returns the entity with the given id.
    Returns the instance.
    org.opencms.acacia.shared.CmsType
    Returns the type with the given id/name.
    org.opencms.acacia.shared.CmsEntity
    registerEntity(org.opencms.acacia.shared.CmsEntity entity)
    Registers the given entity within the VIE model.
    org.opencms.acacia.shared.CmsEntity
    registerEntity(org.opencms.acacia.shared.CmsEntity entity, boolean discardIds)
    Registers the given entity within the VIE model.
    void
    registerTypes(org.opencms.acacia.shared.CmsType type, Map<String,org.opencms.acacia.shared.CmsType> types)
    Registers the type and it's sub-types.
    void
    removeEntity(String entityId)
    Removes the given entity from VIE.
    protected List<com.google.gwt.dom.client.Element>
    select(String selector, com.google.gwt.dom.client.Element context)
    Returns a list of DOM elements matching the given selector.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait