com.retek.component.item.impl
Class SellableItemImpl
java.lang.Object
com.retek.commons.domain.core.impl.BusinessObjectImpl
com.retek.component.item.impl.AbstractItemThresholdableItem
com.retek.component.item.impl.ItemImpl
com.retek.component.item.impl.SellableItemImpl
- All Implemented Interfaces:
- BusinessObject, java.lang.Comparable, Item, ItemThresholdableItem, SellableItem, ThresholdableItem
- Direct Known Subclasses:
- PackImpl, SkuImpl
- public abstract class SellableItemImpl
- extends ItemImpl
- implements SellableItem
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 com.retek.component.item.impl.ItemImpl |
addDifferentiator, addDifferentiators, addFreeFormUda, addUdaValue, doSubmit, getComments, getContext, getConveyableType, getCostZoneGroupId, getDefaultWastePercent, getDifferentiators, getDifferentiatorTypes, getFormatId, getFreeFormUdas, getHandlingSensitivityCode, getHandlingTemperatureCode, getItemClass, getItemCollection, getItemCollectionCode, getItemDepartment, getItemDto, getItemFreeFormUdaById, getItemGrandparentId, getItemLevel, getItemNumberTypeCode, getItemParentId, getItemServiceLevel, getItemStatus, getItemSubclass, getMfgRecommendedRetailPrice, getOrderAsType, getPackageSize, getPackageUom, getPackType, getPrefix, getRegularEmployeeDiscountPercent, getRetailLabelType, getRetailLabelValue, getRetailZoneGroupId, getSaleEmployeeDiscountPercent, getShortItemDescription, getShortItemDescription35, getStandardUom, getStoreOrdMult, getTaxClassification, getTransactionLevel, getType, getUdaValueById, getUdaValues, getUnitRetail, getUomConversionFactor, getWastePercent, getWasteType, isCareInstructions, isCatchWeight, isConstantDimension, isContainsInner, isCrossSellBackOrder, isForecast, isGiftCard, isMerchandise, isNonDenominational, isOrderable, isPack, isPerishable, isPersonalizationAvailable, isPrimaryRefItem, isRecipeCard, isSellable, isShipAlone, isShippingRestrictionsDefaulted, isSimplePack, isStandardDeliveryCharge, isSubstituteItemBackOrder, isSwatch, isUpSellBackOrder, setCareInstructions, setCatchWeight, setComments, setConstantDimension, setContainsInner, setConveyableType, setCostZoneGroupId, setCrossSellBackOrder, setDefaultWastePercent, setForecast, setFormatId, setGiftCard, setHandlingSensitivityCode, setHandlingTemperatureCode, setItemClass, setItemCollection, setItemDepartment, setItemGrandparentId, setItemLevel, setItemNumberTypeCode, setItemParentId, setItemServiceLevel, setItemStatus, setItemSubclass, setMerchandise, setMfgRecommendedRetailPrice, setNonDenominational, setOrderable, setOrderAsType, setPack, setPackageSize, setPackageUom, setPackType, setPerishable, setPersonalizationAvailable, setPrefix, setPrimaryRefItem, setRecipeCard, setRegularEmployeeDiscountPercent, setRetailLabelType, setRetailLabelValue, setRetailZoneGroupId, setSaleEmployeeDiscountPercent, setSellable, setShipAlone, setShippingRestrictionsDefaulted, setShortItemDescription, setShortItemDescription35, setSimplePack, setStandardDeliveryCharge, setStandardUom, setStoreOrdMult, setSubstituteItemBackOrder, setSwatch, setTaxClassification, setType, setUnitRetail, setUomConversionFactor, setUpSellBackOrder, setWastePercent, setWasteType, submit |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.retek.component.item.Item |
addDifferentiator, addDifferentiators, addFreeFormUda, addUdaValue, getComments, getConveyableType, getCostZoneGroupId, getDefaultWastePercent, getDifferentiators, getDifferentiatorTypes, getFormatId, getFreeFormUdas, getHandlingSensitivityCode, getHandlingTemperatureCode, getItemClass, getItemCollection, getItemCollectionCode, getItemDepartment, getItemFreeFormUdaById, getItemGrandparentId, getItemLevel, getItemNumberTypeCode, getItemParentId, getItemServiceLevel, getItemStatus, getItemSubclass, getMfgRecommendedRetailPrice, getOrderAsType, getPackageSize, getPackageUom, getPackType, getPrefix, getRegularEmployeeDiscountPercent, getRetailLabelType, getRetailLabelValue, getRetailZoneGroupId, getSaleEmployeeDiscountPercent, getShortItemDescription, getShortItemDescription35, getStandardUom, getStoreOrdMult, getTaxClassification, getTransactionLevel, getType, getUdaValueById, getUdaValues, getUnitRetail, getUomConversionFactor, getWastePercent, getWasteType, isCareInstructions, isCatchWeight, isConstantDimension, isContainsInner, isCrossSellBackOrder, isForecast, isGiftCard, isMerchandise, isNonDenominational, isOrderable, isPack, isPerishable, isPersisted, isPersonalizationAvailable, isPrimaryRefItem, isRecipeCard, isSellable, isShipAlone, isShippingRestrictionsDefaulted, isSimplePack, isSubstituteItemBackOrder, isSwatch, isUpSellBackOrder, setCareInstructions, setCatchWeight, setComments, setConstantDimension, setContainsInner, setConveyableType, setCostZoneGroupId, setCrossSellBackOrder, setDefaultWastePercent, setDescription, setForecast, setFormatId, setGiftCard, setHandlingSensitivityCode, setHandlingTemperatureCode, setItemClass, setItemCollection, setItemDepartment, setItemGrandparentId, setItemNumberTypeCode, setItemParentId, setItemServiceLevel, setItemStatus, setItemSubclass, setMerchandise, setMfgRecommendedRetailPrice, setNonDenominational, setOrderable, setOrderAsType, setPack, setPackageSize, setPackageUom, setPackType, setPerishable, setPersonalizationAvailable, setPrefix, setPrimaryRefItem, setRecipeCard, setRegularEmployeeDiscountPercent, setRetailLabelType, setRetailLabelValue, setRetailZoneGroupId, setSaleEmployeeDiscountPercent, setSellable, setShipAlone, setShippingRestrictionsDefaulted, setShortItemDescription, setShortItemDescription35, setSimplePack, setStandardUom, setStoreOrdMult, setSubstituteItemBackOrder, setSwatch, setTaxClassification, setType, setUnitRetail, setUomConversionFactor, setUpSellBackOrder, setWastePercent, setWasteType, submit |
SellableItemImpl
public SellableItemImpl(DistributedContext context)
invokeNoArgAccessor
public java.lang.Object invokeNoArgAccessor(java.lang.String methodKey)
throws SystemException
- Specified by:
invokeNoArgAccessor
in interface Item
- Overrides:
invokeNoArgAccessor
in class ItemImpl
- Throws:
SystemException
getSellableItemDto
protected abstract SellableItemDto getSellableItemDto()
isInventoriable
public boolean isInventoriable()
- Specified by:
isInventoriable
in interface Item
- Specified by:
isInventoriable
in class ItemImpl
getItemLocations
public java.util.Collection getItemLocations()
- Specified by:
getItemLocations
in interface SellableItem
hasItemLocation
public boolean hasItemLocation(Location location)
throws SystemException
- Specified by:
hasItemLocation
in interface SellableItem
- Throws:
SystemException
doValidation
protected ItemBusinessException doValidation()
throws SystemException,
BusinessException
- Specified by:
doValidation
in class ItemImpl
- Throws:
SystemException
BusinessException
getItemStores
public java.util.Collection getItemStores()
- Specified by:
getItemStores
in interface SellableItem
addItemLocation
public void addItemLocation(ItemLocation itemLocation)
- Specified by:
addItemLocation
in interface SellableItem
getItemSuppliers
public java.util.Collection getItemSuppliers()
- Specified by:
getItemSuppliers
in interface SellableItem
getItemSupplier
public ItemSupplier getItemSupplier(Supplier supplier)
throws SystemException,
BusinessException
- Specified by:
getItemSupplier
in interface SellableItem
- Throws:
SystemException
BusinessException
getPrimaryItemSupplier
public ItemSupplier getPrimaryItemSupplier()
throws SystemException,
BusinessException
- Specified by:
getPrimaryItemSupplier
in interface SellableItem
- Throws:
SystemException
BusinessException
addItemSupplier
public void addItemSupplier(ItemSupplier itemSupplier)
- Specified by:
addItemSupplier
in interface SellableItem
setInventoriable
public void setInventoriable(boolean inventoryable)
- Specified by:
setInventoriable
in interface SellableItem
isDirectShippable
public boolean isDirectShippable()
throws SystemException
- Specified by:
isDirectShippable
in interface SellableItem
- Throws:
SystemException
getPrimaryDirectShipItemSupplier
public ItemSupplier getPrimaryDirectShipItemSupplier()
- Specified by:
getPrimaryDirectShipItemSupplier
in interface SellableItem
getDifferentiator
public Differentiator getDifferentiator(java.lang.String key)
- Specified by:
getDifferentiator
in interface SellableItem
getDifferentiatorDescription
public java.lang.String getDifferentiatorDescription(java.lang.String key)
throws SystemException
- Specified by:
getDifferentiatorDescription
in interface Item
- Throws:
SystemException
getDifferentiatorType
public DifferentiatorType getDifferentiatorType(java.lang.String key)
- Specified by:
getDifferentiatorType
in interface Item
getDifferentiator
public Differentiator getDifferentiator(DifferentiatorType differentiatorType)
- Specified by:
getDifferentiator
in interface SellableItem
getItemLocationOutboundHandlingDays
public int getItemLocationOutboundHandlingDays(java.lang.String locationId)
throws SystemException,
BusinessException
- Specified by:
getItemLocationOutboundHandlingDays
in interface SellableItem
- Throws:
SystemException
BusinessException
getShippingMethods
public java.util.Set getShippingMethods()
throws SystemException
- Specified by:
getShippingMethods
in interface SellableItem
- Throws:
SystemException
addShippingMethod
public void addShippingMethod(ShippingMethod shippingMethod)
throws SystemException
- Specified by:
addShippingMethod
in interface SellableItem
- Throws:
SystemException
removeShippingMethod
public void removeShippingMethod(ShippingMethod shippingMethod)
throws SystemException
- Specified by:
removeShippingMethod
in interface SellableItem
- Throws:
SystemException
getPrimaryShippingMethod
public ShippingMethod getPrimaryShippingMethod()
throws SystemException
- Specified by:
getPrimaryShippingMethod
in interface SellableItem
- Throws:
SystemException
setPrimaryShippingMethod
public void setPrimaryShippingMethod(ShippingMethod shippingMethod)
throws SystemException
- Specified by:
setPrimaryShippingMethod
in interface SellableItem
- Throws:
SystemException
getGiftWrapType
public GiftWrapType getGiftWrapType()
- Specified by:
getGiftWrapType
in interface SellableItem
setGiftWrapType
public void setGiftWrapType(GiftWrapType giftWrapType)
- Specified by:
setGiftWrapType
in interface SellableItem
isGiftWrappable
public boolean isGiftWrappable()
- Specified by:
isGiftWrappable
in interface SellableItem
isGiftCardable
public boolean isGiftCardable()
- Specified by:
isGiftCardable
in interface SellableItem
isGiftMessageable
public boolean isGiftMessageable()
isGiftServiceable
public boolean isGiftServiceable()
- Specified by:
isGiftServiceable
in interface SellableItem
getPrimaryDefaultWarehouse
public Warehouse getPrimaryDefaultWarehouse()
throws SystemException,
BusinessException
- Specified by:
getPrimaryDefaultWarehouse
in interface SellableItem
- Throws:
SystemException
BusinessException
getShippingMethodManager
protected ShippingMethodManager getShippingMethodManager()
throws SystemException
- Throws:
SystemException
getLocationManager
protected LocationManager getLocationManager()
throws SystemException
- Throws:
SystemException
getChannelManager
protected ChannelManager getChannelManager()
throws SystemException
- Throws:
SystemException
getItemDisplayCode
public java.lang.String getItemDisplayCode()
throws SystemException
- Specified by:
getItemDisplayCode
in interface ThresholdableItem
- Specified by:
getItemDisplayCode
in class AbstractItemThresholdableItem
- Throws:
SystemException
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interface Item
- Specified by:
getDescription
in class AbstractItemThresholdableItem
match
public boolean match(SellableItem sellableItem)
throws SystemException
- Specified by:
match
in interface ItemThresholdableItem
- Specified by:
match
in class AbstractItemThresholdableItem
- Throws:
SystemException
Copyright © 2004 Retek Inc. All Rights Reserved.
- Generated at Fri, 10/22/2004 07:28