Package com.jalios.jcms
Enum RightInfo.Explanation
- java.lang.Object
-
- java.lang.Enum<RightInfo.Explanation>
-
- com.jalios.jcms.RightInfo.Explanation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RightInfo.Explanation>
- Enclosing class:
- RightInfo
public static enum RightInfo.Explanation extends java.lang.Enum<RightInfo.Explanation>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCOUNT_DISABLED
CANNOT_DELETE_OTHER
CANNOT_PUBLISH
CANNOT_UPDATE_OTHER
CANNOT_WORK_IN_STATE
CLASSIFIED
Indicates the data publication/workspace cannot be accessed because its classification level is higher than the clearance level of the member.DATA_WRITES_DISABLED
DO_NOT_BELONG_TO_WORKSPACE
DOCUMENT_REFERRER
NO_DATA
NOT_LOGGED
NOT_LOGGED_ON_PRIVATE_SITE
NOT_THE_AUTHOR
PUBLICATION_AUDIENCE_RIGHTS
PUBLICATION_LOCKED
PUBLICATION_MBR_GRP_RIGHTS
PUBLICATION_MBR_GRP_UPDATE_RIGHTS
PUBLICATION_NOT_IN_VISIBLE_STATE
RIGHTPOLICYFILTER
RIGHTPOLICYFILTER_GRANT
WORKSPACE_CLOSED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage(java.lang.String userLang, java.util.Locale userLocale, Data data, Member mbr, java.lang.Class<? extends RightPolicyFilter> rightPolicyFilter)
static RightInfo.Explanation
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RightInfo.Explanation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_LOGGED
public static final RightInfo.Explanation NOT_LOGGED
-
NOT_LOGGED_ON_PRIVATE_SITE
public static final RightInfo.Explanation NOT_LOGGED_ON_PRIVATE_SITE
-
CLASSIFIED
public static final RightInfo.Explanation 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
public static final RightInfo.Explanation PUBLICATION_NOT_IN_VISIBLE_STATE
-
PUBLICATION_MBR_GRP_RIGHTS
public static final RightInfo.Explanation PUBLICATION_MBR_GRP_RIGHTS
-
PUBLICATION_MBR_GRP_UPDATE_RIGHTS
public static final RightInfo.Explanation PUBLICATION_MBR_GRP_UPDATE_RIGHTS
-
PUBLICATION_AUDIENCE_RIGHTS
public static final RightInfo.Explanation PUBLICATION_AUDIENCE_RIGHTS
-
DOCUMENT_REFERRER
public static final RightInfo.Explanation DOCUMENT_REFERRER
-
NO_DATA
public static final RightInfo.Explanation NO_DATA
-
DATA_WRITES_DISABLED
public static final RightInfo.Explanation DATA_WRITES_DISABLED
-
DO_NOT_BELONG_TO_WORKSPACE
public static final RightInfo.Explanation DO_NOT_BELONG_TO_WORKSPACE
-
WORKSPACE_CLOSED
public static final RightInfo.Explanation WORKSPACE_CLOSED
-
ACCOUNT_DISABLED
public static final RightInfo.Explanation ACCOUNT_DISABLED
-
PUBLICATION_LOCKED
public static final RightInfo.Explanation PUBLICATION_LOCKED
-
CANNOT_WORK_IN_STATE
public static final RightInfo.Explanation CANNOT_WORK_IN_STATE
-
CANNOT_PUBLISH
public static final RightInfo.Explanation CANNOT_PUBLISH
-
CANNOT_UPDATE_OTHER
public static final RightInfo.Explanation CANNOT_UPDATE_OTHER
-
CANNOT_DELETE_OTHER
public static final RightInfo.Explanation CANNOT_DELETE_OTHER
-
NOT_THE_AUTHOR
public static final RightInfo.Explanation NOT_THE_AUTHOR
-
RIGHTPOLICYFILTER
public static final RightInfo.Explanation RIGHTPOLICYFILTER
-
RIGHTPOLICYFILTER_GRANT
public static final RightInfo.Explanation RIGHTPOLICYFILTER_GRANT
-
-
Method Detail
-
values
public static RightInfo.Explanation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RightInfo.Explanation c : RightInfo.Explanation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RightInfo.Explanation valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getMessage
public java.lang.String getMessage(java.lang.String userLang, java.util.Locale userLocale, Data data, Member mbr, java.lang.Class<? extends RightPolicyFilter> rightPolicyFilter)
-
-