com.ibm.commerce.accesscontrol.objects
Class ActionGrpAccessBean

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

public class ActionGrpAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements ActionGrpAccessBeanData

This bean provides access to the ACACTGRP table.

The following is a description of this table:

This table stores all the action groups. An action group can contain one or more actions. The association between actions and action groups is captured in the ACACTACTGP 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
ActionGrpAccessBean()
          Default constructor.
ActionGrpAccessBean(javax.ejb.EJBObject Object)
          Creates an access bean for the specified EJB
ActionGrpAccessBean(java.lang.String aGroupName, long aOwnerId)
          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).
 java.util.Enumeration findAllActionGrp()
          The SQL is "SELECT * FROM ACACTGRP WHERE (1 = 1)".
 java.util.Enumeration findAllActionGrpByGroupName(java.lang.String aGroupName)
          The SQL is "SELECT * FROM ACACTGRP T1 WHERE T1.GROUPNAME = ?".
 boolean fulfills(java.lang.Long aMember, java.lang.String aRelationship)
          Determines if a given member fulfills a given relationship with the resource.
 java.lang.String getActionGroupId()
          Action group id.
 int getActionGroupIdInEJBType()
          Action group id.
 java.lang.String getField1()
          This method provides access to the ACACTGRP.FIELD1 column of DB2 type VARCHAR(128) NULL.
 java.lang.String getGroupName()
          This method provides access to the ACACTGRP.GROUPNAME column of DB2 type VARCHAR(128) NOT NULL.
 java.lang.Long getOwner()
          Returns the member id of the owner of the resource.
 java.lang.String getOwnerId()
          Owner id.
 long getOwnerIdInEJBType()
          Owner Id.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setActionGroupId(int aActionGroupId)
          Set the action group id.
 void setActionGroupId(java.lang.String aActionGroupId)
          Set the action group id.
 void setField1(java.lang.String aField1)
          This method provides access to the ACACTGRP.FIELD1 column of DB2 type VARCHAR(128) NULL.
 void setGroupName(java.lang.String aGroupName)
          This method provides access to the ACACTGRP.GROUPNAME column of DB2 type VARCHAR(128) NOT NULL.
 void setInitKey_actionGroupId(java.lang.String aInitKey_actionGroupId)
          Set the primary key for this object
 void setOwnerId(long aOwnerId)
          Set the owner id.
 void setOwnerId(java.lang.String aOwnerId)
          Set the owner 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

ActionGrpAccessBean

public ActionGrpAccessBean()

Default constructor. Maps to findByPrimaryKey.


ActionGrpAccessBean

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

ActionGrpAccessBean

public ActionGrpAccessBean(java.lang.String aGroupName,
                           long aOwnerId)
                    throws javax.naming.NamingException,
                           javax.ejb.CreateException,
                           java.rmi.RemoteException,
                           javax.ejb.FinderException

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

Parameters:
aGroupName - java.lang.String
aOwnerId - long
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException 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

findAllActionGrp

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

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

findAllActionGrpByGroupName

public java.util.Enumeration findAllActionGrpByGroupName(java.lang.String aGroupName)
                                                  throws java.rmi.RemoteException,
                                                         javax.ejb.FinderException,
                                                         javax.naming.NamingException

The SQL is "SELECT * FROM ACACTGRP T1 WHERE T1.GROUPNAME = ?".

Parameters:
aGroupName - java.lang.String
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 aMember,
                        java.lang.String aRelationship)
                 throws java.rmi.RemoteException,
                        java.lang.Exception,
                        javax.ejb.FinderException,
                        javax.naming.NamingException

Determines if a given member fulfills a given relationship with the resource.

Parameters:
aMember - java.lang.Long
aRelationship - 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

getActionGroupId

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

Action group id.

Specified by:
getActionGroupId in interface ActionGrpAccessBeanData
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

getActionGroupIdInEJBType

public int getActionGroupIdInEJBType()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

Action group id.

Returns:
int
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

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

The following is a description of this column:

Customizable.

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

getGroupName

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

This method provides access to the ACACTGRP.GROUPNAME column of DB2 type VARCHAR(128) NOT NULL.

The following is a description of this column:

Name of the action group.

Specified by:
getGroupName in interface ActionGrpAccessBeanData
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

getOwner

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

Returns the member id of the owner of the resource.

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

getOwnerId

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

Owner id.

Specified by:
getOwnerId in interface ActionGrpAccessBeanData
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

getOwnerIdInEJBType

public long getOwnerIdInEJBType()
                         throws java.rmi.RemoteException,
                                javax.ejb.CreateException,
                                javax.ejb.FinderException,
                                javax.naming.NamingException

Owner Id.

Returns:
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

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

setActionGroupId

public void setActionGroupId(int aActionGroupId)

Set the action group id.

Parameters:
aActionGroupId - int
Returns:
void

setActionGroupId

public void setActionGroupId(java.lang.String aActionGroupId)

Set the action group id.

Specified by:
setActionGroupId in interface ActionGrpAccessBeanData
Parameters:
aActionGroupId - java.lang.String
Returns:
void

setField1

public void setField1(java.lang.String aField1)

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

The following is a description of this column:

Customizable.

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

setGroupName

public void setGroupName(java.lang.String aGroupName)

This method provides access to the ACACTGRP.GROUPNAME column of DB2 type VARCHAR(128) NOT NULL.

The following is a description of this column:

Name of the action group.

Specified by:
setGroupName in interface ActionGrpAccessBeanData
Parameters:
aGroupName - 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

setOwnerId

public void setOwnerId(long aOwnerId)

Set the owner id.

Parameters:
aOwnerId - long
Returns:
void

setOwnerId

public void setOwnerId(java.lang.String aOwnerId)

Set the owner id.

Specified by:
setOwnerId in interface ActionGrpAccessBeanData
Parameters:
aOwnerId - java.lang.String
Returns:
void