public abstract class AbstractRestriction extends GeneratedAbstractRestriction
GenericItem.GenericItemImplLocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationExceptionCOMPONENTS, DEFAULT_INITIAL_ATTRIBUTES, INVERSERESTRICTIONS, INVERSERESTRICTIONSHANDLER, PAGES, RESTRICTIONSFORCOMPONENTS_MARKMODIFIED, RESTRICTIONSFORCOMPONENTS_SRC_ORDERED, RESTRICTIONSFORCOMPONENTS_TGT_ORDERED, RESTRICTIONSFORPAGES_MARKMODIFIED, RESTRICTIONSFORPAGES_SRC_ORDERED, RESTRICTIONSFORPAGES_TGT_ORDERED, TYPE, TYPECODECATALOGVERSION, NAME, UIDLANGUAGE_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, staticTransientObjectsimpl, tenant| Constructor and Description |
|---|
AbstractRestriction() |
| Modifier and Type | Method and Description |
|---|---|
Map<Language,String> |
getAllDescription(SessionContext ctx)
Deprecated.
use sub types models
getDescription method instead and proper locale in the session. |
Map<Language,String> |
getAllType(SessionContext ctx)
Deprecated.
use instead
TypeService.getComposedTypeForCode(String)
with model.getItemtype() as parameter and then
TypeManagerManagedModel.getName() on returned object. For
obtaining names for other languages you have to change current locale with
I18NService.setCurrentLocale(java.util.Locale). |
String |
getDescription()
Deprecated.
use sub types models
getDescription method instead. |
abstract String |
getDescription(SessionContext ctx)
Deprecated.
use sub types models
getDescription method instead. |
String |
getType(SessionContext ctx)
Deprecated.
use instead
TypeService.getComposedTypeForCode(String)
with model.getItemtype() as parameter and then
TypeManagerManagedModel.getName() on returned object. |
String |
getTypeCode(SessionContext ctx)
Deprecated.
use
AbstractRestrictionModel._TYPECODE or
AbstractItemModel.getItemtype() instead. |
addToComponents, addToComponents, addToInverseRestrictions, addToInverseRestrictions, addToPages, addToPages, getAllType, getComponents, getComponents, getComponentsCount, getComponentsCount, getDefaultAttributeModes, getInverseRestrictions, getInverseRestrictions, getPages, getPages, getPagesCount, getPagesCount, getType, getTypeCode, removeFromComponents, removeFromComponents, removeFromInverseRestrictions, removeFromInverseRestrictions, removeFromPages, removeFromPages, setComponents, setComponents, setInverseRestrictions, setInverseRestrictions, setPages, setPagescreateItem, getNamegetCatalogVersion, getCatalogVersion, getName, getUid, getUid, setCatalogVersion, setCatalogVersion, setName, setName, setUid, setUidgetInitialProperties, getNonInitialAttributesgetAllLocalizedProperties, 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, ctx, doAfterRemove, doBeforeRemove, equals, getAccessorFor, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributesInternal, getAllLinkedItems, getAndCheckCacheBoundItem, getAttribute, getAttribute, getCacheBoundItem, getComposedType, getComposedTypePK, getCreationTime, getCurrentlyRemovingCount, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItemsCount, getLinkedItemsCount, getLinkedItemsCount, getModificationTime, getNegativePermissions, 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, setTenant@Deprecated public abstract String getDescription(SessionContext ctx)
getDescription method instead.@Deprecated public String getDescription()
getDescription method instead.@Deprecated public String getType(SessionContext ctx)
TypeService.getComposedTypeForCode(String)
with model.getItemtype() as parameter and then
TypeManagerManagedModel.getName() on returned object.GeneratedAbstractRestrictionAbstractRestriction.type attribute.getType in class GeneratedAbstractRestriction@Deprecated public String getTypeCode(SessionContext ctx)
AbstractRestrictionModel._TYPECODE or
AbstractItemModel.getItemtype() instead.GeneratedAbstractRestrictionAbstractRestriction.typeCode attribute.getTypeCode in class GeneratedAbstractRestriction@Deprecated public Map<Language,String> getAllType(SessionContext ctx)
TypeService.getComposedTypeForCode(String)
with model.getItemtype() as parameter and then
TypeManagerManagedModel.getName() on returned object. For
obtaining names for other languages you have to change current locale with
I18NService.setCurrentLocale(java.util.Locale).GeneratedAbstractRestrictionAbstractRestriction.type attribute.getAllType in class GeneratedAbstractRestriction@Deprecated public Map<Language,String> getAllDescription(SessionContext ctx)
getDescription method instead and proper locale in the session.Copyright © 2017 SAP SE. All Rights Reserved.