Package com.jalios.jcms
Enum Class RightInfo.Explanation
- All Implemented Interfaces:
Serializable,Comparable<RightInfo.Explanation>,Constable
- Enclosing class:
RightInfo
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates the data publication/workspace cannot be accessed because its classification level is higher than the clearance level of the member. -
Method Summary
Modifier and TypeMethodDescriptiongetMessage(String userLang, Locale userLocale, Data data, Member mbr, Class<? extends RightPolicyFilter> rightPolicyFilter) static RightInfo.ExplanationReturns the enum constant of this class with the specified name.static RightInfo.Explanation[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_LOGGED
-
NOT_LOGGED_ON_PRIVATE_SITE
-
CLASSIFIED
Indicates the data publication/workspace cannot be accessed because its classification level is higher than the clearance level of the member.- Since:
- 10.0.8 / JCMS-10746
-
PUBLICATION_NOT_IN_VISIBLE_STATE
-
PUBLICATION_MBR_GRP_RIGHTS
-
PUBLICATION_MBR_GRP_UPDATE_RIGHTS
-
PUBLICATION_AUDIENCE_RIGHTS
-
DOCUMENT_REFERRER
-
NO_DATA
-
DATA_WRITES_DISABLED
-
DO_NOT_BELONG_TO_WORKSPACE
-
WORKSPACE_CLOSED
-
ACCOUNT_DISABLED
-
PUBLICATION_LOCKED
-
CANNOT_WORK_IN_STATE
-
CANNOT_PUBLISH
-
CANNOT_UPDATE_OTHER
-
CANNOT_DELETE_OTHER
-
NOT_THE_AUTHOR
-
RIGHTPOLICYFILTER
-
RIGHTPOLICYFILTER_GRANT
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getMessage
-