java.lang.Object | +--com.ibm.commerce.fulfillment.commands.FulfillmentRegistry
This registry caches fulfillment-related entities, such as ShippingArrangements.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT The IBM copyright string. |
static java.lang.String |
REGISTRY_NAME The name of this registry. |
Method Summary | |
---|---|
java.lang.Integer[] |
getEffectiveFulfillmentCenterIds(java.lang.Integer anStoreId,
java.lang.Integer anShippingModeId, java.sql.Timestamp aTimestamp) Deprecated. Use getEffectiveFulfillmentCenterIds(Integer,Integer,Timestamp,Long,CommandContext) . |
java.lang.Integer[] |
getEffectiveFulfillmentCenterIds(java.lang.Integer anStoreId,
java.lang.Integer anShippingModeId, java.sql.Timestamp aTimestamp,
java.lang.Long anAddressId,
CommandContext aCommandContext) Returns an array of fulfillment center identifiers that are effective for the specified store, shipping mode, time, and shipping address. |
static
FulfillmentRegistry |
getInstance() Returns the FulfillmentRegistry instance. |
void |
initialize() Initialize this registry instance. |
boolean |
isFulfillmentCenterEffective(java.lang.Integer anFulfillmentCenterId,
java.lang.Integer anStoreId, java.lang.Integer anShippingModeId,
java.sql.Timestamp aTimestamp) Deprecated. Use isFulfillmentCenterEffective(Integer,Integer,Integer,Timestamp,Long,CommandContext) . |
boolean |
isFulfillmentCenterEffective(java.lang.Integer anFulfillmentCenterId,
java.lang.Integer anStoreId, java.lang.Integer anShippingModeId,
java.sql.Timestamp aTimestamp, java.lang.Long anAddressId,
CommandContext aCommandContext) Returns true if the specified fulfillment center is effective for the specified store, shipping mode, time, and shipping address. |
boolean |
isFulfillmentCenterRestricted(java.lang.Integer anFulfillmentCenterId,
java.lang.Integer anStoreId, java.lang.Integer anShippingModeId,
java.sql.Timestamp aTimestamp) Returns true if any shipping arrangements (that are effective for the specified fulfillment center, store, shipping mode, and time) are restricted to certain shipping jurisdiction groups. |
boolean |
isShippingArrangementRestricted(java.lang.Integer anStoreId,
java.lang.Integer anShippingModeId, java.sql.Timestamp aTimestamp) Returns true if any shipping arrangements (that are effective for the specified store, shipping mode, and time) are restricted to certain shipping jurisdiction groups. |
void |
refresh() Refreshes this registry instance. |
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
public static final java.lang.String REGISTRY_NAME
Method Detail |
---|
public static FulfillmentRegistry getInstance()
public void initialize() throws java.lang.Exception
initialize
in interface
Registry
java.lang.Exception
Registry.initialize()
public void refresh() throws java.lang.Exception
refresh
in interface
Registry
java.lang.Exception
Registry.refresh()
public boolean isFulfillmentCenterEffective(java.lang.Integer anFulfillmentCenterId, java.lang.Integer anStoreId, java.lang.Integer anShippingModeId, java.sql.Timestamp aTimestamp) throws ECException
isFulfillmentCenterEffective(Integer,Integer,Integer,Timestamp,Long,CommandContext)
.
anFulfillmentCenterId
- the fulfillmentCenterIdanStoreId
- the storeIdanShippingModeId
- the shippingModeIdaTimestamp
- the timeECException
-public java.lang.Integer[] getEffectiveFulfillmentCenterIds(java.lang.Integer anStoreId, java.lang.Integer anShippingModeId, java.sql.Timestamp aTimestamp) throws ECException
getEffectiveFulfillmentCenterIds(Integer,Integer,Timestamp,Long,CommandContext)
.
anStoreId
- the storeIdanShippingModeId
- the shippingModeIdaTimestamp
- the timeECException
-public boolean isFulfillmentCenterEffective(java.lang.Integer anFulfillmentCenterId, java.lang.Integer anStoreId, java.lang.Integer anShippingModeId, java.sql.Timestamp aTimestamp, java.lang.Long anAddressId, CommandContext aCommandContext) throws ECException
anFulfillmentCenterId
- the fulfillment center
identifier.anStoreId
- the store identifier.anShippingModeId
- the shipping mode identifier.aTimestamp
- the time.anAddressId
- if not null, the results are limited to those
that can ship to this shipping address.aCommandContext
- the command context. Can be null if
anAddressId is null.ECException
public java.lang.Integer[] getEffectiveFulfillmentCenterIds(java.lang.Integer anStoreId, java.lang.Integer anShippingModeId, java.sql.Timestamp aTimestamp, java.lang.Long anAddressId, CommandContext aCommandContext) throws ECException
anStoreId
- the store identifier.anShippingModeId
- the shipping mode identifier.aTimestamp
- the time.anAddressId
- if not null, the results are limited to those
that can ship to this shipping address.aCommandContext
- the command context. Can be null if
anAddressId is null.ECException
public boolean isShippingArrangementRestricted(java.lang.Integer anStoreId, java.lang.Integer anShippingModeId, java.sql.Timestamp aTimestamp) throws ECException
anStoreId
- the identifer of the store.anShippingModeId
- the shipping mode identifier.aTimestamp
- the time.ECException
public boolean isFulfillmentCenterRestricted(java.lang.Integer anFulfillmentCenterId, java.lang.Integer anStoreId, java.lang.Integer anShippingModeId, java.sql.Timestamp aTimestamp) throws ECException
anFulfillmentCenterId
- the fulfillment center.anStoreId
- the identifer of the store.anShippingModeId
- the shipping mode identifier.aTimestamp
- the time.ECException