Package org.opencms.file
Class CmsProject.CmsProjectType
- java.lang.Object
-
- org.opencms.util.A_CmsModeIntEnumeration
-
- org.opencms.file.CmsProject.CmsProjectType
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- CmsProject
public static final class CmsProject.CmsProjectType extends A_CmsModeIntEnumeration
Enumeration class for project types.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static CmsProject.CmsProjectType
MODE_PROJECT_NORMAL
Project type normal.protected static CmsProject.CmsProjectType
MODE_PROJECT_TEMPORARY
Project type temporary.protected static CmsProject.CmsProjectType
MODE_PROJECT_WORKFLOW
Project type 'workflow'.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDefaultFlags()
Returns the default flags which should be set when a new project of this type is created.static CmsProject.CmsProjectType
valueOf(int mode)
Returns the copy mode object from the old copy mode integer.-
Methods inherited from class org.opencms.util.A_CmsModeIntEnumeration
equals, getMode, hashCode, toString
-
-
-
-
Field Detail
-
MODE_PROJECT_NORMAL
protected static final CmsProject.CmsProjectType MODE_PROJECT_NORMAL
Project type normal.
-
MODE_PROJECT_TEMPORARY
protected static final CmsProject.CmsProjectType MODE_PROJECT_TEMPORARY
Project type temporary.
-
MODE_PROJECT_WORKFLOW
protected static final CmsProject.CmsProjectType MODE_PROJECT_WORKFLOW
Project type 'workflow'.
-
-
Method Detail
-
valueOf
public static CmsProject.CmsProjectType valueOf(int mode)
Returns the copy mode object from the old copy mode integer.- Parameters:
mode
- the old copy mode integer- Returns:
- the copy mode object
-
getDefaultFlags
public int getDefaultFlags()
Returns the default flags which should be set when a new project of this type is created.- Returns:
- the default flags for the project type
-
-