Class GeneratedStockLevel
- java.lang.Object
-
- de.hybris.platform.util.BridgeAbstraction
-
- de.hybris.platform.jalo.Item
-
- de.hybris.platform.jalo.ExtensibleItem
-
- de.hybris.platform.jalo.c2l.LocalizableItem
-
- de.hybris.platform.jalo.GenericItem
-
- de.hybris.platform.ordersplitting.jalo.GeneratedStockLevel
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable
- Direct Known Subclasses:
StockLevel
public abstract class GeneratedStockLevel extends GenericItem
Generated class for typeStockLevel.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.GenericItem
GenericItem.GenericItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LocalizableItem.LocalizableItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.ExtensibleItem
ExtensibleItem.ExtensibleItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.Item
Item.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringAVAILABLEQualifier of theStockLevel.availableattributeprotected static java.util.Map<java.lang.String,Item.AttributeMode>DEFAULT_INITIAL_ATTRIBUTESstatic java.lang.StringINSTOCKSTATUSQualifier of theStockLevel.inStockStatusattributestatic java.lang.StringMAXPREORDERQualifier of theStockLevel.maxPreOrderattributestatic java.lang.StringMAXSTOCKLEVELHISTORYCOUNTQualifier of theStockLevel.maxStockLevelHistoryCountattributestatic java.lang.StringNEXTDELIVERYTIMEQualifier of theStockLevel.nextDeliveryTimeattributestatic java.lang.StringOVERSELLINGQualifier of theStockLevel.overSellingattributestatic java.lang.StringPREORDERQualifier of theStockLevel.preOrderattributestatic java.lang.StringPRODUCTQualifier of theStockLevel.productattributestatic java.lang.StringPRODUCTCODEQualifier of theStockLevel.productCodeattributestatic java.lang.StringPRODUCTSQualifier of theStockLevel.productsattributestatic java.lang.StringRELEASEDATEQualifier of theStockLevel.releaseDateattributestatic java.lang.StringRESERVEDQualifier of theStockLevel.reservedattributestatic java.lang.StringSTOCKLEVELHISTORYENTRIESQualifier of theStockLevel.stockLevelHistoryEntriesattributeprotected static OneToManyHandler<StockLevelHistoryEntry>STOCKLEVELHISTORYENTRIESHANDLEROneToManyHandlerfor handling 1:n STOCKLEVELHISTORYENTRIES's relation attributes from 'many' side.protected static java.lang.StringSTOCKLEVELPRODUCTRELATION_MARKMODIFIEDRelation disable markmodifed parameter constants for StockLevelProductRelation from ((basecommerce))protected static java.lang.StringSTOCKLEVELPRODUCTRELATION_SRC_ORDEREDRelation ordering override parameter constants for StockLevelProductRelation from ((basecommerce))protected static java.lang.StringSTOCKLEVELPRODUCTRELATION_TGT_ORDEREDstatic java.lang.StringTREATNEGATIVEASZEROQualifier of theStockLevel.treatNegativeAsZeroattributestatic java.lang.StringWAREHOUSEQualifier of theStockLevel.warehouseattributeprotected static BidirectionalOneToManyHandler<GeneratedStockLevel>WAREHOUSEHANDLERBidirectionalOneToManyHandlerfor handling 1:n WAREHOUSE's relation attributes from 'one' side.-
Fields inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LANGUAGE_FALLBACK_ENABLED
-
Fields inherited from class de.hybris.platform.jalo.Item
_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, HJMPTS, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPE
-
Fields inherited from class de.hybris.platform.util.BridgeAbstraction
impl, tenant
-
-
Constructor Summary
Constructors Constructor Description GeneratedStockLevel()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddToProducts(Product value)Generated method - Addsvalueto products.voidaddToProducts(SessionContext ctx, Product value)Generated method - Addsvalueto products.voidaddToStockLevelHistoryEntries(SessionContext ctx, StockLevelHistoryEntry value)Generated method - Addsvalueto stockLevelHistoryEntries.voidaddToStockLevelHistoryEntries(StockLevelHistoryEntry value)Generated method - Addsvalueto stockLevelHistoryEntries.protected ItemcreateItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes)Has to be implemented for each concrete subtype of item.java.lang.IntegergetAvailable()Generated method - Getter of theStockLevel.availableattribute.java.lang.IntegergetAvailable(SessionContext ctx)Generated method - Getter of theStockLevel.availableattribute.intgetAvailableAsPrimitive()Generated method - Getter of theStockLevel.availableattribute.intgetAvailableAsPrimitive(SessionContext ctx)Generated method - Getter of theStockLevel.availableattribute.protected java.util.Map<java.lang.String,Item.AttributeMode>getDefaultAttributeModes()EnumerationValuegetInStockStatus()Generated method - Getter of theStockLevel.inStockStatusattribute.EnumerationValuegetInStockStatus(SessionContext ctx)Generated method - Getter of theStockLevel.inStockStatusattribute.java.lang.IntegergetMaxPreOrder()Generated method - Getter of theStockLevel.maxPreOrderattribute.java.lang.IntegergetMaxPreOrder(SessionContext ctx)Generated method - Getter of theStockLevel.maxPreOrderattribute.intgetMaxPreOrderAsPrimitive()Generated method - Getter of theStockLevel.maxPreOrderattribute.intgetMaxPreOrderAsPrimitive(SessionContext ctx)Generated method - Getter of theStockLevel.maxPreOrderattribute.java.lang.IntegergetMaxStockLevelHistoryCount()Generated method - Getter of theStockLevel.maxStockLevelHistoryCountattribute.java.lang.IntegergetMaxStockLevelHistoryCount(SessionContext ctx)Generated method - Getter of theStockLevel.maxStockLevelHistoryCountattribute.intgetMaxStockLevelHistoryCountAsPrimitive()Generated method - Getter of theStockLevel.maxStockLevelHistoryCountattribute.intgetMaxStockLevelHistoryCountAsPrimitive(SessionContext ctx)Generated method - Getter of theStockLevel.maxStockLevelHistoryCountattribute.java.util.DategetNextDeliveryTime()Generated method - Getter of theStockLevel.nextDeliveryTimeattribute.java.util.DategetNextDeliveryTime(SessionContext ctx)Generated method - Getter of theStockLevel.nextDeliveryTimeattribute.java.lang.IntegergetOverSelling()Generated method - Getter of theStockLevel.overSellingattribute.java.lang.IntegergetOverSelling(SessionContext ctx)Generated method - Getter of theStockLevel.overSellingattribute.intgetOverSellingAsPrimitive()Generated method - Getter of theStockLevel.overSellingattribute.intgetOverSellingAsPrimitive(SessionContext ctx)Generated method - Getter of theStockLevel.overSellingattribute.java.lang.IntegergetPreOrder()Generated method - Getter of theStockLevel.preOrderattribute.java.lang.IntegergetPreOrder(SessionContext ctx)Generated method - Getter of theStockLevel.preOrderattribute.intgetPreOrderAsPrimitive()Generated method - Getter of theStockLevel.preOrderattribute.intgetPreOrderAsPrimitive(SessionContext ctx)Generated method - Getter of theStockLevel.preOrderattribute.ProductgetProduct()Generated method - Getter of theStockLevel.productattribute.abstract ProductgetProduct(SessionContext ctx)Generated method - Getter of theStockLevel.productattribute.java.lang.StringgetProductCode()Generated method - Getter of theStockLevel.productCodeattribute.java.lang.StringgetProductCode(SessionContext ctx)Generated method - Getter of theStockLevel.productCodeattribute.java.util.Collection<Product>getProducts()Generated method - Getter of theStockLevel.productsattribute.java.util.Collection<Product>getProducts(SessionContext ctx)Generated method - Getter of theStockLevel.productsattribute.longgetProductsCount()longgetProductsCount(SessionContext ctx)java.util.DategetReleaseDate()Generated method - Getter of theStockLevel.releaseDateattribute.java.util.DategetReleaseDate(SessionContext ctx)Generated method - Getter of theStockLevel.releaseDateattribute.java.lang.IntegergetReserved()Generated method - Getter of theStockLevel.reservedattribute.java.lang.IntegergetReserved(SessionContext ctx)Generated method - Getter of theStockLevel.reservedattribute.intgetReservedAsPrimitive()Generated method - Getter of theStockLevel.reservedattribute.intgetReservedAsPrimitive(SessionContext ctx)Generated method - Getter of theStockLevel.reservedattribute.java.util.List<StockLevelHistoryEntry>getStockLevelHistoryEntries()Generated method - Getter of theStockLevel.stockLevelHistoryEntriesattribute.java.util.List<StockLevelHistoryEntry>getStockLevelHistoryEntries(SessionContext ctx)Generated method - Getter of theStockLevel.stockLevelHistoryEntriesattribute.WarehousegetWarehouse()Generated method - Getter of theStockLevel.warehouseattribute.WarehousegetWarehouse(SessionContext ctx)Generated method - Getter of theStockLevel.warehouseattribute.booleanisMarkModifiedDisabled(Item referencedItem)Deprecated, for removal: This API element is subject to removal in a future version.java.lang.BooleanisTreatNegativeAsZero()Generated method - Getter of theStockLevel.treatNegativeAsZeroattribute.java.lang.BooleanisTreatNegativeAsZero(SessionContext ctx)Generated method - Getter of theStockLevel.treatNegativeAsZeroattribute.booleanisTreatNegativeAsZeroAsPrimitive()Generated method - Getter of theStockLevel.treatNegativeAsZeroattribute.booleanisTreatNegativeAsZeroAsPrimitive(SessionContext ctx)Generated method - Getter of theStockLevel.treatNegativeAsZeroattribute.voidremoveFromProducts(Product value)Generated method - Removesvaluefrom products.voidremoveFromProducts(SessionContext ctx, Product value)Generated method - Removesvaluefrom products.voidremoveFromStockLevelHistoryEntries(SessionContext ctx, StockLevelHistoryEntry value)Generated method - Removesvaluefrom stockLevelHistoryEntries.voidremoveFromStockLevelHistoryEntries(StockLevelHistoryEntry value)Generated method - Removesvaluefrom stockLevelHistoryEntries.voidsetAvailable(int value)Generated method - Setter of theStockLevel.availableattribute.voidsetAvailable(SessionContext ctx, int value)Generated method - Setter of theStockLevel.availableattribute.voidsetAvailable(SessionContext ctx, java.lang.Integer value)Generated method - Setter of theStockLevel.availableattribute.voidsetAvailable(java.lang.Integer value)Generated method - Setter of theStockLevel.availableattribute.voidsetInStockStatus(EnumerationValue value)Generated method - Setter of theStockLevel.inStockStatusattribute.voidsetInStockStatus(SessionContext ctx, EnumerationValue value)Generated method - Setter of theStockLevel.inStockStatusattribute.voidsetMaxPreOrder(int value)Generated method - Setter of theStockLevel.maxPreOrderattribute.voidsetMaxPreOrder(SessionContext ctx, int value)Generated method - Setter of theStockLevel.maxPreOrderattribute.voidsetMaxPreOrder(SessionContext ctx, java.lang.Integer value)Generated method - Setter of theStockLevel.maxPreOrderattribute.voidsetMaxPreOrder(java.lang.Integer value)Generated method - Setter of theStockLevel.maxPreOrderattribute.voidsetMaxStockLevelHistoryCount(int value)Generated method - Setter of theStockLevel.maxStockLevelHistoryCountattribute.voidsetMaxStockLevelHistoryCount(SessionContext ctx, int value)Generated method - Setter of theStockLevel.maxStockLevelHistoryCountattribute.voidsetMaxStockLevelHistoryCount(SessionContext ctx, java.lang.Integer value)Generated method - Setter of theStockLevel.maxStockLevelHistoryCountattribute.voidsetMaxStockLevelHistoryCount(java.lang.Integer value)Generated method - Setter of theStockLevel.maxStockLevelHistoryCountattribute.voidsetNextDeliveryTime(SessionContext ctx, java.util.Date value)Generated method - Setter of theStockLevel.nextDeliveryTimeattribute.voidsetNextDeliveryTime(java.util.Date value)Generated method - Setter of theStockLevel.nextDeliveryTimeattribute.voidsetOverSelling(int value)Generated method - Setter of theStockLevel.overSellingattribute.voidsetOverSelling(SessionContext ctx, int value)Generated method - Setter of theStockLevel.overSellingattribute.voidsetOverSelling(SessionContext ctx, java.lang.Integer value)Generated method - Setter of theStockLevel.overSellingattribute.voidsetOverSelling(java.lang.Integer value)Generated method - Setter of theStockLevel.overSellingattribute.voidsetPreOrder(int value)Generated method - Setter of theStockLevel.preOrderattribute.voidsetPreOrder(SessionContext ctx, int value)Generated method - Setter of theStockLevel.preOrderattribute.voidsetPreOrder(SessionContext ctx, java.lang.Integer value)Generated method - Setter of theStockLevel.preOrderattribute.voidsetPreOrder(java.lang.Integer value)Generated method - Setter of theStockLevel.preOrderattribute.voidsetProduct(Product value)Generated method - Setter of theStockLevel.productattribute.abstract voidsetProduct(SessionContext ctx, Product value)Generated method - Setter of theStockLevel.productattribute.voidsetProductCode(SessionContext ctx, java.lang.String value)Generated method - Setter of theStockLevel.productCodeattribute.voidsetProductCode(java.lang.String value)Generated method - Setter of theStockLevel.productCodeattribute.voidsetProducts(SessionContext ctx, java.util.Collection<Product> value)Generated method - Setter of theStockLevel.productsattribute.voidsetProducts(java.util.Collection<Product> value)Generated method - Setter of theStockLevel.productsattribute.voidsetReleaseDate(SessionContext ctx, java.util.Date value)Generated method - Setter of theStockLevel.releaseDateattribute.voidsetReleaseDate(java.util.Date value)Generated method - Setter of theStockLevel.releaseDateattribute.voidsetReserved(int value)Generated method - Setter of theStockLevel.reservedattribute.voidsetReserved(SessionContext ctx, int value)Generated method - Setter of theStockLevel.reservedattribute.voidsetReserved(SessionContext ctx, java.lang.Integer value)Generated method - Setter of theStockLevel.reservedattribute.voidsetReserved(java.lang.Integer value)Generated method - Setter of theStockLevel.reservedattribute.voidsetStockLevelHistoryEntries(SessionContext ctx, java.util.List<StockLevelHistoryEntry> value)Generated method - Setter of theStockLevel.stockLevelHistoryEntriesattribute.voidsetStockLevelHistoryEntries(java.util.List<StockLevelHistoryEntry> value)Generated method - Setter of theStockLevel.stockLevelHistoryEntriesattribute.voidsetTreatNegativeAsZero(boolean value)Generated method - Setter of theStockLevel.treatNegativeAsZeroattribute.voidsetTreatNegativeAsZero(SessionContext ctx, boolean value)Generated method - Setter of theStockLevel.treatNegativeAsZeroattribute.voidsetTreatNegativeAsZero(SessionContext ctx, java.lang.Boolean value)Generated method - Setter of theStockLevel.treatNegativeAsZeroattribute.voidsetTreatNegativeAsZero(java.lang.Boolean value)Generated method - Setter of theStockLevel.treatNegativeAsZeroattribute.protected voidsetWarehouse(SessionContext ctx, Warehouse value)Generated method - Setter of theStockLevel.warehouseattribute.protected voidsetWarehouse(Warehouse value)Generated method - Setter of theStockLevel.warehouseattribute.-
Methods inherited from class de.hybris.platform.jalo.GenericItem
getImplementation, getInitialProperties, getNonInitialAttributes, getRelatedItems, getRelatedItems, setRelatedItems
-
Methods inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedProperty
-
Methods inherited from class de.hybris.platform.jalo.ExtensibleItem
createNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setProperty
-
Methods inherited from class de.hybris.platform.jalo.Item
addLinkedItems, 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, notifyManagerAboutItemRemoval, readResolve, 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, writeReplace
-
Methods inherited from class de.hybris.platform.util.BridgeAbstraction
setTenant
-
-
-
-
Field Detail
-
PRODUCT
public static final java.lang.String PRODUCT
Qualifier of theStockLevel.productattribute- See Also:
- Constant Field Values
-
AVAILABLE
public static final java.lang.String AVAILABLE
Qualifier of theStockLevel.availableattribute- See Also:
- Constant Field Values
-
RELEASEDATE
public static final java.lang.String RELEASEDATE
Qualifier of theStockLevel.releaseDateattribute- See Also:
- Constant Field Values
-
NEXTDELIVERYTIME
public static final java.lang.String NEXTDELIVERYTIME
Qualifier of theStockLevel.nextDeliveryTimeattribute- See Also:
- Constant Field Values
-
PRODUCTCODE
public static final java.lang.String PRODUCTCODE
Qualifier of theStockLevel.productCodeattribute- See Also:
- Constant Field Values
-
RESERVED
public static final java.lang.String RESERVED
Qualifier of theStockLevel.reservedattribute- See Also:
- Constant Field Values
-
OVERSELLING
public static final java.lang.String OVERSELLING
Qualifier of theStockLevel.overSellingattribute- See Also:
- Constant Field Values
-
PREORDER
public static final java.lang.String PREORDER
Qualifier of theStockLevel.preOrderattribute- See Also:
- Constant Field Values
-
MAXPREORDER
public static final java.lang.String MAXPREORDER
Qualifier of theStockLevel.maxPreOrderattribute- See Also:
- Constant Field Values
-
TREATNEGATIVEASZERO
public static final java.lang.String TREATNEGATIVEASZERO
Qualifier of theStockLevel.treatNegativeAsZeroattribute- See Also:
- Constant Field Values
-
INSTOCKSTATUS
public static final java.lang.String INSTOCKSTATUS
Qualifier of theStockLevel.inStockStatusattribute- See Also:
- Constant Field Values
-
MAXSTOCKLEVELHISTORYCOUNT
public static final java.lang.String MAXSTOCKLEVELHISTORYCOUNT
Qualifier of theStockLevel.maxStockLevelHistoryCountattribute- See Also:
- Constant Field Values
-
PRODUCTS
public static final java.lang.String PRODUCTS
Qualifier of theStockLevel.productsattribute- See Also:
- Constant Field Values
-
STOCKLEVELPRODUCTRELATION_SRC_ORDERED
protected static java.lang.String STOCKLEVELPRODUCTRELATION_SRC_ORDERED
Relation ordering override parameter constants for StockLevelProductRelation from ((basecommerce))
-
STOCKLEVELPRODUCTRELATION_TGT_ORDERED
protected static java.lang.String STOCKLEVELPRODUCTRELATION_TGT_ORDERED
-
STOCKLEVELPRODUCTRELATION_MARKMODIFIED
protected static java.lang.String STOCKLEVELPRODUCTRELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for StockLevelProductRelation from ((basecommerce))
-
WAREHOUSE
public static final java.lang.String WAREHOUSE
Qualifier of theStockLevel.warehouseattribute- See Also:
- Constant Field Values
-
STOCKLEVELHISTORYENTRIES
public static final java.lang.String STOCKLEVELHISTORYENTRIES
Qualifier of theStockLevel.stockLevelHistoryEntriesattribute- See Also:
- Constant Field Values
-
WAREHOUSEHANDLER
protected static final BidirectionalOneToManyHandler<GeneratedStockLevel> WAREHOUSEHANDLER
BidirectionalOneToManyHandlerfor handling 1:n WAREHOUSE's relation attributes from 'one' side.
-
STOCKLEVELHISTORYENTRIESHANDLER
protected static final OneToManyHandler<StockLevelHistoryEntry> STOCKLEVELHISTORYENTRIESHANDLER
OneToManyHandlerfor handling 1:n STOCKLEVELHISTORYENTRIES's relation attributes from 'many' side.
-
DEFAULT_INITIAL_ATTRIBUTES
protected static final java.util.Map<java.lang.String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
-
-
Method Detail
-
getDefaultAttributeModes
protected java.util.Map<java.lang.String,Item.AttributeMode> getDefaultAttributeModes()
- Overrides:
getDefaultAttributeModesin classItem
-
getAvailable
public java.lang.Integer getAvailable(SessionContext ctx)
Generated method - Getter of theStockLevel.availableattribute.- Returns:
- the available
-
getAvailable
public java.lang.Integer getAvailable()
Generated method - Getter of theStockLevel.availableattribute.- Returns:
- the available
-
getAvailableAsPrimitive
public int getAvailableAsPrimitive(SessionContext ctx)
Generated method - Getter of theStockLevel.availableattribute.- Returns:
- the available
-
getAvailableAsPrimitive
public int getAvailableAsPrimitive()
Generated method - Getter of theStockLevel.availableattribute.- Returns:
- the available
-
setAvailable
public void setAvailable(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theStockLevel.availableattribute.- Parameters:
value- the available
-
setAvailable
public void setAvailable(java.lang.Integer value)
Generated method - Setter of theStockLevel.availableattribute.- Parameters:
value- the available
-
setAvailable
public void setAvailable(SessionContext ctx, int value)
Generated method - Setter of theStockLevel.availableattribute.- Parameters:
value- the available
-
setAvailable
public void setAvailable(int value)
Generated method - Setter of theStockLevel.availableattribute.- Parameters:
value- the available
-
createItem
protected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
Description copied from class:ItemHas to be implemented for each concrete subtype of item. This method is responsible for creating a new item instance ( by calling managers, ejb homes, etc. ) duringComposedType.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; }- Overrides:
createItemin classGenericItem- Parameters:
ctx- 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 )- Returns:
- the new item instance
- Throws:
JaloBusinessException- indicates an error during creation - any changes will be rollbacked
-
getInStockStatus
public EnumerationValue getInStockStatus(SessionContext ctx)
Generated method - Getter of theStockLevel.inStockStatusattribute.- Returns:
- the inStockStatus
-
getInStockStatus
public EnumerationValue getInStockStatus()
Generated method - Getter of theStockLevel.inStockStatusattribute.- Returns:
- the inStockStatus
-
setInStockStatus
public void setInStockStatus(SessionContext ctx, EnumerationValue value)
Generated method - Setter of theStockLevel.inStockStatusattribute.- Parameters:
value- the inStockStatus
-
setInStockStatus
public void setInStockStatus(EnumerationValue value)
Generated method - Setter of theStockLevel.inStockStatusattribute.- Parameters:
value- the inStockStatus
-
isMarkModifiedDisabled
@Deprecated(since="2105", forRemoval=true) public boolean isMarkModifiedDisabled(Item referencedItem)Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
isMarkModifiedDisabledin classItem
-
getMaxPreOrder
public java.lang.Integer getMaxPreOrder(SessionContext ctx)
Generated method - Getter of theStockLevel.maxPreOrderattribute.- Returns:
- the maxPreOrder
-
getMaxPreOrder
public java.lang.Integer getMaxPreOrder()
Generated method - Getter of theStockLevel.maxPreOrderattribute.- Returns:
- the maxPreOrder
-
getMaxPreOrderAsPrimitive
public int getMaxPreOrderAsPrimitive(SessionContext ctx)
Generated method - Getter of theStockLevel.maxPreOrderattribute.- Returns:
- the maxPreOrder
-
getMaxPreOrderAsPrimitive
public int getMaxPreOrderAsPrimitive()
Generated method - Getter of theStockLevel.maxPreOrderattribute.- Returns:
- the maxPreOrder
-
setMaxPreOrder
public void setMaxPreOrder(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theStockLevel.maxPreOrderattribute.- Parameters:
value- the maxPreOrder
-
setMaxPreOrder
public void setMaxPreOrder(java.lang.Integer value)
Generated method - Setter of theStockLevel.maxPreOrderattribute.- Parameters:
value- the maxPreOrder
-
setMaxPreOrder
public void setMaxPreOrder(SessionContext ctx, int value)
Generated method - Setter of theStockLevel.maxPreOrderattribute.- Parameters:
value- the maxPreOrder
-
setMaxPreOrder
public void setMaxPreOrder(int value)
Generated method - Setter of theStockLevel.maxPreOrderattribute.- Parameters:
value- the maxPreOrder
-
getMaxStockLevelHistoryCount
public java.lang.Integer getMaxStockLevelHistoryCount(SessionContext ctx)
Generated method - Getter of theStockLevel.maxStockLevelHistoryCountattribute.- Returns:
- the maxStockLevelHistoryCount - size of the StockLevelHistoyEntry, negative values for unlimited
-
getMaxStockLevelHistoryCount
public java.lang.Integer getMaxStockLevelHistoryCount()
Generated method - Getter of theStockLevel.maxStockLevelHistoryCountattribute.- Returns:
- the maxStockLevelHistoryCount - size of the StockLevelHistoyEntry, negative values for unlimited
-
getMaxStockLevelHistoryCountAsPrimitive
public int getMaxStockLevelHistoryCountAsPrimitive(SessionContext ctx)
Generated method - Getter of theStockLevel.maxStockLevelHistoryCountattribute.- Returns:
- the maxStockLevelHistoryCount - size of the StockLevelHistoyEntry, negative values for unlimited
-
getMaxStockLevelHistoryCountAsPrimitive
public int getMaxStockLevelHistoryCountAsPrimitive()
Generated method - Getter of theStockLevel.maxStockLevelHistoryCountattribute.- Returns:
- the maxStockLevelHistoryCount - size of the StockLevelHistoyEntry, negative values for unlimited
-
setMaxStockLevelHistoryCount
public void setMaxStockLevelHistoryCount(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theStockLevel.maxStockLevelHistoryCountattribute.- Parameters:
value- the maxStockLevelHistoryCount - size of the StockLevelHistoyEntry, negative values for unlimited
-
setMaxStockLevelHistoryCount
public void setMaxStockLevelHistoryCount(java.lang.Integer value)
Generated method - Setter of theStockLevel.maxStockLevelHistoryCountattribute.- Parameters:
value- the maxStockLevelHistoryCount - size of the StockLevelHistoyEntry, negative values for unlimited
-
setMaxStockLevelHistoryCount
public void setMaxStockLevelHistoryCount(SessionContext ctx, int value)
Generated method - Setter of theStockLevel.maxStockLevelHistoryCountattribute.- Parameters:
value- the maxStockLevelHistoryCount - size of the StockLevelHistoyEntry, negative values for unlimited
-
setMaxStockLevelHistoryCount
public void setMaxStockLevelHistoryCount(int value)
Generated method - Setter of theStockLevel.maxStockLevelHistoryCountattribute.- Parameters:
value- the maxStockLevelHistoryCount - size of the StockLevelHistoyEntry, negative values for unlimited
-
getNextDeliveryTime
public java.util.Date getNextDeliveryTime(SessionContext ctx)
Generated method - Getter of theStockLevel.nextDeliveryTimeattribute.- Returns:
- the nextDeliveryTime
-
getNextDeliveryTime
public java.util.Date getNextDeliveryTime()
Generated method - Getter of theStockLevel.nextDeliveryTimeattribute.- Returns:
- the nextDeliveryTime
-
setNextDeliveryTime
public void setNextDeliveryTime(SessionContext ctx, java.util.Date value)
Generated method - Setter of theStockLevel.nextDeliveryTimeattribute.- Parameters:
value- the nextDeliveryTime
-
setNextDeliveryTime
public void setNextDeliveryTime(java.util.Date value)
Generated method - Setter of theStockLevel.nextDeliveryTimeattribute.- Parameters:
value- the nextDeliveryTime
-
getOverSelling
public java.lang.Integer getOverSelling(SessionContext ctx)
Generated method - Getter of theStockLevel.overSellingattribute.- Returns:
- the overSelling
-
getOverSelling
public java.lang.Integer getOverSelling()
Generated method - Getter of theStockLevel.overSellingattribute.- Returns:
- the overSelling
-
getOverSellingAsPrimitive
public int getOverSellingAsPrimitive(SessionContext ctx)
Generated method - Getter of theStockLevel.overSellingattribute.- Returns:
- the overSelling
-
getOverSellingAsPrimitive
public int getOverSellingAsPrimitive()
Generated method - Getter of theStockLevel.overSellingattribute.- Returns:
- the overSelling
-
setOverSelling
public void setOverSelling(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theStockLevel.overSellingattribute.- Parameters:
value- the overSelling
-
setOverSelling
public void setOverSelling(java.lang.Integer value)
Generated method - Setter of theStockLevel.overSellingattribute.- Parameters:
value- the overSelling
-
setOverSelling
public void setOverSelling(SessionContext ctx, int value)
Generated method - Setter of theStockLevel.overSellingattribute.- Parameters:
value- the overSelling
-
setOverSelling
public void setOverSelling(int value)
Generated method - Setter of theStockLevel.overSellingattribute.- Parameters:
value- the overSelling
-
getPreOrder
public java.lang.Integer getPreOrder(SessionContext ctx)
Generated method - Getter of theStockLevel.preOrderattribute.- Returns:
- the preOrder
-
getPreOrder
public java.lang.Integer getPreOrder()
Generated method - Getter of theStockLevel.preOrderattribute.- Returns:
- the preOrder
-
getPreOrderAsPrimitive
public int getPreOrderAsPrimitive(SessionContext ctx)
Generated method - Getter of theStockLevel.preOrderattribute.- Returns:
- the preOrder
-
getPreOrderAsPrimitive
public int getPreOrderAsPrimitive()
Generated method - Getter of theStockLevel.preOrderattribute.- Returns:
- the preOrder
-
setPreOrder
public void setPreOrder(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theStockLevel.preOrderattribute.- Parameters:
value- the preOrder
-
setPreOrder
public void setPreOrder(java.lang.Integer value)
Generated method - Setter of theStockLevel.preOrderattribute.- Parameters:
value- the preOrder
-
setPreOrder
public void setPreOrder(SessionContext ctx, int value)
Generated method - Setter of theStockLevel.preOrderattribute.- Parameters:
value- the preOrder
-
setPreOrder
public void setPreOrder(int value)
Generated method - Setter of theStockLevel.preOrderattribute.- Parameters:
value- the preOrder
-
getProduct
public abstract Product getProduct(SessionContext ctx)
Generated method - Getter of theStockLevel.productattribute.- Returns:
- the product
-
getProduct
public Product getProduct()
Generated method - Getter of theStockLevel.productattribute.- Returns:
- the product
-
setProduct
public abstract void setProduct(SessionContext ctx, Product value)
Generated method - Setter of theStockLevel.productattribute.- Parameters:
value- the product
-
setProduct
public void setProduct(Product value)
Generated method - Setter of theStockLevel.productattribute.- Parameters:
value- the product
-
getProductCode
public java.lang.String getProductCode(SessionContext ctx)
Generated method - Getter of theStockLevel.productCodeattribute.- Returns:
- the productCode
-
getProductCode
public java.lang.String getProductCode()
Generated method - Getter of theStockLevel.productCodeattribute.- Returns:
- the productCode
-
setProductCode
public void setProductCode(SessionContext ctx, java.lang.String value)
Generated method - Setter of theStockLevel.productCodeattribute.- Parameters:
value- the productCode
-
setProductCode
public void setProductCode(java.lang.String value)
Generated method - Setter of theStockLevel.productCodeattribute.- Parameters:
value- the productCode
-
getProducts
public java.util.Collection<Product> getProducts(SessionContext ctx)
Generated method - Getter of theStockLevel.productsattribute.- Returns:
- the products
-
getProducts
public java.util.Collection<Product> getProducts()
Generated method - Getter of theStockLevel.productsattribute.- Returns:
- the products
-
getProductsCount
public long getProductsCount(SessionContext ctx)
-
getProductsCount
public long getProductsCount()
-
setProducts
public void setProducts(SessionContext ctx, java.util.Collection<Product> value)
Generated method - Setter of theStockLevel.productsattribute.- Parameters:
value- the products
-
setProducts
public void setProducts(java.util.Collection<Product> value)
Generated method - Setter of theStockLevel.productsattribute.- Parameters:
value- the products
-
addToProducts
public void addToProducts(SessionContext ctx, Product value)
Generated method - Addsvalueto products.- Parameters:
value- the item to add to products
-
addToProducts
public void addToProducts(Product value)
Generated method - Addsvalueto products.- Parameters:
value- the item to add to products
-
removeFromProducts
public void removeFromProducts(SessionContext ctx, Product value)
Generated method - Removesvaluefrom products.- Parameters:
value- the item to remove from products
-
removeFromProducts
public void removeFromProducts(Product value)
Generated method - Removesvaluefrom products.- Parameters:
value- the item to remove from products
-
getReleaseDate
public java.util.Date getReleaseDate(SessionContext ctx)
Generated method - Getter of theStockLevel.releaseDateattribute.- Returns:
- the releaseDate
-
getReleaseDate
public java.util.Date getReleaseDate()
Generated method - Getter of theStockLevel.releaseDateattribute.- Returns:
- the releaseDate
-
setReleaseDate
public void setReleaseDate(SessionContext ctx, java.util.Date value)
Generated method - Setter of theStockLevel.releaseDateattribute.- Parameters:
value- the releaseDate
-
setReleaseDate
public void setReleaseDate(java.util.Date value)
Generated method - Setter of theStockLevel.releaseDateattribute.- Parameters:
value- the releaseDate
-
getReserved
public java.lang.Integer getReserved(SessionContext ctx)
Generated method - Getter of theStockLevel.reservedattribute.- Returns:
- the reserved
-
getReserved
public java.lang.Integer getReserved()
Generated method - Getter of theStockLevel.reservedattribute.- Returns:
- the reserved
-
getReservedAsPrimitive
public int getReservedAsPrimitive(SessionContext ctx)
Generated method - Getter of theStockLevel.reservedattribute.- Returns:
- the reserved
-
getReservedAsPrimitive
public int getReservedAsPrimitive()
Generated method - Getter of theStockLevel.reservedattribute.- Returns:
- the reserved
-
setReserved
public void setReserved(SessionContext ctx, java.lang.Integer value)
Generated method - Setter of theStockLevel.reservedattribute.- Parameters:
value- the reserved
-
setReserved
public void setReserved(java.lang.Integer value)
Generated method - Setter of theStockLevel.reservedattribute.- Parameters:
value- the reserved
-
setReserved
public void setReserved(SessionContext ctx, int value)
Generated method - Setter of theStockLevel.reservedattribute.- Parameters:
value- the reserved
-
setReserved
public void setReserved(int value)
Generated method - Setter of theStockLevel.reservedattribute.- Parameters:
value- the reserved
-
getStockLevelHistoryEntries
public java.util.List<StockLevelHistoryEntry> getStockLevelHistoryEntries(SessionContext ctx)
Generated method - Getter of theStockLevel.stockLevelHistoryEntriesattribute.- Returns:
- the stockLevelHistoryEntries
-
getStockLevelHistoryEntries
public java.util.List<StockLevelHistoryEntry> getStockLevelHistoryEntries()
Generated method - Getter of theStockLevel.stockLevelHistoryEntriesattribute.- Returns:
- the stockLevelHistoryEntries
-
setStockLevelHistoryEntries
public void setStockLevelHistoryEntries(SessionContext ctx, java.util.List<StockLevelHistoryEntry> value)
Generated method - Setter of theStockLevel.stockLevelHistoryEntriesattribute.- Parameters:
value- the stockLevelHistoryEntries
-
setStockLevelHistoryEntries
public void setStockLevelHistoryEntries(java.util.List<StockLevelHistoryEntry> value)
Generated method - Setter of theStockLevel.stockLevelHistoryEntriesattribute.- Parameters:
value- the stockLevelHistoryEntries
-
addToStockLevelHistoryEntries
public void addToStockLevelHistoryEntries(SessionContext ctx, StockLevelHistoryEntry value)
Generated method - Addsvalueto stockLevelHistoryEntries.- Parameters:
value- the item to add to stockLevelHistoryEntries
-
addToStockLevelHistoryEntries
public void addToStockLevelHistoryEntries(StockLevelHistoryEntry value)
Generated method - Addsvalueto stockLevelHistoryEntries.- Parameters:
value- the item to add to stockLevelHistoryEntries
-
removeFromStockLevelHistoryEntries
public void removeFromStockLevelHistoryEntries(SessionContext ctx, StockLevelHistoryEntry value)
Generated method - Removesvaluefrom stockLevelHistoryEntries.- Parameters:
value- the item to remove from stockLevelHistoryEntries
-
removeFromStockLevelHistoryEntries
public void removeFromStockLevelHistoryEntries(StockLevelHistoryEntry value)
Generated method - Removesvaluefrom stockLevelHistoryEntries.- Parameters:
value- the item to remove from stockLevelHistoryEntries
-
isTreatNegativeAsZero
public java.lang.Boolean isTreatNegativeAsZero(SessionContext ctx)
Generated method - Getter of theStockLevel.treatNegativeAsZeroattribute.- Returns:
- the treatNegativeAsZero
-
isTreatNegativeAsZero
public java.lang.Boolean isTreatNegativeAsZero()
Generated method - Getter of theStockLevel.treatNegativeAsZeroattribute.- Returns:
- the treatNegativeAsZero
-
isTreatNegativeAsZeroAsPrimitive
public boolean isTreatNegativeAsZeroAsPrimitive(SessionContext ctx)
Generated method - Getter of theStockLevel.treatNegativeAsZeroattribute.- Returns:
- the treatNegativeAsZero
-
isTreatNegativeAsZeroAsPrimitive
public boolean isTreatNegativeAsZeroAsPrimitive()
Generated method - Getter of theStockLevel.treatNegativeAsZeroattribute.- Returns:
- the treatNegativeAsZero
-
setTreatNegativeAsZero
public void setTreatNegativeAsZero(SessionContext ctx, java.lang.Boolean value)
Generated method - Setter of theStockLevel.treatNegativeAsZeroattribute.- Parameters:
value- the treatNegativeAsZero
-
setTreatNegativeAsZero
public void setTreatNegativeAsZero(java.lang.Boolean value)
Generated method - Setter of theStockLevel.treatNegativeAsZeroattribute.- Parameters:
value- the treatNegativeAsZero
-
setTreatNegativeAsZero
public void setTreatNegativeAsZero(SessionContext ctx, boolean value)
Generated method - Setter of theStockLevel.treatNegativeAsZeroattribute.- Parameters:
value- the treatNegativeAsZero
-
setTreatNegativeAsZero
public void setTreatNegativeAsZero(boolean value)
Generated method - Setter of theStockLevel.treatNegativeAsZeroattribute.- Parameters:
value- the treatNegativeAsZero
-
getWarehouse
public Warehouse getWarehouse(SessionContext ctx)
Generated method - Getter of theStockLevel.warehouseattribute.- Returns:
- the warehouse
-
getWarehouse
public Warehouse getWarehouse()
Generated method - Getter of theStockLevel.warehouseattribute.- Returns:
- the warehouse
-
setWarehouse
protected void setWarehouse(SessionContext ctx, Warehouse value)
Generated method - Setter of theStockLevel.warehouseattribute.- Parameters:
value- the warehouse
-
setWarehouse
protected void setWarehouse(Warehouse value)
Generated method - Setter of theStockLevel.warehouseattribute.- Parameters:
value- the warehouse
-
-