|
||||||||
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.negotiation.objects.RuleClassRegistryAccessBean
This bean provides access to the RULECLSREG table.
The following is a description of this table:
This table contains the class information used to interpret the text in the CONTRLRULE table.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
RuleClassRegistryAccessBean()
Zero argument constructor used to initialize the access bean. |
|
RuleClassRegistryAccessBean(javax.ejb.EJBObject object)
Creates an access bean for the specified EJB |
|
RuleClassRegistryAccessBean(java.lang.Long ownerId,
java.lang.String name,
java.lang.String className)
Creates an access bean with the specified attributes. |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
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) NULL. |
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(64) NULL. |
java.lang.String |
getOwnerId()
This method provides access to the RULECLSREG.OWNER_ID column of DB2 type BIGINT NULL. |
java.lang.Long |
getOwnerIdInEJBType()
This method provides access to the RULECLSREG.OWNER_ID column of DB2 type BIGINT NULL. |
java.lang.String |
getRuleType()
This method provides access to the RULECLSREG.RULETYPE column of DB2 type CHAR(4) NOT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setClassName(java.lang.String aClassName1)
This method provides access to the RULECLSREG.CLASSNAME column of DB2 type VARCHAR(254) NULL. |
void |
setId(java.lang.Long aId1)
This method provides access to the RULECLSREG.RULECLASS_ID column of DB2 type BIGINT NOT NULL. |
void |
setId(java.lang.String aId1)
This method provides access to the RULECLSREG.RULECLASS_ID column of DB2 type BIGINT NOT NULL. |
void |
setInitKey_id(java.lang.Long aInitKey_id1)
Set the primary key for this object |
void |
setName(java.lang.String aName1)
This method provides access to the RULECLSREG.NAME column of DB2 type VARCHAR(64) NULL. |
void |
setOwnerId(java.lang.Long aOwnerId1)
This method provides access to the RULECLSREG.OWNER_ID column of DB2 type BIGINT NULL. |
void |
setOwnerId(java.lang.String aOwnerId1)
This method provides access to the RULECLSREG.OWNER_ID column of DB2 type BIGINT NULL. |
void |
setRuleType(java.lang.String aRuleType1)
This method provides access to the RULECLSREG.RULETYPE column of DB2 type CHAR(4) NOT 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 |
public RuleClassRegistryAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method:
public abstract com.ibm.commerce.negotiation.objects.RuleClassRegistry com.ibm.commerce.negotiation.objects.RuleClassRegistryHome.findByPrimaryKey(com.ibm.commerce.negotiation.objects.RuleClassRegistryKey) throws java.rmi.RemoteException,javax.ejb.FinderException
The home interface method properties need to be set by calling the following setter methods before calling any business methods:
public RuleClassRegistryAccessBean(javax.ejb.EJBObject object) throws java.rmi.RemoteException
Creates an access bean for the specified EJB
object
- The EJB Object used for the access bean construction.java.rmi.RemoteException
- The java.rmi.RemoteException exception.public RuleClassRegistryAccessBean(java.lang.Long ownerId, java.lang.String name, java.lang.String className) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Creates an access bean with the specified attributes.
ownerId
- The owner of the rule.name
- The descriptive name of the rule.className
- The class used to interpret the rule text in the CONTRLRULE table.Method 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 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 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=?
ownerId
- The owner of the rule.type
- The rule type. Same as auction type. Valid values: O=Open Cry, SB=Sealed Bid, D=Dutch.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
ownerId
- The owner of the rule.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) NULL.
The following is a description of this column:
The class used to interpret the rule text in the CONTRLRULE table.
getClassName
in interface RuleClassRegistryAccessBeanData
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 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.
getId
in interface RuleClassRegistryAccessBeanData
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 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.
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 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(64) NULL.
The following is a description of this column:
Descriptive name of the rule.
getName
in interface RuleClassRegistryAccessBeanData
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 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 NULL.
The following is a description of this column:
Owner of the rule. Foreign Key to the MEMBER table.
getOwnerId
in interface RuleClassRegistryAccessBeanData
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 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 NULL.
The following is a description of this column:
Owner of the rule. Foreign Key to the MEMBER table.
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 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: O=Open Cry, SB=Sealed Bid, D=Dutch.
getRuleType
in interface RuleClassRegistryAccessBeanData
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 setClassName(java.lang.String aClassName1)
This method provides access to the RULECLSREG.CLASSNAME column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
The class used to interpret the rule text in the CONTRLRULE table.
setClassName
in interface RuleClassRegistryAccessBeanData
aClassName1
- java.lang.Stringpublic void setId(java.lang.Long aId1)
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.
aId1
- java.lang.Longpublic void setId(java.lang.String aId1)
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.
setId
in interface RuleClassRegistryAccessBeanData
aId1
- java.lang.Stringpublic void setInitKey_id(java.lang.Long aInitKey_id1)
Set the primary key for this object
aInitKey_id1
- java.lang.Longpublic void setName(java.lang.String aName1)
This method provides access to the RULECLSREG.NAME column of DB2 type VARCHAR(64) NULL.
The following is a description of this column:
Descriptive name of the rule.
setName
in interface RuleClassRegistryAccessBeanData
aName1
- java.lang.Stringpublic void setOwnerId(java.lang.Long aOwnerId1)
This method provides access to the RULECLSREG.OWNER_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
Owner of the rule. Foreign Key to the MEMBER table.
aOwnerId1
- java.lang.Longpublic void setOwnerId(java.lang.String aOwnerId1)
This method provides access to the RULECLSREG.OWNER_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
Owner of the rule. Foreign Key to the MEMBER table.
setOwnerId
in interface RuleClassRegistryAccessBeanData
aOwnerId1
- java.lang.Stringpublic void setRuleType(java.lang.String aRuleType1)
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: O=Open Cry, SB=Sealed Bid, D=Dutch.
setRuleType
in interface RuleClassRegistryAccessBeanData
aRuleType1
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |