Package com.tridion.storage.dao
Enum Class ItemTypeSelector
- All Implemented Interfaces:
Serializable,Comparable<ItemTypeSelector>,Constable
This represents the item selector flag in the ItemMeta data, can be used to limit selections
to a single type of metadata.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionComponent.Keyword.Page.Publication.Template. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionThis returns the entity name as a String.This returns the subfolder as a String in which the metadata is stored.This gets the string representation of the ItemTypeSelector.intThis returns the resolved item type id which corresponds to those defined inItemTypes.static ItemTypeSelectorReturnItemTypeSelectorenum instance based in itemSelector string value.toString()static ItemTypeSelectorReturns the enum constant of this class with the specified name.static ItemTypeSelector[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COMPONENT
Component. -
TEMPLATE
Template. -
KEYWORD
Keyword. -
PAGE
Page. -
PUBLICATION
Publication.
-
-
Field Details
-
BINARY_ENTITY_NAME
Binary entity name.- See Also:
-
BINARY_ITEM_LOCATION
Binary item location.- See Also:
-
-
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
-
getItemSelector
This gets the string representation of the ItemTypeSelector.- Returns:
- The string based value of the ItemTypeSelector
-
getEntityName
This returns the entity name as a String.- Returns:
- The entity name as a string
-
getItemLocation
This returns the subfolder as a String in which the metadata is stored.- Returns:
- The subfolder as a string
-
getItemTypeId
public int getItemTypeId()This returns the resolved item type id which corresponds to those defined inItemTypes.- Returns:
- the resolved item type id which corresponds to this ItemTypeSelector.
-
toString
- Overrides:
toStringin classEnum<ItemTypeSelector>
-
of
ReturnItemTypeSelectorenum instance based in itemSelector string value.- Parameters:
itemSelector- item selector- Returns:
- found enum instance
-