|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractAccessBean | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.accesscontrol.objects.ActionGrpAccessBean
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.
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 |
public ActionGrpAccessBean()
Default constructor. Maps to findByPrimaryKey.
public ActionGrpAccessBean(javax.ejb.EJBObject Object) throws java.rmi.RemoteException
Creates an access bean for the specified EJB
object
- javax.ejb.EJBObjectjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic 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
aGroupName
- java.lang.StringaOwnerId
- longjavax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionMethod Detail |
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
commitCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findAllActionGrp() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
The SQL is "SELECT * FROM ACACTGRP WHERE (1 = 1)".
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 = ?".
aGroupName
- java.lang.Stringjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
aMember
- java.lang.LongaRelationship
- java.lang.Stringjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjava.lang.Exception
- The java.lang.Exception exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getActionGroupId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Action group id.
getActionGroupId
in interface ActionGrpAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic int getActionGroupIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Action group id.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
getField1
in interface ActionGrpAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
getGroupName
in interface ActionGrpAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
java.lang.Exception
- The java.lang.Exception exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getOwnerId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Owner id.
getOwnerId
in interface ActionGrpAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic long getOwnerIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Owner Id.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
refreshCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void setActionGroupId(int aActionGroupId)
Set the action group id.
aActionGroupId
- intpublic void setActionGroupId(java.lang.String aActionGroupId)
Set the action group id.
setActionGroupId
in interface ActionGrpAccessBeanData
aActionGroupId
- java.lang.Stringpublic 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.
setField1
in interface ActionGrpAccessBeanData
aField1
- java.lang.Stringpublic 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.
setGroupName
in interface ActionGrpAccessBeanData
aGroupName
- java.lang.Stringpublic void setInitKey_actionGroupId(java.lang.String aInitKey_actionGroupId)
Set the primary key for this object
aInitKey_actionGroupId
- java.lang.Stringpublic void setOwnerId(long aOwnerId)
Set the owner id.
aOwnerId
- longpublic void setOwnerId(java.lang.String aOwnerId)
Set the owner id.
setOwnerId
in interface ActionGrpAccessBeanData
aOwnerId
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |