com.retek.component.item.impl
Class ItemImpl
java.lang.Object
com.retek.commons.domain.core.impl.BusinessObjectImpl
com.retek.component.item.impl.AbstractItemThresholdableItem
com.retek.component.item.impl.ItemImpl
- All Implemented Interfaces:
- BusinessObject, java.lang.Comparable, Item, ItemThresholdableItem, ThresholdableItem
- Direct Known Subclasses:
- SellableItemImpl, StyleImpl
- public abstract class ItemImpl
- extends AbstractItemThresholdableItem
- implements Item
Field Summary |
protected static java.util.Map |
methodMap
|
Fields inherited from interface com.retek.component.item.Item |
CARE_INSTRUCTIONS_FLAG_METHOD_KEY, CATCH_WEIGHT_FLAG_METHOD_KEY, CLASS, CLASS_ID_METHOD_KEY, COLLECTION, COMMENTS_METHOD_KEY, CONSTANT_DIMENSION_FLAG_METHOD_KEY, CONTAINS_INNER_FLAG_METHOD_KEY, CONVEYABLE_TYPE_CODE_METHOD_KEY, COST_ZONE_GROUP_ID_METHOD_KEY, CROSS_SELL_BACKORDER_FLAG_METHOD_KEY, DEFAULT_WASTE_PERCENT_METHOD_KEY, DEPARTMENT, DEPARTMENT_ID_METHOD_KEY, DESCRIPTION, DIFF1, DIFF2, DIFF3, DIFF4, DIFFS, FORECAST_FLAG_METHOD_KEY, FORMAT_ID_METHOD_KEY, GIFT_CARD_FLAG_METHOD_KEY, HANDLING_SENSITIVITY_CODE_METHOD_KEY, HANDLING_TEMPERATURE_CODE_METHOD_KEY, ID, INVENTORY_FLAG_METHOD_KEY, ITEM_COLLECTION_METHOD_KEY, ITEM_DESCRIPTION_METHOD_KEY, ITEM_GRANDPARENT_ID_METHOD_KEY, ITEM_ID_METHOD_KEY, ITEM_LEVEL_METHOD_KEY, ITEM_NUMBER_TYPE_CODE_METHOD_KEY, ITEM_PARENT_ID_METHOD_KEY, ITEM_SERVICE_LEVEL_METHOD_KEY, ITEM_TYPE_CODE_METHOD_KEY, MERCHANDISE_FLAG_METHOD_KEY, MFG_RECOMMENDED_RETAIL_PRICE_METHOD_KEY, NON_DENOMINATIONAL_METHOD_KEY, ORDER_AS_TYPE_METHOD_KEY, ORDERABLE_FLAG_METHOD_KEY, PACK_FLAG_METHOD_KEY, PACK_TYPE_METHOD_KEY, PACKAGE_SIZE_METHOD_KEY, PACKAGE_UOM_METHOD_KEY, PERISHABLE_FLAG_METHOD_KEY, PERSONALIZATION_FLAG_METHOD_KEY, PREFIX_METHOD_KEY, PRIMARY_REF_ITEM_FLAG_METHOD_KEY, RECIPE_CARD_FLAG_METHOD_KEY, REG_EMPLOYEE_DISCOUNT_PERCENT_METHOD_KEY, RETAIL_LABEL_TYPE_METHOD_KEY, RETAIL_LABEL_VALUE_METHOD_KEY, RETAIL_ZONE_GROUP_ID_METHOD_KEY, SALE_EMPLOYEE_DISCOUNT_PERCENT_METHOD_KEY, SELLABLE_FLAG_METHOD_KEY, SHIP_ALONE_FLAG_METHOD_KEY, SHIP_RESTRICT_DEFAULTED_FLAG_METHOD_KEY, SHORT_DESCRIPTION_35_METHOD_KEY, SHORT_DESCRIPTION_METHOD_KEY, SIMPLE_PACK_FLAG_METHOD_KEY, STANDARD_DELIVERY_CHARGE_FLAG_METHOD_KEY, STATUS, STATUS_ACTIVE, STATUS_CODE_METHOD_KEY, STORE_ORD_MULT_METHOD_KEY, SUBCLASS, SUBCLASS_ID_METHOD_KEY, SUBSTITUTE_BACKORDER_FLAG_METHOD_KEY, SWATCH_FLAG_METHOD_KEY, TAX_CLASSIFICATION_METHOD_KEY, TRANSACTION_LEVEL_METHOD_KEY, TYPE, UNIT_RETAIL_METHOD_KEY, UOM_CODE_METHOD_KEY, UOM_CONVERSION_FACTOR_METHOD_KEY, UP_SELL_BACKORDER_FLAG_METHOD_KEY, VALID_DIFF_KEYS, WASTE_PERCENT_METHOD_KEY, WASTE_TYPE_METHOD_KEY |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
methodMap
protected static final java.util.Map methodMap
ItemImpl
public ItemImpl(DistributedContext context)
getContext
public DistributedContext getContext()
getItemDto
protected abstract ItemDto getItemDto()
invokeNoArgAccessor
public java.lang.Object invokeNoArgAccessor(java.lang.String methodKey)
throws SystemException
- Specified by:
invokeNoArgAccessor
in interface Item
- Throws:
SystemException
getComments
public java.lang.String getComments()
- Specified by:
getComments
in interface Item
getItemLevel
public int getItemLevel()
- Specified by:
getItemLevel
in interface Item
getTransactionLevel
public int getTransactionLevel()
- Specified by:
getTransactionLevel
in interface Item
getItemClass
public java.lang.String getItemClass()
- Specified by:
getItemClass
in interface Item
getItemCollection
public ItemCollection getItemCollection()
throws SystemException
- Specified by:
getItemCollection
in interface Item
- Throws:
SystemException
getItemCollectionCode
public java.lang.String getItemCollectionCode()
throws SystemException
- Specified by:
getItemCollectionCode
in interface Item
- Throws:
SystemException
getItemDepartment
public java.lang.String getItemDepartment()
- Specified by:
getItemDepartment
in interface Item
getItemStatus
public java.lang.String getItemStatus()
- Specified by:
getItemStatus
in interface Item
getItemSubclass
public java.lang.String getItemSubclass()
- Specified by:
getItemSubclass
in interface Item
getShortItemDescription
public java.lang.String getShortItemDescription()
- Specified by:
getShortItemDescription
in interface Item
isInventoriable
public abstract boolean isInventoriable()
- Specified by:
isInventoriable
in interface Item
isContainsInner
public boolean isContainsInner()
- Specified by:
isContainsInner
in interface Item
getHandlingSensitivityCode
public java.lang.String getHandlingSensitivityCode()
- Specified by:
getHandlingSensitivityCode
in interface Item
getHandlingTemperatureCode
public java.lang.String getHandlingTemperatureCode()
- Specified by:
getHandlingTemperatureCode
in interface Item
getItemGrandparentId
public java.lang.String getItemGrandparentId()
- Specified by:
getItemGrandparentId
in interface Item
getItemNumberTypeCode
public java.lang.String getItemNumberTypeCode()
- Specified by:
getItemNumberTypeCode
in interface Item
getItemParentId
public java.lang.String getItemParentId()
- Specified by:
getItemParentId
in interface Item
isMerchandise
public boolean isMerchandise()
- Specified by:
isMerchandise
in interface Item
isPack
public boolean isPack()
- Specified by:
isPack
in interface Item
isShipAlone
public boolean isShipAlone()
- Specified by:
isShipAlone
in interface Item
isNonDenominational
public boolean isNonDenominational()
- Specified by:
isNonDenominational
in interface Item
isGiftCard
public boolean isGiftCard()
- Specified by:
isGiftCard
in interface Item
getUnitRetail
public java.lang.String getUnitRetail()
- Specified by:
getUnitRetail
in interface Item
getStandardUom
public java.lang.String getStandardUom()
- Specified by:
getStandardUom
in interface Item
setItemClass
public void setItemClass(java.lang.String itemClass)
- Specified by:
setItemClass
in interface Item
setItemCollection
public void setItemCollection(ItemCollection itemCollection)
throws SystemException
- Specified by:
setItemCollection
in interface Item
- Throws:
SystemException
setItemDepartment
public void setItemDepartment(java.lang.String itemDepartment)
- Specified by:
setItemDepartment
in interface Item
setItemStatus
public void setItemStatus(java.lang.String itemStatus)
- Specified by:
setItemStatus
in interface Item
setItemSubclass
public void setItemSubclass(java.lang.String itemSubclass)
- Specified by:
setItemSubclass
in interface Item
setShortItemDescription
public void setShortItemDescription(java.lang.String shortItemDescription)
- Specified by:
setShortItemDescription
in interface Item
setItemNumberTypeCode
public void setItemNumberTypeCode(java.lang.String itemNumberType)
- Specified by:
setItemNumberTypeCode
in interface Item
setItemParentId
public void setItemParentId(java.lang.String itemParent)
- Specified by:
setItemParentId
in interface Item
setItemGrandparentId
public void setItemGrandparentId(java.lang.String itemGrandparent)
- Specified by:
setItemGrandparentId
in interface Item
setPack
public void setPack(boolean pack)
- Specified by:
setPack
in interface Item
setMerchandise
public void setMerchandise(boolean merchandise)
- Specified by:
setMerchandise
in interface Item
setNonDenominational
public void setNonDenominational(boolean nonDenominational)
- Specified by:
setNonDenominational
in interface Item
setGiftCard
public void setGiftCard(boolean giftCard)
- Specified by:
setGiftCard
in interface Item
setHandlingTemperatureCode
public void setHandlingTemperatureCode(java.lang.String handlingTemp)
- Specified by:
setHandlingTemperatureCode
in interface Item
setHandlingSensitivityCode
public void setHandlingSensitivityCode(java.lang.String handlingSensitivity)
- Specified by:
setHandlingSensitivityCode
in interface Item
setContainsInner
public void setContainsInner(boolean containsInner)
- Specified by:
setContainsInner
in interface Item
setUnitRetail
public void setUnitRetail(java.lang.String unitRetail)
- Specified by:
setUnitRetail
in interface Item
setShipAlone
public void setShipAlone(boolean shipAlone)
- Specified by:
setShipAlone
in interface Item
setItemLevel
protected void setItemLevel(int itemLevel)
submit
public final void submit()
throws SystemException,
BusinessException
- Specified by:
submit
in interface Item
- Throws:
SystemException
BusinessException
doSubmit
protected abstract void doSubmit()
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
doValidation
protected abstract ItemBusinessException doValidation()
throws SystemException,
BusinessException
- Throws:
SystemException
BusinessException
addDifferentiator
public void addDifferentiator(java.lang.String key,
Differentiator diff)
- Specified by:
addDifferentiator
in interface Item
addDifferentiators
public void addDifferentiators(java.util.Map diffs)
- Specified by:
addDifferentiators
in interface Item
getDifferentiators
public java.util.Collection getDifferentiators()
- Specified by:
getDifferentiators
in interface Item
getDifferentiatorTypes
public java.util.Collection getDifferentiatorTypes()
- Specified by:
getDifferentiatorTypes
in interface Item
isCareInstructions
public boolean isCareInstructions()
- Specified by:
isCareInstructions
in interface Item
getConveyableType
public ConveyableType getConveyableType()
- Specified by:
getConveyableType
in interface Item
isCrossSellBackOrder
public boolean isCrossSellBackOrder()
- Specified by:
isCrossSellBackOrder
in interface Item
getType
public ItemType getType()
- Specified by:
getType
in interface Item
isPerishable
public boolean isPerishable()
- Specified by:
isPerishable
in interface Item
isPersonalizationAvailable
public boolean isPersonalizationAvailable()
- Specified by:
isPersonalizationAvailable
in interface Item
isRecipeCard
public boolean isRecipeCard()
- Specified by:
isRecipeCard
in interface Item
getRegularEmployeeDiscountPercent
public Quantity getRegularEmployeeDiscountPercent()
- Specified by:
getRegularEmployeeDiscountPercent
in interface Item
getSaleEmployeeDiscountPercent
public Quantity getSaleEmployeeDiscountPercent()
- Specified by:
getSaleEmployeeDiscountPercent
in interface Item
isStandardDeliveryCharge
public boolean isStandardDeliveryCharge()
- Specified by:
isStandardDeliveryCharge
in interface Item
isSubstituteItemBackOrder
public boolean isSubstituteItemBackOrder()
- Specified by:
isSubstituteItemBackOrder
in interface Item
isSwatch
public boolean isSwatch()
- Specified by:
isSwatch
in interface Item
getTaxClassification
public java.lang.String getTaxClassification()
- Specified by:
getTaxClassification
in interface Item
isUpSellBackOrder
public boolean isUpSellBackOrder()
- Specified by:
isUpSellBackOrder
in interface Item
setCareInstructions
public void setCareInstructions(boolean careInstructions)
- Specified by:
setCareInstructions
in interface Item
setConveyableType
public void setConveyableType(ConveyableType conveyableType)
- Specified by:
setConveyableType
in interface Item
setCrossSellBackOrder
public void setCrossSellBackOrder(boolean crossSellBackOrder)
- Specified by:
setCrossSellBackOrder
in interface Item
setType
public void setType(ItemType type)
- Specified by:
setType
in interface Item
setPerishable
public void setPerishable(boolean perishable)
- Specified by:
setPerishable
in interface Item
setPersonalizationAvailable
public void setPersonalizationAvailable(boolean personalizationAvailable)
- Specified by:
setPersonalizationAvailable
in interface Item
setRecipeCard
public void setRecipeCard(boolean recipeCard)
- Specified by:
setRecipeCard
in interface Item
setRegularEmployeeDiscountPercent
public void setRegularEmployeeDiscountPercent(Quantity regularEmployeeDiscountPercent)
- Specified by:
setRegularEmployeeDiscountPercent
in interface Item
setSaleEmployeeDiscountPercent
public void setSaleEmployeeDiscountPercent(Quantity saleEmployeeDiscountPercent)
- Specified by:
setSaleEmployeeDiscountPercent
in interface Item
setStandardDeliveryCharge
public void setStandardDeliveryCharge(boolean standardDeliveryCharge)
- Specified by:
setStandardDeliveryCharge
in interface Item
setSubstituteItemBackOrder
public void setSubstituteItemBackOrder(boolean substituteItemBackOrder)
- Specified by:
setSubstituteItemBackOrder
in interface Item
setSwatch
public void setSwatch(boolean swatch)
- Specified by:
setSwatch
in interface Item
setTaxClassification
public void setTaxClassification(java.lang.String taxClassification)
- Specified by:
setTaxClassification
in interface Item
setUpSellBackOrder
public void setUpSellBackOrder(boolean upSellBackOrder)
- Specified by:
setUpSellBackOrder
in interface Item
setStandardUom
public void setStandardUom(java.lang.String standardUom)
- Specified by:
setStandardUom
in interface Item
addUdaValue
public void addUdaValue(UdaValue udaValue)
- Specified by:
addUdaValue
in interface Item
getUdaValues
public java.util.Set getUdaValues()
- Specified by:
getUdaValues
in interface Item
getUdaValueById
public UdaValue getUdaValueById(java.lang.String udaHeaderId,
java.lang.String udaValueId)
- Specified by:
getUdaValueById
in interface Item
getItemFreeFormUdaById
public ItemFreeFormUda getItemFreeFormUdaById(java.lang.String freeFormUdaId)
- Specified by:
getItemFreeFormUdaById
in interface Item
getFreeFormUdas
public java.util.Set getFreeFormUdas()
- Specified by:
getFreeFormUdas
in interface Item
addFreeFormUda
public void addFreeFormUda(ItemFreeFormUda freeFormUda)
throws SystemException
- Specified by:
addFreeFormUda
in interface Item
- Throws:
SystemException
isShippingRestrictionsDefaulted
public boolean isShippingRestrictionsDefaulted()
- Specified by:
isShippingRestrictionsDefaulted
in interface Item
getShortItemDescription35
public java.lang.String getShortItemDescription35()
- Specified by:
getShortItemDescription35
in interface Item
setShippingRestrictionsDefaulted
public void setShippingRestrictionsDefaulted(boolean b)
- Specified by:
setShippingRestrictionsDefaulted
in interface Item
setShortItemDescription35
public void setShortItemDescription35(java.lang.String string)
- Specified by:
setShortItemDescription35
in interface Item
isCatchWeight
public boolean isCatchWeight()
- Specified by:
isCatchWeight
in interface Item
isConstantDimension
public boolean isConstantDimension()
- Specified by:
isConstantDimension
in interface Item
getCostZoneGroupId
public java.lang.String getCostZoneGroupId()
- Specified by:
getCostZoneGroupId
in interface Item
getDefaultWastePercent
public java.lang.String getDefaultWastePercent()
- Specified by:
getDefaultWastePercent
in interface Item
isForecast
public boolean isForecast()
- Specified by:
isForecast
in interface Item
getFormatId
public java.lang.String getFormatId()
- Specified by:
getFormatId
in interface Item
getItemServiceLevel
public java.lang.String getItemServiceLevel()
- Specified by:
getItemServiceLevel
in interface Item
getMfgRecommendedRetailPrice
public java.lang.String getMfgRecommendedRetailPrice()
- Specified by:
getMfgRecommendedRetailPrice
in interface Item
isOrderable
public boolean isOrderable()
- Specified by:
isOrderable
in interface Item
getOrderAsType
public java.lang.String getOrderAsType()
- Specified by:
getOrderAsType
in interface Item
getPackageSize
public java.lang.String getPackageSize()
- Specified by:
getPackageSize
in interface Item
getPackageUom
public java.lang.String getPackageUom()
- Specified by:
getPackageUom
in interface Item
getPackType
public java.lang.String getPackType()
- Specified by:
getPackType
in interface Item
getPrefix
public java.lang.String getPrefix()
- Specified by:
getPrefix
in interface Item
isPrimaryRefItem
public boolean isPrimaryRefItem()
- Specified by:
isPrimaryRefItem
in interface Item
getRetailLabelType
public java.lang.String getRetailLabelType()
- Specified by:
getRetailLabelType
in interface Item
getRetailLabelValue
public java.lang.String getRetailLabelValue()
- Specified by:
getRetailLabelValue
in interface Item
getRetailZoneGroupId
public java.lang.String getRetailZoneGroupId()
- Specified by:
getRetailZoneGroupId
in interface Item
isSellable
public boolean isSellable()
- Specified by:
isSellable
in interface Item
isSimplePack
public boolean isSimplePack()
- Specified by:
isSimplePack
in interface Item
getStoreOrdMult
public java.lang.String getStoreOrdMult()
- Specified by:
getStoreOrdMult
in interface Item
getUomConversionFactor
public java.lang.String getUomConversionFactor()
- Specified by:
getUomConversionFactor
in interface Item
getWastePercent
public java.lang.String getWastePercent()
- Specified by:
getWastePercent
in interface Item
getWasteType
public java.lang.String getWasteType()
- Specified by:
getWasteType
in interface Item
setComments
public void setComments(java.lang.String comments)
- Specified by:
setComments
in interface Item
setCatchWeight
public void setCatchWeight(boolean b)
- Specified by:
setCatchWeight
in interface Item
setConstantDimension
public void setConstantDimension(boolean b)
- Specified by:
setConstantDimension
in interface Item
setCostZoneGroupId
public void setCostZoneGroupId(java.lang.String string)
- Specified by:
setCostZoneGroupId
in interface Item
setDefaultWastePercent
public void setDefaultWastePercent(java.lang.String string)
- Specified by:
setDefaultWastePercent
in interface Item
setForecast
public void setForecast(boolean b)
- Specified by:
setForecast
in interface Item
setFormatId
public void setFormatId(java.lang.String string)
- Specified by:
setFormatId
in interface Item
setItemServiceLevel
public void setItemServiceLevel(java.lang.String string)
- Specified by:
setItemServiceLevel
in interface Item
setMfgRecommendedRetailPrice
public void setMfgRecommendedRetailPrice(java.lang.String string)
- Specified by:
setMfgRecommendedRetailPrice
in interface Item
setOrderable
public void setOrderable(boolean b)
- Specified by:
setOrderable
in interface Item
setOrderAsType
public void setOrderAsType(java.lang.String string)
- Specified by:
setOrderAsType
in interface Item
setPackageSize
public void setPackageSize(java.lang.String string)
- Specified by:
setPackageSize
in interface Item
setPackageUom
public void setPackageUom(java.lang.String string)
- Specified by:
setPackageUom
in interface Item
setPackType
public void setPackType(java.lang.String string)
- Specified by:
setPackType
in interface Item
setPrefix
public void setPrefix(java.lang.String string)
- Specified by:
setPrefix
in interface Item
setPrimaryRefItem
public void setPrimaryRefItem(boolean b)
- Specified by:
setPrimaryRefItem
in interface Item
setRetailLabelType
public void setRetailLabelType(java.lang.String string)
- Specified by:
setRetailLabelType
in interface Item
setRetailLabelValue
public void setRetailLabelValue(java.lang.String string)
- Specified by:
setRetailLabelValue
in interface Item
setRetailZoneGroupId
public void setRetailZoneGroupId(java.lang.String string)
- Specified by:
setRetailZoneGroupId
in interface Item
setSellable
public void setSellable(boolean b)
- Specified by:
setSellable
in interface Item
setSimplePack
public void setSimplePack(boolean b)
- Specified by:
setSimplePack
in interface Item
setStoreOrdMult
public void setStoreOrdMult(java.lang.String string)
- Specified by:
setStoreOrdMult
in interface Item
setUomConversionFactor
public void setUomConversionFactor(java.lang.String string)
- Specified by:
setUomConversionFactor
in interface Item
setWastePercent
public void setWastePercent(java.lang.String string)
- Specified by:
setWastePercent
in interface Item
setWasteType
public void setWasteType(java.lang.String string)
- Specified by:
setWasteType
in interface Item
Copyright © 2004 Retek Inc. All Rights Reserved.
- Generated at Fri, 10/22/2004 07:28