com.ibm.commerce.common.objects
Class StoreEntityAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.common.objects.StoreEntityAccessBean
All Implemented Interfaces:
java.io.Serializable, StoreEntityAccessBeanData

public class StoreEntityAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements StoreEntityAccessBeanData

This bean provides access to the STOREENT table.

The following is a description of this table:

Each row of this table represents a StoreEntity. A StoreEntity is an abstract super class that can represent either a Store or a StoreGroup. It is represented in the database as a row in the this table.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
StoreEntityAccessBean()
          Default constructor.
StoreEntityAccessBean(javax.ejb.EJBObject ejbObject)
          Creates an access bean for the specified EJB
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 StoreEntityAccessBean findByIdentifierAndMemberId(java.lang.String storeId, java.lang.Long memberId)
          Retrieves all StoreEntityAccessBean by the specified identifier and member id
 java.util.Enumeration findByMember(java.lang.Long memberId)
          Retrieves all StoreEntityAccessBean by the specified member id
 boolean fulfills(java.lang.Long aFills, java.lang.String aFills)
          IBM internal use only.
 java.lang.String getDefaultCurrency()
          This method provides access to the STOREENT.SETCCURR column of DB2 type CHAR(3) NULL.
 StoreEntityDescriptionAccessBean getDescription(java.lang.Integer languageId)
          Returns StoreEntityDescriptionAccessBean
 java.lang.String getIdentifier()
          This method provides access to the STOREENT.IDENTIFIER column of DB2 type VARCHAR(254) NOT NULL.
 java.lang.String getMemberId()
          This method provides access to the STOREENT.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getMemberIdInEJBType()
          This method provides access to the STOREENT.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getOwner()
          Returns owner
 java.lang.String getStoreEntityId()
          This method provides access to the STOREENT.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getStoreEntityIdInEJBType()
          This method provides access to the STOREENT.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getType()
          Returns type
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setDefaultCurrency(java.lang.String aDefaultCurrency)
          This method provides access to the STOREENT.SETCCURR column of DB2 type CHAR(3) NULL.
 void setIdentifier(java.lang.String aIdentifier)
          This method provides access to the STOREENT.IDENTIFIER column of DB2 type VARCHAR(254) NOT NULL.
 void setInitKey_storeEntityId(java.lang.String aInitKey_storeEntityId)
          Set the primary key for this object
 void setMemberId(java.lang.Long aMemberId)
          This method provides access to the STOREENT.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setMemberId(java.lang.String aMemberId)
          This method provides access to the STOREENT.MEMBER_ID column of DB2 type BIGINT NOT 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

StoreEntityAccessBean

public StoreEntityAccessBean()

Default constructor. Maps to findByPrimaryKey.


StoreEntityAccessBean

public StoreEntityAccessBean(javax.ejb.EJBObject ejbObject)
                      throws java.rmi.RemoteException

Creates an access bean for the specified EJB

Parameters:
ejbObject - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException 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

findByIdentifierAndMemberId

public StoreEntityAccessBean findByIdentifierAndMemberId(java.lang.String storeId,
                                                         java.lang.Long memberId)
                                                  throws java.rmi.RemoteException,
                                                         javax.ejb.FinderException,
                                                         javax.naming.NamingException

Retrieves all StoreEntityAccessBean by the specified identifier and member id

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

SELECT * FROM STOREENT T1 WHERE (IDENTIFIER =? AND MEMBER_ID = ?)

Parameters:
storeId - Store id
memberId - Member id
Returns:
com.ibm.commerce.common.objects.StoreEntityAccessBean
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

findByMember

public java.util.Enumeration findByMember(java.lang.Long memberId)
                                   throws java.rmi.RemoteException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

Retrieves all StoreEntityAccessBean by the specified member id

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

SELECT * FROM STOREENT T1 WHERE (MEMBER_ID = ?)

Parameters:
memberId - java.lang.Long
Returns:
java.util.Enumeration
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

getDefaultCurrency

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

This method provides access to the STOREENT.SETCCURR column of DB2 type CHAR(3) NULL.

The following is a description of this column:

The default currency for a StoreEntity. Refer to STOREENT table: details for more information.

Specified by:
getDefaultCurrency in interface StoreEntityAccessBeanData
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

getDescription

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

Returns StoreEntityDescriptionAccessBean

Parameters:
languageId - java.lang.Integer
Returns:
com.ibm.commerce.common.objects.StoreEntityDescriptionAccessBean
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getIdentifier

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

This method provides access to the STOREENT.IDENTIFIER column of DB2 type VARCHAR(254) NOT NULL.

The following is a description of this column:

A string that, along with the owner, uniquely identifies the StoreEntity.

Specified by:
getIdentifier in interface StoreEntityAccessBeanData
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

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 STOREENT.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The owner of the StoreEntity.

Specified by:
getMemberId in interface StoreEntityAccessBeanData
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 STOREENT.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The owner of the StoreEntity.

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

getOwner

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

Returns owner

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

getStoreEntityId

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

This method provides access to the STOREENT.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Generated unique key.

Specified by:
getStoreEntityId in interface StoreEntityAccessBeanData
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

getStoreEntityIdInEJBType

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

This method provides access to the STOREENT.STOREENT_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

getType

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

Returns type

Specified by:
getType in interface StoreEntityAccessBeanData
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

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

setDefaultCurrency

public void setDefaultCurrency(java.lang.String aDefaultCurrency)

This method provides access to the STOREENT.SETCCURR column of DB2 type CHAR(3) NULL.

The following is a description of this column:

The default currency for a StoreEntity. Refer to STOREENT table: details for more information.

Specified by:
setDefaultCurrency in interface StoreEntityAccessBeanData
Parameters:
aDefaultCurrency - java.lang.String
Returns:
void

setIdentifier

public void setIdentifier(java.lang.String aIdentifier)

This method provides access to the STOREENT.IDENTIFIER column of DB2 type VARCHAR(254) NOT NULL.

The following is a description of this column:

A string that, along with the owner, uniquely identifies the StoreEntity.

Specified by:
setIdentifier in interface StoreEntityAccessBeanData
Parameters:
aIdentifier - java.lang.String
Returns:
void

setInitKey_storeEntityId

public void setInitKey_storeEntityId(java.lang.String aInitKey_storeEntityId)

Set the primary key for this object

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

setMemberId

public void setMemberId(java.lang.Long aMemberId)

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

The following is a description of this column:

The owner of the StoreEntity.

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

setMemberId

public void setMemberId(java.lang.String aMemberId)

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

The following is a description of this column:

The owner of the StoreEntity.

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