Package org.craftercms.studio.api.v2.dal
Enum Class ItemState
- All Implemented Interfaces:
Serializable,Comparable<ItemState>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longfinal long -
Method Summary
Modifier and TypeMethodDescriptionstatic longcanceledWorkflow(long currentState) static longdeleted()static booleanisDeleted(long currentState) static booleanisInWorkflow(long currentState) static booleanisInWorkflowOrScheduled(long currentState) static booleanisLive(long currentState) static booleanisModified(long currentState) static booleanisNew(long currentState) static booleanisPublishing(long currentState) static booleanisScheduled(long currentState) static booleanisStaged(long currentState) static booleanisSystemProcessing(long currentState) static booleanisTranslationInProgress(long currentState) static booleanisTranslationPending(long currentState) static booleanisTranslationUpToDate(long currentState) static booleanisUserLocked(long currentState) static longpublishedToLive(long currentState) static longpublishedToStaged(long currentState) static longpublishedToStagedAndLive(long currentState) static longsavedAndClosed(long currentState) static longsavedAndNotClosed(long currentState) static ItemStateReturns the enum constant of this class with the specified name.static ItemState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NEW
-
MODIFIED
-
DELETED
-
USER_LOCKED
-
SYSTEM_PROCESSING
-
IN_WORKFLOW
-
SCHEDULED
-
PUBLISHING
-
DESTINATION
-
STAGED
-
LIVE
-
DISABLED
-
RESERVED_12
-
RESERVED_11
-
RESERVED_10
-
RESERVED_9
-
RESERVED_8
-
RESERVED_7
-
RESERVED_6
-
RESERVED_5
-
RESERVED_4
-
RESERVED_3
-
RESERVED_2
-
RESERVED_1
-
TRANSLATION_UP_TO_DATE
-
TRANSLATION_PENDING
-
TRANSLATION_IN_PROGRESS
-
-
Field Details
-
value
public final long value -
CANCEL_WORKFLOW_ON_MASK
public static final long CANCEL_WORKFLOW_ON_MASK -
CANCEL_WORKFLOW_OFF_MASK
public static final long CANCEL_WORKFLOW_OFF_MASK -
SAVE_AND_CLOSE_ON_MASK
public static final long SAVE_AND_CLOSE_ON_MASK -
SAVE_AND_CLOSE_OFF_MASK
public static final long SAVE_AND_CLOSE_OFF_MASK -
CANCEL_PUBLISHING_PACKAGE_ON_MASK
public static final long CANCEL_PUBLISHING_PACKAGE_ON_MASK -
CANCEL_PUBLISHING_PACKAGE_OFF_MASK
public static final long CANCEL_PUBLISHING_PACKAGE_OFF_MASK -
SAVE_AND_NOT_CLOSE_ON_MASK
public static final long SAVE_AND_NOT_CLOSE_ON_MASK -
SAVE_AND_NOT_CLOSE_OFF_MASK
public static final long SAVE_AND_NOT_CLOSE_OFF_MASK -
SUBMIT_TO_WORKFLOW_ON_MASK
public static final long SUBMIT_TO_WORKFLOW_ON_MASK -
SUBMIT_TO_WORKFLOW_OFF_MASK
public static final long SUBMIT_TO_WORKFLOW_OFF_MASK -
SUBMIT_TO_WORKFLOW_LIVE_ON_MASK
public static final long SUBMIT_TO_WORKFLOW_LIVE_ON_MASK -
SUBMIT_TO_WORKFLOW_LIVE_OFF_MASK
public static final long SUBMIT_TO_WORKFLOW_LIVE_OFF_MASK -
SUBMIT_TO_WORKFLOW_SCHEDULED_ON_MASK
public static final long SUBMIT_TO_WORKFLOW_SCHEDULED_ON_MASK -
SUBMIT_TO_WORKFLOW_SCHEDULED_OFF_MASK
public static final long SUBMIT_TO_WORKFLOW_SCHEDULED_OFF_MASK -
SUBMIT_TO_WORKFLOW_SCHEDULED_LIVE_ON_MASK
public static final long SUBMIT_TO_WORKFLOW_SCHEDULED_LIVE_ON_MASK -
SUBMIT_TO_WORKFLOW_SCHEDULED_LIVE_OFF_MASK
public static final long SUBMIT_TO_WORKFLOW_SCHEDULED_LIVE_OFF_MASK -
REJECT_ON_MASK
public static final long REJECT_ON_MASK- See Also:
-
REJECT_OFF_MASK
public static final long REJECT_OFF_MASK -
DELETE_ON_MASK
public static final long DELETE_ON_MASK -
DELETE_OFF_MASK
public static final long DELETE_OFF_MASK -
PUBLISH_TO_STAGE_ON_MASK
public static final long PUBLISH_TO_STAGE_ON_MASK -
PUBLISH_TO_STAGE_OFF_MASK
public static final long PUBLISH_TO_STAGE_OFF_MASK -
PUBLISH_TO_LIVE_ON_MASK
public static final long PUBLISH_TO_LIVE_ON_MASK -
PUBLISH_TO_LIVE_OFF_MASK
public static final long PUBLISH_TO_LIVE_OFF_MASK -
PUBLISH_TO_STAGE_AND_LIVE_ON_MASK
public static final long PUBLISH_TO_STAGE_AND_LIVE_ON_MASK -
PUBLISH_TO_STAGE_AND_LIVE_OFF_MASK
public static final long PUBLISH_TO_STAGE_AND_LIVE_OFF_MASK -
NEW_MASK
public static final long NEW_MASK -
MODIFIED_MASK
public static final long MODIFIED_MASK -
SUBMITTED_MASK
public static final long SUBMITTED_MASK -
IN_PROGRESS_MASK
public static final long IN_PROGRESS_MASK -
UNPUBLISHED_MASK
public static final long UNPUBLISHED_MASK
-
-
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
-
deleted
public static long deleted() -
publishedToStaged
public static long publishedToStaged(long currentState) -
publishedToLive
public static long publishedToLive(long currentState) -
publishedToStagedAndLive
public static long publishedToStagedAndLive(long currentState) -
savedAndClosed
public static long savedAndClosed(long currentState) -
savedAndNotClosed
public static long savedAndNotClosed(long currentState) -
canceledWorkflow
public static long canceledWorkflow(long currentState) -
isNew
public static boolean isNew(long currentState) -
isModified
public static boolean isModified(long currentState) -
isDeleted
public static boolean isDeleted(long currentState) -
isUserLocked
public static boolean isUserLocked(long currentState) -
isSystemProcessing
public static boolean isSystemProcessing(long currentState) -
isInWorkflow
public static boolean isInWorkflow(long currentState) -
isScheduled
public static boolean isScheduled(long currentState) -
isPublishing
public static boolean isPublishing(long currentState) -
isStaged
public static boolean isStaged(long currentState) -
isLive
public static boolean isLive(long currentState) -
isInWorkflowOrScheduled
public static boolean isInWorkflowOrScheduled(long currentState) -
isTranslationUpToDate
public static boolean isTranslationUpToDate(long currentState) -
isTranslationPending
public static boolean isTranslationPending(long currentState) -
isTranslationInProgress
public static boolean isTranslationInProgress(long currentState)
-