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 fulfillment center. This access bean corresponds to the database table 'FFMCENTER'. FulfillmentCenterAccessBean

See Also:
Serialized Form

Constructor Summary
FulfillmentCenterAccessBean()
constructor
FulfillmentCenterAccessBean(javax.ejb.EJBObject o)
FulfillmentCenterAccessBean constructor
FulfillmentCenterAccessBean(java.lang.Long newMemberId, java.lang.String newName)
ejbCreate method for a CMP entity bean
Method Summary
void commitCopyHelper()
commitCopyHelper
java.lang.String defaultJNDIName()
defaultJNDIName
java.util.Enumeration findByMemberIdAndName(java.lang.Long memberId, java.lang.String name)
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)
This method accesses a non-CMP field
void setDefaultShipOffset(java.lang.String newValue)
This method accesses a non-CMP field
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)
This method accesses a non-CMP field
void setMarkForDelete(java.lang.String newValue)
This method accesses a non-CMP field
void setMemberId(java.lang.Long newValue)
This method accesses a non-CMP field
void setMemberId(java.lang.String newValue)
This method accesses a non-CMP field
void setName(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

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 newMemberId,
                                   java.lang.String newName)
                            throws javax.naming.NamingException,
                                   javax.ejb.FinderException,
                                   javax.ejb.CreateException,
                                   java.rmi.RemoteException
ejbCreate method for a CMP entity bean
Throws:
javax.ejb.CreateException - The exception description.
javax.naming.NamingException
javax.ejb.FinderException
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
Specified by:
getDefaultShipOffset in interface FulfillmentCenterAccessBeanData
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setDefaultShipOffset

public void setDefaultShipOffset(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
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
Throws:
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 fulfillment center 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)
This method accesses a non-CMP field

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 fulfillment center.

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)
This method accesses a non-CMP field

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 fulfillment center.

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)
This method accesses a non-CMP field
Specified by:
setName in interface FulfillmentCenterAccessBeanData

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 memberId,
                                                   java.lang.String name)
                                            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
Throws:
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 fulfillment center 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)
This method accesses a non-CMP field
Specified by:
setMarkForDelete in interface FulfillmentCenterAccessBeanData

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 fulfillment center.

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)
This method accesses a non-CMP field
Specified by:
setMemberId in interface FulfillmentCenterAccessBeanData

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

setDefaultShipOffset

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

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
Throws:
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
Throws:
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

Feedback