public abstract class GeneratedWishlist2Entry extends GenericItem
Wishlist2Entry.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 |
ADDEDDATE
Qualifier of the
Wishlist2Entry.addedDate attribute |
static String |
COMMENT
Qualifier of the
Wishlist2Entry.comment attribute |
protected static Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static String |
DESIRED
Qualifier of the
Wishlist2Entry.desired attribute |
static String |
PRIORITY
Qualifier of the
Wishlist2Entry.priority attribute |
static String |
PRODUCT
Qualifier of the
Wishlist2Entry.product attribute |
static String |
RECEIVED
Qualifier of the
Wishlist2Entry.received attribute |
static String |
WISHLIST
Qualifier of the
Wishlist2Entry.wishlist attribute |
protected static BidirectionalOneToManyHandler<GeneratedWishlist2Entry> |
WISHLISTHANDLER
BidirectionalOneToManyHandler for handling 1:n WISHLIST's relation attributes from 'one' side. |
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 |
|---|
GeneratedWishlist2Entry() |
| 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.
|
Date |
getAddedDate()
Generated method - Getter of the
Wishlist2Entry.addedDate attribute. |
Date |
getAddedDate(SessionContext ctx)
Generated method - Getter of the
Wishlist2Entry.addedDate attribute. |
String |
getComment()
Generated method - Getter of the
Wishlist2Entry.comment attribute. |
String |
getComment(SessionContext ctx)
Generated method - Getter of the
Wishlist2Entry.comment attribute. |
protected Map<String,Item.AttributeMode> |
getDefaultAttributeModes() |
Integer |
getDesired()
Generated method - Getter of the
Wishlist2Entry.desired attribute. |
Integer |
getDesired(SessionContext ctx)
Generated method - Getter of the
Wishlist2Entry.desired attribute. |
int |
getDesiredAsPrimitive()
Generated method - Getter of the
Wishlist2Entry.desired attribute. |
int |
getDesiredAsPrimitive(SessionContext ctx)
Generated method - Getter of the
Wishlist2Entry.desired attribute. |
EnumerationValue |
getPriority()
Generated method - Getter of the
Wishlist2Entry.priority attribute. |
EnumerationValue |
getPriority(SessionContext ctx)
Generated method - Getter of the
Wishlist2Entry.priority attribute. |
Product |
getProduct()
Generated method - Getter of the
Wishlist2Entry.product attribute. |
Product |
getProduct(SessionContext ctx)
Generated method - Getter of the
Wishlist2Entry.product attribute. |
Integer |
getReceived()
Generated method - Getter of the
Wishlist2Entry.received attribute. |
Integer |
getReceived(SessionContext ctx)
Generated method - Getter of the
Wishlist2Entry.received attribute. |
int |
getReceivedAsPrimitive()
Generated method - Getter of the
Wishlist2Entry.received attribute. |
int |
getReceivedAsPrimitive(SessionContext ctx)
Generated method - Getter of the
Wishlist2Entry.received attribute. |
Wishlist2 |
getWishlist()
Generated method - Getter of the
Wishlist2Entry.wishlist attribute. |
Wishlist2 |
getWishlist(SessionContext ctx)
Generated method - Getter of the
Wishlist2Entry.wishlist attribute. |
void |
setAddedDate(Date value)
Generated method - Setter of the
Wishlist2Entry.addedDate attribute. |
void |
setAddedDate(SessionContext ctx,
Date value)
Generated method - Setter of the
Wishlist2Entry.addedDate attribute. |
void |
setComment(SessionContext ctx,
String value)
Generated method - Setter of the
Wishlist2Entry.comment attribute. |
void |
setComment(String value)
Generated method - Setter of the
Wishlist2Entry.comment attribute. |
void |
setDesired(int value)
Generated method - Setter of the
Wishlist2Entry.desired attribute. |
void |
setDesired(Integer value)
Generated method - Setter of the
Wishlist2Entry.desired attribute. |
void |
setDesired(SessionContext ctx,
int value)
Generated method - Setter of the
Wishlist2Entry.desired attribute. |
void |
setDesired(SessionContext ctx,
Integer value)
Generated method - Setter of the
Wishlist2Entry.desired attribute. |
void |
setPriority(EnumerationValue value)
Generated method - Setter of the
Wishlist2Entry.priority attribute. |
void |
setPriority(SessionContext ctx,
EnumerationValue value)
Generated method - Setter of the
Wishlist2Entry.priority attribute. |
void |
setProduct(Product value)
Generated method - Setter of the
Wishlist2Entry.product attribute. |
void |
setProduct(SessionContext ctx,
Product value)
Generated method - Setter of the
Wishlist2Entry.product attribute. |
void |
setReceived(int value)
Generated method - Setter of the
Wishlist2Entry.received attribute. |
void |
setReceived(Integer value)
Generated method - Setter of the
Wishlist2Entry.received attribute. |
void |
setReceived(SessionContext ctx,
int value)
Generated method - Setter of the
Wishlist2Entry.received attribute. |
void |
setReceived(SessionContext ctx,
Integer value)
Generated method - Setter of the
Wishlist2Entry.received attribute. |
void |
setWishlist(SessionContext ctx,
Wishlist2 value)
Generated method - Setter of the
Wishlist2Entry.wishlist attribute. |
void |
setWishlist(Wishlist2 value)
Generated method - Setter of the
Wishlist2Entry.wishlist 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 PRODUCT
Wishlist2Entry.product attributepublic static final String DESIRED
Wishlist2Entry.desired attributepublic static final String RECEIVED
Wishlist2Entry.received attributepublic static final String PRIORITY
Wishlist2Entry.priority attributepublic static final String ADDEDDATE
Wishlist2Entry.addedDate attributepublic static final String COMMENT
Wishlist2Entry.comment attributepublic static final String WISHLIST
Wishlist2Entry.wishlist attributeprotected static final BidirectionalOneToManyHandler<GeneratedWishlist2Entry> WISHLISTHANDLER
BidirectionalOneToManyHandler for handling 1:n WISHLIST'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 Date getAddedDate(SessionContext ctx)
Wishlist2Entry.addedDate attribute.public Date getAddedDate()
Wishlist2Entry.addedDate attribute.public void setAddedDate(SessionContext ctx, Date value)
Wishlist2Entry.addedDate attribute.value - the addedDatepublic void setAddedDate(Date value)
Wishlist2Entry.addedDate attribute.value - the addedDatepublic String getComment(SessionContext ctx)
Wishlist2Entry.comment attribute.public String getComment()
Wishlist2Entry.comment attribute.public void setComment(SessionContext ctx, String value)
Wishlist2Entry.comment attribute.value - the commentpublic void setComment(String value)
Wishlist2Entry.comment attribute.value - the commentprotected 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 Integer getDesired(SessionContext ctx)
Wishlist2Entry.desired attribute.public Integer getDesired()
Wishlist2Entry.desired attribute.public int getDesiredAsPrimitive(SessionContext ctx)
Wishlist2Entry.desired attribute.public int getDesiredAsPrimitive()
Wishlist2Entry.desired attribute.public void setDesired(SessionContext ctx, Integer value)
Wishlist2Entry.desired attribute.value - the desiredpublic void setDesired(Integer value)
Wishlist2Entry.desired attribute.value - the desiredpublic void setDesired(SessionContext ctx, int value)
Wishlist2Entry.desired attribute.value - the desiredpublic void setDesired(int value)
Wishlist2Entry.desired attribute.value - the desiredpublic EnumerationValue getPriority(SessionContext ctx)
Wishlist2Entry.priority attribute.public EnumerationValue getPriority()
Wishlist2Entry.priority attribute.public void setPriority(SessionContext ctx, EnumerationValue value)
Wishlist2Entry.priority attribute.value - the prioritypublic void setPriority(EnumerationValue value)
Wishlist2Entry.priority attribute.value - the prioritypublic Product getProduct(SessionContext ctx)
Wishlist2Entry.product attribute.public Product getProduct()
Wishlist2Entry.product attribute.public void setProduct(SessionContext ctx, Product value)
Wishlist2Entry.product attribute.value - the productpublic void setProduct(Product value)
Wishlist2Entry.product attribute.value - the productpublic Integer getReceived(SessionContext ctx)
Wishlist2Entry.received attribute.public Integer getReceived()
Wishlist2Entry.received attribute.public int getReceivedAsPrimitive(SessionContext ctx)
Wishlist2Entry.received attribute.public int getReceivedAsPrimitive()
Wishlist2Entry.received attribute.public void setReceived(SessionContext ctx, Integer value)
Wishlist2Entry.received attribute.value - the receivedpublic void setReceived(Integer value)
Wishlist2Entry.received attribute.value - the receivedpublic void setReceived(SessionContext ctx, int value)
Wishlist2Entry.received attribute.value - the receivedpublic void setReceived(int value)
Wishlist2Entry.received attribute.value - the receivedpublic Wishlist2 getWishlist(SessionContext ctx)
Wishlist2Entry.wishlist attribute.public Wishlist2 getWishlist()
Wishlist2Entry.wishlist attribute.public void setWishlist(SessionContext ctx, Wishlist2 value)
Wishlist2Entry.wishlist attribute.value - the wishlistpublic void setWishlist(Wishlist2 value)
Wishlist2Entry.wishlist attribute.value - the wishlistCopyright © 2017 SAP SE. All Rights Reserved.