com.retek.component.banner_channel.impl
Class BannerImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.DistributedObjectImpl
          extended bycom.retek.component.banner_channel.impl.BannerImpl
All Implemented Interfaces:
Banner, BusinessObject, com.retek.swing11.commons.type.Displayable, DistributedObject

public class BannerImpl
extends DistributedObjectImpl
implements Banner


Nested Class Summary
 
Nested classes inherited from class com.retek.commons.component.impl.DistributedObjectImpl
DistributedObjectImpl.DtoBurgular
 
Field Summary
 
Fields inherited from class com.retek.commons.component.impl.BusinessObjectImpl
context
 
Fields inherited from interface com.retek.component.banner_channel.Banner
BANNER_DISPLAY_CODE, CREDIT_CARD_AUTHORIZATION_LEAD_TIME_DAYS, DEFAULT_CANCEL_DAYS, EVENT_HOLD_DAYS, EXPIRATION_LAG_DAYS
 
Constructor Summary
BannerImpl(DistributedContext context, DistributedReference ref, boolean createHollow)
           
BannerImpl(DistributedContext context, DistributedReference ref, java.lang.String displayCode)
           
 
Method Summary
 void addChannelType(ChannelType channelType)
           
 void addGiftService(GiftService giftService)
           
 void delete()
           
 java.util.Set getAllNonMerchExportSkuIds()
           
 int getBackorderNotificationDelayDays()
           
 int getBackorderNotificationLeadTimeDays()
           
 Channel getChannel(ChannelType channelType)
           
 java.util.Set getChannelTypes()
           
 int getCreditCardAuthorizationLeadTimeDays()
           
 int getDefaultBackorderDeliveryDays()
           
 java.lang.Integer getDefaultCancelDays()
           
 Warehouse getDefaultReturnWarehouse()
           
 ShippingMethod getDefaultShippingMethod()
           
 java.lang.String getDescription()
           
 java.lang.String getDisplayCode()
           
 BannerDto getDto()
           
 Quantity getEventHoldDays()
           
 java.lang.Integer getExpirationLagDays()
           
 java.util.Collection getGiftingSeasonsForGiftService(GiftServiceType giftServiceType)
           
 GiftService getGiftService(GiftServiceType serviceType)
           
 java.util.Set getGiftServices()
           
 IntegrationReference getIntegrationReference()
           
 java.lang.Integer getInternetSummaryCancelDays()
           
 Money getMinimumAmountForMerchandiseCredit()
           
 Money getMonogrammingFee()
           
 int getPersonalHoldDeliveryDateLimit()
           
 Money getPersonalizationFee()
           
 Money getReturnThresholdAmount()
           
 java.lang.String getSalesAuditShippingAndHandlingExportSkuId()
           
 java.lang.String getSalesAuditVasGeneralExportSkuId()
           
 java.lang.String getSalesAuditVasGiftCardExportSkuId()
           
 java.lang.String getSalesAuditVasGiftWrapExportSkuId()
           
 java.lang.String getSalesAuditVasMonogramExportSkuId()
           
 java.lang.String getSalesAuditVasPersonalizationExportSkuId()
           
 Money getUnderpaymentAmountTolerance()
           
 Quantity getUnderpaymentPercentTolerance()
           
 boolean isMerchandiseCreditAsCertificate()
           
protected  Dto readLatest()
           
 void setBackorderNotificationDelayDays(int days)
           
 void setBackorderNotificationLeadTimeDays(int days)
           
 void setCreditCardAuthorizationLeadTimeDays(int creditCardAuthorizationLeadTimeDays)
           
 void setDefaultBackorderDeliveryDays(int days)
           
 void setDefaultCancelDays(int days)
           
 void setDefaultCancelDays(java.lang.Integer days)
           
 void setDefaultReturnWarehouse(Warehouse returnWarehouse)
           
 void setDefaultShippingMethod(ShippingMethod shippingMethod)
           
 void setDescription(java.lang.String description)
           
 void setDisplayCode(java.lang.String displayCode)
           
 void setEventHoldDays(Quantity eventHoldDays)
           
 void setExpirationLagDays(int i)
           
 void setExpirationLagDays(java.lang.Integer i)
           
 void setInternetSummaryCancelDays(java.lang.Integer i)
           
 void setMerchandiseCreditAsCertificate(boolean merchandiseCreditAsCertificate)
           
 void setMinimumAmountForMerchandiseCredit(Money minAmount)
           
 void setMonogrammingFee(Money amt)
           
 void setPersonalHoldDeliveryDateLimit(int days)
           
 void setPersonalizationFee(Money amt)
           
 void setReturnThresholdAmount(Money thresholdAmount)
           
 void setSalesAuditShippingAndHandlingExportSkuId(java.lang.String skuId)
           
 void setSalesAuditVasGeneralExportSkuId(java.lang.String exportSkuId)
           
 void setSalesAuditVasGiftCardExportSkuId(java.lang.String exportSkuId)
           
 void setSalesAuditVasGiftWrapExportSkuId(java.lang.String exportSkuId)
           
 void setSalesAuditVasMonogramExportSkuId(java.lang.String exportSkuId)
           
 void setSalesAuditVasPersonalizationExportSkuId(java.lang.String exportSkuId)
           
 void submit()
           
 java.lang.String toDisplayString()
           
 
Methods inherited from class com.retek.commons.component.impl.DistributedObjectImpl
attributesToString, createEmptyDto, debugToString, discardChanges, discardChangesShallow, equals, getGenericDto, getId, getReference, getReference, getVersion, hashCode, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isHollow, isPersisted, markAllDeleted, refresh, toString, wrap, wrap, wrap, wrap
 
Methods inherited from class com.retek.commons.component.impl.BusinessObjectImpl
checkRelation, checkRelation, getBusinessInterface, getContext
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.retek.commons.component.DistributedObject
debugToString, discardChanges, getContext, getId, getReference, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isPersisted, refresh
 
Methods inherited from interface com.retek.commons.component.BusinessObject
getBusinessInterface
 

Constructor Detail

BannerImpl

public BannerImpl(DistributedContext context,
                  DistributedReference ref,
                  boolean createHollow)
           throws SystemException

BannerImpl

public BannerImpl(DistributedContext context,
                  DistributedReference ref,
                  java.lang.String displayCode)
           throws SystemException
Method Detail

getDto

public BannerDto getDto()
                 throws SystemException
Throws:
SystemException

getChannel

public Channel getChannel(ChannelType channelType)
                   throws SystemException
Specified by:
getChannel in interface Banner
Throws:
SystemException

getChannelTypes

public java.util.Set getChannelTypes()
                              throws SystemException
Specified by:
getChannelTypes in interface Banner
Throws:
SystemException

getEventHoldDays

public Quantity getEventHoldDays()
                          throws SystemException
Specified by:
getEventHoldDays in interface Banner
Throws:
SystemException

getDisplayCode

public java.lang.String getDisplayCode()
                                throws SystemException
Specified by:
getDisplayCode in interface Banner
Throws:
SystemException

getCreditCardAuthorizationLeadTimeDays

public int getCreditCardAuthorizationLeadTimeDays()
                                           throws SystemException
Specified by:
getCreditCardAuthorizationLeadTimeDays in interface Banner
Throws:
SystemException

getDefaultCancelDays

public java.lang.Integer getDefaultCancelDays()
                                       throws SystemException
Specified by:
getDefaultCancelDays in interface Banner
Throws:
SystemException

getPersonalizationFee

public Money getPersonalizationFee()
                            throws SystemException
Specified by:
getPersonalizationFee in interface Banner
Throws:
SystemException

getMonogrammingFee

public Money getMonogrammingFee()
                         throws SystemException
Specified by:
getMonogrammingFee in interface Banner
Throws:
SystemException

getBackorderNotificationLeadTimeDays

public int getBackorderNotificationLeadTimeDays()
                                         throws SystemException
Specified by:
getBackorderNotificationLeadTimeDays in interface Banner
Throws:
SystemException

getBackorderNotificationDelayDays

public int getBackorderNotificationDelayDays()
                                      throws SystemException
Specified by:
getBackorderNotificationDelayDays in interface Banner
Throws:
SystemException

getReturnThresholdAmount

public Money getReturnThresholdAmount()
                               throws SystemException
Specified by:
getReturnThresholdAmount in interface Banner
Throws:
SystemException

getDefaultReturnWarehouse

public Warehouse getDefaultReturnWarehouse()
                                    throws SystemException
Specified by:
getDefaultReturnWarehouse in interface Banner
Throws:
SystemException

getDefaultShippingMethod

public ShippingMethod getDefaultShippingMethod()
                                        throws SystemException
Specified by:
getDefaultShippingMethod in interface Banner
Throws:
SystemException

getIntegrationReference

public IntegrationReference getIntegrationReference()
                                             throws SystemException
Specified by:
getIntegrationReference in interface Banner
Throws:
SystemException

addChannelType

public void addChannelType(ChannelType channelType)
                    throws SystemException
Specified by:
addChannelType in interface Banner
Throws:
SystemException

setEventHoldDays

public void setEventHoldDays(Quantity eventHoldDays)
                      throws SystemException
Specified by:
setEventHoldDays in interface Banner
Throws:
SystemException

setDisplayCode

public void setDisplayCode(java.lang.String displayCode)
                    throws SystemException
Specified by:
setDisplayCode in interface Banner
Throws:
SystemException

setDefaultCancelDays

public void setDefaultCancelDays(int days)
                          throws SystemException
Specified by:
setDefaultCancelDays in interface Banner
Throws:
SystemException

setDefaultReturnWarehouse

public void setDefaultReturnWarehouse(Warehouse returnWarehouse)
                               throws SystemException
Specified by:
setDefaultReturnWarehouse in interface Banner
Throws:
SystemException

setDefaultCancelDays

public void setDefaultCancelDays(java.lang.Integer days)
                          throws SystemException
Specified by:
setDefaultCancelDays in interface Banner
Throws:
SystemException

setCreditCardAuthorizationLeadTimeDays

public void setCreditCardAuthorizationLeadTimeDays(int creditCardAuthorizationLeadTimeDays)
                                            throws SystemException
Specified by:
setCreditCardAuthorizationLeadTimeDays in interface Banner
Throws:
SystemException

setPersonalizationFee

public void setPersonalizationFee(Money amt)
                           throws SystemException
Specified by:
setPersonalizationFee in interface Banner
Throws:
SystemException

setMonogrammingFee

public void setMonogrammingFee(Money amt)
                        throws SystemException
Specified by:
setMonogrammingFee in interface Banner
Throws:
SystemException

setDefaultShippingMethod

public void setDefaultShippingMethod(ShippingMethod shippingMethod)
                              throws SystemException
Specified by:
setDefaultShippingMethod in interface Banner
Throws:
SystemException

setBackorderNotificationLeadTimeDays

public void setBackorderNotificationLeadTimeDays(int days)
                                          throws SystemException
Specified by:
setBackorderNotificationLeadTimeDays in interface Banner
Throws:
SystemException

setBackorderNotificationDelayDays

public void setBackorderNotificationDelayDays(int days)
                                       throws SystemException
Specified by:
setBackorderNotificationDelayDays in interface Banner
Throws:
SystemException

setReturnThresholdAmount

public void setReturnThresholdAmount(Money thresholdAmount)
                              throws SystemException
Specified by:
setReturnThresholdAmount in interface Banner
Throws:
SystemException

setMinimumAmountForMerchandiseCredit

public void setMinimumAmountForMerchandiseCredit(Money minAmount)
                                          throws SystemException
Specified by:
setMinimumAmountForMerchandiseCredit in interface Banner
Throws:
SystemException

getGiftServices

public java.util.Set getGiftServices()
                              throws SystemException
Specified by:
getGiftServices in interface Banner
Throws:
SystemException

getAllNonMerchExportSkuIds

public java.util.Set getAllNonMerchExportSkuIds()
                                         throws SystemException
Specified by:
getAllNonMerchExportSkuIds in interface Banner
Throws:
SystemException

getGiftService

public GiftService getGiftService(GiftServiceType serviceType)
                           throws SystemException
Specified by:
getGiftService in interface Banner
Throws:
SystemException

addGiftService

public void addGiftService(GiftService giftService)
                    throws SystemException
Specified by:
addGiftService in interface Banner
Throws:
SystemException

submit

public void submit()
            throws SystemException,
                   BusinessException
Specified by:
submit in interface Banner
Throws:
SystemException
BusinessException

delete

public void delete()
            throws SystemException
Specified by:
delete in interface Banner
Throws:
SystemException

setDescription

public void setDescription(java.lang.String description)
                    throws SystemException
Specified by:
setDescription in interface Banner
Throws:
SystemException

getDescription

public java.lang.String getDescription()
                                throws SystemException
Specified by:
getDescription in interface Banner
Throws:
SystemException

getMinimumAmountForMerchandiseCredit

public Money getMinimumAmountForMerchandiseCredit()
                                           throws SystemException
Specified by:
getMinimumAmountForMerchandiseCredit in interface Banner
Throws:
SystemException

getPersonalHoldDeliveryDateLimit

public int getPersonalHoldDeliveryDateLimit()
                                     throws SystemException
Specified by:
getPersonalHoldDeliveryDateLimit in interface Banner
Throws:
SystemException

setPersonalHoldDeliveryDateLimit

public void setPersonalHoldDeliveryDateLimit(int days)
                                      throws SystemException
Specified by:
setPersonalHoldDeliveryDateLimit in interface Banner
Throws:
SystemException

getDefaultBackorderDeliveryDays

public int getDefaultBackorderDeliveryDays()
                                    throws SystemException
Specified by:
getDefaultBackorderDeliveryDays in interface Banner
Throws:
SystemException

setDefaultBackorderDeliveryDays

public void setDefaultBackorderDeliveryDays(int days)
                                     throws SystemException
Specified by:
setDefaultBackorderDeliveryDays in interface Banner
Throws:
SystemException

getGiftingSeasonsForGiftService

public java.util.Collection getGiftingSeasonsForGiftService(GiftServiceType giftServiceType)
                                                     throws SystemException
Specified by:
getGiftingSeasonsForGiftService in interface Banner
Throws:
SystemException

getSalesAuditShippingAndHandlingExportSkuId

public java.lang.String getSalesAuditShippingAndHandlingExportSkuId()
                                                             throws SystemException
Specified by:
getSalesAuditShippingAndHandlingExportSkuId in interface Banner
Throws:
SystemException

setSalesAuditShippingAndHandlingExportSkuId

public void setSalesAuditShippingAndHandlingExportSkuId(java.lang.String skuId)
                                                 throws SystemException
Specified by:
setSalesAuditShippingAndHandlingExportSkuId in interface Banner
Throws:
SystemException

getSalesAuditVasPersonalizationExportSkuId

public java.lang.String getSalesAuditVasPersonalizationExportSkuId()
                                                            throws SystemException
Specified by:
getSalesAuditVasPersonalizationExportSkuId in interface Banner
Throws:
SystemException

setSalesAuditVasPersonalizationExportSkuId

public void setSalesAuditVasPersonalizationExportSkuId(java.lang.String exportSkuId)
                                                throws SystemException
Specified by:
setSalesAuditVasPersonalizationExportSkuId in interface Banner
Throws:
SystemException

getSalesAuditVasMonogramExportSkuId

public java.lang.String getSalesAuditVasMonogramExportSkuId()
                                                     throws SystemException
Specified by:
getSalesAuditVasMonogramExportSkuId in interface Banner
Throws:
SystemException

getSalesAuditVasGeneralExportSkuId

public java.lang.String getSalesAuditVasGeneralExportSkuId()
                                                    throws SystemException
Specified by:
getSalesAuditVasGeneralExportSkuId in interface Banner
Throws:
SystemException

setSalesAuditVasMonogramExportSkuId

public void setSalesAuditVasMonogramExportSkuId(java.lang.String exportSkuId)
                                         throws SystemException
Specified by:
setSalesAuditVasMonogramExportSkuId in interface Banner
Throws:
SystemException

getSalesAuditVasGiftCardExportSkuId

public java.lang.String getSalesAuditVasGiftCardExportSkuId()
                                                     throws SystemException
Specified by:
getSalesAuditVasGiftCardExportSkuId in interface Banner
Throws:
SystemException

setSalesAuditVasGiftCardExportSkuId

public void setSalesAuditVasGiftCardExportSkuId(java.lang.String exportSkuId)
                                         throws SystemException
Specified by:
setSalesAuditVasGiftCardExportSkuId in interface Banner
Throws:
SystemException

getSalesAuditVasGiftWrapExportSkuId

public java.lang.String getSalesAuditVasGiftWrapExportSkuId()
                                                     throws SystemException
Specified by:
getSalesAuditVasGiftWrapExportSkuId in interface Banner
Throws:
SystemException

setSalesAuditVasGiftWrapExportSkuId

public void setSalesAuditVasGiftWrapExportSkuId(java.lang.String exportSkuId)
                                         throws SystemException
Specified by:
setSalesAuditVasGiftWrapExportSkuId in interface Banner
Throws:
SystemException

setSalesAuditVasGeneralExportSkuId

public void setSalesAuditVasGeneralExportSkuId(java.lang.String exportSkuId)
                                        throws SystemException
Specified by:
setSalesAuditVasGeneralExportSkuId in interface Banner
Throws:
SystemException

getUnderpaymentAmountTolerance

public Money getUnderpaymentAmountTolerance()
                                     throws SystemException
Specified by:
getUnderpaymentAmountTolerance in interface Banner
Throws:
SystemException

getUnderpaymentPercentTolerance

public Quantity getUnderpaymentPercentTolerance()
                                         throws SystemException
Specified by:
getUnderpaymentPercentTolerance in interface Banner
Throws:
SystemException

setMerchandiseCreditAsCertificate

public void setMerchandiseCreditAsCertificate(boolean merchandiseCreditAsCertificate)
                                       throws SystemException
Specified by:
setMerchandiseCreditAsCertificate in interface Banner
Throws:
SystemException

isMerchandiseCreditAsCertificate

public boolean isMerchandiseCreditAsCertificate()
                                         throws SystemException
Specified by:
isMerchandiseCreditAsCertificate in interface Banner
Throws:
SystemException

readLatest

protected Dto readLatest()
                  throws SystemException
Overrides:
readLatest in class DistributedObjectImpl
Throws:
SystemException

getInternetSummaryCancelDays

public java.lang.Integer getInternetSummaryCancelDays()
                                               throws SystemException
Specified by:
getInternetSummaryCancelDays in interface Banner
Throws:
SystemException

setInternetSummaryCancelDays

public void setInternetSummaryCancelDays(java.lang.Integer i)
                                  throws SystemException
Specified by:
setInternetSummaryCancelDays in interface Banner
Throws:
SystemException

getExpirationLagDays

public java.lang.Integer getExpirationLagDays()
                                       throws SystemException
Specified by:
getExpirationLagDays in interface Banner
Throws:
SystemException

setExpirationLagDays

public void setExpirationLagDays(java.lang.Integer i)
                          throws SystemException
Specified by:
setExpirationLagDays in interface Banner
Throws:
SystemException

setExpirationLagDays

public void setExpirationLagDays(int i)
                          throws SystemException
Specified by:
setExpirationLagDays in interface Banner
Throws:
SystemException

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