com.retek.component.location
Interface Country

All Superinterfaces:
BusinessObject, com.retek.swing11.commons.type.Displayable, DistributedObject

public interface Country
extends DistributedObject, com.retek.swing11.commons.type.Displayable

This is a interface that holds on to the country information.


Field Summary
static java.lang.String DEFAULT_ZIP_CODE_RANGE
           
 
Method Summary
 void addNonBusinessDate(CountryNonBusinessDate nonBusinessDate)
           
 void addZipCodeRange(CountryZipCodeRange zipCodeRange)
           
 void deleteNonBusinessDate(CountryNonBusinessDate nonBusinessDate)
           
 void deleteZipCodeRange(CountryZipCodeRange zipCodeRange)
           
 java.lang.String getCode()
           
 CountryZipCodeRange getDefaultZipCodeRange()
           
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 java.util.List getNonBusinessDates()
           
 CountryZipCodeRange getZipCodeRange(java.lang.String shipToZipCode)
           
 java.util.List getZipCodeRanges()
           
 boolean isCanada()
           
 boolean isDefault()
           
 boolean isShippable()
           
 boolean isUSA()
           
 void setDefaultZipCodeRange(CountryZipCodeRange zipCodeRange)
           
 void submit(User user, boolean requirePriorities)
           
 
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
 
Methods inherited from interface com.retek.swing11.commons.type.Displayable
toDisplayString
 

Field Detail

DEFAULT_ZIP_CODE_RANGE

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

isDefault

public boolean isDefault()
                  throws SystemException
Throws:
SystemException

isShippable

public boolean isShippable()
                    throws SystemException
Throws:
SystemException

isUSA

public boolean isUSA()
              throws SystemException
Throws:
SystemException

isCanada

public boolean isCanada()
                 throws SystemException
Throws:
SystemException

getCode

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

getName

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

getDescription

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

getZipCodeRanges

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

getNonBusinessDates

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

getZipCodeRange

public CountryZipCodeRange getZipCodeRange(java.lang.String shipToZipCode)
                                    throws SystemException
Throws:
SystemException

getDefaultZipCodeRange

public CountryZipCodeRange getDefaultZipCodeRange()
                                           throws SystemException
Throws:
SystemException

addNonBusinessDate

public void addNonBusinessDate(CountryNonBusinessDate nonBusinessDate)
                        throws SystemException,
                               InvalidNonBusinessDayException
Throws:
SystemException
InvalidNonBusinessDayException

deleteNonBusinessDate

public void deleteNonBusinessDate(CountryNonBusinessDate nonBusinessDate)
                           throws SystemException
Throws:
SystemException

addZipCodeRange

public void addZipCodeRange(CountryZipCodeRange zipCodeRange)
                     throws SystemException
Throws:
SystemException

deleteZipCodeRange

public void deleteZipCodeRange(CountryZipCodeRange zipCodeRange)
                        throws SystemException
Throws:
SystemException

submit

public void submit(User user,
                   boolean requirePriorities)
            throws BusinessException,
                   SystemException
Throws:
BusinessException
SystemException

setDefaultZipCodeRange

public void setDefaultZipCodeRange(CountryZipCodeRange zipCodeRange)
                            throws SystemException
Throws:
SystemException


Copyright © 2005 Retek Inc. All Rights Reserved. - Generated at Fri, 01/21/2005 14:25