Enum Privilege
- java.lang.Object
-
- java.lang.Enum<Privilege>
-
- com.priint.pubserver.comet.bridge.access.Privilege
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPrivilege.DomainThe enum Domain.
-
Enum Constant Summary
Enum Constants Enum Constant Description AREA_BUILDThe Area build.COMETComet privilege.COMET_NOTEThe Comet note.COMET_TESTThe Comet test.FRAME_TAGThe Frame tag.FRONT_ROWThe Front row.LAYOUT_RULEThe Layout rule.PAGE_ELEMENTSThe Page elements.PAGE_TEMPLATESThe Page templates.PLACEHOLDERPlaceholder privilege.PLACEHOLDER_VALUESThe Placeholder values.PLACEHOLDER_VALUES_INFOThe Placeholder values info.PREVIEWPreview privilege.PREVIEW_DETAILThe Preview detail.PRODUCT_POOLThe Product pool.PRODUCTS_OF_DOCUMENTThe Products of document.PUBLICATIONPublication privilege.PUBLICATION_INFOThe Publication info.SETTINGSetting privilege.TABLE_COMPOSITIONThe Table composition.TEMPLATE_BEHAVIOURThe Template behaviour.TEMPPLATETempplate privilege.TODOTodo privilege.TRANSLATIONSTranslations privilege.URL_LINKThe Url link.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetClassId()Gets class id.java.lang.StringgetCscriptConstant()Gets cscript constant.Privilege.DomaingetDomain()Gets domain.java.lang.StringgetLabel()Gets label.static PrivilegevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Privilege[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMET_NOTE
public static final Privilege COMET_NOTE
The Comet note.
-
FRONT_ROW
public static final Privilege FRONT_ROW
The Front row.
-
PREVIEW
public static final Privilege PREVIEW
Preview privilege.
-
PREVIEW_DETAIL
public static final Privilege PREVIEW_DETAIL
The Preview detail.
-
PRODUCT_POOL
public static final Privilege PRODUCT_POOL
The Product pool.
-
PRODUCTS_OF_DOCUMENT
public static final Privilege PRODUCTS_OF_DOCUMENT
The Products of document.
-
PUBLICATION
public static final Privilege PUBLICATION
Publication privilege.
-
PUBLICATION_INFO
public static final Privilege PUBLICATION_INFO
The Publication info.
-
SETTING
public static final Privilege SETTING
Setting privilege.
-
TODO
public static final Privilege TODO
Todo privilege.
-
URL_LINK
public static final Privilege URL_LINK
The Url link.
-
AREA_BUILD
public static final Privilege AREA_BUILD
The Area build.
-
COMET
public static final Privilege COMET
Comet privilege.
-
COMET_TEST
public static final Privilege COMET_TEST
The Comet test.
-
FRAME_TAG
public static final Privilege FRAME_TAG
The Frame tag.
-
LAYOUT_RULE
public static final Privilege LAYOUT_RULE
The Layout rule.
-
PAGE_ELEMENTS
public static final Privilege PAGE_ELEMENTS
The Page elements.
-
PAGE_TEMPLATES
public static final Privilege PAGE_TEMPLATES
The Page templates.
-
PLACEHOLDER_VALUES
public static final Privilege PLACEHOLDER_VALUES
The Placeholder values.
-
PLACEHOLDER_VALUES_INFO
public static final Privilege PLACEHOLDER_VALUES_INFO
The Placeholder values info.
-
PLACEHOLDER
public static final Privilege PLACEHOLDER
Placeholder privilege.
-
TABLE_COMPOSITION
public static final Privilege TABLE_COMPOSITION
The Table composition.
-
TEMPLATE_BEHAVIOUR
public static final Privilege TEMPLATE_BEHAVIOUR
The Template behaviour.
-
TEMPPLATE
public static final Privilege TEMPPLATE
Tempplate privilege.
-
TRANSLATIONS
public static final Privilege TRANSLATIONS
Translations privilege.
-
-
Method Detail
-
values
public static Privilege[] 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 (Privilege c : Privilege.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Privilege 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
-
getLabel
public java.lang.String getLabel()
Gets label.- Returns:
- the label
-
getCscriptConstant
public java.lang.String getCscriptConstant()
Gets cscript constant.- Returns:
- the cscript constant
-
getDomain
public Privilege.Domain getDomain()
Gets domain.- Returns:
- the domain
-
getClassId
public int getClassId()
Gets class id.- Returns:
- the class id
-
-