public static class CmsResourceUtil.CmsResourceProjectState extends A_CmsModeIntEnumeration
| Modifier and Type | Field and Description |
|---|---|
protected static CmsResourceUtil.CmsResourceProjectState |
CLEAN
Constant for the project state unlocked.
|
protected static CmsResourceUtil.CmsResourceProjectState |
LOCKED_FOR_PUBLISHING
Constant for the project state locked for publishing.
|
protected static CmsResourceUtil.CmsResourceProjectState |
MODIFIED_IN_CURRENT_PROJECT
Constant for the project state locked in current project.
|
protected static CmsResourceUtil.CmsResourceProjectState |
MODIFIED_IN_OTHER_PROJECT
Constant for the project state locked in other project.
|
| Modifier | Constructor and Description |
|---|---|
protected |
CmsResourceProjectState(int mode)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLockedForPublishing()
Checks if this is a
LOCKED_FOR_PUBLISHING state. |
boolean |
isModifiedInCurrentProject()
Checks if this is a
MODIFIED_IN_CURRENT_PROJECT state. |
boolean |
isModifiedInOtherProject()
Checks if this is a
MODIFIED_IN_OTHER_PROJECT state. |
boolean |
isUnlocked()
Checks if this is a
CLEAN state. |
equals, getMode, hashCode, toStringprotected static final CmsResourceUtil.CmsResourceProjectState CLEAN
protected static final CmsResourceUtil.CmsResourceProjectState LOCKED_FOR_PUBLISHING
protected static final CmsResourceUtil.CmsResourceProjectState MODIFIED_IN_CURRENT_PROJECT
protected static final CmsResourceUtil.CmsResourceProjectState MODIFIED_IN_OTHER_PROJECT
protected CmsResourceProjectState(int mode)
mode - the mode descriptorpublic boolean isLockedForPublishing()
LOCKED_FOR_PUBLISHING state.true if this is a LOCKED_FOR_PUBLISHING statepublic boolean isModifiedInCurrentProject()
MODIFIED_IN_CURRENT_PROJECT state.true if this is a MODIFIED_IN_CURRENT_PROJECT statepublic boolean isModifiedInOtherProject()
MODIFIED_IN_OTHER_PROJECT state.true if this is a MODIFIED_IN_OTHER_PROJECT statepublic boolean isUnlocked()
CLEAN state.true if this is a CLEAN state