java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.user.objects.RoleAccessBean
This table stores the roles defined in WebSphere Commerce. Once a role is created, you cannot change the name or description of a role using a graphical user interface tool. This access bean corresponds to the database table 'ROLE'.
Constructor Summary | |
RoleAccessBean() Zero argument constructor used to initialize the access bean. |
|
RoleAccessBean(javax.ejb.EJBObject o) constructor |
Method Summary | |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | defaultJNDIName() |
RoleAccessBean | findByName(java.lang.String astrName) The SQL is "SELECT * FROM ROLE T1 WHERE (T1.NAME = ?)". |
java.lang.String | getDescription() Description of the role. |
java.lang.String | getName() This method provides access to the ROLE.NAME column of DB2 type VARCHAR(254) NOT NULL. |
java.lang.String | getRoleId() This method provides access to the ROLE.ROLE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getRoleIdInEJBType() This method provides access to the ROLE.ROLE_ID column of DB2 type INTEGER NOT NULL. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setDescription(java.lang.String newDescription) Set the description of the role. |
void | setInitKey_RoleId(java.lang.String newValue) Set the primary key for this object |
void | setName(java.lang.String newValue) This method accesses a non-CMP field |
void | setRoleId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setRoleId(java.lang.String newValue) This method accesses a non-CMP field |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RoleAccessBean()
public RoleAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
Method Detail |
public RoleAccessBean findByName(java.lang.String astrName) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
The SQL is "SELECT * FROM ROLE T1 WHERE (T1.NAME = ?)".
public void setInitKey_RoleId(java.lang.String newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
public java.lang.String getRoleId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ROLE.ROLE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Primary key for the role.
public java.lang.Integer getRoleIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ROLE.ROLE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Primary key for the role.
public void setRoleId(java.lang.String newValue)
public void setRoleId(java.lang.Integer newValue)
public java.lang.String getName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ROLE.NAME column of DB2 type VARCHAR(254) NOT NULL.
The following is a description of this column:
Name of the role. For example, &quo
public void setName(java.lang.String newValue)
public java.lang.String getDescription() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Description of the role.
public void setDescription(java.lang.String newDescription) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Set the description of the role.
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.