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 Summary
ConstructorsConstructorDescriptionCreates a new instance.CmsInheritanceInfo(String key, boolean visibility, boolean isNew) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns the elements client id.getKey()Returns the key identifying the container element.getPath()Gets the path from which this element was inherited.booleanisNew()Returns true if this container element is new.booleanReturns the parent configuration's visibility.booleanReturns the visibilityInherited.booleanGets the container element's visibility.voidsetClientId(String clientId) Sets the elements client id.voidsetIsNew(boolean isNew) Sets the 'new' field.voidSets the key identifying this container element.voidsetParentVisible(boolean parentVisible) Sets the parent visibility.voidSets the path.voidsetVisibilityInherited(boolean visibilityInherited) Sets the 'visibilityInherited' attribute.voidsetVisible(boolean visibility) Sets the new visibility.
-
Constructor Details
-
CmsInheritanceInfo
public CmsInheritanceInfo()Creates a new instance. -
CmsInheritanceInfo
Creates a new instance.- Parameters:
key- the key identifying the container elementvisibility- the visibility of the container elementisNew- if true, the element is new
-
-
Method Details
-
getClientId
Returns the elements client id.- Returns:
- the elements client id
-
getKey
Returns the key identifying the container element.- Returns:
- the key
-
getPath
Gets the path from which this element was inherited.- Returns:
- the path from which this element was inherited
-
isNew
Returns true if this container element is new.- Returns:
- true if the container element is new
-
isParentVisible
Returns the parent configuration's visibility.- Returns:
- the parent visibility
-
isVisibilityInherited
Returns the visibilityInherited.- Returns:
- the visibilityInherited
-
isVisible
Gets the container element's visibility.- Returns:
- the container element's visibility
-
setClientId
Sets the elements client id.- Parameters:
clientId- the elements client id to set
-
setIsNew
Sets the 'new' field.- Parameters:
isNew- the new value for the 'new' field
-
setKey
Sets the key identifying this container element.- Parameters:
key- the key identifying the container element
-
setParentVisible
Sets the parent visibility.- Parameters:
parentVisible- the new value for the parent visibility
-
setPath
Sets the path.- Parameters:
path- the new value for the path
-
setVisibilityInherited
Sets the 'visibilityInherited' attribute.- Parameters:
visibilityInherited- the new value of the 'visibilityInherited' attribute
-
setVisible
Sets the new visibility.- Parameters:
visibility- the new value of the visibility
-