public abstract class C2LItem extends GeneratedC2LItem
Locale,
Language ISOCodes,
Country ISOCodes,
Serialized FormGenericItem.GenericItemImplLocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationExceptionACTIVE, DEFAULT_INITIAL_ATTRIBUTES, ISOCODE, NAMELANGUAGE_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 |
|---|
C2LItem() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkConsistencyActive(Boolean active,
String composedTypeCode) |
protected void |
checkConsistencyIsocode(String newIsoCode,
Country country,
String composedTypeCode)
is overridden in RegionEJB to allow unique code per country
|
Map |
getAllNames(SessionContext ctx)
Deprecated.
use
GeneratedC2LItem.getAllName(SessionContext) instead |
String |
getIsoCode()
Deprecated.
use
GeneratedC2LItem.getIsocode() instead |
String |
getIsoCode(SessionContext ctx)
Deprecated.
use
GeneratedC2LItem.getIsocode() instead |
Boolean |
isActive(SessionContext ctx)
Generated method - Getter of the
C2LItem.active attribute. |
void |
setActive(SessionContext ctx,
Boolean active)
Sets this item active or passive.
|
void |
setAllNames(SessionContext ctx,
Map names)
Deprecated.
use
GeneratedC2LItem.setAllName(SessionContext, Map) instead |
void |
setIsocode(SessionContext ctx,
String value)
Generated method - Setter of the
C2LItem.isocode attribute. |
void |
setIsoCode(SessionContext ctx,
String iso)
Deprecated.
use
setIsocode(SessionContext, String) instead |
void |
setIsoCode(String iso)
Deprecated.
use
GeneratedC2LItem.setIsocode(String) instead |
String |
toString()
Returns the
String representation of a C2LItem. |
getAllName, getAllName, getDefaultAttributeModes, getIsocode, getIsocode, getName, getName, isActive, isActiveAsPrimitive, isActiveAsPrimitive, setActive, setActive, setActive, setAllName, setAllName, setIsocode, setName, setNamecreateItem, getInitialProperties, 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, useTA, writeReplacegetImplementation, setTenant@Deprecated public Map getAllNames(SessionContext ctx)
GeneratedC2LItem.getAllName(SessionContext) insteadC2LItem in a Map (Mapping:
Language -> String).ctx - the SessionContext which will be usedC2LItem in a Map@Deprecated public void setAllNames(SessionContext ctx, Map names)
GeneratedC2LItem.setAllName(SessionContext, Map) insteadMap which
must have the following structure Language -> String.ctx - A SessionContext objectnames - a Map containing all localized name values (Mapping: Language ->
String)public void setActive(SessionContext ctx, Boolean active) throws ConsistencyCheckException
setActive in class GeneratedC2LItemctx - the SessionContext which will be usedactive - boolean indicating if this C2LItem is active or inactive.ConsistencyCheckException - if you want to deactivate a C2LItem, but this is forbidden. There must be always at least
one active Language and Currency in the system.@Deprecated public String getIsoCode()
GeneratedC2LItem.getIsocode() insteadC2LItem.C2LItem@Deprecated public String getIsoCode(SessionContext ctx)
GeneratedC2LItem.getIsocode() insteadC2LItem.ctx - the SessionContext which will be usedC2LItem@Deprecated public void setIsoCode(String iso) throws ConsistencyCheckException
GeneratedC2LItem.setIsocode(String) insteadC2LItem. ISOCodes must be unique within the instances of each
C2LItem subclass.iso - the new isocodeConsistencyCheckException - if there is a duplicate isocode found within a subclass of C2LItem@Deprecated public void setIsoCode(SessionContext ctx, String iso) throws ConsistencyCheckException
setIsocode(SessionContext, String) insteadC2LItem. ISOCodes must be unique within the instances of each
C2LItem subclass.ctx - the SessionContext which will be usediso - the new isocodeConsistencyCheckException - if there is a duplicate isocode found within a subclass of C2LItempublic void setIsocode(SessionContext ctx, String value) throws ConsistencyCheckException
GeneratedC2LItemC2LItem.isocode attribute.setIsocode in class GeneratedC2LItemvalue - the isocodeConsistencyCheckExceptionpublic Boolean isActive(SessionContext ctx)
GeneratedC2LItemC2LItem.active attribute.isActive in class GeneratedC2LItemprotected void checkConsistencyIsocode(String newIsoCode, Country country, String composedTypeCode) throws ConsistencyCheckException
ConsistencyCheckExceptionprotected void checkConsistencyActive(Boolean active, String composedTypeCode) throws ConsistencyCheckException
ConsistencyCheckExceptionCopyright © 2017 SAP SE. All Rights Reserved.