public abstract class GeneratedProductEntitlement extends GenericItem
ProductEntitlement.GenericItem.GenericItemImplLocalizableItem.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 |
CATALOGVERSION
Qualifier of the
ProductEntitlement.catalogVersion attribute |
static String |
CONDITIONGEO
Qualifier of the
ProductEntitlement.conditionGeo attribute |
static String |
CONDITIONPATH
Qualifier of the
ProductEntitlement.conditionPath attribute |
static String |
CONDITIONSTRING
Qualifier of the
ProductEntitlement.conditionString attribute |
protected static Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static String |
DESCRIPTION
Qualifier of the
ProductEntitlement.description attribute |
static String |
ENTITLEMENT
Qualifier of the
ProductEntitlement.entitlement attribute |
protected static BidirectionalOneToManyHandler<GeneratedProductEntitlement> |
ENTITLEMENTHANDLER
BidirectionalOneToManyHandler for handling 1:n ENTITLEMENT's relation attributes from 'one' side. |
static String |
ID
Qualifier of the
ProductEntitlement.id attribute |
static String |
QUANTITY
Qualifier of the
ProductEntitlement.quantity attribute |
static String |
SUBSCRIPTIONPRODUCT
Qualifier of the
ProductEntitlement.subscriptionProduct attribute |
protected static BidirectionalOneToManyHandler<GeneratedProductEntitlement> |
SUBSCRIPTIONPRODUCTHANDLER
BidirectionalOneToManyHandler for handling 1:n SUBSCRIPTIONPRODUCT's relation attributes from 'one' side. |
static String |
TIMEUNIT
Qualifier of the
ProductEntitlement.timeUnit attribute |
static String |
TIMEUNITDURATION
Qualifier of the
ProductEntitlement.timeUnitDuration attribute |
static String |
TIMEUNITSTART
Qualifier of the
ProductEntitlement.timeUnitStart attribute |
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 |
|---|
GeneratedProductEntitlement() |
| Modifier and Type | Method and Description |
|---|---|
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.
|
Map<Language,String> |
getAllDescription()
Generated method - Getter of the
ProductEntitlement.description attribute. |
Map<Language,String> |
getAllDescription(SessionContext ctx)
Generated method - Getter of the
ProductEntitlement.description attribute. |
CatalogVersion |
getCatalogVersion()
Generated method - Getter of the
ProductEntitlement.catalogVersion attribute. |
CatalogVersion |
getCatalogVersion(SessionContext ctx)
Generated method - Getter of the
ProductEntitlement.catalogVersion attribute. |
Collection<String> |
getConditionGeo()
Generated method - Getter of the
ProductEntitlement.conditionGeo attribute. |
Collection<String> |
getConditionGeo(SessionContext ctx)
Generated method - Getter of the
ProductEntitlement.conditionGeo attribute. |
String |
getConditionPath()
Generated method - Getter of the
ProductEntitlement.conditionPath attribute. |
String |
getConditionPath(SessionContext ctx)
Generated method - Getter of the
ProductEntitlement.conditionPath attribute. |
String |
getConditionString()
Generated method - Getter of the
ProductEntitlement.conditionString attribute. |
String |
getConditionString(SessionContext ctx)
Generated method - Getter of the
ProductEntitlement.conditionString attribute. |
protected Map<String,Item.AttributeMode> |
getDefaultAttributeModes() |
String |
getDescription()
Generated method - Getter of the
ProductEntitlement.description attribute. |
String |
getDescription(SessionContext ctx)
Generated method - Getter of the
ProductEntitlement.description attribute. |
Entitlement |
getEntitlement()
Generated method - Getter of the
ProductEntitlement.entitlement attribute. |
Entitlement |
getEntitlement(SessionContext ctx)
Generated method - Getter of the
ProductEntitlement.entitlement attribute. |
String |
getId()
Generated method - Getter of the
ProductEntitlement.id attribute. |
String |
getId(SessionContext ctx)
Generated method - Getter of the
ProductEntitlement.id attribute. |
Integer |
getQuantity()
Generated method - Getter of the
ProductEntitlement.quantity attribute. |
Integer |
getQuantity(SessionContext ctx)
Generated method - Getter of the
ProductEntitlement.quantity attribute. |
int |
getQuantityAsPrimitive()
Generated method - Getter of the
ProductEntitlement.quantity attribute. |
int |
getQuantityAsPrimitive(SessionContext ctx)
Generated method - Getter of the
ProductEntitlement.quantity attribute. |
Product |
getSubscriptionProduct()
Generated method - Getter of the
ProductEntitlement.subscriptionProduct attribute. |
Product |
getSubscriptionProduct(SessionContext ctx)
Generated method - Getter of the
ProductEntitlement.subscriptionProduct attribute. |
EnumerationValue |
getTimeUnit()
Generated method - Getter of the
ProductEntitlement.timeUnit attribute. |
EnumerationValue |
getTimeUnit(SessionContext ctx)
Generated method - Getter of the
ProductEntitlement.timeUnit attribute. |
Integer |
getTimeUnitDuration()
Generated method - Getter of the
ProductEntitlement.timeUnitDuration attribute. |
Integer |
getTimeUnitDuration(SessionContext ctx)
Generated method - Getter of the
ProductEntitlement.timeUnitDuration attribute. |
int |
getTimeUnitDurationAsPrimitive()
Generated method - Getter of the
ProductEntitlement.timeUnitDuration attribute. |
int |
getTimeUnitDurationAsPrimitive(SessionContext ctx)
Generated method - Getter of the
ProductEntitlement.timeUnitDuration attribute. |
Integer |
getTimeUnitStart()
Generated method - Getter of the
ProductEntitlement.timeUnitStart attribute. |
Integer |
getTimeUnitStart(SessionContext ctx)
Generated method - Getter of the
ProductEntitlement.timeUnitStart attribute. |
int |
getTimeUnitStartAsPrimitive()
Generated method - Getter of the
ProductEntitlement.timeUnitStart attribute. |
int |
getTimeUnitStartAsPrimitive(SessionContext ctx)
Generated method - Getter of the
ProductEntitlement.timeUnitStart attribute. |
void |
setAllDescription(Map<Language,String> value)
Generated method - Setter of the
ProductEntitlement.description attribute. |
void |
setAllDescription(SessionContext ctx,
Map<Language,String> value)
Generated method - Setter of the
ProductEntitlement.description attribute. |
protected void |
setCatalogVersion(CatalogVersion value)
Generated method - Setter of the
ProductEntitlement.catalogVersion attribute. |
protected void |
setCatalogVersion(SessionContext ctx,
CatalogVersion value)
Generated method - Setter of the
ProductEntitlement.catalogVersion attribute. |
void |
setConditionGeo(Collection<String> value)
Generated method - Setter of the
ProductEntitlement.conditionGeo attribute. |
void |
setConditionGeo(SessionContext ctx,
Collection<String> value)
Generated method - Setter of the
ProductEntitlement.conditionGeo attribute. |
void |
setConditionPath(SessionContext ctx,
String value)
Generated method - Setter of the
ProductEntitlement.conditionPath attribute. |
void |
setConditionPath(String value)
Generated method - Setter of the
ProductEntitlement.conditionPath attribute. |
void |
setConditionString(SessionContext ctx,
String value)
Generated method - Setter of the
ProductEntitlement.conditionString attribute. |
void |
setConditionString(String value)
Generated method - Setter of the
ProductEntitlement.conditionString attribute. |
void |
setDescription(SessionContext ctx,
String value)
Generated method - Setter of the
ProductEntitlement.description attribute. |
void |
setDescription(String value)
Generated method - Setter of the
ProductEntitlement.description attribute. |
void |
setEntitlement(Entitlement value)
Generated method - Setter of the
ProductEntitlement.entitlement attribute. |
void |
setEntitlement(SessionContext ctx,
Entitlement value)
Generated method - Setter of the
ProductEntitlement.entitlement attribute. |
protected void |
setId(SessionContext ctx,
String value)
Generated method - Setter of the
ProductEntitlement.id attribute. |
protected void |
setId(String value)
Generated method - Setter of the
ProductEntitlement.id attribute. |
void |
setQuantity(int value)
Generated method - Setter of the
ProductEntitlement.quantity attribute. |
void |
setQuantity(Integer value)
Generated method - Setter of the
ProductEntitlement.quantity attribute. |
void |
setQuantity(SessionContext ctx,
int value)
Generated method - Setter of the
ProductEntitlement.quantity attribute. |
void |
setQuantity(SessionContext ctx,
Integer value)
Generated method - Setter of the
ProductEntitlement.quantity attribute. |
void |
setSubscriptionProduct(Product value)
Generated method - Setter of the
ProductEntitlement.subscriptionProduct attribute. |
void |
setSubscriptionProduct(SessionContext ctx,
Product value)
Generated method - Setter of the
ProductEntitlement.subscriptionProduct attribute. |
void |
setTimeUnit(EnumerationValue value)
Generated method - Setter of the
ProductEntitlement.timeUnit attribute. |
void |
setTimeUnit(SessionContext ctx,
EnumerationValue value)
Generated method - Setter of the
ProductEntitlement.timeUnit attribute. |
void |
setTimeUnitDuration(int value)
Generated method - Setter of the
ProductEntitlement.timeUnitDuration attribute. |
void |
setTimeUnitDuration(Integer value)
Generated method - Setter of the
ProductEntitlement.timeUnitDuration attribute. |
void |
setTimeUnitDuration(SessionContext ctx,
int value)
Generated method - Setter of the
ProductEntitlement.timeUnitDuration attribute. |
void |
setTimeUnitDuration(SessionContext ctx,
Integer value)
Generated method - Setter of the
ProductEntitlement.timeUnitDuration attribute. |
void |
setTimeUnitStart(int value)
Generated method - Setter of the
ProductEntitlement.timeUnitStart attribute. |
void |
setTimeUnitStart(Integer value)
Generated method - Setter of the
ProductEntitlement.timeUnitStart attribute. |
void |
setTimeUnitStart(SessionContext ctx,
int value)
Generated method - Setter of the
ProductEntitlement.timeUnitStart attribute. |
void |
setTimeUnitStart(SessionContext ctx,
Integer value)
Generated method - Setter of the
ProductEntitlement.timeUnitStart attribute. |
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, toString, useTA, writeReplacegetImplementation, setTenantpublic static final String ID
ProductEntitlement.id attributepublic static final String DESCRIPTION
ProductEntitlement.description attributepublic static final String CATALOGVERSION
ProductEntitlement.catalogVersion attributepublic static final String TIMEUNIT
ProductEntitlement.timeUnit attributepublic static final String TIMEUNITSTART
ProductEntitlement.timeUnitStart attributepublic static final String TIMEUNITDURATION
ProductEntitlement.timeUnitDuration attributepublic static final String CONDITIONSTRING
ProductEntitlement.conditionString attributepublic static final String CONDITIONPATH
ProductEntitlement.conditionPath attributepublic static final String CONDITIONGEO
ProductEntitlement.conditionGeo attributepublic static final String QUANTITY
ProductEntitlement.quantity attributepublic static final String SUBSCRIPTIONPRODUCT
ProductEntitlement.subscriptionProduct attributepublic static final String ENTITLEMENT
ProductEntitlement.entitlement attributeprotected static final BidirectionalOneToManyHandler<GeneratedProductEntitlement> SUBSCRIPTIONPRODUCTHANDLER
BidirectionalOneToManyHandler for handling 1:n SUBSCRIPTIONPRODUCT's relation attributes from 'one' side.protected static final BidirectionalOneToManyHandler<GeneratedProductEntitlement> ENTITLEMENTHANDLER
BidirectionalOneToManyHandler for handling 1:n ENTITLEMENT's relation attributes from 'one' side.protected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class Itempublic CatalogVersion getCatalogVersion(SessionContext ctx)
ProductEntitlement.catalogVersion attribute.public CatalogVersion getCatalogVersion()
ProductEntitlement.catalogVersion attribute.protected void setCatalogVersion(SessionContext ctx, CatalogVersion value)
ProductEntitlement.catalogVersion attribute.value - the catalogVersion - Catalog Versionprotected void setCatalogVersion(CatalogVersion value)
ProductEntitlement.catalogVersion attribute.value - the catalogVersion - Catalog Versionpublic Collection<String> getConditionGeo(SessionContext ctx)
ProductEntitlement.conditionGeo attribute.public Collection<String> getConditionGeo()
ProductEntitlement.conditionGeo attribute.public void setConditionGeo(SessionContext ctx, Collection<String> value)
ProductEntitlement.conditionGeo attribute.value - the conditionGeo - Geo Conditionpublic void setConditionGeo(Collection<String> value)
ProductEntitlement.conditionGeo attribute.value - the conditionGeo - Geo Conditionpublic String getConditionPath(SessionContext ctx)
ProductEntitlement.conditionPath attribute.public String getConditionPath()
ProductEntitlement.conditionPath attribute.public void setConditionPath(SessionContext ctx, String value)
ProductEntitlement.conditionPath attribute.value - the conditionPath - Path Conditionpublic void setConditionPath(String value)
ProductEntitlement.conditionPath attribute.value - the conditionPath - Path Conditionpublic String getConditionString(SessionContext ctx)
ProductEntitlement.conditionString attribute.public String getConditionString()
ProductEntitlement.conditionString attribute.public void setConditionString(SessionContext ctx, String value)
ProductEntitlement.conditionString attribute.value - the conditionString - String Conditionpublic void setConditionString(String value)
ProductEntitlement.conditionString attribute.value - the conditionString - String Conditionprotected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
ItemComposedType.newInstance(Map).
In case this method uses any of the attribute values during creation it is required to override
Item.getNonInitialAttributes(SessionContext, ItemAttributeMap) too.
Sn example:
public static final String MY_ATTRIBUTE = "someAttribute"; ... protected Item createItem(SessionContext
ctx, ComposedType type, Map allAttributes ) throws JaloBusinessException { MyManager man = ... return
man.createMyItem( (String)allAttributes.get(MY_ATTRIBUTE) );
// here MY_ATTRIBUTE is used for creation, so it must not be set again } protected Map getNonInitialAttributes(
SessionContext ctx, Map allAttributes ) { // let superclass remove its own initial attributes Map ret =
super.getNonInitialAttributes( ctx, allAttributes );
// remove MY_ATTRIBUTE from all attributes since if has already been set ret.remove(MY_ATTRIBUTE); return ret; }
createItem in class GenericItemctx - the current session context which this item is created withintype - the actual item type ( since subtypes may not provide a own jalo class this may be different from the
type which this method was implemented for )JaloBusinessException - indicates an error during creation - any changes will be rollbackedpublic String getDescription(SessionContext ctx)
ProductEntitlement.description attribute.public String getDescription()
ProductEntitlement.description attribute.public Map<Language,String> getAllDescription(SessionContext ctx)
ProductEntitlement.description attribute.public Map<Language,String> getAllDescription()
ProductEntitlement.description attribute.public void setDescription(SessionContext ctx, String value)
ProductEntitlement.description attribute.value - the description - Descriptionpublic void setDescription(String value)
ProductEntitlement.description attribute.value - the description - Descriptionpublic void setAllDescription(SessionContext ctx, Map<Language,String> value)
ProductEntitlement.description attribute.value - the description - Descriptionpublic void setAllDescription(Map<Language,String> value)
ProductEntitlement.description attribute.value - the description - Descriptionpublic Entitlement getEntitlement(SessionContext ctx)
ProductEntitlement.entitlement attribute.public Entitlement getEntitlement()
ProductEntitlement.entitlement attribute.public void setEntitlement(SessionContext ctx, Entitlement value)
ProductEntitlement.entitlement attribute.value - the entitlementpublic void setEntitlement(Entitlement value)
ProductEntitlement.entitlement attribute.value - the entitlementpublic String getId(SessionContext ctx)
ProductEntitlement.id attribute.public String getId()
ProductEntitlement.id attribute.protected void setId(SessionContext ctx, String value)
ProductEntitlement.id attribute.value - the id - Identifierprotected void setId(String value)
ProductEntitlement.id attribute.value - the id - Identifierpublic Integer getQuantity(SessionContext ctx)
ProductEntitlement.quantity attribute.public Integer getQuantity()
ProductEntitlement.quantity attribute.public int getQuantityAsPrimitive(SessionContext ctx)
ProductEntitlement.quantity attribute.public int getQuantityAsPrimitive()
ProductEntitlement.quantity attribute.public void setQuantity(SessionContext ctx, Integer value)
ProductEntitlement.quantity attribute.value - the quantity - Quantitypublic void setQuantity(Integer value)
ProductEntitlement.quantity attribute.value - the quantity - Quantitypublic void setQuantity(SessionContext ctx, int value)
ProductEntitlement.quantity attribute.value - the quantity - Quantitypublic void setQuantity(int value)
ProductEntitlement.quantity attribute.value - the quantity - Quantitypublic Product getSubscriptionProduct(SessionContext ctx)
ProductEntitlement.subscriptionProduct attribute.public Product getSubscriptionProduct()
ProductEntitlement.subscriptionProduct attribute.public void setSubscriptionProduct(SessionContext ctx, Product value)
ProductEntitlement.subscriptionProduct attribute.value - the subscriptionProductpublic void setSubscriptionProduct(Product value)
ProductEntitlement.subscriptionProduct attribute.value - the subscriptionProductpublic EnumerationValue getTimeUnit(SessionContext ctx)
ProductEntitlement.timeUnit attribute.public EnumerationValue getTimeUnit()
ProductEntitlement.timeUnit attribute.public void setTimeUnit(SessionContext ctx, EnumerationValue value)
ProductEntitlement.timeUnit attribute.value - the timeUnit - Time Unitpublic void setTimeUnit(EnumerationValue value)
ProductEntitlement.timeUnit attribute.value - the timeUnit - Time Unitpublic Integer getTimeUnitDuration(SessionContext ctx)
ProductEntitlement.timeUnitDuration attribute.public Integer getTimeUnitDuration()
ProductEntitlement.timeUnitDuration attribute.public int getTimeUnitDurationAsPrimitive(SessionContext ctx)
ProductEntitlement.timeUnitDuration attribute.public int getTimeUnitDurationAsPrimitive()
ProductEntitlement.timeUnitDuration attribute.public void setTimeUnitDuration(SessionContext ctx, Integer value)
ProductEntitlement.timeUnitDuration attribute.value - the timeUnitDuration - Durationpublic void setTimeUnitDuration(Integer value)
ProductEntitlement.timeUnitDuration attribute.value - the timeUnitDuration - Durationpublic void setTimeUnitDuration(SessionContext ctx, int value)
ProductEntitlement.timeUnitDuration attribute.value - the timeUnitDuration - Durationpublic void setTimeUnitDuration(int value)
ProductEntitlement.timeUnitDuration attribute.value - the timeUnitDuration - Durationpublic Integer getTimeUnitStart(SessionContext ctx)
ProductEntitlement.timeUnitStart attribute.public Integer getTimeUnitStart()
ProductEntitlement.timeUnitStart attribute.public int getTimeUnitStartAsPrimitive(SessionContext ctx)
ProductEntitlement.timeUnitStart attribute.public int getTimeUnitStartAsPrimitive()
ProductEntitlement.timeUnitStart attribute.public void setTimeUnitStart(SessionContext ctx, Integer value)
ProductEntitlement.timeUnitStart attribute.value - the timeUnitStart - Startpublic void setTimeUnitStart(Integer value)
ProductEntitlement.timeUnitStart attribute.value - the timeUnitStart - Startpublic void setTimeUnitStart(SessionContext ctx, int value)
ProductEntitlement.timeUnitStart attribute.value - the timeUnitStart - Startpublic void setTimeUnitStart(int value)
ProductEntitlement.timeUnitStart attribute.value - the timeUnitStart - StartCopyright © 2017 SAP SE. All Rights Reserved.