Package org.opencms.workplace.explorer
Class CmsResourceUtil.CmsResourceProjectState
java.lang.Object
org.opencms.util.A_CmsModeIntEnumeration
org.opencms.workplace.explorer.CmsResourceUtil.CmsResourceProjectState
- All Implemented Interfaces:
Serializable
- Enclosing class:
CmsResourceUtil
Enumeration class for defining the resource project state.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final CmsResourceUtil.CmsResourceProjectStateConstant for the project state unlocked.protected static final CmsResourceUtil.CmsResourceProjectStateConstant for the project state locked for publishing.protected static final CmsResourceUtil.CmsResourceProjectStateConstant for the project state locked in current project.protected static final CmsResourceUtil.CmsResourceProjectStateConstant for the project state locked in other project. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if this is aLOCKED_FOR_PUBLISHINGstate.booleanChecks if this is aMODIFIED_IN_CURRENT_PROJECTstate.booleanChecks if this is aMODIFIED_IN_OTHER_PROJECTstate.booleanChecks if this is aCLEANstate.Methods inherited from class org.opencms.util.A_CmsModeIntEnumeration
equals, getMode, hashCode, toString
-
Field Details
-
CLEAN
Constant for the project state unlocked. -
LOCKED_FOR_PUBLISHING
Constant for the project state locked for publishing. -
MODIFIED_IN_CURRENT_PROJECT
Constant for the project state locked in current project. -
MODIFIED_IN_OTHER_PROJECT
Constant for the project state locked in other project.
-
-
Constructor Details
-
CmsResourceProjectState
Default constructor.- Parameters:
mode- the mode descriptor
-
-
Method Details
-
isLockedForPublishing
Checks if this is aLOCKED_FOR_PUBLISHINGstate.- Returns:
trueif this is aLOCKED_FOR_PUBLISHINGstate
-
isModifiedInCurrentProject
Checks if this is aMODIFIED_IN_CURRENT_PROJECTstate.- Returns:
trueif this is aMODIFIED_IN_CURRENT_PROJECTstate
-
isModifiedInOtherProject
Checks if this is aMODIFIED_IN_OTHER_PROJECTstate.- Returns:
trueif this is aMODIFIED_IN_OTHER_PROJECTstate
-
isUnlocked
Checks if this is aCLEANstate.- Returns:
trueif this is aCLEANstate
-