com.ibm.commerce.accesscontrol.objects
Class ActActGrpAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.accesscontrol.objects.ActActGrpAccessBean
All Implemented Interfaces:
ActActGrpAccessBeanData, java.io.Serializable

public class ActActGrpAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements ActActGrpAccessBeanData

This bean provides access to the ACACTACTGP table.

The following is a description of this table:

This table captures the association between actions and the action groups. Given an action group, this table stores all the actions in the action group.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
ActActGrpAccessBean()
          Default constructor.
ActActGrpAccessBean(javax.ejb.EJBObject Object)
          Creates an access bean for the specified EJB
ActActGrpAccessBean(int argActionGroupId, int argActionId)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 ActActGrpAccessBean findActActGrpByActGrpIdAndActId(int aActGrpId, int aActId)
          The SQL is "SELECT * FROM ACACTACTGP T1 WHERE T1.ACACTGRP_ID = ? AND T1.ACACTION_ID = ?".
 java.util.Enumeration findAllActActGrp()
          The SQL is "SELECT * FROM ACACTACTGP WHERE 1 = 1".
 java.util.Enumeration findAllActActGrpByActionGroupId(int aActionGroupId)
          The SQL is "SELECT * FROM ACACTACTGP T1 WHERE T1.ACACTGRP_ID = ?"
 java.util.Enumeration findAllActActGrpByActionId(int aActionId)
          The SQL is "SELECT * FROM ACACTACTGP T1 WHERE T1.ACACTION_ID = ?".
 java.lang.String getField1()
          This method provides access to the ACACTACTGP.FIELD1 column of DB2 type VARCHAR(128) NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setField1(java.lang.String aField1)
          This method provides access to the ACACTACTGP.FIELD1 column of DB2 type VARCHAR(128) NULL.
 void setInitKey_actionGroupId(java.lang.String aInitKey_actionGroupId)
          Set the primary key for this object
 void setInitKey_actionId(java.lang.String aInitKey_actionId)
          Set the primary key for this object
 
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

ActActGrpAccessBean

public ActActGrpAccessBean()

Default constructor. Maps to findByPrimaryKey.


ActActGrpAccessBean

public ActActGrpAccessBean(javax.ejb.EJBObject Object)
                    throws java.rmi.RemoteException

Creates an access bean for the specified EJB

Parameters:
object - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

ActActGrpAccessBean

public ActActGrpAccessBean(int argActionGroupId,
                           int argActionId)
                    throws javax.ejb.CreateException,
                           java.rmi.RemoteException,
                           javax.naming.NamingException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
argActionGroupId - int
argActionId - int
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException 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

findActActGrpByActGrpIdAndActId

public ActActGrpAccessBean findActActGrpByActGrpIdAndActId(int aActGrpId,
                                                           int aActId)
                                                    throws java.rmi.RemoteException,
                                                           javax.ejb.FinderException,
                                                           javax.naming.NamingException

The SQL is "SELECT * FROM ACACTACTGP T1 WHERE T1.ACACTGRP_ID = ? AND T1.ACACTION_ID = ?".

Parameters:
aActGrpId - int
aActId - int
Returns:
com.ibm.commerce.accesscontrol.objects.ActActGrpAccessBean
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

findAllActActGrp

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

The SQL is "SELECT * FROM ACACTACTGP 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

findAllActActGrpByActionGroupId

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

The SQL is "SELECT * FROM ACACTACTGP T1 WHERE T1.ACACTGRP_ID = ?"

Parameters:
aActionGroupId - int
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

findAllActActGrpByActionId

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

The SQL is "SELECT * FROM ACACTACTGP T1 WHERE T1.ACACTION_ID = ?".

Parameters:
aActionId - int
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

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 ACACTACTGP.FIELD1 column of DB2 type VARCHAR(128) NULL.

The following is a description of this column:

Customizable.

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

setField1

public void setField1(java.lang.String aField1)

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

The following is a description of this column:

Customizable.

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

setInitKey_actionGroupId

public void setInitKey_actionGroupId(java.lang.String aInitKey_actionGroupId)

Set the primary key for this object

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

setInitKey_actionId

public void setInitKey_actionId(java.lang.String aInitKey_actionId)

Set the primary key for this object

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