com.ibm.commerce.common.objects
Class StoreDefaultAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.common.objects.StoreDefaultAccessBean

public class StoreDefaultAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean

Each row of this table contains default information for a Store. This access bean corresponds to the database table 'STOREDEF'.

See Also:
Serialized Form

Constructor Summary
StoreDefaultAccessBean()
Zero argument constructor used to initialize the access bean.
StoreDefaultAccessBean(javax.ejb.EJBObject o)
constructor
Method Summary
void commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
protected java.lang.String defaultJNDIName()
StoreDefaultAccessBean findByStore(java.lang.Integer storeId)
Retrieves all StoreDefaultAccessBeans by store ID
java.lang.String getContractId()
This method provides access to the STOREDEF.CONTRACT_ID column of DB2 type BIGINT.
java.lang.Long getContractIdInEJBType()
This method provides access to the STOREDEF.CONTRACT_ID column of DB2 type BIGINT.
java.lang.String getShipModeId()
This method provides access to the STOREDEF.SHIPMODE_ID column of DB2 type INTEGER.
java.lang.Integer getShipModeIdInEJBType()
This method provides access to the STOREDEF.SHIPMODE_ID column of DB2 type INTEGER.
java.lang.String getStoreId()
This method provides access to the STOREDEF.STORE_ID column of DB2 type INTEGER NOT NULL.
java.lang.Integer getStoreIdInEJBType()
This method provides access to the STOREDEF.STORE_ID column of DB2 type INTEGER NOT NULL.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setContractId(java.lang.Long newValue)
This method accesses a non-CMP field
void setContractId(java.lang.String newValue)
This method accesses a non-CMP field
void setInitKey_storeId(java.lang.String newValue)
Set the primary key for this object
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

StoreDefaultAccessBean

public StoreDefaultAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.common.objects.StoreDefault com.ibm.commerce.common.objimpl.StoreDefaultHomeBase.findByPrimaryKey(com.ibm.commerce.common.objects.StoreDefaultKey) 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_storeId( java.lang.Integer )

StoreDefaultAccessBean

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

findByStore

public StoreDefaultAccessBean findByStore(java.lang.Integer storeId)
                                   throws java.rmi.RemoteException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

Retrieves all StoreDefaultAccessBeans by store ID

The SQL query used to fetch the requested row from the STOREDEF table is:

SELECT * FROM STOREDEF T1 WHERE (T1.STORE_ID = ?)

Parameters:
storeId - The store ID
Returns:
The StoreDefault representing the row that matches the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

setInitKey_storeId

public void setInitKey_storeId(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

getContractId

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

This method provides access to the STOREDEF.CONTRACT_ID column of DB2 type BIGINT.

The following is a description of this column:

The default Contract for the Store.

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

getContractIdInEJBType

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

This method provides access to the STOREDEF.CONTRACT_ID column of DB2 type BIGINT.

The following is a description of this column:

The default Contract for the Store.

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

setContractId

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

setContractId

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

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

The following is a description of this column:

The Store.

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

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 STOREDEF.SHIPMODE_ID column of DB2 type INTEGER.

The following is a description of this column:

The default ShippingMode for the Store.

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 STOREDEF.SHIPMODE_ID column of DB2 type INTEGER.

The following is a description of this column:

The default ShippingMode for the Store.

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

setShipModeId

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

Feedback