|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
---|---|
static java.lang.String |
ACCOUNT_NUMBER
|
static java.lang.String |
DESCRIPTION
|
static java.lang.String |
DISPLAY_CODE
|
static java.lang.String |
PICKUP
|
static java.lang.String |
SHIPMENT_TRACKING_NUMBER_URL_PATTERN
|
static java.lang.String |
TRACKING_NUMBER_URL_WILDCARD
|
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. |
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()
|
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 |
public static final java.lang.String ACCOUNT_NUMBER
public static final java.lang.String SHIPMENT_TRACKING_NUMBER_URL_PATTERN
public static final java.lang.String TRACKING_NUMBER_URL_WILDCARD
public static final java.lang.String PICKUP
public static final java.lang.String DISPLAY_CODE
public static final java.lang.String DESCRIPTION
Method Detail |
public java.lang.String getDisplayCode() throws SystemException
SystemException
public RDate getCutOffTime() throws SystemException
SystemException
public java.lang.String getShipmentTrackingUrlPattern() throws SystemException
SystemException
public java.lang.String getShipmentTrackingUrl(java.lang.String shipmentTrackingNumber) throws SystemException
Example URL for getShipmentTrackingUrlPattern(): http://www.ups.com/tracking/tracker.asp?number=RETEK_TRACK
Passed shipmentTrackingNumber param: 34322
Return string: http://www.ups.com/tracking/tracker.asp?number=34322
shipmentTrackingNumber
- tracking number from shipment
SystemException
public java.lang.String getDescription() throws SystemException
SystemException
public void setDescription(java.lang.String description) throws SystemException
SystemException
public void setCutOffTime(RDate cutOffTime) throws SystemException
SystemException
public void setShipmentTrackingUrlPattern(java.lang.String shipmentTrackingUrlPattern) throws SystemException
shipmentTrackingUrlPattern
- carrier tracking url pattern
Ex. http://mycarrier/tracking/number=RETEK_TRACK
SystemException
public void submit() throws BusinessException, SystemException
BusinessException
SystemException
public void setAccountNumber(java.lang.String accountNumber) throws SystemException
accountNumber
- the billing account number for the carrier.
SystemException
public java.lang.String getAccountNumber() throws SystemException
SystemException
public void setPickup(boolean canPickup) throws SystemException
SystemException
public boolean isPickup() throws SystemException
SystemException
public void setDefaultPickupCarrier(boolean isDefaultPickupCarrier) throws SystemException
SystemException
public boolean isDefaultPickupCarrier() throws SystemException
SystemException
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |