java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.negotiation.objects.RuleClassRegistryAccessBean
This table contains the class information used to interpret the text in the CONTRLRULE table. This access bean corresponds to the database table 'RULECLSREG'.
Constructor Summary | |
RuleClassRegistryAccessBean() Zero argument constructor used to initialize the access bean. |
|
RuleClassRegistryAccessBean(javax.ejb.EJBObject o) constructor |
|
RuleClassRegistryAccessBean(java.lang.Long arg1, java.lang.String arg2, java.lang.String arg3) Creates an access bean with the specified attributes. |
Method Summary | |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findAllRuleClasses() Retrieves all rule class records. |
RuleClassRegistryAccessBean | findRuleClassByOwnerAndType(java.lang.Long ownerid, java.lang.String type) Retrieves all rule class records for the specified owner and type. |
java.util.Enumeration | findRuleClassesByOwner(java.lang.Long ownerid) Retrieves all rule class records for the specified owner. |
java.lang.String | getClassName() This method provides access to the RULECLSREG.CLASSNAME column of DB2 type VARCHAR(254). |
java.lang.String | getId() This method provides access to the RULECLSREG.RULECLASS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getIdInEJBType() This method provides access to the RULECLSREG.RULECLASS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getName() This method provides access to the RULECLSREG.NAME column of DB2 type VARCHAR(128). |
java.lang.String | getOwnerId() This method provides access to the RULECLSREG.OWNER_ID column of DB2 type BIGINT. |
java.lang.Long | getOwnerIdInEJBType() This method provides access to the RULECLSREG.OWNER_ID column of DB2 type BIGINT. |
java.lang.String | getRuleType() This method provides access to the RULECLSREG.RULETYPE column of DB2 type CHAR(4) NOT NULL. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setClassName(java.lang.String newValue) This method accesses a non-CMP field |
void | setId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setId(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_id(java.lang.Long newValue) Set the primary key for this object |
void | setName(java.lang.String newValue) This method accesses a non-CMP field |
void | setOwnerId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setOwnerId(java.lang.String newValue) This method accesses a non-CMP field |
void | setRuleType(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 RuleClassRegistryAccessBean()
public RuleClassRegistryAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public RuleClassRegistryAccessBean(java.lang.Long arg1, java.lang.String arg2, java.lang.String arg3) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Creates an access bean with the specified attributes.
Method Detail |
public RuleClassRegistryAccessBean findRuleClassByOwnerAndType(java.lang.Long ownerid, java.lang.String type) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all rule class records for the specified owner and type.
The SQL query used to fetch all the required rows from the RULECLSREG table is:
SELECT * FROM RULECLSREG T1 WHERE T1.OWNER_ID=? AND T1.RULETYPE=?
public java.util.Enumeration findAllRuleClasses() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all rule class records.
The SQL query used to fetch all the required rows from the RULECLSREG table is:
SELECT * FROM RULECLSREG T1 WHERE 1=1
public java.util.Enumeration findRuleClassesByOwner(java.lang.Long ownerid) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all rule class records for the specified owner.
The SQL query used to fetch all the required rows from the RULECLSREG table is:
SELECT * FROM RULECLSREG T1 WHERE T1.OWNER_ID=? OR T1.OWNER_ID IS NULL
public void setInitKey_id(java.lang.Long 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 getRuleType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RULECLSREG.RULETYPE column of DB2 type CHAR(4) NOT NULL.
The following is a description of this column:
Rule type. Same as auction type. Valid values are as follows: &l
public void setRuleType(java.lang.String newValue)
public java.lang.String getOwnerId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RULECLSREG.OWNER_ID column of DB2 type BIGINT.
The following is a description of this column:
Owner of the rule. Foreign Key to the MEMBER table.
public java.lang.Long getOwnerIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RULECLSREG.OWNER_ID column of DB2 type BIGINT.
The following is a description of this column:
Owner of the rule. Foreign Key to the MEMBER table.
public void setOwnerId(java.lang.String newValue)
public void setOwnerId(java.lang.Long newValue)
public java.lang.String getId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RULECLSREG.RULECLASS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Rule class ID. The primary key to the table.
public java.lang.Long getIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RULECLSREG.RULECLASS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Rule class ID. The primary key to the table.
public void setId(java.lang.String newValue)
public void setId(java.lang.Long newValue)
public java.lang.String getClassName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RULECLSREG.CLASSNAME column of DB2 type VARCHAR(254).
The following is a description of this column:
The class used to interpret the rule text in the CONTRLRULE table.
public void setClassName(java.lang.String 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 RULECLSREG.NAME column of DB2 type VARCHAR(128).
The following is a description of this column:
Descriptive name of the rule.
public void setName(java.lang.String newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.