|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.util.A_CmsModeIntEnumeration
org.opencms.workplace.explorer.CmsResourceUtil.CmsResourceProjectState
public static class CmsResourceUtil.CmsResourceProjectState
Enumeration class for defining the resource project state.
Field Summary | |
---|---|
protected static CmsResourceUtil.CmsResourceProjectState |
LOCKED_FOR_PUBLISHING
Constant for the project state locked for publishing. |
protected static CmsResourceUtil.CmsResourceProjectState |
LOCKED_IN_CURRENT_PROJECT
Constant for the project state locked in current project. |
protected static CmsResourceUtil.CmsResourceProjectState |
LOCKED_IN_OTHER_PROJECT
Constant for the project state locked in other project. |
protected static CmsResourceUtil.CmsResourceProjectState |
UNLOCKED
Constant for the project state unlocked. |
Constructor Summary | |
---|---|
protected |
CmsResourceUtil.CmsResourceProjectState(int mode)
Default constructor. |
Method Summary | |
---|---|
boolean |
isLockedForPublishing()
Checks if this is a LOCKED_FOR_PUBLISHING state. |
boolean |
isLockedInCurrentProject()
Checks if this is a LOCKED_IN_CURRENT_PROJECT state. |
boolean |
isLockedInOtherProject()
Checks if this is a LOCKED_IN_OTHER_PROJECT state. |
boolean |
isUnlocked()
Checks if this is a UNLOCKED state. |
Methods inherited from class org.opencms.util.A_CmsModeIntEnumeration |
---|
equals, getMode, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final CmsResourceUtil.CmsResourceProjectState LOCKED_FOR_PUBLISHING
protected static final CmsResourceUtil.CmsResourceProjectState LOCKED_IN_CURRENT_PROJECT
protected static final CmsResourceUtil.CmsResourceProjectState LOCKED_IN_OTHER_PROJECT
protected static final CmsResourceUtil.CmsResourceProjectState UNLOCKED
Constructor Detail |
---|
protected CmsResourceUtil.CmsResourceProjectState(int mode)
mode
- the mode descriptorMethod Detail |
---|
public boolean isLockedForPublishing()
LOCKED_FOR_PUBLISHING
state.
true
if this is a LOCKED_FOR_PUBLISHING
statepublic boolean isLockedInCurrentProject()
LOCKED_IN_CURRENT_PROJECT
state.
true
if this is a LOCKED_IN_CURRENT_PROJECT
statepublic boolean isLockedInOtherProject()
LOCKED_IN_OTHER_PROJECT
state.
true
if this is a LOCKED_IN_OTHER_PROJECT
statepublic boolean isUnlocked()
UNLOCKED
state.
true
if this is a UNLOCKED
state
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |