com.retek.component.location.impl
Class CountryImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.DistributedObjectImpl
          extended bycom.retek.component.location.impl.CountryImpl
All Implemented Interfaces:
BusinessObject, Country, com.retek.swing11.commons.type.Displayable, DistributedObject

public class CountryImpl
extends DistributedObjectImpl
implements Country


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.location.Country
DEFAULT_ZIP_CODE_RANGE
 
Constructor Summary
CountryImpl(DistributedContext context, DistributedReference reference)
           
CountryImpl(DistributedContext context, DistributedReference reference, boolean createHollow)
           
 
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()
           
 CountryDto getDto()
           
 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()
           
 Dto readLatest()
           
 void setDefaultZipCodeRange(CountryZipCodeRange zipCodeRange)
           
 void submit(User user, boolean requirePriorities)
           
 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

CountryImpl

public CountryImpl(DistributedContext context,
                   DistributedReference reference,
                   boolean createHollow)
            throws SystemException

CountryImpl

public CountryImpl(DistributedContext context,
                   DistributedReference reference)
            throws SystemException
Method Detail

getDto

public CountryDto getDto()
                  throws SystemException
Throws:
SystemException

getCode

public java.lang.String getCode()
                         throws SystemException
Specified by:
getCode in interface Country
Throws:
SystemException

getName

public java.lang.String getName()
                         throws SystemException
Specified by:
getName in interface Country
Throws:
SystemException

getDescription

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

getZipCodeRanges

public java.util.List getZipCodeRanges()
                                throws SystemException
Specified by:
getZipCodeRanges in interface Country
Throws:
SystemException

getNonBusinessDates

public java.util.List getNonBusinessDates()
                                   throws SystemException
Specified by:
getNonBusinessDates in interface Country
Throws:
SystemException

getZipCodeRange

public CountryZipCodeRange getZipCodeRange(java.lang.String shipToZipCode)
                                    throws SystemException
Specified by:
getZipCodeRange in interface Country
Throws:
SystemException

isDefault

public boolean isDefault()
                  throws SystemException
Specified by:
isDefault in interface Country
Throws:
SystemException

isShippable

public boolean isShippable()
                    throws SystemException
Specified by:
isShippable in interface Country
Throws:
SystemException

isUSA

public boolean isUSA()
              throws SystemException
Specified by:
isUSA in interface Country
Throws:
SystemException

isCanada

public boolean isCanada()
                 throws SystemException
Specified by:
isCanada in interface Country
Throws:
SystemException

readLatest

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

addNonBusinessDate

public void addNonBusinessDate(CountryNonBusinessDate nonBusinessDate)
                        throws SystemException,
                               InvalidNonBusinessDayException
Specified by:
addNonBusinessDate in interface Country
Throws:
SystemException
InvalidNonBusinessDayException

addZipCodeRange

public void addZipCodeRange(CountryZipCodeRange zipCodeRange)
                     throws SystemException
Specified by:
addZipCodeRange in interface Country
Throws:
SystemException

deleteZipCodeRange

public void deleteZipCodeRange(CountryZipCodeRange zipCodeRange)
                        throws SystemException
Specified by:
deleteZipCodeRange in interface Country
Throws:
SystemException

deleteNonBusinessDate

public void deleteNonBusinessDate(CountryNonBusinessDate nonBusinessDate)
                           throws SystemException
Specified by:
deleteNonBusinessDate in interface Country
Throws:
SystemException

setDefaultZipCodeRange

public void setDefaultZipCodeRange(CountryZipCodeRange zipCodeRange)
                            throws SystemException
Specified by:
setDefaultZipCodeRange in interface Country
Throws:
SystemException

getDefaultZipCodeRange

public CountryZipCodeRange getDefaultZipCodeRange()
                                           throws SystemException
Specified by:
getDefaultZipCodeRange in interface Country
Throws:
SystemException

submit

public void submit(User user,
                   boolean requirePriorities)
            throws BusinessException,
                   SystemException
Specified by:
submit in interface Country
Throws:
BusinessException
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