public abstract class GeneratedProductInterest extends GenericItem
ProductInterest.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 |
BASESITE
Qualifier of the
ProductInterest.baseSite attribute |
static String |
BASESTORE
Qualifier of the
ProductInterest.baseStore attribute |
static String |
CUSTOMER
Qualifier of the
ProductInterest.customer attribute |
protected static BidirectionalOneToManyHandler<GeneratedProductInterest> |
CUSTOMERHANDLER
BidirectionalOneToManyHandler for handling 1:n CUSTOMER's relation attributes from 'one' side. |
protected static Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static String |
EMAILENABLED
Qualifier of the
ProductInterest.emailEnabled attribute |
static String |
EXPIRYDATE
Qualifier of the
ProductInterest.expiryDate attribute |
static String |
LANGUAGE
Qualifier of the
ProductInterest.language attribute |
static String |
NOTIFICATIONTYPE
Qualifier of the
ProductInterest.notificationType attribute |
static String |
PRODUCT
Qualifier of the
ProductInterest.product attribute |
protected static BidirectionalOneToManyHandler<GeneratedProductInterest> |
PRODUCTHANDLER
BidirectionalOneToManyHandler for handling 1:n PRODUCT's relation attributes from 'one' side. |
static String |
SMSENABLED
Qualifier of the
ProductInterest.smsEnabled 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 |
|---|
GeneratedProductInterest() |
| 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.
|
BaseSite |
getBaseSite()
Generated method - Getter of the
ProductInterest.baseSite attribute. |
BaseSite |
getBaseSite(SessionContext ctx)
Generated method - Getter of the
ProductInterest.baseSite attribute. |
BaseStore |
getBaseStore()
Generated method - Getter of the
ProductInterest.baseStore attribute. |
BaseStore |
getBaseStore(SessionContext ctx)
Generated method - Getter of the
ProductInterest.baseStore attribute. |
Customer |
getCustomer()
Generated method - Getter of the
ProductInterest.customer attribute. |
Customer |
getCustomer(SessionContext ctx)
Generated method - Getter of the
ProductInterest.customer attribute. |
protected Map<String,Item.AttributeMode> |
getDefaultAttributeModes() |
Date |
getExpiryDate()
Generated method - Getter of the
ProductInterest.expiryDate attribute. |
Date |
getExpiryDate(SessionContext ctx)
Generated method - Getter of the
ProductInterest.expiryDate attribute. |
Language |
getLanguage()
Generated method - Getter of the
ProductInterest.language attribute. |
Language |
getLanguage(SessionContext ctx)
Generated method - Getter of the
ProductInterest.language attribute. |
EnumerationValue |
getNotificationType()
Generated method - Getter of the
ProductInterest.notificationType attribute. |
EnumerationValue |
getNotificationType(SessionContext ctx)
Generated method - Getter of the
ProductInterest.notificationType attribute. |
Product |
getProduct()
Generated method - Getter of the
ProductInterest.product attribute. |
Product |
getProduct(SessionContext ctx)
Generated method - Getter of the
ProductInterest.product attribute. |
Boolean |
isEmailEnabled()
Generated method - Getter of the
ProductInterest.emailEnabled attribute. |
Boolean |
isEmailEnabled(SessionContext ctx)
Generated method - Getter of the
ProductInterest.emailEnabled attribute. |
boolean |
isEmailEnabledAsPrimitive()
Generated method - Getter of the
ProductInterest.emailEnabled attribute. |
boolean |
isEmailEnabledAsPrimitive(SessionContext ctx)
Generated method - Getter of the
ProductInterest.emailEnabled attribute. |
Boolean |
isSmsEnabled()
Generated method - Getter of the
ProductInterest.smsEnabled attribute. |
Boolean |
isSmsEnabled(SessionContext ctx)
Generated method - Getter of the
ProductInterest.smsEnabled attribute. |
boolean |
isSmsEnabledAsPrimitive()
Generated method - Getter of the
ProductInterest.smsEnabled attribute. |
boolean |
isSmsEnabledAsPrimitive(SessionContext ctx)
Generated method - Getter of the
ProductInterest.smsEnabled attribute. |
void |
setBaseSite(BaseSite value)
Generated method - Setter of the
ProductInterest.baseSite attribute. |
void |
setBaseSite(SessionContext ctx,
BaseSite value)
Generated method - Setter of the
ProductInterest.baseSite attribute. |
void |
setBaseStore(BaseStore value)
Generated method - Setter of the
ProductInterest.baseStore attribute. |
void |
setBaseStore(SessionContext ctx,
BaseStore value)
Generated method - Setter of the
ProductInterest.baseStore attribute. |
void |
setCustomer(Customer value)
Generated method - Setter of the
ProductInterest.customer attribute. |
void |
setCustomer(SessionContext ctx,
Customer value)
Generated method - Setter of the
ProductInterest.customer attribute. |
void |
setEmailEnabled(boolean value)
Generated method - Setter of the
ProductInterest.emailEnabled attribute. |
void |
setEmailEnabled(Boolean value)
Generated method - Setter of the
ProductInterest.emailEnabled attribute. |
void |
setEmailEnabled(SessionContext ctx,
boolean value)
Generated method - Setter of the
ProductInterest.emailEnabled attribute. |
void |
setEmailEnabled(SessionContext ctx,
Boolean value)
Generated method - Setter of the
ProductInterest.emailEnabled attribute. |
void |
setExpiryDate(Date value)
Generated method - Setter of the
ProductInterest.expiryDate attribute. |
void |
setExpiryDate(SessionContext ctx,
Date value)
Generated method - Setter of the
ProductInterest.expiryDate attribute. |
void |
setLanguage(Language value)
Generated method - Setter of the
ProductInterest.language attribute. |
void |
setLanguage(SessionContext ctx,
Language value)
Generated method - Setter of the
ProductInterest.language attribute. |
void |
setNotificationType(EnumerationValue value)
Generated method - Setter of the
ProductInterest.notificationType attribute. |
void |
setNotificationType(SessionContext ctx,
EnumerationValue value)
Generated method - Setter of the
ProductInterest.notificationType attribute. |
void |
setProduct(Product value)
Generated method - Setter of the
ProductInterest.product attribute. |
void |
setProduct(SessionContext ctx,
Product value)
Generated method - Setter of the
ProductInterest.product attribute. |
void |
setSmsEnabled(boolean value)
Generated method - Setter of the
ProductInterest.smsEnabled attribute. |
void |
setSmsEnabled(Boolean value)
Generated method - Setter of the
ProductInterest.smsEnabled attribute. |
void |
setSmsEnabled(SessionContext ctx,
boolean value)
Generated method - Setter of the
ProductInterest.smsEnabled attribute. |
void |
setSmsEnabled(SessionContext ctx,
Boolean value)
Generated method - Setter of the
ProductInterest.smsEnabled 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 EXPIRYDATE
ProductInterest.expiryDate attributepublic static final String BASESTORE
ProductInterest.baseStore attributepublic static final String NOTIFICATIONTYPE
ProductInterest.notificationType attributepublic static final String EMAILENABLED
ProductInterest.emailEnabled attributepublic static final String SMSENABLED
ProductInterest.smsEnabled attributepublic static final String BASESITE
ProductInterest.baseSite attributepublic static final String LANGUAGE
ProductInterest.language attributepublic static final String CUSTOMER
ProductInterest.customer attributepublic static final String PRODUCT
ProductInterest.product attributeprotected static final BidirectionalOneToManyHandler<GeneratedProductInterest> CUSTOMERHANDLER
BidirectionalOneToManyHandler for handling 1:n CUSTOMER's relation attributes from 'one' side.protected static final BidirectionalOneToManyHandler<GeneratedProductInterest> PRODUCTHANDLER
BidirectionalOneToManyHandler for handling 1:n PRODUCT'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 BaseSite getBaseSite(SessionContext ctx)
ProductInterest.baseSite attribute.public BaseSite getBaseSite()
ProductInterest.baseSite attribute.public void setBaseSite(SessionContext ctx, BaseSite value)
ProductInterest.baseSite attribute.value - the baseSite - Attribute contains base site object that will be used in the process.public void setBaseSite(BaseSite value)
ProductInterest.baseSite attribute.value - the baseSite - Attribute contains base site object that will be used in the process.public BaseStore getBaseStore(SessionContext ctx)
ProductInterest.baseStore attribute.public BaseStore getBaseStore()
ProductInterest.baseStore attribute.public void setBaseStore(SessionContext ctx, BaseStore value)
ProductInterest.baseStore attribute.value - the baseStorepublic void setBaseStore(BaseStore value)
ProductInterest.baseStore attribute.value - the baseStoreprotected 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 Customer getCustomer(SessionContext ctx)
ProductInterest.customer attribute.public Customer getCustomer()
ProductInterest.customer attribute.public void setCustomer(SessionContext ctx, Customer value)
ProductInterest.customer attribute.value - the customerpublic void setCustomer(Customer value)
ProductInterest.customer attribute.value - the customerpublic Boolean isEmailEnabled(SessionContext ctx)
ProductInterest.emailEnabled attribute.public Boolean isEmailEnabled()
ProductInterest.emailEnabled attribute.public boolean isEmailEnabledAsPrimitive(SessionContext ctx)
ProductInterest.emailEnabled attribute.public boolean isEmailEnabledAsPrimitive()
ProductInterest.emailEnabled attribute.public void setEmailEnabled(SessionContext ctx, Boolean value)
ProductInterest.emailEnabled attribute.value - the emailEnabledpublic void setEmailEnabled(Boolean value)
ProductInterest.emailEnabled attribute.value - the emailEnabledpublic void setEmailEnabled(SessionContext ctx, boolean value)
ProductInterest.emailEnabled attribute.value - the emailEnabledpublic void setEmailEnabled(boolean value)
ProductInterest.emailEnabled attribute.value - the emailEnabledpublic Date getExpiryDate(SessionContext ctx)
ProductInterest.expiryDate attribute.public Date getExpiryDate()
ProductInterest.expiryDate attribute.public void setExpiryDate(SessionContext ctx, Date value)
ProductInterest.expiryDate attribute.value - the expiryDatepublic void setExpiryDate(Date value)
ProductInterest.expiryDate attribute.value - the expiryDatepublic Language getLanguage(SessionContext ctx)
ProductInterest.language attribute.public Language getLanguage()
ProductInterest.language attribute.public void setLanguage(SessionContext ctx, Language value)
ProductInterest.language attribute.value - the languagepublic void setLanguage(Language value)
ProductInterest.language attribute.value - the languagepublic EnumerationValue getNotificationType(SessionContext ctx)
ProductInterest.notificationType attribute.public EnumerationValue getNotificationType()
ProductInterest.notificationType attribute.public void setNotificationType(SessionContext ctx, EnumerationValue value)
ProductInterest.notificationType attribute.value - the notificationTypepublic void setNotificationType(EnumerationValue value)
ProductInterest.notificationType attribute.value - the notificationTypepublic Product getProduct(SessionContext ctx)
ProductInterest.product attribute.public Product getProduct()
ProductInterest.product attribute.public void setProduct(SessionContext ctx, Product value)
ProductInterest.product attribute.value - the productpublic void setProduct(Product value)
ProductInterest.product attribute.value - the productpublic Boolean isSmsEnabled(SessionContext ctx)
ProductInterest.smsEnabled attribute.public Boolean isSmsEnabled()
ProductInterest.smsEnabled attribute.public boolean isSmsEnabledAsPrimitive(SessionContext ctx)
ProductInterest.smsEnabled attribute.public boolean isSmsEnabledAsPrimitive()
ProductInterest.smsEnabled attribute.public void setSmsEnabled(SessionContext ctx, Boolean value)
ProductInterest.smsEnabled attribute.value - the smsEnabledpublic void setSmsEnabled(Boolean value)
ProductInterest.smsEnabled attribute.value - the smsEnabledpublic void setSmsEnabled(SessionContext ctx, boolean value)
ProductInterest.smsEnabled attribute.value - the smsEnabledpublic void setSmsEnabled(boolean value)
ProductInterest.smsEnabled attribute.value - the smsEnabledCopyright © 2017 SAP SE. All Rights Reserved.