com.ibm.commerce.accesscontrol.objects
Class ACResMemRlAccessBean

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

public class ACResMemRlAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements ACResMemRlAccessBeanData

This bean provides access to the ACRESMEMRL table.

The following is a description of this table:

This table stores resource-member relationships for resources of the type of different resource categories. A combination of all the columns other than ACRESMEMRL_ID should be unique.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
ACResMemRlAccessBean()
          Default constructor.
ACResMemRlAccessBean(javax.ejb.EJBObject Object)
          Creates an access bean for the specified EJB.
ACResMemRlAccessBean(java.lang.Long aMemberId, java.lang.Long aResourceId, java.lang.Integer aAcRelationId, java.lang.Integer aAcResCgryId)
          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 findAllResMemRl()
          The SQL is "SELECT * FROM ACRESMEMRL T1 WHERE 1 = 1"
 java.util.Enumeration findAllResMemRlByAcResCgryId(java.lang.Integer aAcResCgryId)
          The SQL is "SELECT * FROM ACRESMEMRL T1 WHERE T1.ACRESCGRY_ID = ?".
 java.util.Enumeration findAllResMemRlByAcResCgryIdAndAcRelationId(java.lang.Integer aAcResCgryId, java.lang.Integer aAcRelationId)
          The SQL is "SELECT * FROM ACRESMEMRL T1 WHERE T1.ACRESCGRY_ID = ? AND T1.ACRELATION_ID = ?".
 java.util.Enumeration findAllResMemRlByMemberId(java.lang.Long aMemberId)
          The SQL is "SELECT * FROM ACRESMEMRL T1 WHERE T1.MEMBER_ID = ?".
 java.lang.String getAcRelationId()
          This method provides access to the ACRESMEMRL.ACRELATION_ID column of DB2 type INTEGER NOT NULL and Oracle type INTEGER NOT NULL.
 java.lang.Integer getAcRelationIdInEJBType()
          This method provides access to the ACRESMEMRL.ACRELATION_ID column of DB2 type INTEGER NOT NULL and Oracle type INTEGER NOT NULL.
 java.lang.String getAcResCgryId()
          This method provides access to the ACRESMEMRL.ACRESCGRY_ID column of DB2 type INTEGER NOT NULL and Oracle type INTEGER NOT NULL.
 java.lang.Integer getAcResCgryIdInEJBType()
          This method provides access to the ACRESMEMRL.ACRESCGRY_ID column of DB2 type INTEGER NOT NULL and Oracle type INTEGER NOT NULL.
 java.lang.String getMemberId()
          This method provides access to the ACRESMEMRL.MEMBER_ID column of DB2 type BIGINT NOT NULL and Oracle type NUMBER NOT NULL.
 java.lang.Long getMemberIdInEJBType()
          This method provides access to the ACRESMEMRL.MEMBER_ID column of DB2 type BIGINT NOT NULL and Oracle type NUMBER NOT NULL.
 java.lang.String getResourceId()
          This method provides access to the ACRESMEMRL.RESOURCEID column of DB2 type BIGINT NULL and Oracle type NUMBER NULL.
 java.lang.Long getResourceIdInEJBType()
          This method provides access to the ACRESMEMRL.RESOURCEID column of DB2 type BIGINT NULL and Oracle type NUMBER NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setAcRelationId(java.lang.Integer aAcRelationId1)
          This method provides access to the ACRESMEMRL.ACRELATION_ID column of DB2 type INTEGER NOT NULL and Oracle type INTEGER NOT NULL.
 void setAcRelationId(java.lang.String aAcRelationId1)
          This method provides access to the ACRESMEMRL.ACRELATION_ID column of DB2 type INTEGER NOT NULL and Oracle type INTEGER NOT NULL.
 void setAcResCgryId(java.lang.Integer aAcResCgryId1)
          This method provides access to the ACRESMEMRL.ACRESCGRY_ID column of DB2 type INTEGER NOT NULL and Oracle type INTEGER NOT NULL.
 void setAcResCgryId(java.lang.String aAcResCgryId1)
          This method provides access to the ACRESMEMRL.ACRESCGRY_ID column of DB2 type INTEGER NOT NULL and Oracle type INTEGER NOT NULL.
 void setInitKey_acResMemRlId(java.lang.String aInitKey_acResMemRlId1)
          Set the primary key for this object
 void setMemberId(java.lang.Long aMemberId1)
          This method provides access to the ACRESMEMRL.MEMBER_ID column of DB2 type BIGINT NOT NULL and Oracle type NUMBER NOT NULL.
 void setMemberId(java.lang.String aMemberId1)
          This method provides access to the ACRESMEMRL.MEMBER_ID column of DB2 type BIGINT NOT NULL and Oracle type NUMBER NOT NULL.
 void setResourceId(java.lang.Long aResourceId1)
          This method provides access to the ACRESMEMRL.RESOURCEID column of DB2 type BIGINT NULL and Oracle type NUMBER NULL.
 void setResourceId(java.lang.String aResourceId1)
          This method provides access to the ACRESMEMRL.RESOURCEID column of DB2 type BIGINT NULL and Oracle type NUMBER NULL.
 
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

ACResMemRlAccessBean

public ACResMemRlAccessBean()

Default constructor. Maps to findByPrimaryKey.


ACResMemRlAccessBean

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

ACResMemRlAccessBean

public ACResMemRlAccessBean(java.lang.Long aMemberId,
                            java.lang.Long aResourceId,
                            java.lang.Integer aAcRelationId,
                            java.lang.Integer aAcResCgryId)
                     throws javax.ejb.CreateException,
                            java.rmi.RemoteException,
                            javax.naming.NamingException,
                            javax.ejb.FinderException

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

Parameters:
aMemberId - java.lang.Long
aResourceId - java.lang.Long
aAcRelationId - java.lang.Integer
aAcResCgryId - java.lang.Integer
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
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

findAllResMemRl

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

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

findAllResMemRlByAcResCgryId

public java.util.Enumeration findAllResMemRlByAcResCgryId(java.lang.Integer aAcResCgryId)
                                                   throws java.rmi.RemoteException,
                                                          javax.ejb.FinderException,
                                                          javax.naming.NamingException

The SQL is "SELECT * FROM ACRESMEMRL T1 WHERE T1.ACRESCGRY_ID = ?".

Parameters:
aAcResCgryId - java.lang.Integer
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

findAllResMemRlByAcResCgryIdAndAcRelationId

public java.util.Enumeration findAllResMemRlByAcResCgryIdAndAcRelationId(java.lang.Integer aAcResCgryId,
                                                                         java.lang.Integer aAcRelationId)
                                                                  throws java.rmi.RemoteException,
                                                                         javax.ejb.FinderException,
                                                                         javax.naming.NamingException

The SQL is "SELECT * FROM ACRESMEMRL T1 WHERE T1.ACRESCGRY_ID = ? AND T1.ACRELATION_ID = ?".

Parameters:
aAcResCgryId - java.lang.Integer
aAcRelationId - java.lang.Integer
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

findAllResMemRlByMemberId

public java.util.Enumeration findAllResMemRlByMemberId(java.lang.Long aMemberId)
                                                throws java.rmi.RemoteException,
                                                       javax.ejb.FinderException,
                                                       javax.naming.NamingException

The SQL is "SELECT * FROM ACRESMEMRL T1 WHERE T1.MEMBER_ID = ?".

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

getAcRelationId

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

This method provides access to the ACRESMEMRL.ACRELATION_ID column of DB2 type INTEGER NOT NULL and Oracle type INTEGER NOT NULL.

The following is a description of this column:

Relation ID. This refers to the relation in this record.

Specified by:
getAcRelationId in interface ACResMemRlAccessBeanData
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

getAcRelationIdInEJBType

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

This method provides access to the ACRESMEMRL.ACRELATION_ID column of DB2 type INTEGER NOT NULL and Oracle type INTEGER NOT NULL.

The following is a description of this column:

Relation ID. This refers to the relation in this record.

Returns:
java.lang.Integer
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

getAcResCgryId

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

This method provides access to the ACRESMEMRL.ACRESCGRY_ID column of DB2 type INTEGER NOT NULL and Oracle type INTEGER NOT NULL.

The following is a description of this column:

Resource category ID that indicates the type of resource.

Specified by:
getAcResCgryId in interface ACResMemRlAccessBeanData
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

getAcResCgryIdInEJBType

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

This method provides access to the ACRESMEMRL.ACRESCGRY_ID column of DB2 type INTEGER NOT NULL and Oracle type INTEGER NOT NULL.

The following is a description of this column:

Resource category ID that indicates the type of resource.

Returns:
java.lang.Integer
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

getMemberId

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

This method provides access to the ACRESMEMRL.MEMBER_ID column of DB2 type BIGINT NOT NULL and Oracle type NUMBER NOT NULL.

The following is a description of this column:

Member ID that has a relationship with the resource.

Specified by:
getMemberId in interface ACResMemRlAccessBeanData
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

getMemberIdInEJBType

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

This method provides access to the ACRESMEMRL.MEMBER_ID column of DB2 type BIGINT NOT NULL and Oracle type NUMBER NOT NULL.

The following is a description of this column:

Member ID that has a relationship with the resource.

Returns:
java.lang.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

getResourceId

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

This method provides access to the ACRESMEMRL.RESOURCEID column of DB2 type BIGINT NULL and Oracle type NUMBER NULL.

The following is a description of this column:

Resource ID that has this relationship with the member.

Specified by:
getResourceId in interface ACResMemRlAccessBeanData
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

getResourceIdInEJBType

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

This method provides access to the ACRESMEMRL.RESOURCEID column of DB2 type BIGINT NULL and Oracle type NUMBER NULL.

The following is a description of this column:

Resource ID that has this relationship with the member.

Returns:
java.lang.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

setAcRelationId

public void setAcRelationId(java.lang.Integer aAcRelationId1)

This method provides access to the ACRESMEMRL.ACRELATION_ID column of DB2 type INTEGER NOT NULL and Oracle type INTEGER NOT NULL.

The following is a description of this column:

Relation ID. This refers to the relation in this record.

Parameters:
aAcRelationId1 - java.lang.Integer
Returns:
void

setAcRelationId

public void setAcRelationId(java.lang.String aAcRelationId1)

This method provides access to the ACRESMEMRL.ACRELATION_ID column of DB2 type INTEGER NOT NULL and Oracle type INTEGER NOT NULL.

The following is a description of this column:

Relation ID. This refers to the relation in this record.

Specified by:
setAcRelationId in interface ACResMemRlAccessBeanData
Parameters:
aAcRelationId1 - java.lang.String
Returns:
void

setAcResCgryId

public void setAcResCgryId(java.lang.Integer aAcResCgryId1)

This method provides access to the ACRESMEMRL.ACRESCGRY_ID column of DB2 type INTEGER NOT NULL and Oracle type INTEGER NOT NULL.

The following is a description of this column:

Resource category ID that indicates the type of resource.

Parameters:
aAcResCgryId1 - java.lang.Integer
Returns:
void

setAcResCgryId

public void setAcResCgryId(java.lang.String aAcResCgryId1)

This method provides access to the ACRESMEMRL.ACRESCGRY_ID column of DB2 type INTEGER NOT NULL and Oracle type INTEGER NOT NULL.

The following is a description of this column:

Resource category ID that indicates the type of resource.

Specified by:
setAcResCgryId in interface ACResMemRlAccessBeanData
Parameters:
aAcResCgryId1 - java.lang.String
Returns:
void

setInitKey_acResMemRlId

public void setInitKey_acResMemRlId(java.lang.String aInitKey_acResMemRlId1)

Set the primary key for this object

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

setMemberId

public void setMemberId(java.lang.Long aMemberId1)

This method provides access to the ACRESMEMRL.MEMBER_ID column of DB2 type BIGINT NOT NULL and Oracle type NUMBER NOT NULL.

The following is a description of this column:

Member ID that has a relationship with the resource.

Parameters:
aMemberId1 - java.lang.Long
Returns:
void

setMemberId

public void setMemberId(java.lang.String aMemberId1)

This method provides access to the ACRESMEMRL.MEMBER_ID column of DB2 type BIGINT NOT NULL and Oracle type NUMBER NOT NULL.

The following is a description of this column:

Member ID that has a relationship with the resource.

Specified by:
setMemberId in interface ACResMemRlAccessBeanData
Parameters:
aMemberId1 - java.lang.String
Returns:
void

setResourceId

public void setResourceId(java.lang.Long aResourceId1)

This method provides access to the ACRESMEMRL.RESOURCEID column of DB2 type BIGINT NULL and Oracle type NUMBER NULL.

The following is a description of this column:

Resource ID that has this relationship with the member.

Parameters:
aResourceId1 - java.lang.Long
Returns:
void

setResourceId

public void setResourceId(java.lang.String aResourceId1)

This method provides access to the ACRESMEMRL.RESOURCEID column of DB2 type BIGINT NULL and Oracle type NUMBER NULL.

The following is a description of this column:

Resource ID that has this relationship with the member.

Specified by:
setResourceId in interface ACResMemRlAccessBeanData
Parameters:
aResourceId1 - java.lang.String
Returns:
void