public abstract class GeneratedEntitlementservicesManager extends Extension
EntitlementservicesManager.Extension.RestrictedLanguagesProvider, Extension.RightsProviderManager.GenericManagerSingletonCreator, Manager.ManagerSingletonCreator| Modifier and Type | Field and Description |
|---|---|
protected static java.util.Map<java.lang.String,java.util.Map<java.lang.String,Item.AttributeMode>> |
DEFAULT_INITIAL_ATTRIBUTES |
protected static OneToManyHandler<ProductEntitlement> |
PRODUCT2PRODUCTENTITLEMENTSRELATIONPRODUCTENTITLEMENTSHANDLER
OneToManyHandler for handling 1:n PRODUCTENTITLEMENTS's relation attributes from 'many' side. |
| Constructor and Description |
|---|
GeneratedEntitlementservicesManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToProductEntitlements(Product item,
ProductEntitlement value)
Generated method - Adds
value to productEntitlements. |
void |
addToProductEntitlements(SessionContext ctx,
Product item,
ProductEntitlement value)
Generated method - Adds
value to productEntitlements. |
Entitlement |
createEntitlement(java.util.Map attributeValues) |
Entitlement |
createEntitlement(SessionContext ctx,
java.util.Map attributeValues) |
ProductEntitlement |
createProductEntitlement(java.util.Map attributeValues) |
ProductEntitlement |
createProductEntitlement(SessionContext ctx,
java.util.Map attributeValues) |
java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes(java.lang.Class<? extends Item> itemClass) |
java.lang.String |
getName() |
java.util.Collection<ProductEntitlement> |
getProductEntitlements(Product item)
Generated method - Getter of the
Product.productEntitlements attribute. |
java.util.Collection<ProductEntitlement> |
getProductEntitlements(SessionContext ctx,
Product item)
Generated method - Getter of the
Product.productEntitlements attribute. |
void |
removeFromProductEntitlements(Product item,
ProductEntitlement value)
Generated method - Removes
value from productEntitlements. |
void |
removeFromProductEntitlements(SessionContext ctx,
Product item,
ProductEntitlement value)
Generated method - Removes
value from productEntitlements. |
void |
setProductEntitlements(Product item,
java.util.Collection<ProductEntitlement> value)
Generated method - Setter of the
Product.productEntitlements attribute. |
void |
setProductEntitlements(SessionContext ctx,
Product item,
java.util.Collection<ProductEntitlement> value)
Generated method - Setter of the
Product.productEntitlements attribute. |
checkBeforeItemRemoval, createEssentialData, createProjectData, createSampleData, getCreatorDescription, getCreatorName, getCreatorParameterDefault, getCreatorParameterNames, getCreatorParameterPossibleValues, getRemote, isCreatorDisabled, notifyInitializationEnd, notifyInitializationStart, notifyItemRemoval, onFirstSessionCreation, writeReplaceafterItemCreation, beforeItemCreation, destroy, extractNonRequiredRemoteFromItem, extractRequiredRemoteFromItem, getAllValuesSessionContext, getAttribute, getAttributeMap, getFirstItemByAttribute, getFirstItemByAttribute, getRemoteManagerClass, getSession, getSingletonManagerInstance, getTenant, getTransientObject, getTransientObjectMap, init, setAttribute, setTenant, setTransientObject, wrapprotected static final OneToManyHandler<ProductEntitlement> PRODUCT2PRODUCTENTITLEMENTSRELATIONPRODUCTENTITLEMENTSHANDLER
OneToManyHandler for handling 1:n PRODUCTENTITLEMENTS's relation attributes from 'many' side.protected static final java.util.Map<java.lang.String,java.util.Map<java.lang.String,Item.AttributeMode>> DEFAULT_INITIAL_ATTRIBUTES
public java.util.Map<java.lang.String,Item.AttributeMode> getDefaultAttributeModes(java.lang.Class<? extends Item> itemClass)
getDefaultAttributeModes in class Extensionpublic Entitlement createEntitlement(SessionContext ctx, java.util.Map attributeValues)
public Entitlement createEntitlement(java.util.Map attributeValues)
public ProductEntitlement createProductEntitlement(SessionContext ctx, java.util.Map attributeValues)
public ProductEntitlement createProductEntitlement(java.util.Map attributeValues)
public java.util.Collection<ProductEntitlement> getProductEntitlements(SessionContext ctx, Product item)
Product.productEntitlements attribute.public java.util.Collection<ProductEntitlement> getProductEntitlements(Product item)
Product.productEntitlements attribute.public void setProductEntitlements(SessionContext ctx, Product item, java.util.Collection<ProductEntitlement> value)
Product.productEntitlements attribute.value - the productEntitlementspublic void setProductEntitlements(Product item, java.util.Collection<ProductEntitlement> value)
Product.productEntitlements attribute.value - the productEntitlementspublic void addToProductEntitlements(SessionContext ctx, Product item, ProductEntitlement value)
value to productEntitlements.value - the item to add to productEntitlementspublic void addToProductEntitlements(Product item, ProductEntitlement value)
value to productEntitlements.value - the item to add to productEntitlementspublic void removeFromProductEntitlements(SessionContext ctx, Product item, ProductEntitlement value)
value from productEntitlements.value - the item to remove from productEntitlementspublic void removeFromProductEntitlements(Product item, ProductEntitlement value)
value from productEntitlements.value - the item to remove from productEntitlementsCopyright © 2018 SAP SE. All Rights Reserved.