com.ibm.commerce.common.objects
Class StoreGroupAccessBean

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

public class StoreGroupAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements StoreGroupAccessBeanData

This bean provides access to the STOREGRP table.

The following is a description of this table:

Each row of this table represents a StoreGroup. A StoreGroup contains information that can be used by the Stores in that StoreGroup. A StoreGroup is a StoreEntity. In WebSphere Commerce there is only one StoreGroup.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
StoreGroupAccessBean()
          Default constructor.
StoreGroupAccessBean(javax.ejb.EJBObject ejbObject)
          Creates an access bean for the specified EJB
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.util.Enumeration findAll()
          Retrieves all StoreGroupAccessBeans
 boolean fulfills(java.lang.Long aFills, java.lang.String aFills)
          IBM internal use only.
 java.lang.String getDefaultCurrency()
          Returns default currency
 StoreEntityDescriptionAccessBean getDescription(java.lang.Integer languageId)
          Returns StoreEntityDescriptionAccessBean by languageId
 java.lang.String getField1()
          This method provides access to the STOREGRP.FIELD1 column of DB2 type VARCHAR(254) NULL.
 java.lang.String getIdentifier()
          Returns store identifier
 CatalogAccessBean getMasterCatalog()
          Returns CatalogAccessBean by default storeEntityId
 java.lang.String getMemberId()
          Returns member id
 java.lang.Long getMemberIdInEJBType()
          Returns member id as Long
 java.lang.Long getOwner()
          Returns owner
 java.lang.String getStoreEntityId()
          Returns store entity id
 java.lang.Integer getStoreEntityIdInEJBType()
          Returns store entity id as Integer
 java.lang.String getType()
          Returns type
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setDefaultCurrency(java.lang.String aDefaultCurrency)
          Stores default currency
 void setField1(java.lang.String aField1)
          This method provides access to the STOREGRP.FIELD1 column of DB2 type VARCHAR(254) NULL.
 void setIdentifier(java.lang.String aIdentifier)
          Stores identifier
 void setInitKey_storeEntityId(java.lang.String aInitKey_storeEntityId)
          Set the primary key for this object
 void setMemberId(java.lang.Long aMemberId)
          Stores member id
 void setMemberId(java.lang.String aMemberId)
          Stores member id
 
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

StoreGroupAccessBean

public StoreGroupAccessBean()

Default constructor. Maps to findByPrimaryKey.


StoreGroupAccessBean

public StoreGroupAccessBean(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

findAll

public java.util.Enumeration findAll()
                              throws java.rmi.RemoteException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

Retrieves all StoreGroupAccessBeans

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

SELECT * FROM STOREENT T1, STOREGRP T2 WHERE 1 = 1

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

Returns default currency

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

Parameters:
aDescription - 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

getField1

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

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

The following is a description of this column:

Customizable.

Specified by:
getField1 in interface StoreGroupAccessBeanData
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

getIdentifier

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

Returns store identifier

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

getMasterCatalog

public CatalogAccessBean getMasterCatalog()
                                   throws javax.naming.NamingException,
                                          java.rmi.RemoteException,
                                          javax.ejb.FinderException

Returns CatalogAccessBean by default storeEntityId

Returns:
com.ibm.commerce.catalog.objects.CatalogAccessBean
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

getMemberId

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

Returns member id

Specified by:
getMemberId in interface StoreGroupAccessBeanData
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

Returns member id as Long

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

Returns store entity id

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

Returns store entity id as Integer

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

Stores default currency

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

setField1

public void setField1(java.lang.String aField1)

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

The following is a description of this column:

Customizable.

Specified by:
setField1 in interface StoreGroupAccessBeanData
Parameters:
aField1 - java.lang.String
Returns:
void

setIdentifier

public void setIdentifier(java.lang.String aIdentifier)

Stores identifier

Specified by:
setIdentifier in interface StoreGroupAccessBeanData
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)

Stores member id

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

setMemberId

public void setMemberId(java.lang.String aMemberId)

Stores member id

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