Package org.opencms.file
Class CmsProject.CmsProjectType
java.lang.Object
org.opencms.util.A_CmsModeIntEnumeration
org.opencms.file.CmsProject.CmsProjectType
- All Implemented Interfaces:
Serializable
- Enclosing class:
- CmsProject
Enumeration class for project types.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final CmsProject.CmsProjectType
Project type normal.protected static final CmsProject.CmsProjectType
Project type temporary.protected static final CmsProject.CmsProjectType
Project type 'workflow'. -
Method Summary
Modifier and TypeMethodDescriptionint
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 Details
-
MODE_PROJECT_NORMAL
Project type normal. -
MODE_PROJECT_TEMPORARY
Project type temporary. -
MODE_PROJECT_WORKFLOW
Project type 'workflow'.
-
-
Method Details
-
valueOf
Returns the copy mode object from the old copy mode integer.- Parameters:
mode
- the old copy mode integer- Returns:
- the copy mode object
-
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
-