public static enum IDProvider.UidType extends Enum<IDProvider.UidType>
unique identifier
has to be unique. Each IDProvider
supporting uid's (IDProvider.hasUid()
) provides
a static field to the belonging UidType (e.g. PageFolder.UID_TYPE
).
See usages for existing uid type mappings.Enum Constant and Description |
---|
CONTENTSTORE |
CONTENTSTORE_DATA |
GLOBALSTORE |
MEDIASTORE_FOLDER
UidType for
MediaFolder |
MEDIASTORE_LEAF
UidType for
Media |
PAGESTORE
UidType for
Page and PageFolder |
SITESTORE_FOLDER
UidType for
SiteStoreFolder |
SITESTORE_LEAF
UidType for
PageRef and DocumentGroup |
TEMPLATESTORE |
TEMPLATESTORE_FORMATTEMPLATE |
TEMPLATESTORE_LINKTEMPLATE |
TEMPLATESTORE_SCHEMA
UidType for
tabletemplates and queries |
TEMPLATESTORE_STYLETEMPLATE |
TEMPLATESTORE_TABLEFORMATTEMPLATE |
Modifier and Type | Method and Description |
---|---|
static EnumSet<IDProvider.UidType> |
forStoreType(Store.Type storeType)
Fetch all the uid types for a given store type.
|
Store.Type |
getStoreType() |
de.espirit.storage.Type |
getType() |
static IDProvider.UidType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IDProvider.UidType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IDProvider.UidType CONTENTSTORE_DATA
public static final IDProvider.UidType CONTENTSTORE
public static final IDProvider.UidType PAGESTORE
Page
and PageFolder
Page.UID_TYPE
,
PageFolder.UID_TYPE
public static final IDProvider.UidType SITESTORE_LEAF
PageRef
and DocumentGroup
public static final IDProvider.UidType SITESTORE_FOLDER
SiteStoreFolder
SiteStoreFolder.UID_TYPE
public static final IDProvider.UidType MEDIASTORE_LEAF
Media
Media.UID_TYPE
public static final IDProvider.UidType MEDIASTORE_FOLDER
MediaFolder
MediaFolder.UID_TYPE
public static final IDProvider.UidType TEMPLATESTORE
public static final IDProvider.UidType TEMPLATESTORE_SCHEMA
tabletemplates
and queries
public static final IDProvider.UidType TEMPLATESTORE_LINKTEMPLATE
public static final IDProvider.UidType TEMPLATESTORE_FORMATTEMPLATE
public static final IDProvider.UidType TEMPLATESTORE_TABLEFORMATTEMPLATE
public static final IDProvider.UidType TEMPLATESTORE_STYLETEMPLATE
public static final IDProvider.UidType GLOBALSTORE
public static IDProvider.UidType[] values()
for (IDProvider.UidType c : IDProvider.UidType.values()) System.out.println(c);
public static IDProvider.UidType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is null@NotNull public Store.Type getStoreType()
@NotNull public de.espirit.storage.Type getType()
@NotNull public static EnumSet<IDProvider.UidType> forStoreType(Store.Type storeType)
storeType
- The store type to look up uid types for.Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500