com.retek.component.media
Interface ShippingRateTable

All Superinterfaces:
BusinessObject, DistributedObject
All Known Implementing Classes:
ShippingRateTableImpl

public interface ShippingRateTable
extends DistributedObject


Field Summary
static java.lang.String BANNER
           
static java.lang.String CHANNEL_TYPE
           
static java.lang.String END_DATE
           
static java.lang.String NAME
           
static java.lang.String SHIPPING_RATES
           
static java.lang.String SOURCE_CODES
           
static java.lang.String START_DATE
           
static java.lang.String STATUS
           
static java.lang.String TYPE
           
 
Method Summary
 void addSourceCode(SourceCode sourceCode)
           
 void clearShippingRates()
           
 void clearSourceCodes()
           
 void copyShippingRates(ShippingRateTable fromShippingRateTable)
           
 Banner getBanner()
           
 ChannelType getChannelType()
           
 Money getDeliveryCharge(Money shippingAmount)
           
 RDate getEndDate()
           
 java.lang.String getName()
           
 Money getRangeMaximum()
           
 Money getRangeMinimum()
           
 Money getRushDeliveryCharge()
           
 Money getRushDeliveryChargeNonContiguous()
           
 Money getShippingCharge(Money shippingAmount)
           
 ShippingRate getShippingRate(Money shippingTotal)
           
 java.util.List getShippingRates()
           
 java.util.Set getSourceCodes()
           
 RDate getStartDate()
           
 ShippingRateTableStatus getStatus()
           
 ShippingRateTableType getType()
           
 boolean hasShippingAndHandlingChargesDefined()
           
 boolean isInRange(Money shippingAmount)
           
 boolean isShippingRatesAdjustable()
          Return boolean indicating if the shipping rate table's rates are adjustable.
 void setBanner(Banner banner)
           
 void setChannelType(ChannelType channelType)
           
 void setEndDate(RDate endDate)
           
 void setName(java.lang.String name)
           
 void setRushDeliveryCharge(Money rushDeliveryCharge)
           
 void setRushDeliveryChargeNonContiguous(Money rushDeliveryChargeNonContiguous)
           
 void setStartDate(RDate startDate)
           
 void submit()
           
 
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
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values

TYPE

public static final java.lang.String TYPE
See Also:
Constant Field Values

BANNER

public static final java.lang.String BANNER
See Also:
Constant Field Values

SHIPPING_RATES

public static final java.lang.String SHIPPING_RATES
See Also:
Constant Field Values

START_DATE

public static final java.lang.String START_DATE
See Also:
Constant Field Values

END_DATE

public static final java.lang.String END_DATE
See Also:
Constant Field Values

SOURCE_CODES

public static final java.lang.String SOURCE_CODES
See Also:
Constant Field Values

STATUS

public static final java.lang.String STATUS
See Also:
Constant Field Values

CHANNEL_TYPE

public static final java.lang.String CHANNEL_TYPE
See Also:
Constant Field Values
Method Detail

getDeliveryCharge

public Money getDeliveryCharge(Money shippingAmount)
                        throws SystemException
Throws:
SystemException

getRangeMaximum

public Money getRangeMaximum()
                      throws SystemException
Throws:
SystemException

getRangeMinimum

public Money getRangeMinimum()
                      throws SystemException
Throws:
SystemException

isInRange

public boolean isInRange(Money shippingAmount)
                  throws SystemException
Throws:
SystemException

getShippingRates

public java.util.List getShippingRates()
                                throws SystemException
Throws:
SystemException

submit

public void submit()
            throws SystemException,
                   BusinessException
Throws:
SystemException
BusinessException

copyShippingRates

public void copyShippingRates(ShippingRateTable fromShippingRateTable)
                       throws SystemException
Throws:
SystemException

clearShippingRates

public void clearShippingRates()
                        throws SystemException
Throws:
SystemException

getShippingRate

public ShippingRate getShippingRate(Money shippingTotal)
                             throws SystemException
Throws:
SystemException

addSourceCode

public void addSourceCode(SourceCode sourceCode)
                   throws SystemException
Throws:
SystemException

clearSourceCodes

public void clearSourceCodes()
                      throws SystemException
Throws:
SystemException

setBanner

public void setBanner(Banner banner)
               throws SystemException
Throws:
SystemException

getBanner

public Banner getBanner()
                 throws SystemException
Throws:
SystemException

setChannelType

public void setChannelType(ChannelType channelType)
                    throws SystemException
Throws:
SystemException

getChannelType

public ChannelType getChannelType()
                           throws SystemException
Throws:
SystemException

setName

public void setName(java.lang.String name)
             throws SystemException
Throws:
SystemException

getName

public java.lang.String getName()
                         throws SystemException
Throws:
SystemException

setStartDate

public void setStartDate(RDate startDate)
                  throws SystemException
Throws:
SystemException

getStartDate

public RDate getStartDate()
                   throws SystemException
Throws:
SystemException

setEndDate

public void setEndDate(RDate endDate)
                throws SystemException
Throws:
SystemException

getEndDate

public RDate getEndDate()
                 throws SystemException
Throws:
SystemException

setRushDeliveryCharge

public void setRushDeliveryCharge(Money rushDeliveryCharge)
                           throws SystemException
Throws:
SystemException

getRushDeliveryCharge

public Money getRushDeliveryCharge()
                            throws SystemException
Throws:
SystemException

setRushDeliveryChargeNonContiguous

public void setRushDeliveryChargeNonContiguous(Money rushDeliveryChargeNonContiguous)
                                        throws SystemException
Throws:
SystemException

getRushDeliveryChargeNonContiguous

public Money getRushDeliveryChargeNonContiguous()
                                         throws SystemException
Throws:
SystemException

getSourceCodes

public java.util.Set getSourceCodes()
                             throws SystemException,
                                    BusinessException
Throws:
SystemException
BusinessException

getStatus

public ShippingRateTableStatus getStatus()
                                  throws SystemException
Throws:
SystemException

getType

public ShippingRateTableType getType()
                              throws SystemException
Throws:
SystemException

isShippingRatesAdjustable

public boolean isShippingRatesAdjustable()
                                  throws SystemException
Return boolean indicating if the shipping rate table's rates are adjustable. If the rate table is in WORKSHEET status is rates are adjustable.

Returns:
boolean true if rates are adjustable
Throws:
SystemException

hasShippingAndHandlingChargesDefined

public boolean hasShippingAndHandlingChargesDefined()
                                             throws SystemException
Throws:
SystemException

getShippingCharge

public Money getShippingCharge(Money shippingAmount)
                        throws SystemException
Throws:
SystemException


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