public static class CmsResourceUtil.CmsResourceProjectState extends A_CmsModeIntEnumeration
限定符和类型 | 字段和说明 |
---|---|
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.
|
限定符 | 构造器和说明 |
---|---|
protected |
CmsResourceUtil.CmsResourceProjectState(int mode)
Default constructor.
|
限定符和类型 | 方法和说明 |
---|---|
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, toString
protected 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 CmsResourceUtil.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
state