com.ibm.commerce.negotiation.objects
Class ControlRuleAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.negotiation.objects.ControlRuleAccessBean
All Implemented Interfaces:
ControlRuleAccessBeanData

public class ControlRuleAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements ControlRuleAccessBeanData

This table contains information about bid control rules used in auctions. This access bean corresponds to the database table 'CONTRLRULE'.

See Also:
Serialized Form

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

ControlRuleAccessBean

public ControlRuleAccessBean()
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.ControlRule com.ibm.commerce.negotiation.objimpl.ControlRuleHomeBase.findByPrimaryKey(com.ibm.commerce.negotiation.objects.ControlRuleKey) 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: setInitKey_id( java.lang.Long )

ControlRuleAccessBean

public ControlRuleAccessBean(javax.ejb.EJBObject o)
                      throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

ControlRuleAccessBean

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.

Parameters:
arg1 - The owner of the auction.
arg2 - The id of the rule class to use to interpret the rule text. .
arg3 - The arg3 of the bid control rule.
arg4 - The auction arg4 for this rule. Valid values: O=open cry, SB=sealed bid, D=dutch. .
Method Detail

findAllRules

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

Parameters:
sort - The sorting attribute. This is a set of column names and the order in which they are each to be sorted (ascending, descending). This is used to build an ORDER BY clause.
Returns:
An Enumeration of all the ControlRuleAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findRulesByOwner

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=?

Parameters:
ownerid - The id of the owner of the bid control rule.
sort - The sorting attribute. This is a set of column names and the order in which they are each to be sorted (ascending, descending). This is used to build an ORDER BY clause.
Returns:
An Enumeration of all the ControlRuleAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findRulesByOwnerAndName

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=?

Parameters:
ownerid - The id of the owner of the bid control rule.
aName - The aName of the bid control rule.
sort - The sorting attribute. This is a set of column aNames and the order in which they are each to be sorted (ascending, descending). This is used to build an ORDER BY clause.
Returns:
An Enumeration of all the ControlRuleAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findRulesByOwnerAndType

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=?

Parameters:
ownerid - The id of the owner of the bid control rule.
type - The auction type for this rule. Valid values: O=open cry, SB=sealed bid, D=dutch.
sort - The sorting attribute. This is a set of column names and the order in which they are each to be sorted (ascending, descending). This is used to build an ORDER BY clause.
Returns:
An Enumeration of all the ControlRuleAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

setInitKey_id

public void setInitKey_id(java.lang.Long newValue)

Set the primary key for this object

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

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

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).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getRuleType

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

Specified by:
getRuleType in interface ControlRuleAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setRuleType

public void setRuleType(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setRuleType in interface ControlRuleAccessBeanData

getDescription

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.

Specified by:
getDescription in interface ControlRuleAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setDescription

public void setDescription(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setDescription in interface ControlRuleAccessBeanData

getOwnerId

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.

Specified by:
getOwnerId in interface ControlRuleAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getOwnerIdInEJBType

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.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setOwnerId

public void setOwnerId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setOwnerId in interface ControlRuleAccessBeanData

setOwnerId

public void setOwnerId(java.lang.Long newValue)
This method accesses a non-CMP field

getAdminId

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.

Specified by:
getAdminId in interface ControlRuleAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getAdminIdInEJBType

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.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setAdminId

public void setAdminId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setAdminId in interface ControlRuleAccessBeanData

setAdminId

public void setAdminId(java.lang.Long newValue)
This method accesses a non-CMP field

getMinimumQuantity

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.

Specified by:
getMinimumQuantity in interface ControlRuleAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getMinimumQuantityInEJBType

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.

Returns:
java.lang.Double
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setMinimumQuantity

public void setMinimumQuantity(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setMinimumQuantity in interface ControlRuleAccessBeanData

setMinimumQuantity

public void setMinimumQuantity(java.lang.Double newValue)
This method accesses a non-CMP field

getField3

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.

Specified by:
getField3 in interface ControlRuleAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setField3

public void setField3(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setField3 in interface ControlRuleAccessBeanData

getField2

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.

Specified by:
getField2 in interface ControlRuleAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getField2InEJBType

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.

Returns:
java.math.BigDecimal
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setField2

public void setField2(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setField2 in interface ControlRuleAccessBeanData

setField2

public void setField2(java.math.BigDecimal newValue)
This method accesses a non-CMP field

getField1

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.

Specified by:
getField1 in interface ControlRuleAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getField1InEJBType

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.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setField1

public void setField1(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setField1 in interface ControlRuleAccessBeanData

setField1

public void setField1(java.lang.Long newValue)
This method accesses a non-CMP field

getRuleText

public java.lang.String getRuleText()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getRuleText in interface ControlRuleAccessBeanData
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setRuleText

public void setRuleText(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setRuleText in interface ControlRuleAccessBeanData

getId

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.

Specified by:
getId in interface ControlRuleAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getIdInEJBType

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.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setId

public void setId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setId in interface ControlRuleAccessBeanData

setId

public void setId(java.lang.Long newValue)
This method accesses a non-CMP field

getMinimumValue

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.

Specified by:
getMinimumValue in interface ControlRuleAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getMinimumValueInEJBType

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.

Returns:
java.math.BigDecimal
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setMinimumValue

public void setMinimumValue(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setMinimumValue in interface ControlRuleAccessBeanData

setMinimumValue

public void setMinimumValue(java.math.BigDecimal newValue)
This method accesses a non-CMP field

getClassId

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.

Specified by:
getClassId in interface ControlRuleAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getClassIdInEJBType

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.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setClassId

public void setClassId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setClassId in interface ControlRuleAccessBeanData

setClassId

public void setClassId(java.lang.Long newValue)
This method accesses a non-CMP field

getName

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.

Specified by:
getName in interface ControlRuleAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setName

public void setName(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setName in interface ControlRuleAccessBeanData

isUsedByAuction

public boolean isUsedByAuction()
                        throws java.rmi.RemoteException,
                               java.lang.Exception,
                               javax.ejb.FinderException,
                               javax.naming.NamingException

Are there any auctions that use this rule?

Returns:
boolean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
java.lang.Exception - The java.lang.Exception exception
javax.ejb.FinderException
javax.naming.NamingException

isUsedByAuctionStyle

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?

Returns:
boolean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
java.lang.Exception - The java.lang.Exception exception
javax.ejb.FinderException
javax.naming.NamingException

fulfills

public boolean fulfills(java.lang.Long arg0,
                        java.lang.String arg1)
                 throws java.rmi.RemoteException,
                        java.lang.Exception,
                        javax.ejb.FinderException,
                        javax.naming.NamingException
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.String
Returns:
boolean
Throws:
java.rmi.RemoteException
java.lang.Exception
javax.ejb.FinderException
javax.naming.NamingException

getOwner

public java.lang.Long getOwner()
                        throws java.lang.Exception,
                               java.rmi.RemoteException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException
This method accesses a non-CMP field
Throws:
java.lang.Exception
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

Feedback