public enum CmsOuTreeType extends java.lang.Enum<CmsOuTreeType> implements I_CmsOuTreeType
| Enum Constant and Description |
|---|
GROUP
Group.
|
OU
OU.
|
ROLE
Role.
|
USER
User.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getEmptyMessageKey()
Returns the key for the empty-message.
|
CmsCssIcon |
getIcon()
Get the icon.
|
java.lang.String |
getId()
Gets the id of the type.
|
java.lang.String |
getName()
Gets the name of the element.
|
boolean |
isExpandable()
Checks if type is expandable.
|
boolean |
isGroup()
Checks if the tree type is group-like.
|
boolean |
isOrgUnit()
Checks if the tree type is OU-like.
|
boolean |
isRole()
Checks if the tree type is role-like.
|
boolean |
isUser()
Checks if the tree type is user-like.
|
boolean |
isValidForOu(CmsObject cms,
java.lang.String ou)
Checks if the tree type is available for a given OU.
|
boolean |
showInOuTable()
True if type should be shown in OU overview table.
|
static CmsOuTreeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CmsOuTreeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CmsOuTreeType GROUP
public static final CmsOuTreeType OU
public static final CmsOuTreeType ROLE
public static final CmsOuTreeType USER
public static CmsOuTreeType[] values()
for (CmsOuTreeType c : CmsOuTreeType.values()) System.out.println(c);
public static CmsOuTreeType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getEmptyMessageKey()
getEmptyMessageKey in interface I_CmsOuTreeTypepublic CmsCssIcon getIcon()
getIcon in interface I_CmsOuTreeTypepublic java.lang.String getId()
getId in interface I_CmsOuTreeTypepublic java.lang.String getName()
getName in interface I_CmsOuTreeTypepublic boolean isExpandable()
isExpandable in interface I_CmsOuTreeTypepublic boolean isGroup()
I_CmsOuTreeTypeisGroup in interface I_CmsOuTreeTypeI_CmsOuTreeType.isGroup()public boolean isOrgUnit()
I_CmsOuTreeTypeisOrgUnit in interface I_CmsOuTreeTypeI_CmsOuTreeType.isOrgUnit()public boolean isRole()
I_CmsOuTreeTypeisRole in interface I_CmsOuTreeTypeI_CmsOuTreeType.isRole()public boolean isUser()
I_CmsOuTreeTypeisUser in interface I_CmsOuTreeTypeI_CmsOuTreeType.isUser()public boolean isValidForOu(CmsObject cms, java.lang.String ou)
I_CmsOuTreeTypeisValidForOu in interface I_CmsOuTreeTypecms - the CMS contextou - the OU FQN.I_CmsOuTreeType.isValidForOu(org.opencms.file.CmsObject, java.lang.String)public boolean showInOuTable()
I_CmsOuTreeTypeshowInOuTable in interface I_CmsOuTreeTypeI_CmsOuTreeType.showInOuTable()