com.ibm.commerce.common.objects
Class StoreGroupAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
        |
        +--com.ibm.commerce.common.objects.StoreGroupAccessBean

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

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

Constructor Summary
StoreGroupAccessBean()
          constructor
StoreGroupAccessBean(javax.ejb.EJBObject o)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
 java.util.Enumeration findAll()
          Retrieves all StoreGroupAccessBeans
 boolean fulfills(java.lang.Long arg0, java.lang.String arg1)
           
 java.lang.String getDefaultCurrency()
          This method accesses a non-CMP field
  StoreEntityDescriptionAccessBean getDescription(java.lang.Integer arg0)
          This method accesses a non-CMP field
 java.lang.String getField1()
          This method provides access to the STOREGRP.FIELD1 column of DB2 type VARCHAR(254).
 java.lang.String getIdentifier()
          This method accesses a non-CMP field
 java.lang.Integer getMarkForDelete()
          This method accesses a non-CMP field
  CatalogAccessBean getMasterCatalog()
          Gets the master catalog for this store group
 java.lang.String getMemberId()
          This method accesses a non-CMP field
 java.lang.Long getMemberIdInEJBType()
          This method accesses a non-CMP field
 java.lang.Long getOwner()
          This method accesses a non-CMP field
 java.lang.String getStoreEntityId()
          This method accesses a non-CMP field
 java.lang.Integer getStoreEntityIdInEJBType()
          This method accesses a non-CMP field
 java.lang.String getType()
          This method accesses a non-CMP field
protected  void instantiateEJB()
           
protected  boolean instantiateEJBByPrimaryKey()
           
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setDefaultCurrency(java.lang.String newValue)
          This method accesses a non-CMP field
 void setField1(java.lang.String newValue)
          This method provides access to the STOREGRP.FIELD1 column of DB2 type VARCHAR(254).
 void setIdentifier(java.lang.String newValue)
          This method accesses a non-CMP field
 void setInitKey_storeEntityId(java.lang.String newValue)
          Set the primary key for this object
 void setMarkForDelete(java.lang.Integer 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoreGroupAccessBean

public StoreGroupAccessBean()
constructor

StoreGroupAccessBean

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

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 (T1.MARKFORDELETE != 1)

Returns:
An Enumeration of all StoreGroupAccessBeans representing the 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

setInitKey_storeEntityId

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

getIdentifier

public java.lang.String getIdentifier()
                               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

setIdentifier

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

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

The following is a description of this column:

Customizable.

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

setField1

public void setField1(java.lang.String newValue)

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

The following is a description of this column:

Customizable.

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

getStoreEntityId

public java.lang.String getStoreEntityId()
                                  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

getStoreEntityIdInEJBType

public java.lang.Integer getStoreEntityIdInEJBType()
                                            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

getMemberId

public java.lang.String getMemberId()
                             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

getMemberIdInEJBType

public java.lang.Long getMemberIdInEJBType()
                                    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

setMemberId

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

setMemberId

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

getType

public java.lang.String getType()
                         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

getDefaultCurrency

public java.lang.String getDefaultCurrency()
                                    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

setDefaultCurrency

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

fulfills

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

getMasterCatalog

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

Gets the master catalog for this store group

Returns:
A com.ibm.commerce.catalog.objects.CatalogAccessBean object
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

getDescription

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

getOwner

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

getMarkForDelete

public java.lang.Integer getMarkForDelete()
                                   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

setMarkForDelete

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