Enum ContentRestrictedModelItemHelper.FirstRestrictionsChecksState
- java.lang.Object
-
- java.lang.Enum<ContentRestrictedModelItemHelper.FirstRestrictionsChecksState>
-
- org.ametys.cms.model.restrictions.ContentRestrictedModelItemHelper.FirstRestrictionsChecksState
-
- All Implemented Interfaces:
Serializable
,Comparable<ContentRestrictedModelItemHelper.FirstRestrictionsChecksState>
- Enclosing class:
- ContentRestrictedModelItemHelper
public static enum ContentRestrictedModelItemHelper.FirstRestrictionsChecksState extends Enum<ContentRestrictedModelItemHelper.FirstRestrictionsChecksState>
TODO NEWATTRIBUTEAPI_CONTENT: make this enum private when caller ofContentRestrictedModelItemHelper._doFirstRestrictionsChecks(Content, Restrictions, boolean)
in DefaultContentType are removed
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ContentRestrictedModelItemHelper.FirstRestrictionsChecksState
valueOf(String name)
Returns the enum constant of this type with the specified name.static ContentRestrictedModelItemHelper.FirstRestrictionsChecksState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRUE
public static final ContentRestrictedModelItemHelper.FirstRestrictionsChecksState TRUE
First checks are OK
-
FALSE
public static final ContentRestrictedModelItemHelper.FirstRestrictionsChecksState FALSE
First checks are not OK
-
UNKNOWN
public static final ContentRestrictedModelItemHelper.FirstRestrictionsChecksState UNKNOWN
There are more checks to do
-
-
Method Detail
-
values
public static ContentRestrictedModelItemHelper.FirstRestrictionsChecksState[] 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 (ContentRestrictedModelItemHelper.FirstRestrictionsChecksState c : ContentRestrictedModelItemHelper.FirstRestrictionsChecksState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContentRestrictedModelItemHelper.FirstRestrictionsChecksState 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 nameNullPointerException
- if the argument is null
-
-