com.retek.component.location.impl
Class CountryImpl
java.lang.Object
com.retek.commons.component.impl.BusinessObjectImpl
com.retek.commons.component.impl.DistributedObjectImpl
com.retek.component.location.impl.CountryImpl
- All Implemented Interfaces:
- BusinessObject, Country, com.retek.swing11.commons.type.Displayable, DistributedObject
- public class CountryImpl
- extends DistributedObjectImpl
- implements Country
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 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 |
CountryImpl
public CountryImpl(DistributedContext context,
DistributedReference reference,
boolean createHollow)
throws SystemException
CountryImpl
public CountryImpl(DistributedContext context,
DistributedReference reference)
throws SystemException
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