com.retek.component.supplier.impl
Class SupplierImpl
java.lang.Object
com.retek.commons.domain.core.impl.BusinessObjectImpl
com.retek.component.supplier.impl.SupplierImpl
- All Implemented Interfaces:
- BusinessObject, java.lang.Comparable, com.retek.swing11.commons.type.Displayable, Supplier, SupplierRib
- public class SupplierImpl
- extends BusinessObjectImpl
- implements Supplier, SupplierRib
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SupplierImpl
public SupplierImpl(DistributedContext context,
SupplierDto dto)
getContext
public DistributedContext getContext()
getName
public java.lang.String getName()
- Specified by:
getName
in interface Supplier
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interface Supplier
- Overrides:
getDescription
in class BusinessObjectImpl
isBackorderAccepted
public boolean isBackorderAccepted()
- Specified by:
isBackorderAccepted
in interface Supplier
getContactFax
public java.lang.String getContactFax()
- Specified by:
getContactFax
in interface Supplier
getContactName
public java.lang.String getContactName()
- Specified by:
getContactName
in interface Supplier
getContactPhone
public java.lang.String getContactPhone()
- Specified by:
getContactPhone
in interface Supplier
getCurrencyCode
public java.lang.String getCurrencyCode()
- Specified by:
getCurrencyCode
in interface Supplier
getDefaultItemLeadTime
public java.lang.Integer getDefaultItemLeadTime()
- Specified by:
getDefaultItemLeadTime
in interface Supplier
getLanguage
public java.lang.String getLanguage()
- Specified by:
getLanguage
in interface Supplier
getPaymentMethod
public java.lang.String getPaymentMethod()
- Specified by:
getPaymentMethod
in interface Supplier
isReturnAllowed
public boolean isReturnAllowed()
- Specified by:
isReturnAllowed
in interface Supplier
getReturnCourier
public java.lang.String getReturnCourier()
- Specified by:
getReturnCourier
in interface Supplier
getReturnMinimumDollarAmount
public Money getReturnMinimumDollarAmount()
- Specified by:
getReturnMinimumDollarAmount
in interface Supplier
getShippingMethod
public java.lang.String getShippingMethod()
- Specified by:
getShippingMethod
in interface Supplier
getSupplierStatus
public SupplierStatus getSupplierStatus()
- Specified by:
getSupplierStatus
in interface Supplier
getTerms
public java.lang.String getTerms()
- Specified by:
getTerms
in interface Supplier
getDirectShipPoLevel
public java.lang.String getDirectShipPoLevel()
- Specified by:
getDirectShipPoLevel
in interface Supplier
getDirectShipPoLines
public java.lang.String getDirectShipPoLines()
- Specified by:
getDirectShipPoLines
in interface Supplier
getGiftWrapIndicator
public boolean getGiftWrapIndicator()
- Specified by:
getGiftWrapIndicator
in interface Supplier
getOrderTypeSeparateIndicator
public boolean getOrderTypeSeparateIndicator()
- Specified by:
getOrderTypeSeparateIndicator
in interface Supplier
getPersonalizationSeparateIndicator
public boolean getPersonalizationSeparateIndicator()
- Specified by:
getPersonalizationSeparateIndicator
in interface Supplier
getAllContactMethods
public java.util.Set getAllContactMethods()
- Specified by:
getAllContactMethods
in interface Supplier
getAllPoDeliveryContactMethods
public java.util.Set getAllPoDeliveryContactMethods()
- Specified by:
getAllPoDeliveryContactMethods
in interface Supplier
getPrimaryPoDeliveryContactMethod
public SupplierContactMethod getPrimaryPoDeliveryContactMethod()
- Specified by:
getPrimaryPoDeliveryContactMethod
in interface Supplier
getUnitsPerDirectShipContact
public java.lang.String getUnitsPerDirectShipContact()
- Specified by:
getUnitsPerDirectShipContact
in interface Supplier
getAllLocations
public java.util.Set getAllLocations()
- Specified by:
getAllLocations
in interface Supplier
getPrimaryLocationForLocationType
public SupplierLocation getPrimaryLocationForLocationType(SupplierLocationType supplierLocationType)
- Specified by:
getPrimaryLocationForLocationType
in interface Supplier
getLocationByRibId
public SupplierLocation getLocationByRibId(SupplierLocationType type,
java.lang.String sequenceNumber)
- Specified by:
getLocationByRibId
in interface SupplierRib
setName
public void setName(java.lang.String name)
- Specified by:
setName
in interface Supplier
setBackorderAccepted
public void setBackorderAccepted(boolean backorderIndicator)
- Specified by:
setBackorderAccepted
in interface Supplier
setContactFax
public void setContactFax(java.lang.String contactFax)
- Specified by:
setContactFax
in interface Supplier
setContactName
public void setContactName(java.lang.String contactName)
- Specified by:
setContactName
in interface Supplier
setContactPhone
public void setContactPhone(java.lang.String contactPhone)
- Specified by:
setContactPhone
in interface Supplier
setCurrencyCode
public void setCurrencyCode(java.lang.String currencyCode)
- Specified by:
setCurrencyCode
in interface Supplier
setDefaultItemLeadTime
public void setDefaultItemLeadTime(java.lang.Integer defaultItemLeadTime)
- Specified by:
setDefaultItemLeadTime
in interface Supplier
setLanguage
public void setLanguage(java.lang.String language)
- Specified by:
setLanguage
in interface Supplier
setPaymentMethod
public void setPaymentMethod(java.lang.String paymentMethod)
- Specified by:
setPaymentMethod
in interface Supplier
setReturnAllowed
public void setReturnAllowed(boolean returnAllowIndicator)
- Specified by:
setReturnAllowed
in interface Supplier
setReturnCourier
public void setReturnCourier(java.lang.String returnCourier)
- Specified by:
setReturnCourier
in interface Supplier
setReturnMinimumDollarAmount
public void setReturnMinimumDollarAmount(Money returnMinimumDollarAmount)
- Specified by:
setReturnMinimumDollarAmount
in interface Supplier
setShippingMethod
public void setShippingMethod(java.lang.String shippingMethod)
- Specified by:
setShippingMethod
in interface Supplier
setSupplierStatus
public void setSupplierStatus(SupplierStatus supplierStatus)
- Specified by:
setSupplierStatus
in interface Supplier
setTerms
public void setTerms(java.lang.String terms)
- Specified by:
setTerms
in interface Supplier
setDirectShipPoLevel
public void setDirectShipPoLevel(java.lang.String directShipPoLevel)
- Specified by:
setDirectShipPoLevel
in interface Supplier
setDirectShipPoLines
public void setDirectShipPoLines(java.lang.String directShipPoLines)
- Specified by:
setDirectShipPoLines
in interface Supplier
setGiftWrapIndicator
public void setGiftWrapIndicator(boolean giftWrapIndicator)
- Specified by:
setGiftWrapIndicator
in interface Supplier
setOrderTypeSeparateIndicator
public void setOrderTypeSeparateIndicator(boolean orderTypeSeparateIndicator)
- Specified by:
setOrderTypeSeparateIndicator
in interface Supplier
setPersonalizationSeparateIndicator
public void setPersonalizationSeparateIndicator(boolean personalizationSeparateIndicator)
- Specified by:
setPersonalizationSeparateIndicator
in interface Supplier
setUnitsPerDirectShipContact
public void setUnitsPerDirectShipContact(java.lang.String unitsPerDirectShipContact)
- Specified by:
setUnitsPerDirectShipContact
in interface Supplier
addContactMethod
public void addContactMethod(SupplierContactMethod supplierContactMethod)
- Specified by:
addContactMethod
in interface Supplier
setPrimaryPoDeliveryContactMethod
public void setPrimaryPoDeliveryContactMethod(SupplierContactMethod method)
- Specified by:
setPrimaryPoDeliveryContactMethod
in interface Supplier
getPersonalizationRestrictedCharacters
public java.util.Set getPersonalizationRestrictedCharacters()
- Specified by:
getPersonalizationRestrictedCharacters
in interface Supplier
isRestrictedCharacter
public boolean isRestrictedCharacter(java.lang.Character c)
- Specified by:
isRestrictedCharacter
in interface Supplier
addPersonalizationRestrictedCharacter
public void addPersonalizationRestrictedCharacter(java.lang.Character character)
- Specified by:
addPersonalizationRestrictedCharacter
in interface Supplier
addSupplierPersonalizationStyleType
public void addSupplierPersonalizationStyleType(PersonalizationStyleType supplierPersonalizationType)
- Specified by:
addSupplierPersonalizationStyleType
in interface Supplier
addPersonalizationFont
public void addPersonalizationFont(PersonalizationFont newFont)
throws SystemException
- Specified by:
addPersonalizationFont
in interface Supplier
- Throws:
SystemException
removePersonalizationRestrictedCharacter
public boolean removePersonalizationRestrictedCharacter(java.lang.Character character)
throws SystemException
- Specified by:
removePersonalizationRestrictedCharacter
in interface Supplier
- Throws:
SystemException
removePersonalizationStyleType
public boolean removePersonalizationStyleType(PersonalizationStyleType styleType)
throws SystemException
- Specified by:
removePersonalizationStyleType
in interface Supplier
- Throws:
SystemException
removePersonalizationFont
public boolean removePersonalizationFont(PersonalizationFont font)
throws SystemException
- Specified by:
removePersonalizationFont
in interface Supplier
- Throws:
SystemException
removePersonalizationColor
public boolean removePersonalizationColor(PersonalizationColor color)
throws SystemException
- Specified by:
removePersonalizationColor
in interface Supplier
- Throws:
SystemException
addPersonalizationColor
public void addPersonalizationColor(PersonalizationColor newColor)
throws SystemException
- Specified by:
addPersonalizationColor
in interface Supplier
- Throws:
SystemException
addLocation
public void addLocation(SupplierLocation location)
- Specified by:
addLocation
in interface Supplier
setPrimaryLocationForLocationType
public void setPrimaryLocationForLocationType(SupplierLocation location)
- Specified by:
setPrimaryLocationForLocationType
in interface Supplier
getPersonalizationStyleTypes
public java.util.Set getPersonalizationStyleTypes()
- Specified by:
getPersonalizationStyleTypes
in interface Supplier
getDto
public AbstractDto getDto()
- Specified by:
getDto
in class BusinessObjectImpl
submit
public void submit()
throws SystemException,
BusinessException
- Specified by:
submit
in interface Supplier
- Throws:
SystemException
BusinessException
isDirectShip
public boolean isDirectShip()
- Specified by:
isDirectShip
in interface Supplier
clearContactMethods
public void clearContactMethods()
- Specified by:
clearContactMethods
in interface SupplierRib
getSupplierContactMethod
public SupplierContactMethod getSupplierContactMethod(java.lang.String id)
- Specified by:
getSupplierContactMethod
in interface Supplier
getPersonalizationFonts
public java.util.Set getPersonalizationFonts()
throws SystemException
- Specified by:
getPersonalizationFonts
in interface Supplier
- Throws:
SystemException
getPersonalizationColors
public java.util.Set getPersonalizationColors()
throws SystemException
- Specified by:
getPersonalizationColors
in interface Supplier
- Throws:
SystemException
addCallSchedule
public void addCallSchedule(SupplierCallSchedule callSchedule)
- Specified by:
addCallSchedule
in interface Supplier
setCallSchedules
public void setCallSchedules(java.util.Set contactDays)
throws SystemException,
BusinessException
- Description copied from interface:
Supplier
- Creates a call schedule for each contact day in the passed set. Replaces any previous call schedules
for this supplier with those created for the passed set. Default contact level for each call schedule
is "order".
- Specified by:
setCallSchedules
in interface Supplier
- Throws:
SystemException
BusinessException
getAllCallSchedules
public java.util.Set getAllCallSchedules()
- Specified by:
getAllCallSchedules
in interface Supplier
findCallSchedule
public SupplierCallSchedule findCallSchedule(ContactDayType contactDayType)
- Specified by:
findCallSchedule
in interface Supplier
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