com.retek.component.item.impl
Class StyleImpl

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.StyleImpl
All Implemented Interfaces:
BusinessObject, java.lang.Comparable, Item, ItemThresholdableItem, Style, ThresholdableItem

public class StyleImpl
extends ItemImpl
implements Style


Field Summary
 
Fields inherited from class com.retek.component.item.impl.ItemImpl
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
 
Constructor Summary
StyleImpl(DistributedContext context, StyleDto dto)
           
 
Method Summary
 void addDifferentiatorGroupHeader(java.lang.String key, DifferentiatorGroupHeader diffGroupHeader)
           
 void addDifferentiators(java.util.Map diffs)
           
 void addSku(Sku sku)
           
 void doSubmit()
           
protected  ItemBusinessException doValidation()
           
 java.lang.String getDescription()
           
 java.lang.String getDifferentiatorDescription(java.lang.String key)
           
 java.lang.String getDifferentiatorId(java.lang.String key)
           
 java.util.Collection getDifferentiators()
           
 DifferentiatorType getDifferentiatorType(java.lang.String key)
           
 AbstractDto getDto()
           
 java.lang.String getItemDisplayCode()
           
 ItemDto getItemDto()
           
 java.util.Collection getSkus()
           
 boolean isInventoriable()
           
 boolean match(SellableItem sellableItem)
           
 
Methods inherited from class com.retek.component.item.impl.ItemImpl
addDifferentiator, addFreeFormUda, addUdaValue, getComments, getContext, getConveyableType, getCostZoneGroupId, getDefaultWastePercent, 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, 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.Item
addDifferentiator, addFreeFormUda, addUdaValue, getComments, getConveyableType, getCostZoneGroupId, getDefaultWastePercent, 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, isMerchandise, isNonDenominational, isOrderable, isPack, isPerishable, isPersisted, isPersonalizationAvailable, isPrimaryRefItem, isRecipeCard, isSellable, isShipAlone, isShippingRestrictionsDefaulted, isSimplePack, isStandardDeliveryCharge, 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, setStandardDeliveryCharge, 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.ThresholdableItem
match
 

Constructor Detail

StyleImpl

public StyleImpl(DistributedContext context,
                 StyleDto dto)
Method Detail

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

doValidation

protected ItemBusinessException doValidation()
                                      throws SystemException,
                                             BusinessException
Specified by:
doValidation in class ItemImpl
Throws:
SystemException
BusinessException

addSku

public void addSku(Sku sku)
Specified by:
addSku in interface Style

getSkus

public java.util.Collection getSkus()
Specified by:
getSkus in interface Style

isInventoriable

public boolean isInventoriable()
Specified by:
isInventoriable in interface Item
Specified by:
isInventoriable in class ItemImpl

addDifferentiatorGroupHeader

public void addDifferentiatorGroupHeader(java.lang.String key,
                                         DifferentiatorGroupHeader diffGroupHeader)
Specified by:
addDifferentiatorGroupHeader in interface Style

getDifferentiators

public java.util.Collection getDifferentiators()
Specified by:
getDifferentiators in interface Item
Overrides:
getDifferentiators in class ItemImpl

addDifferentiators

public void addDifferentiators(java.util.Map diffs)
Specified by:
addDifferentiators in interface Item
Overrides:
addDifferentiators in class ItemImpl

getDifferentiatorDescription

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

getDifferentiatorType

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

getDifferentiatorId

public java.lang.String getDifferentiatorId(java.lang.String key)
Specified by:
getDifferentiatorId in interface Style

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