java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.negotiation.objects.ControlRuleAccessBean
This table contains information about bid control rules used in auctions. This access bean corresponds to the database table 'CONTRLRULE'.
Constructor Summary | |
ControlRuleAccessBean() Zero argument constructor used to initialize the access bean. |
|
ControlRuleAccessBean(javax.ejb.EJBObject o) constructor |
|
ControlRuleAccessBean(java.lang.Long arg1, java.lang.Long arg2, java.lang.String arg3, java.lang.String arg4) 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 | findAllRules(com.ibm.commerce.negotiation.util.SortingAttribute sort) Retrieves all control rules. |
java.util.Enumeration | findRulesByOwner(java.lang.Long ownerid, com.ibm.commerce.negotiation.util.SortingAttribute sort) Retrieves all control rules owned by the specified owner. |
java.util.Enumeration | findRulesByOwnerAndName(java.lang.Long ownerid, java.lang.String aName, com.ibm.commerce.negotiation.util.SortingAttribute sort) Retrieves all control rules, owned by the specified owner, with the specified rule aName. |
java.util.Enumeration | findRulesByOwnerAndType(java.lang.Long ownerid, java.lang.String type, com.ibm.commerce.negotiation.util.SortingAttribute sort) Retrieves all control rules, owned by the specified owner, with the specified rule type. |
boolean | fulfills(java.lang.Long arg0, java.lang.String arg1) |
java.lang.String | getAdminId() This method provides access to the CONTRLRULE.ADMIN_ID column of DB2 type BIGINT. |
java.lang.Long | getAdminIdInEJBType() This method provides access to the CONTRLRULE.ADMIN_ID column of DB2 type BIGINT. |
java.lang.String | getClassId() This method provides access to the CONTRLRULE.CLASS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getClassIdInEJBType() This method provides access to the CONTRLRULE.CLASS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getDescription() This method provides access to the CONTRLRULE.RULEDESC column of DB2 type VARCHAR(254). |
java.lang.String | getField1() This method provides access to the CONTRLRULE.FIELD1 column of DB2 type BIGINT. |
java.lang.Long | getField1InEJBType() This method provides access to the CONTRLRULE.FIELD1 column of DB2 type BIGINT. |
java.lang.String | getField2() This method provides access to the CONTRLRULE.FIELD2 column of DB2 type DECIMAL(20 5). |
java.math.BigDecimal | getField2InEJBType() This method provides access to the CONTRLRULE.FIELD2 column of DB2 type DECIMAL(20 5). |
java.lang.String | getField3() This method provides access to the CONTRLRULE.FIELD3 column of DB2 type VARCHAR(254). |
java.lang.String | getId() This method provides access to the CONTRLRULE.RULE_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getIdInEJBType() This method provides access to the CONTRLRULE.RULE_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getMinimumQuantity() This method provides access to the CONTRLRULE.MINQUANT column of DB2 type FLOAT. |
java.lang.Double | getMinimumQuantityInEJBType() This method provides access to the CONTRLRULE.MINQUANT column of DB2 type FLOAT. |
java.lang.String | getMinimumValue() This method provides access to the CONTRLRULE.MINVALUE column of DB2 type DECIMAL(20 5). |
java.math.BigDecimal | getMinimumValueInEJBType() This method provides access to the CONTRLRULE.MINVALUE column of DB2 type DECIMAL(20 5). |
java.lang.String | getName() This method provides access to the CONTRLRULE.RULENAME column of DB2 type CHAR(30) NOT NULL. |
java.lang.Long | getOwner() This method accesses a non-CMP field |
java.lang.String | getOwnerId() This method provides access to the CONTRLRULE.OWNER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getOwnerIdInEJBType() This method provides access to the CONTRLRULE.OWNER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getRuleText() This method accesses a non-CMP field |
java.lang.String | getRuleType() This method provides access to the CONTRLRULE.RULETYPE column of DB2 type CHAR(4) NOT NULL. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
boolean | isUsedByAuction() Are there any auctions that use this rule? |
boolean | isUsedByAuctionStyle() Are there any auction styles that use this rule? |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setAdminId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setAdminId(java.lang.String newValue) This method accesses a non-CMP field |
void | setClassId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setClassId(java.lang.String newValue) This method accesses a non-CMP field |
void | setDescription(java.lang.String newValue) This method accesses a non-CMP field |
void | setField1(java.lang.Long newValue) This method accesses a non-CMP field |
void | setField1(java.lang.String newValue) This method accesses a non-CMP field |
void | setField2(java.math.BigDecimal newValue) This method accesses a non-CMP field |
void | setField2(java.lang.String newValue) This method accesses a non-CMP field |
void | setField3(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 | setMinimumQuantity(java.lang.Double newValue) This method accesses a non-CMP field |
void | setMinimumQuantity(java.lang.String newValue) This method accesses a non-CMP field |
void | setMinimumValue(java.math.BigDecimal newValue) This method accesses a non-CMP field |
void | setMinimumValue(java.lang.String newValue) This method accesses a non-CMP field |
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 | setRuleText(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 ControlRuleAccessBean()
public ControlRuleAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public ControlRuleAccessBean(java.lang.Long arg1, java.lang.Long arg2, java.lang.String arg3, java.lang.String arg4) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Creates an access bean with the specified attributes.
Method Detail |
public java.util.Enumeration findAllRules(com.ibm.commerce.negotiation.util.SortingAttribute sort) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all control rules.
The SQL query used to fetch all the required rows from the CONTRLRULE table is:
SELECT * FROM CONTRLRULE T1 WHERE 1=1
public java.util.Enumeration findRulesByOwner(java.lang.Long ownerid, com.ibm.commerce.negotiation.util.SortingAttribute sort) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all control rules owned by the specified owner.
The SQL query used to fetch all the required rows from the CONTRLRULE table is:
SELECT * FROM CONTRLRULE T1 WHERE T1.OWNER_ID=?
public java.util.Enumeration findRulesByOwnerAndName(java.lang.Long ownerid, java.lang.String aName, com.ibm.commerce.negotiation.util.SortingAttribute sort) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all control rules, owned by the specified owner, with the specified rule aName.
The SQL query used to fetch all the required rows from the CONTRLRULE table is:
SELECT * FROM CONTRLRULE T1 WHERE T1.OWNER_ID=? AND T1.RULENAME=?
public java.util.Enumeration findRulesByOwnerAndType(java.lang.Long ownerid, java.lang.String type, com.ibm.commerce.negotiation.util.SortingAttribute sort) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all control rules, owned by the specified owner, with the specified rule type.
The SQL query used to fetch all the required rows from the CONTRLRULE table is:
SELECT * FROM CONTRLRULE T1 WHERE T1.OWNER_ID=? AND T1.RULETYPE=?
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 CONTRLRULE.RULETYPE column of DB2 type CHAR(4) NOT NULL.
The following is a description of this column:
Auction type for this rule. Valid values are as follows:&l
public void setRuleType(java.lang.String newValue)
public java.lang.String getDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CONTRLRULE.RULEDESC column of DB2 type VARCHAR(254).
The following is a description of this column:
Description of the bid control rule.
public void setDescription(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 CONTRLRULE.OWNER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
ID of the owner of the bid control rule.
public java.lang.Long getOwnerIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CONTRLRULE.OWNER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
ID of the owner of the bid control rule.
public void setOwnerId(java.lang.String newValue)
public void setOwnerId(java.lang.Long newValue)
public java.lang.String getAdminId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CONTRLRULE.ADMIN_ID column of DB2 type BIGINT.
The following is a description of this column:
The ID of the administrator who created the bid control rule.
public java.lang.Long getAdminIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CONTRLRULE.ADMIN_ID column of DB2 type BIGINT.
The following is a description of this column:
The ID of the administrator who created the bid control rule.
public void setAdminId(java.lang.String newValue)
public void setAdminId(java.lang.Long newValue)
public java.lang.String getMinimumQuantity() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CONTRLRULE.MINQUANT column of DB2 type FLOAT.
The following is a description of this column:
Minimum bid quantity allowed for this auction. Bids with a quantity less than the minimum are not accepted.
public java.lang.Double getMinimumQuantityInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CONTRLRULE.MINQUANT column of DB2 type FLOAT.
The following is a description of this column:
Minimum bid quantity allowed for this auction. Bids with a quantity less than the minimum are not accepted.
public void setMinimumQuantity(java.lang.String newValue)
public void setMinimumQuantity(java.lang.Double newValue)
public java.lang.String getField3() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CONTRLRULE.FIELD3 column of DB2 type VARCHAR(254).
The following is a description of this column:
Customizable.
public void setField3(java.lang.String newValue)
public java.lang.String getField2() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CONTRLRULE.FIELD2 column of DB2 type DECIMAL(20 5).
The following is a description of this column:
Customizable.
public java.math.BigDecimal getField2InEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CONTRLRULE.FIELD2 column of DB2 type DECIMAL(20 5).
The following is a description of this column:
Customizable.
public void setField2(java.lang.String newValue)
public void setField2(java.math.BigDecimal newValue)
public java.lang.String getField1() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CONTRLRULE.FIELD1 column of DB2 type BIGINT.
The following is a description of this column:
Customizable.
public java.lang.Long getField1InEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CONTRLRULE.FIELD1 column of DB2 type BIGINT.
The following is a description of this column:
Customizable.
public void setField1(java.lang.String newValue)
public void setField1(java.lang.Long newValue)
public java.lang.String getRuleText() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setRuleText(java.lang.String 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 CONTRLRULE.RULE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The bid control rule 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 CONTRLRULE.RULE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The bid control rule 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 getMinimumValue() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CONTRLRULE.MINVALUE column of DB2 type DECIMAL(20 5).
The following is a description of this column:
Minimum value allowed for the auction. Bids with a value less than this minimum are not accepted.
public java.math.BigDecimal getMinimumValueInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CONTRLRULE.MINVALUE column of DB2 type DECIMAL(20 5).
The following is a description of this column:
Minimum value allowed for the auction. Bids with a value less than this minimum are not accepted.
public void setMinimumValue(java.lang.String newValue)
public void setMinimumValue(java.math.BigDecimal newValue)
public java.lang.String getClassId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CONTRLRULE.CLASS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The ID of the rule class to use to interpret the rule text. This is a pointer to the RULECLSREG table.
public java.lang.Long getClassIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CONTRLRULE.CLASS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The ID of the rule class to use to interpret the rule text. This is a pointer to the RULECLSREG table.
public void setClassId(java.lang.String newValue)
public void setClassId(java.lang.Long 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 CONTRLRULE.RULENAME column of DB2 type CHAR(30) NOT NULL.
The following is a description of this column:
Name of the bid control rule.
public void setName(java.lang.String newValue)
public boolean isUsedByAuction() throws java.rmi.RemoteException, java.lang.Exception, javax.ejb.FinderException, javax.naming.NamingException
Are there any auctions that use this rule?
public boolean isUsedByAuctionStyle() throws java.rmi.RemoteException, java.lang.Exception, javax.ejb.FinderException, javax.naming.NamingException
Are there any auction styles that use this rule?
public boolean fulfills(java.lang.Long arg0, java.lang.String arg1) throws java.rmi.RemoteException, java.lang.Exception, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getOwner() throws java.lang.Exception, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.