Class CmsInheritanceInfo

java.lang.Object
org.opencms.ade.containerpage.shared.CmsInheritanceInfo
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class CmsInheritanceInfo extends Object implements com.google.gwt.user.client.rpc.IsSerializable
A class whose instances are added to container element beans to provide information about container inheritance.

  • Constructor Details

    • CmsInheritanceInfo

      Creates a new instance.

    • CmsInheritanceInfo

      public CmsInheritanceInfo(String key, boolean visibility, boolean isNew)
      Creates a new instance.

      Parameters:
      key - the key identifying the container element
      visibility - the visibility of the container element
      isNew - if true, the element is new
  • Method Details

    • getClientId

      public String getClientId()
      Returns the elements client id.

      Returns:
      the elements client id
    • getKey

      public String getKey()
      Returns the key identifying the container element.

      Returns:
      the key
    • getPath

      public String getPath()
      Gets the path from which this element was inherited.

      Returns:
      the path from which this element was inherited
    • isNew

      public boolean isNew()
      Returns true if this container element is new.

      Returns:
      true if the container element is new
    • isParentVisible

      public boolean isParentVisible()
      Returns the parent configuration's visibility.

      Returns:
      the parent visibility
    • isVisibilityInherited

      public boolean isVisibilityInherited()
      Returns the visibilityInherited.

      Returns:
      the visibilityInherited
    • isVisible

      public boolean isVisible()
      Gets the container element's visibility.

      Returns:
      the container element's visibility
    • setClientId

      public void setClientId(String clientId)
      Sets the elements client id.

      Parameters:
      clientId - the elements client id to set
    • setIsNew

      public void setIsNew(boolean isNew)
      Sets the 'new' field.

      Parameters:
      isNew - the new value for the 'new' field
    • setKey

      public void setKey(String key)
      Sets the key identifying this container element.

      Parameters:
      key - the key identifying the container element
    • setParentVisible

      public void setParentVisible(boolean parentVisible)
      Sets the parent visibility.

      Parameters:
      parentVisible - the new value for the parent visibility
    • setPath

      public void setPath(String path)
      Sets the path.

      Parameters:
      path - the new value for the path
    • setVisibilityInherited

      public void setVisibilityInherited(boolean visibilityInherited)
      Sets the 'visibilityInherited' attribute.

      Parameters:
      visibilityInherited - the new value of the 'visibilityInherited' attribute
    • setVisible

      public void setVisible(boolean visibility)
      Sets the new visibility.

      Parameters:
      visibility - the new value of the visibility