com.retek.component.item.impl
Class ItemSupplierImpl

java.lang.Object
  extended bycom.retek.commons.domain.core.impl.BusinessObjectImpl
      extended bycom.retek.component.item.impl.ItemSupplierImpl
All Implemented Interfaces:
BusinessObject, java.lang.Comparable, com.retek.swing11.commons.type.Displayable, ItemSupplier

public class ItemSupplierImpl
extends BusinessObjectImpl
implements ItemSupplier


Field Summary
 
Fields inherited from interface com.retek.component.item.ItemSupplier
PERSONALIZATION_ATTRIBUTE
 
Constructor Summary
ItemSupplierImpl(DistributedContext context, ItemSupplierDto dto)
           
 
Method Summary
 void addItemSupplierCountryAttribute(ItemSupplierCountryAttribute attribute)
           
 void addItemSupplierPersonalizationAttribute(PersonalizationStyleType persStyleType, ItemSupplierPersonalizationAttribute itemSupplierPersonalizationAttribute)
           
 RDate getDiscontinueDate()
           
protected  AbstractDto getDto()
           
 java.lang.String getId()
           
 java.lang.String getItemId()
           
 java.util.Set getItemSupplierCountryAttributes()
           
 ItemSupplierDto getItemSupplierDto()
           
 ItemSupplierPersonalizationAttribute getItemSupplierPersonalizationAttribute(PersonalizationStyleType styleType)
           
 java.util.Collection getItemSupplierPersonalizationAttributes()
           
 java.lang.String getLabel()
           
 java.util.Set getPersonalizationStyleTypes()
           
 Supplier getSupplier()
           
 java.lang.String getVpn()
           
 boolean isDirectShipIndicator()
           
 boolean isPersonalizationActive()
           
 boolean isPersonalizationOnItemSupported()
           
 boolean isPrimaryDirectShipSupplierIndicator()
           
 boolean isPrimarySupplierIndicator()
           
 boolean isSpecialCustomerOrdersPossibleIndicator()
           
 void setDirectShipIndicator(boolean directShipIndicator)
           
 void setDiscontinueDate(RDate discontinueDate)
           
 void setItemId(java.lang.String itemId)
           
 void setLabel(java.lang.String label)
           
 void setPersonalizationActive(boolean active)
           
 void setPrimaryDirectShipSupplierIndicator(boolean primaryDirectShipSupplierIndicator)
           
 void setPrimarySupplierIndicator(boolean primarySupplierIndicator)
           
 void setSpecialCustomerOrdersPossibleIndicator(boolean specialCustomerOrdersPossibleIndicator)
           
 void setSupplierId(java.lang.String supplierId)
           
 void setVpn(java.lang.String vpn)
           
 java.lang.String toDisplayString()
           
 
Methods inherited from class com.retek.commons.domain.core.impl.BusinessObjectImpl
compareTo, equals, getDescription, 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.ItemSupplier
isPersisted, setDescription
 

Constructor Detail

ItemSupplierImpl

public ItemSupplierImpl(DistributedContext context,
                        ItemSupplierDto dto)
Method Detail

getDto

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

getItemSupplierDto

public ItemSupplierDto getItemSupplierDto()

getId

public java.lang.String getId()
Specified by:
getId in interface BusinessObject
Overrides:
getId in class BusinessObjectImpl

getDiscontinueDate

public RDate getDiscontinueDate()
Specified by:
getDiscontinueDate in interface ItemSupplier

isDirectShipIndicator

public boolean isDirectShipIndicator()
Specified by:
isDirectShipIndicator in interface ItemSupplier

isPrimarySupplierIndicator

public boolean isPrimarySupplierIndicator()
Specified by:
isPrimarySupplierIndicator in interface ItemSupplier

getItemId

public java.lang.String getItemId()
Specified by:
getItemId in interface ItemSupplier

isPersonalizationActive

public boolean isPersonalizationActive()
Specified by:
isPersonalizationActive in interface ItemSupplier

isPersonalizationOnItemSupported

public boolean isPersonalizationOnItemSupported()
Specified by:
isPersonalizationOnItemSupported in interface ItemSupplier

setPersonalizationActive

public void setPersonalizationActive(boolean active)
Specified by:
setPersonalizationActive in interface ItemSupplier

getSupplier

public Supplier getSupplier()
                     throws BusinessException,
                            SystemException
Specified by:
getSupplier in interface ItemSupplier
Throws:
BusinessException
SystemException

getLabel

public java.lang.String getLabel()
Specified by:
getLabel in interface ItemSupplier

getVpn

public java.lang.String getVpn()
Specified by:
getVpn in interface ItemSupplier

getItemSupplierPersonalizationAttribute

public ItemSupplierPersonalizationAttribute getItemSupplierPersonalizationAttribute(PersonalizationStyleType styleType)
                                                                             throws BusinessException
Specified by:
getItemSupplierPersonalizationAttribute in interface ItemSupplier
Throws:
BusinessException

setDiscontinueDate

public void setDiscontinueDate(RDate discontinueDate)
Specified by:
setDiscontinueDate in interface ItemSupplier

setDirectShipIndicator

public void setDirectShipIndicator(boolean directShipIndicator)
Specified by:
setDirectShipIndicator in interface ItemSupplier

setPrimarySupplierIndicator

public void setPrimarySupplierIndicator(boolean primarySupplierIndicator)
Specified by:
setPrimarySupplierIndicator in interface ItemSupplier

setItemId

public void setItemId(java.lang.String itemId)
Specified by:
setItemId in interface ItemSupplier

setSupplierId

public void setSupplierId(java.lang.String supplierId)
Specified by:
setSupplierId in interface ItemSupplier

setLabel

public void setLabel(java.lang.String label)
Specified by:
setLabel in interface ItemSupplier

getItemSupplierPersonalizationAttributes

public java.util.Collection getItemSupplierPersonalizationAttributes()
Specified by:
getItemSupplierPersonalizationAttributes in interface ItemSupplier

getPersonalizationStyleTypes

public java.util.Set getPersonalizationStyleTypes()
Specified by:
getPersonalizationStyleTypes in interface ItemSupplier

getItemSupplierCountryAttributes

public java.util.Set getItemSupplierCountryAttributes()
Specified by:
getItemSupplierCountryAttributes in interface ItemSupplier

addItemSupplierPersonalizationAttribute

public void addItemSupplierPersonalizationAttribute(PersonalizationStyleType persStyleType,
                                                    ItemSupplierPersonalizationAttribute itemSupplierPersonalizationAttribute)
                                             throws BusinessException
Specified by:
addItemSupplierPersonalizationAttribute in interface ItemSupplier
Throws:
BusinessException

addItemSupplierCountryAttribute

public void addItemSupplierCountryAttribute(ItemSupplierCountryAttribute attribute)
Specified by:
addItemSupplierCountryAttribute in interface ItemSupplier

isPrimaryDirectShipSupplierIndicator

public boolean isPrimaryDirectShipSupplierIndicator()
Specified by:
isPrimaryDirectShipSupplierIndicator in interface ItemSupplier

isSpecialCustomerOrdersPossibleIndicator

public boolean isSpecialCustomerOrdersPossibleIndicator()
Specified by:
isSpecialCustomerOrdersPossibleIndicator in interface ItemSupplier

setPrimaryDirectShipSupplierIndicator

public void setPrimaryDirectShipSupplierIndicator(boolean primaryDirectShipSupplierIndicator)
Specified by:
setPrimaryDirectShipSupplierIndicator in interface ItemSupplier

setSpecialCustomerOrdersPossibleIndicator

public void setSpecialCustomerOrdersPossibleIndicator(boolean specialCustomerOrdersPossibleIndicator)
Specified by:
setSpecialCustomerOrdersPossibleIndicator in interface ItemSupplier

setVpn

public void setVpn(java.lang.String vpn)
Specified by:
setVpn in interface ItemSupplier

toDisplayString

public java.lang.String toDisplayString()
Specified by:
toDisplayString in interface com.retek.swing11.commons.type.Displayable


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