Enum ContentManagementSubmodule
- java.lang.Object
-
- java.lang.Enum<ContentManagementSubmodule>
-
- org.cyclos.model.contentmanagement.ContentManagementSubmodule
-
- All Implemented Interfaces:
Serializable,Comparable<ContentManagementSubmodule>,PrefixedEnum,Submodule
public enum ContentManagementSubmodule extends Enum<ContentManagementSubmodule> implements Submodule
Submodules for theCONTENT_MANAGEMENTmodule
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTENT_ITEMSDOCUMENT_CATEGORIESDOCUMENT_FIELDSDOCUMENTSEMAILSIMAGE_CATEGORIESMOBILE_PAGESPages to be shown in the mobile applicationSTATIC_CONTENTSHeader, footer, helps, etcTHEMESTRANSLATIONS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Modulemodule()Returns the module for this submodulestatic ContentManagementSubmodulevalueOf(String name)Returns the enum constant of this type with the specified name.static ContentManagementSubmodule[]values()Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface org.cyclos.utils.PrefixedEnum
name
-
-
-
-
Enum Constant Detail
-
DOCUMENTS
public static final ContentManagementSubmodule DOCUMENTS
-
DOCUMENT_CATEGORIES
public static final ContentManagementSubmodule DOCUMENT_CATEGORIES
-
DOCUMENT_FIELDS
public static final ContentManagementSubmodule DOCUMENT_FIELDS
-
EMAILS
public static final ContentManagementSubmodule EMAILS
-
TRANSLATIONS
public static final ContentManagementSubmodule TRANSLATIONS
-
THEMES
public static final ContentManagementSubmodule THEMES
-
IMAGE_CATEGORIES
public static final ContentManagementSubmodule IMAGE_CATEGORIES
-
CONTENT_ITEMS
public static final ContentManagementSubmodule CONTENT_ITEMS
-
MOBILE_PAGES
public static final ContentManagementSubmodule MOBILE_PAGES
Pages to be shown in the mobile application
-
STATIC_CONTENTS
public static final ContentManagementSubmodule STATIC_CONTENTS
Header, footer, helps, etc
-
-
Method Detail
-
values
public static ContentManagementSubmodule[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ContentManagementSubmodule c : ContentManagementSubmodule.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContentManagementSubmodule valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-