java.lang.Object | +--com.ibm.commerce.fulfillment.commands.ShippingArrangementWrapper
Provides business logic associated with a ShippingArrangement.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT The IBM copyright string. |
Constructor Summary | |
---|---|
ShippingArrangementWrapper(ShippingArrangementAccessBean aabShippingArrangement) Constructor for ShippingArrangementWrapper. |
Method Summary | |
---|---|
ShippingArrangementAccessBean |
getAccessBean() Returns the ShippingJurisdictionAccessBean. |
java.lang.Integer[] |
getJurisdictionGroupIds() Returns the identifiers of associated JurisdictionGroups if the ShippingArrangement is restricted. |
boolean |
isRestricted() Returns true if the ShippingArrangement is restricted to certain ShippingJurisdictionGroups. |
boolean |
isValid(java.sql.Timestamp aTimestamp, java.lang.Long alAddressId,
CommandContext aCommandContext) Returns true if the shipping arrangement is valid for the specified time and address. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public ShippingArrangementWrapper(ShippingArrangementAccessBean aabShippingArrangement)
Method Detail |
---|
public ShippingArrangementAccessBean getAccessBean()
public boolean isRestricted() throws FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
public java.lang.Integer[] getJurisdictionGroupIds() throws FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
public boolean isValid(java.sql.Timestamp aTimestamp, java.lang.Long alAddressId, CommandContext aCommandContext) throws FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, ECException
aTimestamp
- if not null, the shipping arrangement must be
effective for this time.alAddressId
- if not null, the shipping arrangement must be
valid for at least one of the shipping jurisdictions that match the
address.aCommandContext
- the command context. Can be null if
alAddressId is null.FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
ECException