|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.retek.commons.component.impl.BusinessObjectImpl
com.retek.commons.component.impl.DistributedObjectImpl
com.retek.component.shipping.impl.CarrierImpl
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.shipping.Carrier |
ACCOUNT_NUMBER, DESCRIPTION, DISPLAY_CODE, PICKUP, SHIPMENT_TRACKING_NUMBER_URL_PATTERN, TRACKING_NUMBER_URL_WILDCARD |
Constructor Summary | |
CarrierImpl(DistributedContext context,
DistributedReference reference,
boolean createHollow)
|
|
CarrierImpl(DistributedContext context,
DistributedReference reference,
java.lang.String displayCode,
java.lang.String description)
|
Method Summary | |
java.lang.String |
getAccountNumber()
Get the account number for the billing account number of the carrier. |
RDate |
getCutOffTime()
|
java.lang.String |
getDescription()
|
java.lang.String |
getDisplayCode()
|
java.lang.String |
getShipmentTrackingUrl(java.lang.String shipmentTrackingNumber)
Return a valid shipment tracking url for a given shipment tracking number (from a shipment container). |
java.lang.String |
getShipmentTrackingUrlPattern()
Return the shipment tracking website url pattern string. |
boolean |
isDefaultPickupCarrier()
Get the state of this objects deafult pickup nature in the system. |
boolean |
isPickup()
Get the state of this object pickup nature. |
protected Dto |
readLatest()
|
void |
setAccountNumber(java.lang.String accountNumber)
Set the account number to the billing account number for a carrier. |
void |
setCutOffTime(RDate cutOffTime)
|
void |
setDefaultPickupCarrier(boolean isDefaultPickupCarrier)
Set the state of this object default pickup nature in the system. |
void |
setDescription(java.lang.String description)
|
void |
setPickup(boolean canPickup)
Set the state of this object pickup nature. |
void |
setShipmentTrackingUrlPattern(java.lang.String shipmentTrackingUrlPattern)
Set the shipment tracking url pattern for the carrier's tracking website. |
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 |
public CarrierImpl(DistributedContext context, DistributedReference reference, boolean createHollow) throws SystemException
public CarrierImpl(DistributedContext context, DistributedReference reference, java.lang.String displayCode, java.lang.String description) throws SystemException
Method Detail |
protected Dto readLatest() throws SystemException
readLatest
in class DistributedObjectImpl
SystemException
public java.lang.String getDisplayCode() throws SystemException
getDisplayCode
in interface Carrier
SystemException
public RDate getCutOffTime() throws SystemException
getCutOffTime
in interface Carrier
SystemException
public java.lang.String getDescription() throws SystemException
getDescription
in interface Carrier
SystemException
public void setDescription(java.lang.String description) throws SystemException
setDescription
in interface Carrier
SystemException
public void setCutOffTime(RDate cutOffTime) throws SystemException
setCutOffTime
in interface Carrier
SystemException
public java.lang.String getShipmentTrackingUrl(java.lang.String shipmentTrackingNumber) throws SystemException, BusinessException
Carrier
getShipmentTrackingUrl
in interface Carrier
shipmentTrackingNumber
- tracking number from shipment
SystemException
BusinessException
public java.lang.String getShipmentTrackingUrlPattern() throws SystemException
Carrier
getShipmentTrackingUrlPattern
in interface Carrier
SystemException
public void setShipmentTrackingUrlPattern(java.lang.String shipmentTrackingUrlPattern) throws SystemException, BusinessException
Carrier
setShipmentTrackingUrlPattern
in interface Carrier
shipmentTrackingUrlPattern
- carrier tracking url pattern
Ex. http://mycarrier/tracking/number=?
SystemException
BusinessException
public void submit() throws BusinessException, SystemException
submit
in interface Carrier
BusinessException
SystemException
public void setAccountNumber(java.lang.String accountNumber) throws SystemException
Carrier
setAccountNumber
in interface Carrier
accountNumber
- the billing account number for the carrier.
SystemException
public java.lang.String getAccountNumber() throws SystemException
Carrier
getAccountNumber
in interface Carrier
SystemException
public void setPickup(boolean canPickup) throws SystemException
Carrier
setPickup
in interface Carrier
SystemException
public boolean isPickup() throws SystemException
Carrier
isPickup
in interface Carrier
SystemException
public void setDefaultPickupCarrier(boolean isDefaultPickupCarrier) throws SystemException
Carrier
setDefaultPickupCarrier
in interface Carrier
SystemException
public boolean isDefaultPickupCarrier() throws SystemException
Carrier
isDefaultPickupCarrier
in interface Carrier
SystemException
public java.lang.String toDisplayString()
toDisplayString
in interface com.retek.swing11.commons.type.Displayable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |