com.ibm.commerce.fulfillment.objects
Class FulfillmentCenterAccessBean

java.lang.Object
  |
  +--AbstractEntityAccessBean
        |
        +--com.ibm.commerce.fulfillment.objects.FulfillmentCenterAccessBean
All Implemented Interfaces:
FulfillmentCenterAccessBeanData

public class FulfillmentCenterAccessBean
extends AbstractEntityAccessBean
implements FulfillmentCenterAccessBeanData

Each row in this table represents a FulfillmentCenter. FulfillmentCenterAccessBean

See Also:
Serialized Form

Constructor Summary
FulfillmentCenterAccessBean()
          constructor
FulfillmentCenterAccessBean(javax.ejb.EJBObject o)
          FulfillmentCenterAccessBean constructor
FulfillmentCenterAccessBean(java.lang.Long arg0, java.lang.String arg1)
          FulfillmentCenterAccessBean constructor
 
Method Summary
 void commitCopyHelper()
          commitCopyHelper
 java.lang.String defaultJNDIName()
          defaultJNDIName
 java.util.Enumeration findByMemberIdAndName(java.lang.Long arg0, java.lang.String arg1)
          Retrieves the FulfillmentCenterAccessBeans that match the specified Member and name.
 boolean fulfills(java.lang.Long arg0, java.lang.String arg1)
          fulfills
 java.lang.String getDefaultShipOffset()
          getDefaultShipOffset
 java.lang.Integer getDefaultShipOffsetInEJBType()
          This method accesses a non-CMP field
 java.lang.String getExternalFulfillmentStoreNumber()
          This method accesses a non-CMP field
 java.lang.String getFulfillmentCenterId()
          getFulfillmentCenterId
 java.lang.Integer getFulfillmentCenterIdInEJBType()
          getFulfillmentCenterIdInEJBType
 java.lang.String getInventoryOperationFlags()
          This method accesses a non-CMP field
 java.lang.Integer getInventoryOperationFlagsInEJBType()
          This method accesses a non-CMP field
 java.lang.String getMarkForDelete()
          getMarkForDelete
 java.lang.Integer getMarkForDeleteInEJBType()
          getMarkForDeleteInEJBType
 java.lang.String getMemberId()
          getMemberId
 java.lang.Long getMemberIdInEJBType()
          getMemberIdInEJBType
 java.lang.String getName()
          getName
 java.lang.Long getOwner()
          This method accesses a non-CMP field
protected  void instantiateEJB()
          instantiateEJB
protected  boolean instantiateEJBByPrimaryKey()
          instantiateEJBByPrimaryKey
 void refreshCopyHelper()
          refreshCopyHelper
 void setDefaultShipOffset(java.lang.Integer newValue)
          setDefaultShipOffset
 void setDefaultShipOffset(java.lang.String newValue)
          setDefaultShipOffset
 void setExternalFulfillmentStoreNumber(java.lang.String newValue)
          This method accesses a non-CMP field
 void setInitKey_fulfillmentCenterId(java.lang.String newValue)
          setInitKey_fulfillmentCenterId
 void setInventoryOperationFlags(java.lang.Integer newValue)
          This method accesses a non-CMP field
 void setInventoryOperationFlags(java.lang.String newValue)
          This method accesses a non-CMP field
 void setMarkForDelete(java.lang.Integer newValue)
          setMarkForDelete
 void setMarkForDelete(java.lang.String newValue)
          setMarkForDelete
 void setMemberId(java.lang.Long newValue)
          setMemberId
 void setMemberId(java.lang.String newValue)
          setMemberId
 void setName(java.lang.String newValue)
          setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FulfillmentCenterAccessBean

public FulfillmentCenterAccessBean()
constructor

FulfillmentCenterAccessBean

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

FulfillmentCenterAccessBean

public FulfillmentCenterAccessBean(java.lang.Long arg0,
                                   java.lang.String arg1)
                            throws javax.naming.NamingException,
                                   javax.ejb.FinderException,
                                   javax.ejb.CreateException,
                                   java.rmi.RemoteException
FulfillmentCenterAccessBean constructor
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.String
Throws:
javax.naming.NamingException
javax.ejb.FinderException
javax.ejb.CreateException
java.rmi.RemoteException
Method Detail

getDefaultShipOffset

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

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

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:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setDefaultShipOffset

public void setDefaultShipOffset(java.lang.Integer newValue)
setDefaultShipOffset

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

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:
newValue - java.lang.Integer
Returns:
void

getFulfillmentCenterId

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

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:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getInventoryOperationFlags

public java.lang.String getInventoryOperationFlags()
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.CreateException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getInventoryOperationFlags in interface FulfillmentCenterAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setInventoryOperationFlags

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

getMarkForDelete

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

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

The following is a description of this column:

Indicates whether the FulfillmentCenter should be deleted as follows:&l

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

setMarkForDelete

public void setMarkForDelete(java.lang.Integer newValue)
setMarkForDelete

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

The following is a description of this column:

Indicates whether the FulfillmentCenter should be deleted as follows:&l

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

getMemberId

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

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:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setMemberId

public void setMemberId(java.lang.Long newValue)
setMemberId

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:
newValue - java.lang.Long
Returns:
void

getName

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

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

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setName

public void setName(java.lang.String newValue)
setName

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

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:
newValue - java.lang.String
Returns:
void

defaultJNDIName

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

instantiateEJB

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

instantiateEJBByPrimaryKey

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

refreshCopyHelper

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

Load data from the EJBObject.

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

commitCopyHelper

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

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

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

findByMemberIdAndName

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

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 = ?

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

getOwner

public java.lang.Long getOwner()
                        throws javax.naming.NamingException,
                               javax.ejb.FinderException,
                               java.lang.Exception,
                               java.rmi.RemoteException
This method accesses a non-CMP field
javax.naming.NamingException
javax.ejb.FinderException
java.lang.Exception
java.rmi.RemoteException

fulfills

public boolean fulfills(java.lang.Long arg0,
                        java.lang.String arg1)
                 throws javax.naming.NamingException,
                        javax.ejb.FinderException,
                        java.lang.Exception,
                        java.rmi.RemoteException
fulfills
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.String
Returns:
boolean
Throws:
javax.naming.NamingException
javax.ejb.FinderException
java.lang.Exception
java.rmi.RemoteException

getMarkForDeleteInEJBType

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

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

The following is a description of this column:

Indicates whether the FulfillmentCenter should be deleted as follows:&l

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

setMarkForDelete

public void setMarkForDelete(java.lang.String newValue)
setMarkForDelete

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

The following is a description of this column:

Indicates whether the FulfillmentCenter should be deleted as follows:&l

Specified by:
setMarkForDelete in interface FulfillmentCenterAccessBeanData
Parameters:
newValue - String
Returns:
void

getMemberIdInEJBType

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

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setMemberId

public void setMemberId(java.lang.String newValue)
setMemberId

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:
newValue - String
Returns:
void

getFulfillmentCenterIdInEJBType

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

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getDefaultShipOffsetInEJBType

public java.lang.Integer getDefaultShipOffsetInEJBType()
                                                throws java.rmi.RemoteException,
                                                       javax.ejb.CreateException,
                                                       javax.ejb.FinderException,
                                                       javax.naming.NamingException
This method accesses a non-CMP field
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setDefaultShipOffset

public void setDefaultShipOffset(java.lang.String newValue)
setDefaultShipOffset

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

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:
newValue - String
Returns:
void

setInitKey_fulfillmentCenterId

public void setInitKey_fulfillmentCenterId(java.lang.String newValue)
setInitKey_fulfillmentCenterId

Set the primary key for this object

Parameters:
newValue - String
Returns:
void

getInventoryOperationFlagsInEJBType

public java.lang.Integer getInventoryOperationFlagsInEJBType()
                                                      throws java.rmi.RemoteException,
                                                             javax.ejb.CreateException,
                                                             javax.ejb.FinderException,
                                                             javax.naming.NamingException
This method accesses a non-CMP field
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setInventoryOperationFlags

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

getExternalFulfillmentStoreNumber

public java.lang.String getExternalFulfillmentStoreNumber()
                                                   throws java.rmi.RemoteException,
                                                          javax.ejb.CreateException,
                                                          javax.ejb.FinderException,
                                                          javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getExternalFulfillmentStoreNumber in interface FulfillmentCenterAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setExternalFulfillmentStoreNumber

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