|
||||||||
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.ResourceGroupAccessBean
This bean provides access to the ACRESGRP table.
The following is a description of this table:
This table stores all the resource groups in the system. The conditions column stores an XML document containing the constraints and attribute value pairs used for grouping the resources.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
ResourceGroupAccessBean()
Default constructor. |
|
ResourceGroupAccessBean(javax.ejb.EJBObject Object)
Creates an access bean for the specified EJB |
|
ResourceGroupAccessBean(long aOwnerId,
java.lang.String aGroupName)
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 |
findByGroupName(java.lang.String aGroupName)
The SQL is "SELECT * FROM ACRESGRP T1 WHERE T1.GRPNAME = ?" |
java.util.Enumeration |
findByOwnerId(long aOwnerId)
The SQL is "SELECT * FROM ACRESGRP T1 WHERE T1.MEMBER_ID = ?". |
boolean |
fulfills(java.lang.Long member,
java.lang.String relationship)
Determines if a given member fulfills a given relationship with the resource. |
java.lang.String |
getConditions()
This method provides access to the ACRESGRP.CONDITIONS column of DB2 type LONG NULL. |
java.lang.String |
getCustomField1()
This method provides access to the ACRESGRP.FIELD1 column of DB2 type VARCHAR(254) NULL. |
java.lang.String |
getCustomField2()
This method provides access to the ACRESGRP.FIELD2 column of DB2 type VARCHAR(254) NULL. |
java.lang.String |
getDescription()
This method provides access to the ACRESGRP.DESCRIPTION column of DB2 type VARCHAR(254) NULL. |
java.lang.String |
getGroupName()
Name of the resource group. |
java.lang.Long |
getOwner()
Returns the member id of the owner of the resource. |
java.lang.String |
getOwnerId()
Owner id. |
long |
getOwnerIdInEJBType()
Owner id. |
java.lang.String |
getResourceGrpId()
Resource group id. |
int |
getResourceGrpIdInEJBType()
Resource group id. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setConditions(java.lang.String aConditions)
This method provides access to the ACRESGRP.CONDITIONS column of DB2 type LONG NULL. |
void |
setCustomField1(java.lang.String aCustomField1)
This method provides access to the ACRESGRP.FIELD1 column of DB2 type VARCHAR(254) NULL. |
void |
setCustomField2(java.lang.String aCustomField2)
This method provides access to the ACRESGRP.FIELD2 column of DB2 type VARCHAR(254) NULL. |
void |
setDescription(java.lang.String aDescription)
This method provides access to the ACRESGRP.DESCRIPTION column of DB2 type VARCHAR(254) NULL. |
void |
setGroupName(java.lang.String aGroupName)
Set the name of the resource group. |
void |
setInitKey_ResourceGrpId(java.lang.String aInitKey_ResourceGrpId)
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. |
void |
setResourceGrpId(int aResourceGrpId)
Set the resource group id. |
void |
setResourceGrpId(java.lang.String aResourceGrpId)
Set the resource group 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 ResourceGroupAccessBean()
Default constructor. Maps to findByPrimaryKey.
public ResourceGroupAccessBean(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 ResourceGroupAccessBean(long aOwnerId, java.lang.String aGroupName) 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
aOwnerId
- longaGroupName
- java.lang.Stringjavax.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 findByGroupName(java.lang.String aGroupName) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
The SQL is "SELECT * FROM ACRESGRP T1 WHERE T1.GRPNAME = ?"
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 java.util.Enumeration findByOwnerId(long aOwnerId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
The SQL is "SELECT * FROM ACRESGRP T1 WHERE T1.MEMBER_ID = ?".
aOwnerId
- longjava.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 member, java.lang.String relationship) 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.
member
- java.lang.Longrelationship
- 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 getConditions() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ACRESGRP.CONDITIONS column of DB2 type LONG NULL.
The following is a description of this column:
XML document describing the condition for this implicit resource group.
getConditions
in interface ResourceGroupAccessBeanData
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 getCustomField1() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ACRESGRP.FIELD1 column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Customizable.
getCustomField1
in interface ResourceGroupAccessBeanData
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 getCustomField2() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ACRESGRP.FIELD2 column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Customizable.
getCustomField2
in interface ResourceGroupAccessBeanData
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 getDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ACRESGRP.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Description of the resource group.
getDescription
in interface ResourceGroupAccessBeanData
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
Name of the resource group.
getGroupName
in interface ResourceGroupAccessBeanData
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 ResourceGroupAccessBeanData
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 java.lang.String getResourceGrpId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Resource group id.
getResourceGrpId
in interface ResourceGroupAccessBeanData
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 getResourceGrpIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Resource 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 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 setConditions(java.lang.String aConditions)
This method provides access to the ACRESGRP.CONDITIONS column of DB2 type LONG NULL.
The following is a description of this column:
XML document describing the condition for this implicit resource group.
setConditions
in interface ResourceGroupAccessBeanData
aConditions
- java.lang.Stringpublic void setCustomField1(java.lang.String aCustomField1)
This method provides access to the ACRESGRP.FIELD1 column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Customizable.
setCustomField1
in interface ResourceGroupAccessBeanData
aCustomField1
- java.lang.Stringpublic void setCustomField2(java.lang.String aCustomField2)
This method provides access to the ACRESGRP.FIELD2 column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Customizable.
setCustomField2
in interface ResourceGroupAccessBeanData
aCustomField2
- java.lang.Stringpublic void setDescription(java.lang.String aDescription)
This method provides access to the ACRESGRP.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Description of the resource group.
setDescription
in interface ResourceGroupAccessBeanData
aDescription
- java.lang.Stringpublic void setGroupName(java.lang.String aGroupName)
Set the name of the resource group.
setGroupName
in interface ResourceGroupAccessBeanData
aGroupName
- java.lang.Stringpublic void setInitKey_ResourceGrpId(java.lang.String aInitKey_ResourceGrpId)
Set the primary key for this object
aInitKey_ResourceGrpId
- 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 ResourceGroupAccessBeanData
aOwnerId
- java.lang.Stringpublic void setResourceGrpId(int aResourceGrpId)
Set the resource group id.
aResourceGrpId
- intpublic void setResourceGrpId(java.lang.String aResourceGrpId)
Set the resource group ID.
setResourceGrpId
in interface ResourceGroupAccessBeanData
aResourceGrpId
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |