public abstract class GeneratedPriceRow extends PDTRow
PriceRow.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
PriceRow.catalogVersion attribute |
static String |
CHANNEL
Qualifier of the
PriceRow.channel attribute |
static String |
CURRENCY
Qualifier of the
PriceRow.currency attribute |
protected static Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static String |
GIVEAWAYPRICE
Qualifier of the
PriceRow.giveAwayPrice attribute |
static String |
MATCHVALUE
Qualifier of the
PriceRow.matchValue attribute |
static String |
MINQTD
Qualifier of the
PriceRow.minqtd attribute |
static String |
NET
Qualifier of the
PriceRow.net attribute |
static String |
PRICE
Qualifier of the
PriceRow.price attribute |
protected static BidirectionalOneToManyHandler<GeneratedPriceRow> |
PRODUCTHANDLER
BidirectionalOneToManyHandler for handling 1:n PRODUCT's relation attributes from 'one' side. |
static String |
UNIT
Qualifier of the
PriceRow.unit attribute |
static String |
UNITFACTOR
Qualifier of the
PriceRow.unitFactor attribute |
ALL_PRODUCT_GROUPS, ALL_PRODUCTS, ALL_USER_GROUPS, ALL_USERS, DATE_RANGE, DATERANGE, END_TIME, START_TIMEENDTIME, PG, PRODUCT, PRODUCTID, PRODUCTMATCHQUALIFIER, STARTTIME, UG, USER, USERMATCHQUALIFIERLANGUAGE_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 |
|---|
GeneratedPriceRow() |
| 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.
|
CatalogVersion |
getCatalogVersion()
Generated method - Getter of the
PriceRow.catalogVersion attribute. |
CatalogVersion |
getCatalogVersion(SessionContext ctx)
Generated method - Getter of the
PriceRow.catalogVersion attribute. |
EnumerationValue |
getChannel()
Generated method - Getter of the
PriceRow.channel attribute. |
EnumerationValue |
getChannel(SessionContext ctx)
Generated method - Getter of the
PriceRow.channel attribute. |
Currency |
getCurrency()
Generated method - Getter of the
PriceRow.currency attribute. |
Currency |
getCurrency(SessionContext ctx)
Generated method - Getter of the
PriceRow.currency attribute. |
protected Map<String,Item.AttributeMode> |
getDefaultAttributeModes() |
Integer |
getMatchValue()
Generated method - Getter of the
PriceRow.matchValue attribute. |
Integer |
getMatchValue(SessionContext ctx)
Generated method - Getter of the
PriceRow.matchValue attribute. |
int |
getMatchValueAsPrimitive()
Generated method - Getter of the
PriceRow.matchValue attribute. |
int |
getMatchValueAsPrimitive(SessionContext ctx)
Generated method - Getter of the
PriceRow.matchValue attribute. |
Long |
getMinqtd()
Generated method - Getter of the
PriceRow.minqtd attribute. |
Long |
getMinqtd(SessionContext ctx)
Generated method - Getter of the
PriceRow.minqtd attribute. |
long |
getMinqtdAsPrimitive()
Generated method - Getter of the
PriceRow.minqtd attribute. |
long |
getMinqtdAsPrimitive(SessionContext ctx)
Generated method - Getter of the
PriceRow.minqtd attribute. |
Double |
getPrice()
Generated method - Getter of the
PriceRow.price attribute. |
Double |
getPrice(SessionContext ctx)
Generated method - Getter of the
PriceRow.price attribute. |
double |
getPriceAsPrimitive()
Generated method - Getter of the
PriceRow.price attribute. |
double |
getPriceAsPrimitive(SessionContext ctx)
Generated method - Getter of the
PriceRow.price attribute. |
Unit |
getUnit()
Generated method - Getter of the
PriceRow.unit attribute. |
Unit |
getUnit(SessionContext ctx)
Generated method - Getter of the
PriceRow.unit attribute. |
Integer |
getUnitFactor()
Generated method - Getter of the
PriceRow.unitFactor attribute. |
Integer |
getUnitFactor(SessionContext ctx)
Generated method - Getter of the
PriceRow.unitFactor attribute. |
int |
getUnitFactorAsPrimitive()
Generated method - Getter of the
PriceRow.unitFactor attribute. |
int |
getUnitFactorAsPrimitive(SessionContext ctx)
Generated method - Getter of the
PriceRow.unitFactor attribute. |
Boolean |
isGiveAwayPrice()
Generated method - Getter of the
PriceRow.giveAwayPrice attribute. |
Boolean |
isGiveAwayPrice(SessionContext ctx)
Generated method - Getter of the
PriceRow.giveAwayPrice attribute. |
boolean |
isGiveAwayPriceAsPrimitive()
Generated method - Getter of the
PriceRow.giveAwayPrice attribute. |
boolean |
isGiveAwayPriceAsPrimitive(SessionContext ctx)
Generated method - Getter of the
PriceRow.giveAwayPrice attribute. |
Boolean |
isNet()
Generated method - Getter of the
PriceRow.net attribute. |
Boolean |
isNet(SessionContext ctx)
Generated method - Getter of the
PriceRow.net attribute. |
boolean |
isNetAsPrimitive()
Generated method - Getter of the
PriceRow.net attribute. |
boolean |
isNetAsPrimitive(SessionContext ctx)
Generated method - Getter of the
PriceRow.net attribute. |
void |
setCatalogVersion(CatalogVersion value)
Generated method - Setter of the
PriceRow.catalogVersion attribute. |
void |
setCatalogVersion(SessionContext ctx,
CatalogVersion value)
Generated method - Setter of the
PriceRow.catalogVersion attribute. |
void |
setChannel(EnumerationValue value)
Generated method - Setter of the
PriceRow.channel attribute. |
void |
setChannel(SessionContext ctx,
EnumerationValue value)
Generated method - Setter of the
PriceRow.channel attribute. |
void |
setCurrency(Currency value)
Generated method - Setter of the
PriceRow.currency attribute. |
void |
setCurrency(SessionContext ctx,
Currency value)
Generated method - Setter of the
PriceRow.currency attribute. |
void |
setGiveAwayPrice(boolean value)
Generated method - Setter of the
PriceRow.giveAwayPrice attribute. |
void |
setGiveAwayPrice(Boolean value)
Generated method - Setter of the
PriceRow.giveAwayPrice attribute. |
void |
setGiveAwayPrice(SessionContext ctx,
boolean value)
Generated method - Setter of the
PriceRow.giveAwayPrice attribute. |
void |
setGiveAwayPrice(SessionContext ctx,
Boolean value)
Generated method - Setter of the
PriceRow.giveAwayPrice attribute. |
void |
setMatchValue(int value)
Generated method - Setter of the
PriceRow.matchValue attribute. |
void |
setMatchValue(Integer value)
Generated method - Setter of the
PriceRow.matchValue attribute. |
void |
setMatchValue(SessionContext ctx,
int value)
Generated method - Setter of the
PriceRow.matchValue attribute. |
void |
setMatchValue(SessionContext ctx,
Integer value)
Generated method - Setter of the
PriceRow.matchValue attribute. |
void |
setMinqtd(long value)
Generated method - Setter of the
PriceRow.minqtd attribute. |
void |
setMinqtd(Long value)
Generated method - Setter of the
PriceRow.minqtd attribute. |
void |
setMinqtd(SessionContext ctx,
long value)
Generated method - Setter of the
PriceRow.minqtd attribute. |
void |
setMinqtd(SessionContext ctx,
Long value)
Generated method - Setter of the
PriceRow.minqtd attribute. |
void |
setNet(boolean value)
Generated method - Setter of the
PriceRow.net attribute. |
void |
setNet(Boolean value)
Generated method - Setter of the
PriceRow.net attribute. |
void |
setNet(SessionContext ctx,
boolean value)
Generated method - Setter of the
PriceRow.net attribute. |
void |
setNet(SessionContext ctx,
Boolean value)
Generated method - Setter of the
PriceRow.net attribute. |
void |
setPrice(double value)
Generated method - Setter of the
PriceRow.price attribute. |
void |
setPrice(Double value)
Generated method - Setter of the
PriceRow.price attribute. |
void |
setPrice(SessionContext ctx,
double value)
Generated method - Setter of the
PriceRow.price attribute. |
void |
setPrice(SessionContext ctx,
Double value)
Generated method - Setter of the
PriceRow.price attribute. |
void |
setUnit(SessionContext ctx,
Unit value)
Generated method - Setter of the
PriceRow.unit attribute. |
void |
setUnit(Unit value)
Generated method - Setter of the
PriceRow.unit attribute. |
void |
setUnitFactor(int value)
Generated method - Setter of the
PriceRow.unitFactor attribute. |
void |
setUnitFactor(Integer value)
Generated method - Setter of the
PriceRow.unitFactor attribute. |
void |
setUnitFactor(SessionContext ctx,
int value)
Generated method - Setter of the
PriceRow.unitFactor attribute. |
void |
setUnitFactor(SessionContext ctx,
Integer value)
Generated method - Setter of the
PriceRow.unitFactor attribute. |
getCustomer, getCustomer, getCustomerGroup, getCustomerGroup, getCustomerPriceGroup, getCustomerPriceGroup, getDateRange, getDateRange, getInitialProductMatchField, getInitialUserMatchField, getProductGroup, getProductGroup, getProductPriceGroup, getProductPriceGroup, getUserGroup, getUserGroup, markProductModified, remove, removeLinks, setDateRange, setDateRange, setPg, setProduct, setProductId, setProductMatchQualifier, setProperty, setUg, setUser, setUserMatchQualifier, updateProductMatchField, updateUserMatchFieldgetEndTime, getEndTime, getPg, getPg, getProduct, getProduct, getProductId, getProductId, getProductMatchQualifier, getProductMatchQualifier, getProductMatchQualifierAsPrimitive, getProductMatchQualifierAsPrimitive, getStartTime, getStartTime, getUg, getUg, getUser, getUser, getUserMatchQualifier, getUserMatchQualifier, getUserMatchQualifierAsPrimitive, getUserMatchQualifierAsPrimitive, setEndTime, setEndTime, setPg, setProduct, setProductId, setProductMatchQualifier, setProductMatchQualifier, setProductMatchQualifier, setStartTime, setStartTime, setUg, setUser, setUserMatchQualifier, setUserMatchQualifier, setUserMatchQualifiergetInitialProperties, 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, 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, removeItemCollection, removeItemCollection, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinkedItems, 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 CATALOGVERSION
PriceRow.catalogVersion attributepublic static final String MATCHVALUE
PriceRow.matchValue attributepublic static final String CURRENCY
PriceRow.currency attributepublic static final String MINQTD
PriceRow.minqtd attributepublic static final String NET
PriceRow.net attributepublic static final String PRICE
PriceRow.price attributepublic static final String UNIT
PriceRow.unit attributepublic static final String UNITFACTOR
PriceRow.unitFactor attributepublic static final String GIVEAWAYPRICE
PriceRow.giveAwayPrice attributepublic static final String CHANNEL
PriceRow.channel attributeprotected static final BidirectionalOneToManyHandler<GeneratedPriceRow> 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 GeneratedPDTRowpublic CatalogVersion getCatalogVersion(SessionContext ctx)
PriceRow.catalogVersion attribute.public CatalogVersion getCatalogVersion()
PriceRow.catalogVersion attribute.public void setCatalogVersion(SessionContext ctx, CatalogVersion value)
PriceRow.catalogVersion attribute.value - the catalogVersionpublic void setCatalogVersion(CatalogVersion value)
PriceRow.catalogVersion attribute.value - the catalogVersionpublic EnumerationValue getChannel(SessionContext ctx)
PriceRow.channel attribute.public EnumerationValue getChannel()
PriceRow.channel attribute.public void setChannel(SessionContext ctx, EnumerationValue value)
PriceRow.channel attribute.value - the channelpublic void setChannel(EnumerationValue value)
PriceRow.channel attribute.value - the channelprotected 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 PDTRowctx - 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 Currency getCurrency(SessionContext ctx)
PriceRow.currency attribute.public Currency getCurrency()
PriceRow.currency attribute.public void setCurrency(SessionContext ctx, Currency value)
PriceRow.currency attribute.value - the currencypublic void setCurrency(Currency value)
PriceRow.currency attribute.value - the currencypublic Boolean isGiveAwayPrice(SessionContext ctx)
PriceRow.giveAwayPrice attribute.public Boolean isGiveAwayPrice()
PriceRow.giveAwayPrice attribute.public boolean isGiveAwayPriceAsPrimitive(SessionContext ctx)
PriceRow.giveAwayPrice attribute.public boolean isGiveAwayPriceAsPrimitive()
PriceRow.giveAwayPrice attribute.public void setGiveAwayPrice(SessionContext ctx, Boolean value)
PriceRow.giveAwayPrice attribute.value - the giveAwayPricepublic void setGiveAwayPrice(Boolean value)
PriceRow.giveAwayPrice attribute.value - the giveAwayPricepublic void setGiveAwayPrice(SessionContext ctx, boolean value)
PriceRow.giveAwayPrice attribute.value - the giveAwayPricepublic void setGiveAwayPrice(boolean value)
PriceRow.giveAwayPrice attribute.value - the giveAwayPricepublic Integer getMatchValue(SessionContext ctx)
PriceRow.matchValue attribute.public Integer getMatchValue()
PriceRow.matchValue attribute.public int getMatchValueAsPrimitive(SessionContext ctx)
PriceRow.matchValue attribute.public int getMatchValueAsPrimitive()
PriceRow.matchValue attribute.public void setMatchValue(SessionContext ctx, Integer value)
PriceRow.matchValue attribute.value - the matchValuepublic void setMatchValue(Integer value)
PriceRow.matchValue attribute.value - the matchValuepublic void setMatchValue(SessionContext ctx, int value)
PriceRow.matchValue attribute.value - the matchValuepublic void setMatchValue(int value)
PriceRow.matchValue attribute.value - the matchValuepublic Long getMinqtd(SessionContext ctx)
PriceRow.minqtd attribute.public Long getMinqtd()
PriceRow.minqtd attribute.public long getMinqtdAsPrimitive(SessionContext ctx)
PriceRow.minqtd attribute.public long getMinqtdAsPrimitive()
PriceRow.minqtd attribute.public void setMinqtd(SessionContext ctx, Long value)
PriceRow.minqtd attribute.value - the minqtdpublic void setMinqtd(Long value)
PriceRow.minqtd attribute.value - the minqtdpublic void setMinqtd(SessionContext ctx, long value)
PriceRow.minqtd attribute.value - the minqtdpublic void setMinqtd(long value)
PriceRow.minqtd attribute.value - the minqtdpublic Boolean isNet(SessionContext ctx)
PriceRow.net attribute.public Boolean isNet()
PriceRow.net attribute.public boolean isNetAsPrimitive(SessionContext ctx)
PriceRow.net attribute.public boolean isNetAsPrimitive()
PriceRow.net attribute.public void setNet(SessionContext ctx, Boolean value)
PriceRow.net attribute.value - the netpublic void setNet(Boolean value)
PriceRow.net attribute.value - the netpublic void setNet(SessionContext ctx, boolean value)
PriceRow.net attribute.value - the netpublic void setNet(boolean value)
PriceRow.net attribute.value - the netpublic Double getPrice(SessionContext ctx)
PriceRow.price attribute.public Double getPrice()
PriceRow.price attribute.public double getPriceAsPrimitive(SessionContext ctx)
PriceRow.price attribute.public double getPriceAsPrimitive()
PriceRow.price attribute.public void setPrice(SessionContext ctx, Double value)
PriceRow.price attribute.value - the pricepublic void setPrice(Double value)
PriceRow.price attribute.value - the pricepublic void setPrice(SessionContext ctx, double value)
PriceRow.price attribute.value - the pricepublic void setPrice(double value)
PriceRow.price attribute.value - the pricepublic Unit getUnit(SessionContext ctx)
PriceRow.unit attribute.public Unit getUnit()
PriceRow.unit attribute.public void setUnit(SessionContext ctx, Unit value)
PriceRow.unit attribute.value - the unitpublic void setUnit(Unit value)
PriceRow.unit attribute.value - the unitpublic Integer getUnitFactor(SessionContext ctx)
PriceRow.unitFactor attribute.public Integer getUnitFactor()
PriceRow.unitFactor attribute.public int getUnitFactorAsPrimitive(SessionContext ctx)
PriceRow.unitFactor attribute.public int getUnitFactorAsPrimitive()
PriceRow.unitFactor attribute.public void setUnitFactor(SessionContext ctx, Integer value)
PriceRow.unitFactor attribute.value - the unitFactorpublic void setUnitFactor(Integer value)
PriceRow.unitFactor attribute.value - the unitFactorpublic void setUnitFactor(SessionContext ctx, int value)
PriceRow.unitFactor attribute.value - the unitFactorpublic void setUnitFactor(int value)
PriceRow.unitFactor attribute.value - the unitFactorCopyright © 2017 SAP SE. All Rights Reserved.