com.ibm.commerce.fulfillment.objects
Class ShippingArrangementAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.fulfillment.objects.ShippingArrangementAccessBean
All Implemented Interfaces:
ShippingArrangementAccessBeanData

public class ShippingArrangementAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements ShippingArrangementAccessBeanData

Each row of this table represents a ShippingArrangement, indicating that a FulfillmentCenter can ship products on behalf of a Store using a ShippingMode. This access bean corresponds to the database table 'SHPARRANGE'.

See Also:
Serialized Form

Constructor Summary
ShippingArrangementAccessBean()
Zero argument constructor used to initialize the access bean.
ShippingArrangementAccessBean(java.lang.Integer newFulfillmentCenterId, java.lang.Integer newStoreId)
Creates an access bean with the specified attributes.
ShippingArrangementAccessBean(java.lang.Integer newFulfillmentCenterId, java.lang.Integer newStoreId, java.lang.Integer newShipModeId, java.sql.Timestamp newStartDate, java.sql.Timestamp newEndDate)
Creates an access bean with the specified attributes.
ShippingArrangementAccessBean(javax.ejb.EJBObject o)
constructor
Method Summary
void commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
protected java.lang.String defaultJNDIName()
java.util.Enumeration findByStoreAndFulfillmentCenter(java.lang.Integer storeId, java.lang.Integer fulfillmentCenterId) Retrieves the ShippingArrangementAccessBeans that match the specified Store and FulfillmentCenter. The SQL query used to fetch all the required rows from the SHPARRANGE table is:
SELECT * FROM SHPARRANGE T1 WHERE T1.STORE_ID = ? AND T1.FFMCENTER_ID = ?
java.util.Enumeration findByStoreAndNullShipMode(java.lang.Integer storeId) Retrieves the ShippingArrangementAccessBeans that match the specified Store, with ShippingMode not specified. The SQL query used to fetch all the required rows from the SHPARRANGE table is: SELECT * FROM SHPARRANGE T1 WHERE T1.STORE_ID = ? AND T1.SHIPMODE_ID IS NULL ORDER BY T1.PRECEDENCE DESC
java.util.Enumeration findByStoreAndShipMode(java.lang.Integer storeId, java.lang.Integer shipModeId) Retrieves the ShippingArrangementAccessBeans that match the specified Store and ShippingMode. The SQL query used to fetch all the required rows from the SHPARRANGE table is:
SELECT * FROM SHPARRANGE T1 WHERE T1.STORE_ID = ? AND T1.SHIPMODE_ID = ?
java.util.Enumeration findByStoreFulfillmentCenterAndShipMode(java.lang.Integer storeId, java.lang.Integer fulfillmentCenterId, java.lang.Integer shipModeId) Retrieves the ShippingArrangementAccessBeans that match the specified Store, FulfillmentCenter and ShippingMode. The SQL query used to fetch all the required rows from the SHPARRANGE table is: SELECT * FROM SHPARRANGE T1 WHERE T1.STORE_ID = ? AND T1.FFMCENTER_ID = ? AND T1.SHIPMODE_ID = ? AND (T1.STARTDATE IS NULL OR T1.STARTDATE <= CURRENT TIMESTAMP AND (T1.ENDDATE IS NULL OR T1.ENDDATE >= CURRENT TIMESTAMP ORDER BY T1.PRECEDENCE DESC
java.util.Enumeration findByStoreNullShipModeAndCurrentTime(java.lang.Integer storeId) Retrieves the ShippingArrangementAccessBeans that match the specified Store, with ShippingMode not specified, and are currently effective. The SQL query used to fetch all the required rows from the SHPARRANGE table is: SELECT * FROM SHPARRANGE T1 WHERE T1.STORE_ID = ? AND T1.SHIPMODE_ID IS NULL AND (T1.STARTDATE IS NULL OR T1.STARTDATE <= CURRENT TIMESTAMP AND (T1.ENDDATE IS NULL OR T1.ENDDATE >= CURRENT TIMESTAMP ORDER BY T1.PRECEDENCE DESC
java.util.Enumeration findByStoreShipModeAndCurrentTime(java.lang.Integer storeId, java.lang.Integer shipModeId) Retrieves the ShippingArrangementAccessBeans that match the specified Store and ShippingMode, and are currently effective. The SQL query used to fetch all the required rows from the SHPARRANGE table is: SELECT * FROM SHPARRANGE T1 WHERE T1.STORE_ID = ? AND (T1.SHIPMODE_ID = ? or T1.SHIPMODE_ID IS NULL) AND (T1.STARTDATE IS NULL OR T1.STARTDATE <= CURRENT TIMESTAMP AND (T1.ENDDATE IS NULL OR T1.ENDDATE >= CURRENT TIMESTAMP ORDER BY T1.PRECEDENCE DESC
java.lang.String getEndDate()
This method provides access to the SHPARRANGE.ENDDATE column of DB2 type TIMESTAMP.
java.sql.Timestamp getEndDateInEJBType()
This method provides access to the SHPARRANGE.ENDDATE column of DB2 type TIMESTAMP.
java.lang.String getField1()
This method provides access to the SHPARRANGE.FIELD1 column of DB2 type VARCHAR(254).
java.lang.String getField2()
This method provides access to the SHPARRANGE.FIELD2 column of DB2 type INTEGER.
java.lang.Integer getField2InEJBType()
This method provides access to the SHPARRANGE.FIELD2 column of DB2 type INTEGER.
java.lang.String getFlags()
This method provides access to the SHPARRANGE.FLAGS column of DB2 type INTEGER NOT NULL DEFAULT 0.
java.lang.Integer getFlagsInEJBType()
This method provides access to the SHPARRANGE.FLAGS column of DB2 type INTEGER NOT NULL DEFAULT 0.
java.lang.String getFulfillmentCenterId()
This method provides access to the SHPARRANGE.FFMCENTER_ID column of DB2 type INTEGER NOT NULL.
java.lang.Integer getFulfillmentCenterIdInEJBType()
This method provides access to the SHPARRANGE.FFMCENTER_ID column of DB2 type INTEGER NOT NULL.
java.lang.String getPrecedence()
This method provides access to the SHPARRANGE.PRECEDENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.
java.lang.Double getPrecedenceInEJBType()
This method provides access to the SHPARRANGE.PRECEDENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.
java.lang.String getShipArrangementId()
This method provides access to the SHPARRANGE.SHPARRANGE_ID column of DB2 type INTEGER NOT NULL.
java.lang.Integer getShipArrangementIdInEJBType()
This method provides access to the SHPARRANGE.SHPARRANGE_ID column of DB2 type INTEGER NOT NULL.
java.lang.String getShipModeId()
This method provides access to the SHPARRANGE.SHIPMODE_ID column of DB2 type INTEGER.
java.lang.Integer getShipModeIdInEJBType()
This method provides access to the SHPARRANGE.SHIPMODE_ID column of DB2 type INTEGER.
java.lang.String getStartDate()
This method provides access to the SHPARRANGE.STARTDATE column of DB2 type TIMESTAMP.
java.sql.Timestamp getStartDateInEJBType()
This method provides access to the SHPARRANGE.STARTDATE column of DB2 type TIMESTAMP.
java.lang.String getStoreId()
This method provides access to the SHPARRANGE.STORE_ID column of DB2 type INTEGER NOT NULL.
java.lang.Integer getStoreIdInEJBType()
This method provides access to the SHPARRANGE.STORE_ID column of DB2 type INTEGER NOT NULL.
java.lang.String getTrackingNumber()
This method provides access to the SHPARRANGE.TRACKINGNUMBER column of DB2 type VARCHAR(64).
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setEndDate(java.lang.String newValue)
This method accesses a non-CMP field
void setEndDate(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setField1(java.lang.String newValue)
This method accesses a non-CMP field
void setField2(java.lang.Integer newValue)
This method accesses a non-CMP field
void setField2(java.lang.String newValue)
This method accesses a non-CMP field
void setFlags(java.lang.Integer newValue)
This method accesses a non-CMP field
void setFlags(java.lang.String newValue)
This method accesses a non-CMP field
void setFulfillmentCenterId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setFulfillmentCenterId(java.lang.String newValue)
This method accesses a non-CMP field
void setInitKey_shipArrangementId(java.lang.String newValue)
Set the primary key for this object
void setPrecedence(java.lang.Double newValue)
This method accesses a non-CMP field
void setPrecedence(java.lang.String newValue)
This method accesses a non-CMP field
void setShipArrangementId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setShipArrangementId(java.lang.String newValue)
This method accesses a non-CMP field
void setShipModeId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setShipModeId(java.lang.String newValue)
This method accesses a non-CMP field
void setStartDate(java.lang.String newValue)
This method accesses a non-CMP field
void setStartDate(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setStoreId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setStoreId(java.lang.String newValue)
This method accesses a non-CMP field
void setTrackingNumber(java.lang.String newValue)
This method accesses a non-CMP field
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

ShippingArrangementAccessBean

public ShippingArrangementAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.fulfillment.objects.ShippingArrangement com.ibm.commerce.fulfillment.objimpl.ShippingArrangementHomeBase.findByPrimaryKey(com.ibm.commerce.fulfillment.objects.ShippingArrangementKey) throws java.rmi.RemoteException,javax.ejb.FinderException The home interface method properties need to be set by calling the following setter methods before calling any business methods: setInitKey_shipArrangementId( java.lang.Integer )

ShippingArrangementAccessBean

public ShippingArrangementAccessBean(javax.ejb.EJBObject o)
                              throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

ShippingArrangementAccessBean

public ShippingArrangementAccessBean(java.lang.Integer newFulfillmentCenterId,
                                     java.lang.Integer newStoreId)
                              throws javax.naming.NamingException,
                                     javax.ejb.CreateException,
                                     java.rmi.RemoteException,
                                     javax.ejb.FinderException

Creates an access bean with the specified attributes.

Parameters:
newFulfillmentCenterId - the FulfillmentCenter ID
newStoreId - the Store ID
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.FinderException

ShippingArrangementAccessBean

public ShippingArrangementAccessBean(java.lang.Integer newFulfillmentCenterId,
                                     java.lang.Integer newStoreId,
                                     java.lang.Integer newShipModeId,
                                     java.sql.Timestamp newStartDate,
                                     java.sql.Timestamp newEndDate)
                              throws javax.naming.NamingException,
                                     javax.ejb.FinderException,
                                     javax.ejb.CreateException,
                                     java.rmi.RemoteException

Creates an access bean with the specified attributes.

Parameters:
newFulfillmentCenterId - the FulfillmentCenter ID
newStoreId - the Store ID
newShipModeId - the Ship Mode ID
newStartDate - The time this ShippingArrangement starts being effective.
newEndDate - The time this ShippingArrangement stops being effective.
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.FinderException
Method Detail

findByStoreAndFulfillmentCenter

public java.util.Enumeration findByStoreAndFulfillmentCenter(java.lang.Integer storeId,
                                                             java.lang.Integer fulfillmentCenterId)
                                                      throws java.rmi.RemoteException,
                                                             javax.ejb.FinderException,
                                                             javax.naming.NamingException

Retrieves the ShippingArrangementAccessBeans that match the specified Store and FulfillmentCenter.
The SQL query used to fetch all the required rows from the
SHPARRANGE table is:
SELECT * FROM SHPARRANGE T1 WHERE T1.STORE_ID = ? AND T1.FFMCENTER_ID = ?

Parameters:
storeId - the Store ID
fulfillmentCenterId - the FulfillmentCenter ID
Returns:
An Enumeration of all the ShippingArrangementAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByStoreAndShipMode

public java.util.Enumeration findByStoreAndShipMode(java.lang.Integer storeId,
                                                    java.lang.Integer shipModeId)
                                             throws java.rmi.RemoteException,
                                                    javax.ejb.FinderException,
                                                    javax.naming.NamingException

Retrieves the ShippingArrangementAccessBeans that match the specified Store and ShippingMode.
The SQL query used to fetch all the required rows from the
SHPARRANGE table is:
SELECT * FROM SHPARRANGE T1 WHERE T1.STORE_ID = ? AND T1.SHIPMODE_ID = ?

Parameters:
storeId - the Store ID
shipModeId - the ShippingMode ID
Returns:
An Enumeration of all the ShippingArrangementAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByStoreFulfillmentCenterAndShipMode

public java.util.Enumeration findByStoreFulfillmentCenterAndShipMode(java.lang.Integer storeId,
                                                                     java.lang.Integer fulfillmentCenterId,
                                                                     java.lang.Integer shipModeId)
                                                              throws java.rmi.RemoteException,
                                                                     javax.ejb.FinderException,
                                                                     javax.naming.NamingException

Retrieves the ShippingArrangementAccessBeans that match the specified Store, FulfillmentCenter and ShippingMode.
The SQL query used to fetch all the required rows from the
SHPARRANGE table is: SELECT * FROM SHPARRANGE T1 WHERE T1.STORE_ID = ? AND T1.FFMCENTER_ID = ? AND T1.SHIPMODE_ID = ? AND (T1.STARTDATE IS NULL OR T1.STARTDATE <= CURRENT TIMESTAMP AND (T1.ENDDATE IS NULL OR T1.ENDDATE >= CURRENT TIMESTAMP ORDER BY T1.PRECEDENCE DESC

Parameters:
storeId - the Store ID
fulfillmentCenterId - the FulfillmentCenter ID
shipModeId - the ShippingMode ID
Returns:
An Enumeration of all the ShippingArrangementAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByStoreNullShipModeAndCurrentTime

public java.util.Enumeration findByStoreNullShipModeAndCurrentTime(java.lang.Integer storeId)
                                                            throws java.rmi.RemoteException,
                                                                   javax.ejb.FinderException,
                                                                   javax.naming.NamingException

Retrieves the ShippingArrangementAccessBeans that match the specified Store, with ShippingMode not specified, and are currently effective.
The SQL query used to fetch all the required rows from the
SHPARRANGE table is: SELECT * FROM SHPARRANGE T1 WHERE T1.STORE_ID = ? AND T1.SHIPMODE_ID IS NULL AND (T1.STARTDATE IS NULL OR T1.STARTDATE <= CURRENT TIMESTAMP AND (T1.ENDDATE IS NULL OR T1.ENDDATE >= CURRENT TIMESTAMP ORDER BY T1.PRECEDENCE DESC

Parameters:
storeId - the Store ID
Returns:
An Enumeration of all the ShippingArrangementAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByStoreShipModeAndCurrentTime

public java.util.Enumeration findByStoreShipModeAndCurrentTime(java.lang.Integer storeId,
                                                               java.lang.Integer shipModeId)
                                                        throws java.rmi.RemoteException,
                                                               javax.ejb.FinderException,
                                                               javax.naming.NamingException

Retrieves the ShippingArrangementAccessBeans that match the specified Store and ShippingMode, and are currently effective.
The SQL query used to fetch all the required rows from the
SHPARRANGE table is: SELECT * FROM SHPARRANGE T1 WHERE T1.STORE_ID = ? AND (T1.SHIPMODE_ID = ? or T1.SHIPMODE_ID IS NULL) AND (T1.STARTDATE IS NULL OR T1.STARTDATE <= CURRENT TIMESTAMP AND (T1.ENDDATE IS NULL OR T1.ENDDATE >= CURRENT TIMESTAMP ORDER BY T1.PRECEDENCE DESC

Parameters:
storeId - the Store ID
shipModeId - the ShippingMode ID
Returns:
An Enumeration of all the ShippingArrangementAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

setInitKey_shipArrangementId

public void setInitKey_shipArrangementId(java.lang.String newValue)

Set the primary key for this object

Parameters:
newValue - java.lang.String
Returns:
void

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getShipArrangementId

public java.lang.String getShipArrangementId()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException

This method provides access to the SHPARRANGE.SHPARRANGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Generated unique key.

Specified by:
getShipArrangementId in interface ShippingArrangementAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getShipArrangementIdInEJBType

public java.lang.Integer getShipArrangementIdInEJBType()
                                                throws java.rmi.RemoteException,
                                                       javax.ejb.CreateException,
                                                       javax.ejb.FinderException,
                                                       javax.naming.NamingException

This method provides access to the SHPARRANGE.SHPARRANGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Generated unique key.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setShipArrangementId

public void setShipArrangementId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setShipArrangementId in interface ShippingArrangementAccessBeanData

setShipArrangementId

public void setShipArrangementId(java.lang.Integer newValue)
This method accesses a non-CMP field

getStartDate

public java.lang.String getStartDate()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

This method provides access to the SHPARRANGE.STARTDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

The time this ShippingArrangement starts being effective.

Specified by:
getStartDate in interface ShippingArrangementAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getStartDateInEJBType

public java.sql.Timestamp getStartDateInEJBType()
                                         throws java.rmi.RemoteException,
                                                javax.ejb.CreateException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

This method provides access to the SHPARRANGE.STARTDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

The time this ShippingArrangement starts being effective.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setStartDate

public void setStartDate(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setStartDate in interface ShippingArrangementAccessBeanData

setStartDate

public void setStartDate(java.sql.Timestamp newValue)
This method accesses a non-CMP field

getField2

public java.lang.String getField2()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the SHPARRANGE.FIELD2 column of DB2 type INTEGER.

The following is a description of this column:

Customizable.

Specified by:
getField2 in interface ShippingArrangementAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getField2InEJBType

public java.lang.Integer getField2InEJBType()
                                     throws java.rmi.RemoteException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

This method provides access to the SHPARRANGE.FIELD2 column of DB2 type INTEGER.

The following is a description of this column:

Customizable.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setField2

public void setField2(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setField2 in interface ShippingArrangementAccessBeanData

setField2

public void setField2(java.lang.Integer newValue)
This method accesses a non-CMP field

getField1

public java.lang.String getField1()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the SHPARRANGE.FIELD1 column of DB2 type VARCHAR(254).

The following is a description of this column:

Customizable.

Specified by:
getField1 in interface ShippingArrangementAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setField1

public void setField1(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setField1 in interface ShippingArrangementAccessBeanData

getStoreId

public java.lang.String getStoreId()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException

This method provides access to the SHPARRANGE.STORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The Store.

Specified by:
getStoreId in interface ShippingArrangementAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getStoreIdInEJBType

public java.lang.Integer getStoreIdInEJBType()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException

This method provides access to the SHPARRANGE.STORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The Store.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setStoreId

public void setStoreId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setStoreId in interface ShippingArrangementAccessBeanData

setStoreId

public void setStoreId(java.lang.Integer newValue)
This method accesses a non-CMP field

getShipModeId

public java.lang.String getShipModeId()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

This method provides access to the SHPARRANGE.SHIPMODE_ID column of DB2 type INTEGER.

The following is a description of this column:

The ShippingMode. NULL indicates this ShippingArrangement can be used regardless of ShippingMode.

Specified by:
getShipModeId in interface ShippingArrangementAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getShipModeIdInEJBType

public java.lang.Integer getShipModeIdInEJBType()
                                         throws java.rmi.RemoteException,
                                                javax.ejb.CreateException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

This method provides access to the SHPARRANGE.SHIPMODE_ID column of DB2 type INTEGER.

The following is a description of this column:

The ShippingMode. NULL indicates this ShippingArrangement can be used regardless of ShippingMode.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setShipModeId

public void setShipModeId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setShipModeId in interface ShippingArrangementAccessBeanData

setShipModeId

public void setShipModeId(java.lang.Integer newValue)
This method accesses a non-CMP field

getPrecedence

public java.lang.String getPrecedence()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

This method provides access to the SHPARRANGE.PRECEDENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.

The following is a description of this column:

When more than one ShippingArrangement (for the same Store and ShippingMode) is effective at a particular time, the one with the highest precedence is used.

Specified by:
getPrecedence in interface ShippingArrangementAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getPrecedenceInEJBType

public java.lang.Double getPrecedenceInEJBType()
                                        throws java.rmi.RemoteException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

This method provides access to the SHPARRANGE.PRECEDENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.

The following is a description of this column:

When more than one ShippingArrangement (for the same Store and ShippingMode) is effective at a particular time, the one with the highest precedence is used.

Returns:
java.lang.Double
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setPrecedence

public void setPrecedence(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setPrecedence in interface ShippingArrangementAccessBeanData

setPrecedence

public void setPrecedence(java.lang.Double newValue)
This method accesses a non-CMP field

getTrackingNumber

public java.lang.String getTrackingNumber()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

This method provides access to the SHPARRANGE.TRACKINGNUMBER column of DB2 type VARCHAR(64).

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getTrackingNumber in interface ShippingArrangementAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setTrackingNumber

public void setTrackingNumber(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setTrackingNumber in interface ShippingArrangementAccessBeanData

getFlags

public java.lang.String getFlags()
                          throws java.rmi.RemoteException,
                                 javax.ejb.CreateException,
                                 javax.ejb.FinderException,
                                 javax.naming.NamingException

This method provides access to the SHPARRANGE.FLAGS column of DB2 type INTEGER NOT NULL DEFAULT 0.

The following is a description of this column:

The low order bit contains a flag as follows:&l

Specified by:
getFlags in interface ShippingArrangementAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getFlagsInEJBType

public java.lang.Integer getFlagsInEJBType()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

This method provides access to the SHPARRANGE.FLAGS column of DB2 type INTEGER NOT NULL DEFAULT 0.

The following is a description of this column:

The low order bit contains a flag as follows:&l

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setFlags

public void setFlags(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setFlags in interface ShippingArrangementAccessBeanData

setFlags

public void setFlags(java.lang.Integer newValue)
This method accesses a non-CMP field

getFulfillmentCenterId

public java.lang.String getFulfillmentCenterId()
                                        throws java.rmi.RemoteException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

This method provides access to the SHPARRANGE.FFMCENTER_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The FulfillmentCenter.

Specified by:
getFulfillmentCenterId in interface ShippingArrangementAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getFulfillmentCenterIdInEJBType

public java.lang.Integer getFulfillmentCenterIdInEJBType()
                                                  throws java.rmi.RemoteException,
                                                         javax.ejb.CreateException,
                                                         javax.ejb.FinderException,
                                                         javax.naming.NamingException

This method provides access to the SHPARRANGE.FFMCENTER_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The FulfillmentCenter.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setFulfillmentCenterId

public void setFulfillmentCenterId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setFulfillmentCenterId in interface ShippingArrangementAccessBeanData

setFulfillmentCenterId

public void setFulfillmentCenterId(java.lang.Integer newValue)
This method accesses a non-CMP field

getEndDate

public java.lang.String getEndDate()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException

This method provides access to the SHPARRANGE.ENDDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

The time this ShippingArrangement stops being effective.

Specified by:
getEndDate in interface ShippingArrangementAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getEndDateInEJBType

public java.sql.Timestamp getEndDateInEJBType()
                                       throws java.rmi.RemoteException,
                                              javax.ejb.CreateException,
                                              javax.ejb.FinderException,
                                              javax.naming.NamingException

This method provides access to the SHPARRANGE.ENDDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

The time this ShippingArrangement stops being effective.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setEndDate

public void setEndDate(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setEndDate in interface ShippingArrangementAccessBeanData

setEndDate

public void setEndDate(java.sql.Timestamp newValue)
This method accesses a non-CMP field

findByStoreAndNullShipMode

public java.util.Enumeration findByStoreAndNullShipMode(java.lang.Integer storeId)
                                                 throws javax.naming.NamingException,
                                                        javax.ejb.FinderException,
                                                        java.rmi.RemoteException

Retrieves the ShippingArrangementAccessBeans that match the specified Store, with ShippingMode not specified.
The SQL query used to fetch all the required rows from the
SHPARRANGE table is: SELECT * FROM SHPARRANGE T1 WHERE T1.STORE_ID = ? AND T1.SHIPMODE_ID IS NULL ORDER BY T1.PRECEDENCE DESC

Parameters:
storeId - the Store ID
Returns:
An Enumeration of all the ShippingArrangementAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

Feedback