Enum Class DefaultCatalogType
- All Implemented Interfaces:
Serializable
,Comparable<DefaultCatalogType>
,Constable
Defines the default types a
Catalog
can be. This indicates the type of content grouped by
the catalog such as product information, digital content (pages, widgets, etc.), or search
groupings (facets, facet groups, search settings, etc.). This is intended as a way to take
advantage of all the framework infrastructure for inheritance and multitenancy without
duplicating it between Product, Digital content, and Search.- Author:
- Nathan Moore (nathandmoore)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIndicates that aCatalog
contains digital and CMS related content.Indicates that aCatalog
contains Products and related content.Indicates that aCatalog
contains search related content. -
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultCatalogType
Returns the enum constant of this class with the specified name.static DefaultCatalogType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PRODUCT
Indicates that aCatalog
contains Products and related content. -
DIGITAL_CONTENT
Indicates that aCatalog
contains digital and CMS related content. Typically, only one exists for each Application. -
SEARCH_GROUP
Indicates that aCatalog
contains search related content. Only one such Catalog should ever exist per Application.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-