com.jalios.jcms
Enum RightInfo.Explanation

java.lang.Object
  extended by java.lang.Enum<RightInfo.Explanation>
      extended by com.jalios.jcms.RightInfo.Explanation
All Implemented Interfaces:
Serializable, Comparable<RightInfo.Explanation>
Enclosing class:
RightInfo

public static enum RightInfo.Explanation
extends Enum<RightInfo.Explanation>


Enum Constant Summary
ACCOUNT_DISABLED
           
CANNOT_DELETE_OTHER
           
CANNOT_PUBLISH
           
CANNOT_UPDATE_OTHER
           
CANNOT_WORK_IN_STATE
           
DATA_WRITES_DISABLED
           
DO_NOT_BELONG_TO_WORKSPACE
           
DOCUMENT_LOCKED
           
DOCUMENT_REFERRER
           
NO_DATA
           
NOT_LOGGED
           
NOT_THE_AUTHOR
           
PUBLICATION_AUDIENCE_RIGHTS
           
PUBLICATION_MBR_GRP_RIGHTS
           
PUBLICATION_NOT_IN_VISIBLE_STATE
           
RIGHTPOLICYFILTER
           
WORKSPACE_CLOSED
           
 
Method Summary
 String getMessage(String userLang, Locale userLocale, Data data, Member mbr, Class<? extends RightPolicyFilter> rightPolicyFilter)
           
static RightInfo.Explanation valueOf(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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NOT_LOGGED

public static final RightInfo.Explanation NOT_LOGGED

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_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

DOCUMENT_LOCKED

public static final RightInfo.Explanation DOCUMENT_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
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(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getMessage

public String getMessage(String userLang,
                         Locale userLocale,
                         Data data,
                         Member mbr,
                         Class<? extends RightPolicyFilter> rightPolicyFilter)


Copyright © 2001-2010 Jalios SA. All Rights Reserved.