com.ibm.commerce.fulfillment.objects
Class FulfillmentCenterAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.fulfillment.objects.FulfillmentCenterAccessBean
All Implemented Interfaces:
FulfillmentCenterAccessBeanData, java.io.Serializable

public class FulfillmentCenterAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements FulfillmentCenterAccessBeanData

This bean provides access to the FFMCENTER table.

The following is a description of this table:

Each row in this table represents a FulfillmentCenter.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
FulfillmentCenterAccessBean()
          Default constructor.
FulfillmentCenterAccessBean(javax.ejb.EJBObject aEJBObject)
          Creates an access bean for the specified EJB.
FulfillmentCenterAccessBean(java.lang.Long aMemberId)
          Creates an access bean with the specified attributes.
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.util.Enumeration findByMemberIdAndName(java.lang.Long aMemberId, java.lang.String aName)
          Retrieves the FulfillmentCenterAccessBeans that match the specified Member and name.
 boolean fulfills(java.lang.Long aFills, java.lang.String aFills)
          IBM internal use only.
 java.lang.String getDefaultShipOffset()
          This method provides access to the FFMCENTER.DEFAULTSHIPOFFSET column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getDefaultShipOffsetInEJBType()
          This method provides access to the FFMCENTER.DEFAULTSHIPOFFSET column of DB2 type INTEGER NOT NULL.
 java.lang.String getFulfillmentCenterId()
          This method provides access to the FFMCENTER.FFMCENTER_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getFulfillmentCenterIdInEJBType()
          This method provides access to the FFMCENTER.FFMCENTER_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getMarkForDelete()
          This method provides access to the FFMCENTER.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getMarkForDeleteInEJBType()
          This method provides access to the FFMCENTER.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 java.lang.String getMemberId()
          This method provides access to the FFMCENTER.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getMemberIdInEJBType()
          This method provides access to the FFMCENTER.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getName()
          This method provides access to the FFMCENTER.NAME column of DB2 type VARCHAR(254) NULL.
 java.lang.Long getOwner()
          IBM internal use only.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setDefaultShipOffset(java.lang.Integer aDefaultShipOffset)
          This method provides access to the FFMCENTER.DEFAULTSHIPOFFSET column of DB2 type INTEGER NOT NULL.
 void setDefaultShipOffset(java.lang.String aDefaultShipOffset)
          This method provides access to the FFMCENTER.DEFAULTSHIPOFFSET column of DB2 type INTEGER NOT NULL.
 void setInitKey_fulfillmentCenterId(java.lang.String aInitKey_fulfillmentCenterId)
          Set the primary key for this object
 void setMarkForDelete(java.lang.Integer aMarkForDelete)
          This method provides access to the FFMCENTER.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 void setMarkForDelete(java.lang.String aMarkForDelete)
          This method provides access to the FFMCENTER.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 void setMemberId(java.lang.Long aMemberId)
          This method provides access to the FFMCENTER.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setMemberId(java.lang.String aMemberId)
          This method provides access to the FFMCENTER.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setName(java.lang.String aName)
          This method provides access to the FFMCENTER.NAME column of DB2 type VARCHAR(254) NULL.
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FulfillmentCenterAccessBean

public FulfillmentCenterAccessBean()

Default constructor. Maps to findByPrimaryKey.


FulfillmentCenterAccessBean

public FulfillmentCenterAccessBean(javax.ejb.EJBObject aEJBObject)
                            throws java.rmi.RemoteException

Creates an access bean for the specified EJB.

Parameters:
aEJBObject - The EJB Object used for the access bean construction.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

FulfillmentCenterAccessBean

public FulfillmentCenterAccessBean(java.lang.Long aMemberId)
                            throws javax.naming.NamingException,
                                   javax.ejb.CreateException,
                                   java.rmi.RemoteException,
                                   javax.ejb.FinderException

Creates an access bean with the specified attributes.

Parameters:
aMemberId - the Member 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
Method Detail

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).

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByMemberIdAndName

public java.util.Enumeration findByMemberIdAndName(java.lang.Long aMemberId,
                                                   java.lang.String aName)
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException

Retrieves the FulfillmentCenterAccessBeans that match the specified Member and name.

The SQL query used to fetch all the required rows from the FFMCENTER table is:
SELECT * FROM FFMCENTER T1 WHERE
T1.MEMBER_ID = ? AND T1.NAME = ?

Parameters:
aMemberId - the Member ID
aName - the name
Returns:
An Enumeration of all the FulfillmentCenterAccessBeans 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 - The javax.naming.NamingException exception

fulfills

public boolean fulfills(java.lang.Long aFills,
                        java.lang.String aFills)
                 throws java.rmi.RemoteException,
                        java.lang.Exception,
                        javax.ejb.FinderException,
                        javax.naming.NamingException

IBM internal use only.

Parameters:
aFills - java.lang.Long
aFills - java.lang.String
Returns:
boolean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
java.lang.Exception - The java.lang.Exception exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getDefaultShipOffset

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

This method provides access to the FFMCENTER.DEFAULTSHIPOFFSET column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

An estimate of the number seconds it takes for an item to be shipped from this FulfillmentCenter. This value can be overridden in the STORITMFFC table.

Specified by:
getDefaultShipOffset in interface FulfillmentCenterAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getDefaultShipOffsetInEJBType

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

This method provides access to the FFMCENTER.DEFAULTSHIPOFFSET column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

An estimate of the number seconds it takes for an item to be shipped from this FulfillmentCenter. This value can be overridden in the STORITMFFC table.

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

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 FFMCENTER.FFMCENTER_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Generated unique key.

Specified by:
getFulfillmentCenterId in interface FulfillmentCenterAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 FFMCENTER.FFMCENTER_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 - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getMarkForDelete

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

This method provides access to the FFMCENTER.MARKFORDELETE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Indicates whether the FulfillmentCenter should be deleted as follows:
0 = do not delete.
1 = delete if no longer in use.
Refer to the Database Cleanup utility.

Specified by:
getMarkForDelete in interface FulfillmentCenterAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getMarkForDeleteInEJBType

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

This method provides access to the FFMCENTER.MARKFORDELETE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Indicates whether the FulfillmentCenter should be deleted as follows:
0 = do not delete.
1 = delete if no longer in use.
Refer to the Database Cleanup utility.

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

getMemberId

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

This method provides access to the FFMCENTER.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The owner of the FulfillmentCenter.

Specified by:
getMemberId in interface FulfillmentCenterAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getMemberIdInEJBType

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

This method provides access to the FFMCENTER.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The owner of the FulfillmentCenter.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getName

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

This method provides access to the FFMCENTER.NAME column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

A string that, along with the owner, uniquely identifies this FulfillmentCenter.

Specified by:
getName in interface FulfillmentCenterAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getOwner

public java.lang.Long getOwner()
                        throws java.lang.Exception,
                               java.rmi.RemoteException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException

IBM internal use only.

Returns:
java.lang.Long
Throws:
java.lang.Exception - The java.lang.Exception exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

refreshCopyHelper

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

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setDefaultShipOffset

public void setDefaultShipOffset(java.lang.Integer aDefaultShipOffset)

This method provides access to the FFMCENTER.DEFAULTSHIPOFFSET column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

An estimate of the number seconds it takes for an item to be shipped from this FulfillmentCenter. This value can be overridden in the STORITMFFC table.

Parameters:
aDefaultShipOffset - java.lang.Integer
Returns:
void

setDefaultShipOffset

public void setDefaultShipOffset(java.lang.String aDefaultShipOffset)

This method provides access to the FFMCENTER.DEFAULTSHIPOFFSET column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

An estimate of the number seconds it takes for an item to be shipped from this FulfillmentCenter. This value can be overridden in the STORITMFFC table.

Specified by:
setDefaultShipOffset in interface FulfillmentCenterAccessBeanData
Parameters:
aDefaultShipOffset - java.lang.String
Returns:
void

setInitKey_fulfillmentCenterId

public void setInitKey_fulfillmentCenterId(java.lang.String aInitKey_fulfillmentCenterId)

Set the primary key for this object

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

setMarkForDelete

public void setMarkForDelete(java.lang.Integer aMarkForDelete)

This method provides access to the FFMCENTER.MARKFORDELETE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Indicates whether the FulfillmentCenter should be deleted as follows:
0 = do not delete.
1 = delete if no longer in use.
Refer to the Database Cleanup utility.

Parameters:
aMarkForDelete - java.lang.Integer
Returns:
void

setMarkForDelete

public void setMarkForDelete(java.lang.String aMarkForDelete)

This method provides access to the FFMCENTER.MARKFORDELETE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Indicates whether the FulfillmentCenter should be deleted as follows:
0 = do not delete.
1 = delete if no longer in use.
Refer to the Database Cleanup utility.

Specified by:
setMarkForDelete in interface FulfillmentCenterAccessBeanData
Parameters:
aMarkForDelete - java.lang.String
Returns:
void

setMemberId

public void setMemberId(java.lang.Long aMemberId)

This method provides access to the FFMCENTER.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The owner of the FulfillmentCenter.

Parameters:
aMemberId - java.lang.Long
Returns:
void

setMemberId

public void setMemberId(java.lang.String aMemberId)

This method provides access to the FFMCENTER.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The owner of the FulfillmentCenter.

Specified by:
setMemberId in interface FulfillmentCenterAccessBeanData
Parameters:
aMemberId - java.lang.String
Returns:
void

setName

public void setName(java.lang.String aName)

This method provides access to the FFMCENTER.NAME column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

A string that, along with the owner, uniquely identifies this FulfillmentCenter.

Specified by:
setName in interface FulfillmentCenterAccessBeanData
Parameters:
aName - java.lang.String
Returns:
void