com.retek.component.item.impl
Class PackImpl

java.lang.Object
  extended bycom.retek.commons.domain.core.impl.BusinessObjectImpl
      extended bycom.retek.component.item.impl.AbstractItemThresholdableItem
          extended bycom.retek.component.item.impl.ItemImpl
              extended bycom.retek.component.item.impl.SellableItemImpl
                  extended bycom.retek.component.item.impl.PackImpl
All Implemented Interfaces:
BusinessObject, java.lang.Comparable, Item, ItemThresholdableItem, Pack, SellableItem, ThresholdableItem

public class PackImpl
extends SellableItemImpl
implements Pack


Field Summary
 
Fields inherited from class com.retek.component.item.impl.ItemImpl
methodMap
 
Fields inherited from interface com.retek.component.item.Pack
DEFAULT_PACK_SELLING_UOM
 
Fields inherited from interface com.retek.component.item.SellableItem
GIFT_CARDABLE_FLAG_METHOD_KEY, GIFT_WRAP_TYPE_CODE_METHOD_KEY, GIFT_WRAPPABLE_FLAG_METHOD_KEY, ITEM_LOCATION, SHIPPING_METHOD
 
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
 
Constructor Summary
PackImpl(DistributedContext context, PackDto dto)
           
 
Method Summary
 void addItem(Item item, Quantity quantity)
           
 void doSubmit()
           
 java.util.Set getAllPossibleComponentSuppliers()
           
 java.util.Set getAllPossiblePackAndComponentSuppliers()
           
 java.lang.String getDifferentiatorDescription(java.lang.String key)
           
 DifferentiatorType getDifferentiatorType(java.lang.String key)
           
 AbstractDto getDto()
           
 java.lang.String getItemDisplayCode()
           
 ItemDto getItemDto()
           
 java.util.Set getItemIds()
           
 java.util.Set getItems()
           
 Quantity getQuantityForId(java.lang.String id)
           
protected  SellableItemDto getSellableItemDto()
           
 boolean isDirectShippable()
           
 
Methods inherited from class com.retek.component.item.impl.SellableItemImpl
addItemLocation, addItemSupplier, addShippingMethod, doValidation, getChannelManager, getDescription, getDifferentiator, getDifferentiator, getGiftWrapType, getItemLocationOutboundHandlingDays, getItemLocations, getItemStores, getItemSupplier, getItemSuppliers, getLocationManager, getPrimaryDefaultWarehouse, getPrimaryDirectShipItemSupplier, getPrimaryItemSupplier, getPrimaryShippingMethod, getShippingMethodManager, getShippingMethods, hasItemLocation, invokeNoArgAccessor, isGiftCardable, isGiftMessageable, isGiftServiceable, isGiftWrappable, isInventoriable, match, removeShippingMethod, setGiftWrapType, setInventoriable, setPrimaryShippingMethod
 
Methods inherited from class com.retek.component.item.impl.ItemImpl
addDifferentiator, addDifferentiators, addFreeFormUda, addUdaValue, getComments, getContext, 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, 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 com.retek.component.item.impl.AbstractItemThresholdableItem
match
 
Methods inherited from class com.retek.commons.domain.core.impl.BusinessObjectImpl
compareTo, equals, getId, hashCode, isPersisted, isValid, setDescription, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.retek.component.item.Pack
addItemSupplier, getItemSuppliers
 
Methods inherited from interface com.retek.component.item.SellableItem
addItemLocation, addShippingMethod, getDifferentiator, getDifferentiator, getGiftWrapType, getItemLocationOutboundHandlingDays, getItemLocations, getItemStores, getItemSupplier, getPrimaryDefaultWarehouse, getPrimaryDirectShipItemSupplier, getPrimaryItemSupplier, getPrimaryShippingMethod, getShippingMethods, hasItemLocation, isGiftCardable, isGiftServiceable, isGiftWrappable, isStandardDeliveryCharge, removeShippingMethod, setGiftWrapType, setInventoriable, setPrimaryShippingMethod, setStandardDeliveryCharge
 
Methods inherited from interface com.retek.component.item.Item
addDifferentiator, addDifferentiators, addFreeFormUda, addUdaValue, getComments, getConveyableType, getCostZoneGroupId, getDefaultWastePercent, getDescription, 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, invokeNoArgAccessor, isCareInstructions, isCatchWeight, isConstantDimension, isContainsInner, isCrossSellBackOrder, isForecast, isGiftCard, isInventoriable, 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
 
Methods inherited from interface com.retek.commons.domain.core.BusinessObject
getId
 
Methods inherited from interface com.retek.component.item.ItemThresholdableItem
match
 
Methods inherited from interface com.retek.component.item.ThresholdableItem
match
 

Constructor Detail

PackImpl

public PackImpl(DistributedContext context,
                PackDto dto)
Method Detail

getSellableItemDto

protected SellableItemDto getSellableItemDto()
Specified by:
getSellableItemDto in class SellableItemImpl

getItemDto

public ItemDto getItemDto()
Specified by:
getItemDto in class ItemImpl

getDto

public AbstractDto getDto()
Specified by:
getDto in class BusinessObjectImpl

doSubmit

public void doSubmit()
              throws SystemException,
                     BusinessException
Specified by:
doSubmit in class ItemImpl
Throws:
SystemException
BusinessException

getAllPossibleComponentSuppliers

public java.util.Set getAllPossibleComponentSuppliers()
                                               throws SystemException,
                                                      BusinessException
Specified by:
getAllPossibleComponentSuppliers in interface Pack
Throws:
SystemException
BusinessException

getAllPossiblePackAndComponentSuppliers

public java.util.Set getAllPossiblePackAndComponentSuppliers()
                                                      throws SystemException,
                                                             BusinessException
Specified by:
getAllPossiblePackAndComponentSuppliers in interface Pack
Throws:
SystemException
BusinessException

addItem

public void addItem(Item item,
                    Quantity quantity)
Specified by:
addItem in interface Pack

getDifferentiatorDescription

public java.lang.String getDifferentiatorDescription(java.lang.String key)
Specified by:
getDifferentiatorDescription in interface Item
Overrides:
getDifferentiatorDescription in class SellableItemImpl

getDifferentiatorType

public DifferentiatorType getDifferentiatorType(java.lang.String key)
Specified by:
getDifferentiatorType in interface Item
Overrides:
getDifferentiatorType in class SellableItemImpl

getQuantityForId

public Quantity getQuantityForId(java.lang.String id)
Specified by:
getQuantityForId in interface Pack

getItemIds

public java.util.Set getItemIds()
Specified by:
getItemIds in interface Pack

getItems

public java.util.Set getItems()
                       throws SystemException
Specified by:
getItems in interface Pack
Throws:
SystemException

isDirectShippable

public boolean isDirectShippable()
                          throws SystemException
Specified by:
isDirectShippable in interface SellableItem
Overrides:
isDirectShippable in class SellableItemImpl
Throws:
SystemException

getItemDisplayCode

public java.lang.String getItemDisplayCode()
                                    throws SystemException
Specified by:
getItemDisplayCode in interface ThresholdableItem
Overrides:
getItemDisplayCode in class SellableItemImpl
Throws:
SystemException


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28