public abstract class TypeManagerManaged extends LocalizableItem
This class provides any type system item with a localized name and its extension name. The extension name shows which
extension a type system item belongs to - means: which items.xml it should be declared in.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TypeManagerManaged.TypeManagerManagedImpl
Internal persistence layer implementation interface.
|
LocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException| Modifier and Type | Field and Description |
|---|---|
static String |
AUTOCREATE
The autocreate attribute string constant.
|
static String |
DEPRECATED
The deprecated attribute string constant.
|
static String |
EXTENSION_NAME
The extension name attribute string constant.
|
static String |
GENERATE
The generate attribute string constant.
|
static String |
NAME
The name attribute string constant.
|
LANGUAGE_FALLBACK_ENABLED_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPEimpl, tenant| Constructor and Description |
|---|
TypeManagerManaged() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
exportXMLDefinition(XMLOutputter xout) |
Map |
getAllNames()
Gives all names in form of a language-to-name map.
|
Map |
getAllNames(SessionContext ctx)
Gives all names in form of a language-to-name map.
|
String |
getExtensionName()
Returns the name of the extension which this type system item belongs to.
|
protected TypeManagerManaged.TypeManagerManagedImpl |
getImpl()
Internal access to the persistence layer implementation.
|
String |
getName() |
String |
getName(SessionContext ctx) |
boolean |
isAutocreate() |
boolean |
isDeprecated()
Tells whether this type system element was marked as deprecated by the last re-initialization.
|
boolean |
isGenerate() |
void |
setAllNames(Map names)
Sets all names at once.
|
void |
setAllNames(SessionContext ctx,
Map names)
Sets all names at once.
|
void |
setAutocreate(boolean auto)
Defines if this type type system element should be create automatically during initialization.
|
void |
setExtensionName(String extname)
Changes the name of the extension which this type system item belongs to.
|
void |
setGenerate(boolean gen)
Defines if jalo code should be generated for this type system element by build process.
|
void |
setName(SessionContext ctx,
String name)
Changes the name of this type system item for the specified language.
|
void |
setName(String name)
Changes the name of this type system item for the current session language.
|
getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertycreateNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setPropertyaddLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addNegativePermission, addPermission, addPositivePermission, assureExtensionsLoaded, changeTypeAfterCreation, checkConstraint, checkItemPermission, checkMandatoryAttribute, checkMandatoryAttribute, checkPermission, checkPermission, checkRemovable, clearPermission, compareTo, createItem, ctx, doAfterRemove, doBeforeRemove, equals, getAccessorFor, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributesInternal, getAllLinkedItems, getAndCheckCacheBoundItem, getAttribute, getAttribute, getCacheBoundItem, getComposedType, getComposedTypePK, getCreationTime, getCurrentlyRemovingCount, getDefaultAttributeModes, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItemsCount, getLinkedItemsCount, getLinkedItemsCount, getModificationTime, getNegativePermissions, getNonInitialAttributes, getOwner, getPermissionMap, getPermissions, getPersistenceVersion, getPK, getPositivePermissions, getRestrictedPrincipals, getSession, getSyncObject, getTenant, getTransientObject, getTransientObjectMap, hashCode, hasRegisteredClassAccessorFor, internal_registerClassAccessorFor, internal_registerNonClassAccessorFor, invalidateLocalCaches, isAlive, isCacheBound, isCurrentlyRemoving, isCurrentlyRemoving, isEmptyRelationValue, isInCreate, isInstanceOf, isItemCheckBeforeRemoveableDisabled, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, readResolve, refreshRemote, registerAccessFor, registerAccessFor, registerJaloInvalidationListeners, remove, remove, removeItemCollection, removeItemCollection, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinks, removePartOfItems, removePartOfItems, setAllAttributes, setAllAttributes, setAllAttributesInternal, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAttribute, setAttribute, setAttributeFromString, setAttributeFromString, setCacheBound, setComposedType, setCreationTime, setImplementation, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setModificationTime, setNonInitialAttributes, setOwner, setPermissionsByMap, setTransientObject, setUseTA, toString, useTA, writeReplacegetImplementation, setTenantpublic static final String NAME
public static final String EXTENSION_NAME
public static final String DEPRECATED
public static final String AUTOCREATE
public static final String GENERATE
public String getExtensionName()
Any type or decriptor declared by an extension's items.xml owns the name of this extension. Types or
descriptors created after initialization do not have an extension name automatically.
public void setExtensionName(String extname)
Any type or decriptor declared by an extension's items.xml owns the name of this extension. Types or
descriptors created after initialization do not have an extension name automatically.
public boolean isDeprecated()
public boolean isAutocreate()
public void setAutocreate(boolean auto)
public boolean isGenerate()
public void setGenerate(boolean gen)
public String getName()
public String getName(SessionContext ctx)
ctx - the session context specifying the language to get the name forpublic Map getAllNames(SessionContext ctx)
public void setAllNames(SessionContext ctx, Map names)
names - a map containing language-to-name mappingspublic Map getAllNames()
public void setName(String name)
name - the new namepublic void setName(SessionContext ctx, String name)
ctx - the session context defining the language to change the name forname - the new namepublic void setAllNames(Map names)
names - a map containing language-to-name mappingsprotected TypeManagerManaged.TypeManagerManagedImpl getImpl()
public abstract String exportXMLDefinition(XMLOutputter xout)
Copyright © 2017 SAP SE. All Rights Reserved.