com.ibm.commerce.contract.objects
Class TermConditionAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.contract.objects.TermConditionAccessBean
All Implemented Interfaces:
TermConditionAccessBeanData

public class TermConditionAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements TermConditionAccessBeanData

This table contains terms and conditions used in trading agreements (business accounts, contracts, RFQs). To see how columns are used by different terms and conditions, refer to &l This access bean corresponds to the database table 'TERMCOND'.

See Also:
Serialized Form

Constructor Summary
TermConditionAccessBean()
Zero argument constructor used to initialize the access bean.
TermConditionAccessBean(javax.ejb.EJBObject o)
constructor
Method Summary
int addProductSetAdjustment(java.lang.Integer productsetId, java.lang.Double adjustment, java.lang.Integer precedence, java.lang.Integer type)
void commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
java.lang.Long createNewVersion(java.lang.Long argNewTradingId)
This method creates a new version of the terms and conditions.
protected java.lang.String defaultJNDIName()
int deleteProductSetAdjustment(java.lang.Integer productsetId)
java.util.Enumeration findAllTCWithTCLevelParticipantByTrading(java.lang.Long argTradingId)
Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID.
java.util.Enumeration findByTrading(java.lang.Long argTradingId)
Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID.
TermConditionAccessBean findByTradingAndSequence(java.lang.Long argTradingId, java.lang.Integer argTCSequence)
Retrieves the TermConditionAccessBean representing the term condition with the specified trading agreement ID, and the term condition sequence number.
java.util.Enumeration findByTradingAndTCSubType(java.lang.Long argTradingId, java.lang.String argTCSubType)
Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID, and the term condition sub-type.
java.util.Enumeration findByTradingAndTCSubTypeForBuyer(java.lang.Long argTradingId, java.lang.String argTCSubType, java.lang.Long argMemberId)
Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID, term condition sub-type, and the buyer member ID.
java.util.Enumeration findByTradingAndTCSubTypeWithoutTCParticipant(java.lang.Long argTradingId, java.lang.String argTCSubType)
Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID and argTCSubType, but without the terms and conditions which have tc level participant(s).
java.util.Enumeration findByTradingAndTCType(java.lang.Long argTradingId, java.lang.String argTCType)
Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID, and the term condition type.
java.util.Enumeration findByTradingAndTCTypeForBuyer(java.lang.Long argTradingId, java.lang.String argTCType, java.lang.Long argMemberId)
Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID, term condition type, and the buyer member ID.
java.util.Enumeration findByTradingAndTCTypeWithoutTCParticipant(java.lang.Long argTradingId, java.lang.String argTCType)
Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID and tcType, but without the terms and conditions which have tc level participant(s).
java.util.Enumeration findByTradingForBuyer(java.lang.Long argTradingId, java.lang.Long argMemberId)
Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID, and the buyer member ID.
java.lang.Integer[] findProductSetIdsByTCIdAndType(java.lang.Integer type)
java.lang.String getChangeableFlag()
This method provides access to the TERMCOND.CHANGEABLE column of DB2 type INTEGER NOT NULL DEFAULT 0.
java.lang.Integer getChangeableFlagInEJBType()
This method provides access to the TERMCOND.CHANGEABLE column of DB2 type INTEGER NOT NULL DEFAULT 0.
TermConditionDescriptionAccessBean getDescription(java.lang.Integer argLanguageId)
Retrieves the TermConditionDescriptionAccessBean representing the term condition description with the specified language ID.
TermConditionDescriptionAccessBean getDescription(java.lang.Integer language_id, java.lang.Integer storeId)
Retrieves the TermConditionDescriptionAccessBean representing the term condition description with the specified language ID.
java.lang.Double getEntireCatalogAdjustment()
java.lang.Integer getEntireCatalogSelected()
java.lang.Integer[] getExclusionProductSets()
java.lang.Integer[] getInclusionProductSets()
java.lang.String getMandatoryFlag()
This method provides access to the TERMCOND.MANDATORY column of DB2 type INTEGER NOT NULL DEFAULT 0.
java.lang.Integer getMandatoryFlagInEJBType()
This method provides access to the TERMCOND.MANDATORY column of DB2 type INTEGER NOT NULL DEFAULT 0.
ParticipantAccessBean[] getParticipants()
The method returns an array of ParticipantAccessBeans representing all the participants that the term condition has.
BusinessPolicyAccessBean[] getPolicies()
The method returns an array of BusinessPolicyAccessBean objects representing the business policies that the term condition has.
BusinessPolicyAccessBean[] getPoliciesByType(java.lang.String argPolicyType)
The method returns an array of BusinessPolicyAccessBean representing the specified type of business policies that the term condition has.
java.lang.String getPriceListId()
This method provides access to the TERMCOND.BIGINTFIELD1 column of DB2 type BIGINT.
java.lang.Long getPriceListIdInEJBType()
This method provides access to the TERMCOND.BIGINTFIELD1 column of DB2 type BIGINT.
java.lang.Long[] getPriceListIds()
java.util.Vector getProductSetAdjustments()
java.lang.String getProductSetId()
This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER.
java.lang.Integer getProductSetIdInEJBType()
This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER.
java.lang.String getReferenceNumber()
This method provides access to the TERMCOND.TERMCOND_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getReferenceNumberInEJBType()
This method provides access to the TERMCOND.TERMCOND_ID column of DB2 type BIGINT NOT NULL.
java.lang.String getTcSequence()
This method provides access to the TERMCOND.SEQUENCE column of DB2 type INTEGER NOT NULL.
java.lang.Integer getTcSequenceInEJBType()
This method provides access to the TERMCOND.SEQUENCE column of DB2 type INTEGER NOT NULL.
java.lang.String getTcSubType()
This method provides access to the TERMCOND.TCSUBTYPE_ID column of DB2 type CHARACTER(64) NOT NULL.
java.lang.String getTimeCreated()
This method provides access to the TERMCOND.TIMECREATED column of DB2 type TIMESTAMP.
java.sql.Timestamp getTimeCreatedInEJBType()
This method provides access to the TERMCOND.TIMECREATED column of DB2 type TIMESTAMP.
java.lang.String getTimeUpdated()
This method provides access to the TERMCOND.TIMEUPDATED column of DB2 type TIMESTAMP.
java.sql.Timestamp getTimeUpdatedInEJBType()
This method provides access to the TERMCOND.TIMEUPDATED column of DB2 type TIMESTAMP.
java.lang.String getTradingId()
This method provides access to the TERMCOND.TRADING_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getTradingIdInEJBType()
This method provides access to the TERMCOND.TRADING_ID column of DB2 type BIGINT NOT NULL.
java.lang.String[] getXMLDefinitions(java.lang.Integer type)
java.lang.String getXMLString()
This method returns a String object representing the term condition in XML Element format.
java.lang.String getXMLString(boolean tcdata)
java.lang.String[] getXMLStrings(java.lang.Integer type)
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void markForDelete()
This method marks the trading agreement for deletion.
void parseXMLElement(org.w3c.dom.Element argElement)
This method parses the given XML element.
void refreshCopyHelper()
Load data from the EJBObject.
void setChangeableFlag(java.lang.Integer newValue)
This method accesses a non-CMP field
void setChangeableFlag(java.lang.String newValue)
This method accesses a non-CMP field
void setEntireCatalogAdjustment(java.lang.Double entireCatalogAdjustment)
void setEntireCatalogAdjustment(java.lang.String entireCatalogAdjustment)
void setEntireCatalogSelected(java.lang.Integer entireCatalogSelected)
void setEntireCatalogSelected(java.lang.String entireCatalogSelected)
void setInitKey_referenceNumber(java.lang.String newValue)
Set the primary key for this object
void setMandatoryFlag(java.lang.Integer newValue)
This method accesses a non-CMP field
void setMandatoryFlag(java.lang.String newValue)
This method accesses a non-CMP field
void setPriceListId(java.lang.Long newValue)
This method accesses a non-CMP field
void setPriceListId(java.lang.String newValue)
This method accesses a non-CMP field
void setProductSetId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setProductSetId(java.lang.String newValue)
This method accesses a non-CMP field
void setReferenceNumber(java.lang.Long newValue)
This method accesses a non-CMP field
void setReferenceNumber(java.lang.String newValue)
This method accesses a non-CMP field
void setTcSequence(java.lang.Integer newValue)
This method accesses a non-CMP field
void setTcSequence(java.lang.String newValue)
This method accesses a non-CMP field
void setTimeCreated(java.lang.String newValue)
This method accesses a non-CMP field
void setTimeCreated(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setTimeUpdated(java.lang.String newValue)
This method accesses a non-CMP field
void setTimeUpdated(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setTradingId(java.lang.Long newValue)
This method accesses a non-CMP field
void setTradingId(java.lang.String newValue)
This method accesses a non-CMP field
void setXMLDefinition(java.lang.Long tradingId, java.lang.Integer type, org.w3c.dom.Element e, java.lang.Integer sequence)
void setXMLDefinition(java.lang.Long tradingId, java.lang.Integer type, java.lang.String xml, java.lang.Integer sequence)
int updateProductSetAdjustment(java.lang.Integer productsetId, java.lang.Double adjustment, java.lang.Integer precedence, java.lang.Integer type)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

TermConditionAccessBean

public TermConditionAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.contract.objects.TermCondition com.ibm.commerce.contract.objimpl.TermConditionHomeBase.findByPrimaryKey(com.ibm.commerce.contract.objects.TermConditionKey) 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_referenceNumber( java.lang.Long )

TermConditionAccessBean

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

findByTradingAndSequence

public TermConditionAccessBean findByTradingAndSequence(java.lang.Long argTradingId,
                                                        java.lang.Integer argTCSequence)
                                                 throws java.rmi.RemoteException,
                                                        javax.ejb.FinderException,
                                                        javax.naming.NamingException

Retrieves the TermConditionAccessBean representing the term condition with the specified trading agreement ID, and the term condition sequence number.

The SQL query used to fetch the required rows from the TERMCOND table is:

select * from termcond T1 where T1.trading_id = ? and sequence = ?

Parameters:
argTradingId - The ID of the trading agreement.
argTCSequence - The term condition sequence number.
Returns:
The TermConditionAccessBean representing the row that matches the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findAllTCWithTCLevelParticipantByTrading

public java.util.Enumeration findAllTCWithTCLevelParticipantByTrading(java.lang.Long argTradingId)
                                                               throws java.rmi.RemoteException,
                                                                      javax.ejb.FinderException,
                                                                      javax.naming.NamingException

Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID. The terms and conditions should have tc level participant(s).

The SQL query used to fetch the required rows from the TERMCOND table is:

select * from termcond T1 where T1.trading_id=? and (termcond_id in (select termcond_id from participant where trading_id is null and termcond_id is not null))

Parameters:
argTradingId - The ID of the trading agreement.
Returns:
An Enumeration of all the TermConditionAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByTrading

public java.util.Enumeration findByTrading(java.lang.Long argTradingId)
                                    throws java.rmi.RemoteException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID.

The SQL query used to fetch the required rows from the TERMCOND table is:

select * from termcond T1 where T1.trading_id = ?

Parameters:
argTradingId - The ID of the trading agreement.
Returns:
An Enumeration of all the TermConditionAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByTradingAndTCSubType

public java.util.Enumeration findByTradingAndTCSubType(java.lang.Long argTradingId,
                                                       java.lang.String argTCSubType)
                                                throws java.rmi.RemoteException,
                                                       javax.ejb.FinderException,
                                                       javax.naming.NamingException

Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID, and the term condition sub-type.

The SQL query used to fetch the required rows from the TERMCOND table is:

select * from termcond T1 where T1.trading_id = ? and tcsubtype_id = ?

Parameters:
argTradingId - The ID of the specified trading agreement.
argTCSubType - The sub-type of the terms and conditions.
Returns:
An Enumeration of all the TermConditionAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByTradingAndTCSubTypeForBuyer

public java.util.Enumeration findByTradingAndTCSubTypeForBuyer(java.lang.Long argTradingId,
                                                               java.lang.String argTCSubType,
                                                               java.lang.Long argMemberId)
                                                        throws java.rmi.RemoteException,
                                                               javax.ejb.FinderException,
                                                               javax.naming.NamingException

Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID, term condition sub-type, and the buyer member ID.

The SQL query used to fetch the required rows from the TERMCOND table is:

select * from termcond T1 where T1.trading_id=? and tcsubtype_id = ? and (termcond_id not in (select termcond_id from participant where trading_id is null and termcond_id is not null and partrole_id=2) or termcond_id in (select termcond_id from participant where trading_id is null and termcond_id is not null and partrole_id=2 and (member_id is null or member_id = ? or member_id in (select ancestor_id from mbrrel where descendant_id = ?) or member_id in (select mbrgrp_id from mbrgrpmbr where member_id = ?))))

Parameters:
argTradingId - The ID of the trading agreement.
argTCSubType - The sub-type of the terms and conditions.
argMemberId - The ID of the buyer member.
Returns:
An Enumeration of all the TermConditionAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByTradingAndTCSubTypeWithoutTCParticipant

public java.util.Enumeration findByTradingAndTCSubTypeWithoutTCParticipant(java.lang.Long argTradingId,
                                                                           java.lang.String argTCSubType)
                                                                    throws java.rmi.RemoteException,
                                                                           javax.ejb.FinderException,
                                                                           javax.naming.NamingException

Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID and argTCSubType, but without the terms and conditions which have tc level participant(s).

The SQL query used to fetch the required rows from the TERMCOND table is:

select * from termcond T1 where T1.trading_id=? and tcsubtype_id = ? and termcond_id not in (select termcond_id from participnt where trading_id is null and termcond_id is not null and partrole_id=2)

Parameters:
argTradingId - The ID of the trading agreement.
argTCSubType - The sub-type of the terms and conditions.
Returns:
An Enumeration of all the TermConditionAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByTradingAndTCType

public java.util.Enumeration findByTradingAndTCType(java.lang.Long argTradingId,
                                                    java.lang.String argTCType)
                                             throws java.rmi.RemoteException,
                                                    javax.ejb.FinderException,
                                                    javax.naming.NamingException

Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID, and the term condition type.

The SQL query used to fetch the required rows from the TERMCOND table is:

select * from termcond T1 where T1.trading_id = ? and tcsubtype_id in (select tcsubtype_id from tcsubtype where tctype_id = ?)

Parameters:
argTradingId - The ID of the trading agreement.
argTCType - The type of the terms and conditions.
Returns:
An Enumeration of all the TermConditionAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByTradingAndTCTypeForBuyer

public java.util.Enumeration findByTradingAndTCTypeForBuyer(java.lang.Long argTradingId,
                                                            java.lang.String argTCType,
                                                            java.lang.Long argMemberId)
                                                     throws java.rmi.RemoteException,
                                                            javax.ejb.FinderException,
                                                            javax.naming.NamingException

Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID, term condition type, and the buyer member ID.

The SQL query used to fetch the required rows from the TERMCOND table is:

select * from termcond T1 where T1.trading_id=? and tcsubtype_id in (select tcsubtype_id from tcsubtype where tctype_id = ?) and (termcond_id not in (select termcond_id from participnt where trading_id is null and termcond_id is not null and partrole_id=2) or termcond_id in (select termcond_id from participnt where trading_id is null and termcond_id is not null and partrole_id=2 and (member_id is null or member_id = ? or member_id in (select ancestor_id from mbrrel where descendant_id = ?) or member_id in (select mbrgrp_id from mbrgrpmbr where member_id = ?))))

Parameters:
argTradingId - The ID of the trading agreement.
argTCType - The type of the terms and conditions.
argMemberId - The ID of the buyer member.
Returns:
An Enumeration of all the TermConditionAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByTradingAndTCTypeWithoutTCParticipant

public java.util.Enumeration findByTradingAndTCTypeWithoutTCParticipant(java.lang.Long argTradingId,
                                                                        java.lang.String argTCType)
                                                                 throws java.rmi.RemoteException,
                                                                        javax.ejb.FinderException,
                                                                        javax.naming.NamingException

Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID and tcType, but without the terms and conditions which have tc level participant(s).

The SQL query used to fetch the required rows from the TERMCOND table is:

select * from termcond T1 where T1.trading_id=? and tcsubtype_id in (select tcsubtype_id from tcsubtype where tctype_id = ?) and termcond_id not in (select termcond_id from participant where trading_id is null and termcond_id is not null and partrole_id=2)

Returns:
The number indicating the sequence of the term within a trading agreement.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByTradingForBuyer

public java.util.Enumeration findByTradingForBuyer(java.lang.Long argTradingId,
                                                   java.lang.Long argMemberId)
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException

Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID, and the buyer member ID.

The SQL query used to fetch the required rows from the TERMCOND table is:

select * from termcond T1 where T1.trading_id=? and (termcond_id not in (select termcond_id from participnt where trading_id is null and termcond_id is not null and partrole_id=2) or termcond_id in (select termcond_id from participnt where trading_id is null and termcond_id is not null and partrole_id=2 and (member_id is null or member_id = ? or member_id in (select ancestor_id from mbrrel where descendant_id = ?) or member_id in (select mbrgrp_id from mbrgrpmbr where member_id = ?))))

Parameters:
argTradingId - The ID of the trading agreement.
argMemberId - The ID of the buyer member.
Returns:
An Enumeration of all the TermConditionAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

setInitKey_referenceNumber

public void setInitKey_referenceNumber(java.lang.String newValue)

Set the primary key for this object

Parameters:
newValue - java.lang.String
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

getMandatoryFlag

public java.lang.String getMandatoryFlag()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

This method provides access to the TERMCOND.MANDATORY column of DB2 type INTEGER NOT NULL DEFAULT 0.

The following is a description of this column:

This column is used to indicate if the trading agreement participant must respond to this term during negotiation. Valid values are as follows:&l

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

getMandatoryFlagInEJBType

public java.lang.Integer getMandatoryFlagInEJBType()
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.CreateException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException

This method provides access to the TERMCOND.MANDATORY column of DB2 type INTEGER NOT NULL DEFAULT 0.

The following is a description of this column:

This column is used to indicate if the trading agreement participant must respond to this term during negotiation. Valid values are as follows:&l

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

setMandatoryFlag

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

setMandatoryFlag

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

getPriceListId

public java.lang.String getPriceListId()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

This method provides access to the TERMCOND.BIGINTFIELD1 column of DB2 type BIGINT.

The following is a description of this column:

A BIGINT field used to store terms and conditions data.

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

getPriceListIdInEJBType

public java.lang.Long getPriceListIdInEJBType()
                                       throws java.rmi.RemoteException,
                                              javax.ejb.CreateException,
                                              javax.ejb.FinderException,
                                              javax.naming.NamingException

This method provides access to the TERMCOND.BIGINTFIELD1 column of DB2 type BIGINT.

The following is a description of this column:

A BIGINT field used to store terms and conditions data.

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

setPriceListId

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

setPriceListId

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

getTradingId

public java.lang.String getTradingId()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

This method provides access to the TERMCOND.TRADING_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to TRADING table. This column indicates the trading agreement this term belongs to.

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

getTradingIdInEJBType

public java.lang.Long getTradingIdInEJBType()
                                     throws java.rmi.RemoteException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

This method provides access to the TERMCOND.TRADING_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to TRADING table. This column indicates the trading agreement this term belongs to.

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

setTradingId

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

setTradingId

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

getTimeUpdated

public java.lang.String getTimeUpdated()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

This method provides access to the TERMCOND.TIMEUPDATED column of DB2 type TIMESTAMP.

The following is a description of this column:

Time that this term and condition was last updated.

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

getTimeUpdatedInEJBType

public java.sql.Timestamp getTimeUpdatedInEJBType()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

This method provides access to the TERMCOND.TIMEUPDATED column of DB2 type TIMESTAMP.

The following is a description of this column:

Time that this term and condition was last updated.

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

setTimeUpdated

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

setTimeUpdated

public void setTimeUpdated(java.sql.Timestamp newValue)
This method accesses a non-CMP field

getProductSetId

public java.lang.String getProductSetId()
                                 throws java.rmi.RemoteException,
                                        javax.ejb.CreateException,
                                        javax.ejb.FinderException,
                                        javax.naming.NamingException

This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER.

The following is a description of this column:

An INTEGER field used to store terms and conditions data.

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

getProductSetIdInEJBType

public java.lang.Integer getProductSetIdInEJBType()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER.

The following is a description of this column:

An INTEGER field used to store terms and conditions data.

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

setProductSetId

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

setProductSetId

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

getChangeableFlag

public java.lang.String getChangeableFlag()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

This method provides access to the TERMCOND.CHANGEABLE column of DB2 type INTEGER NOT NULL DEFAULT 0.

The following is a description of this column:

This column indicates if the trading agreement participant can change the term. Valid values are as follows:&l

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

getChangeableFlagInEJBType

public java.lang.Integer getChangeableFlagInEJBType()
                                             throws java.rmi.RemoteException,
                                                    javax.ejb.CreateException,
                                                    javax.ejb.FinderException,
                                                    javax.naming.NamingException

This method provides access to the TERMCOND.CHANGEABLE column of DB2 type INTEGER NOT NULL DEFAULT 0.

The following is a description of this column:

This column indicates if the trading agreement participant can change the term. Valid values are as follows:&l

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

setChangeableFlag

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

setChangeableFlag

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

getTcSubType

public java.lang.String getTcSubType()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

This method provides access to the TERMCOND.TCSUBTYPE_ID column of DB2 type CHARACTER(64) NOT NULL.

The following is a description of this column:

A CHARACTER field used to terms and conditions subtype.

Specified by:
getTcSubType in interface TermConditionAccessBeanData
Returns:
The sub-type of the terms and conditions.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getTimeCreated

public java.lang.String getTimeCreated()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

This method provides access to the TERMCOND.TIMECREATED column of DB2 type TIMESTAMP.

The following is a description of this column:

Time that this term and condition was created.

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

getTimeCreatedInEJBType

public java.sql.Timestamp getTimeCreatedInEJBType()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

This method provides access to the TERMCOND.TIMECREATED column of DB2 type TIMESTAMP.

The following is a description of this column:

Time that this term and condition was created.

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

setTimeCreated

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

setTimeCreated

public void setTimeCreated(java.sql.Timestamp newValue)
This method accesses a non-CMP field

getTcSequence

public java.lang.String getTcSequence()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

This method provides access to the TERMCOND.SEQUENCE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This column contains a number indicating the sequence of the term within a trading agreement. This number must be unique within a trading agreement.

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

getTcSequenceInEJBType

public java.lang.Integer getTcSequenceInEJBType()
                                         throws java.rmi.RemoteException,
                                                javax.ejb.CreateException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

This method provides access to the TERMCOND.SEQUENCE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This column contains a number indicating the sequence of the term within a trading agreement. This number must be unique within a trading agreement.

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

setTcSequence

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

setTcSequence

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

getReferenceNumber

public java.lang.String getReferenceNumber()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

This method provides access to the TERMCOND.TERMCOND_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Primary key and internal reference number for this term.

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

getReferenceNumberInEJBType

public java.lang.Long getReferenceNumberInEJBType()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

This method provides access to the TERMCOND.TERMCOND_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Primary key and internal reference number for this term.

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

setReferenceNumber

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

setReferenceNumber

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

getPolicies

public BusinessPolicyAccessBean[] getPolicies()
                                       throws javax.naming.NamingException,
                                              javax.ejb.CreateException,
                                              javax.ejb.FinderException,
                                              java.rmi.RemoteException

The method returns an array of BusinessPolicyAccessBean objects representing the business policies that the term condition has.

Returns:
An array of BusinessPolicyAccessBeans representing the business policies belonging to the terms and conditions.
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getPoliciesByType

public BusinessPolicyAccessBean[] getPoliciesByType(java.lang.String argPolicyType)
                                             throws javax.naming.NamingException,
                                                    javax.ejb.CreateException,
                                                    javax.ejb.FinderException,
                                                    java.rmi.RemoteException

The method returns an array of BusinessPolicyAccessBean representing the specified type of business policies that the term condition has.

Parameters:
argPolicyType - The type of business policy.
Returns:
An array of BusinessPolicyAccessBean representing the specified type of business policies that the term condition has.
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getParticipants

public ParticipantAccessBean[] getParticipants()
                                        throws javax.naming.NamingException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               java.rmi.RemoteException

The method returns an array of ParticipantAccessBeans representing all the participants that the term condition has.

Returns:
An array of ParticipantAccessBean objects representing all the participants that belongs to the terms and conditions.
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getDescription

public TermConditionDescriptionAccessBean getDescription(java.lang.Integer argLanguageId)
                                                  throws javax.naming.NamingException,
                                                         javax.ejb.CreateException,
                                                         javax.ejb.FinderException,
                                                         java.rmi.RemoteException

Retrieves the TermConditionDescriptionAccessBean representing the term condition description with the specified language ID.

Parameters:
argLanguageId - The ID of the specified language.
Returns:
The description of the terms and conditions.
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getDescription

public TermConditionDescriptionAccessBean getDescription(java.lang.Integer language_id,
                                                         java.lang.Integer storeId)
                                                  throws javax.naming.NamingException,
                                                         javax.ejb.CreateException,
                                                         javax.ejb.FinderException,
                                                         java.rmi.RemoteException

Retrieves the TermConditionDescriptionAccessBean representing the term condition description with the specified language ID. If the description for the specified language is not available for the specified store, An alternate language description will be returned.

Parameters:
language_id - The ID of the specified language.
storeId - The ID of the specified store.
Returns:
The TermConditionDescriptionAccessBean representing the row that matches the search criteria.
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

createNewVersion

public java.lang.Long createNewVersion(java.lang.Long argNewTradingId)
                                throws org.xml.sax.SAXException,
                                       java.io.IOException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.ejb.RemoveException,
                                       javax.naming.NamingException,
                                       java.rmi.RemoteException

This method creates a new version of the terms and conditions.

Returns:
The ID of the terms and conditions.
Throws:
org.xml.sax.SAXException - The org.xml.sax.SAXException exception
java.io.IOException - The java.io.IOException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.ejb.RemoveException - The javax.ejb.RemoveException exception
javax.naming.NamingException - The javax.naming.NamingException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getXMLString

public java.lang.String getXMLString()
                              throws javax.naming.NamingException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     java.rmi.RemoteException

This method returns a String object representing the term condition in XML Element format.

Returns:
The String object representing the terms and conditions in XML Element format.
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getXMLString

public java.lang.String getXMLString(boolean tcdata)
                              throws javax.naming.NamingException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     java.rmi.RemoteException
Returns:
java.lang.String
Throws:
java.lang.String - The exception description.
java.lang.String - The exception description.
java.lang.String - The exception description.
java.lang.String - The exception description.
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException

markForDelete

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

This method marks the trading agreement for deletion.

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

parseXMLElement

public void parseXMLElement(org.w3c.dom.Element argElement)
                     throws javax.naming.NamingException,
                            javax.ejb.CreateException,
                            javax.ejb.FinderException,
                            java.rmi.RemoteException,
                            javax.ejb.RemoveException

This method parses the given XML element.

Parameters:
argElement - The XML element associated with the terms and conditions.
Returns:
void
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.RemoveException - The javax.ejb.RemoveException exception

getXMLDefinitions

public java.lang.String[] getXMLDefinitions(java.lang.Integer type)
                                     throws javax.naming.NamingException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            java.rmi.RemoteException,
                                            java.sql.SQLException
Returns:
void
Throws:
java.lang.String - The exception description.
java.lang.String - The exception description.
java.lang.String - The exception description.
java.lang.String - The exception description.
java.lang.String - The exception description.
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException
java.sql.SQLException

getXMLStrings

public java.lang.String[] getXMLStrings(java.lang.Integer type)
                                 throws javax.naming.NamingException,
                                        javax.ejb.CreateException,
                                        javax.ejb.FinderException,
                                        java.rmi.RemoteException,
                                        java.sql.SQLException
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException
java.sql.SQLException

setXMLDefinition

public void setXMLDefinition(java.lang.Long tradingId,
                             java.lang.Integer type,
                             org.w3c.dom.Element e,
                             java.lang.Integer sequence)
                      throws javax.naming.NamingException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             java.rmi.RemoteException,
                             java.sql.SQLException
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException
java.sql.SQLException

setXMLDefinition

public void setXMLDefinition(java.lang.Long tradingId,
                             java.lang.Integer type,
                             java.lang.String xml,
                             java.lang.Integer sequence)
                      throws javax.naming.NamingException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             java.rmi.RemoteException,
                             java.sql.SQLException
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException
java.sql.SQLException

getEntireCatalogSelected

public java.lang.Integer getEntireCatalogSelected()
                                           throws javax.naming.NamingException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  java.rmi.RemoteException,
                                                  java.sql.SQLException
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException
java.sql.SQLException

setEntireCatalogSelected

public void setEntireCatalogSelected(java.lang.Integer entireCatalogSelected)
                              throws javax.naming.NamingException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     java.rmi.RemoteException,
                                     java.sql.SQLException
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException
java.sql.SQLException

setEntireCatalogSelected

public void setEntireCatalogSelected(java.lang.String entireCatalogSelected)
                              throws javax.naming.NamingException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     java.rmi.RemoteException,
                                     java.sql.SQLException
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException
java.sql.SQLException

getEntireCatalogAdjustment

public java.lang.Double getEntireCatalogAdjustment()
                                            throws javax.naming.NamingException,
                                                   javax.ejb.CreateException,
                                                   javax.ejb.FinderException,
                                                   java.rmi.RemoteException,
                                                   java.sql.SQLException
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException
java.sql.SQLException

setEntireCatalogAdjustment

public void setEntireCatalogAdjustment(java.lang.Double entireCatalogAdjustment)
                                throws javax.naming.NamingException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       java.rmi.RemoteException,
                                       java.sql.SQLException
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException
java.sql.SQLException

setEntireCatalogAdjustment

public void setEntireCatalogAdjustment(java.lang.String entireCatalogAdjustment)
                                throws javax.naming.NamingException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       java.rmi.RemoteException,
                                       java.sql.SQLException
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException
java.sql.SQLException

getInclusionProductSets

public java.lang.Integer[] getInclusionProductSets()
                                            throws javax.naming.NamingException,
                                                   javax.ejb.CreateException,
                                                   javax.ejb.FinderException,
                                                   java.rmi.RemoteException,
                                                   java.sql.SQLException
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException
java.sql.SQLException

getExclusionProductSets

public java.lang.Integer[] getExclusionProductSets()
                                            throws javax.naming.NamingException,
                                                   javax.ejb.CreateException,
                                                   javax.ejb.FinderException,
                                                   java.rmi.RemoteException,
                                                   java.sql.SQLException
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException
java.sql.SQLException

addProductSetAdjustment

public int addProductSetAdjustment(java.lang.Integer productsetId,
                                   java.lang.Double adjustment,
                                   java.lang.Integer precedence,
                                   java.lang.Integer type)
                            throws javax.naming.NamingException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   java.sql.SQLException,
                                   java.rmi.RemoteException
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.sql.SQLException
java.rmi.RemoteException

updateProductSetAdjustment

public int updateProductSetAdjustment(java.lang.Integer productsetId,
                                      java.lang.Double adjustment,
                                      java.lang.Integer precedence,
                                      java.lang.Integer type)
                               throws javax.naming.NamingException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      java.sql.SQLException,
                                      java.rmi.RemoteException
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.sql.SQLException
java.rmi.RemoteException

deleteProductSetAdjustment

public int deleteProductSetAdjustment(java.lang.Integer productsetId)
                               throws javax.naming.NamingException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      java.sql.SQLException,
                                      java.rmi.RemoteException
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.sql.SQLException
java.rmi.RemoteException

findProductSetIdsByTCIdAndType

public java.lang.Integer[] findProductSetIdsByTCIdAndType(java.lang.Integer type)
                                                   throws javax.naming.NamingException,
                                                          javax.ejb.CreateException,
                                                          javax.ejb.FinderException,
                                                          java.sql.SQLException,
                                                          java.rmi.RemoteException
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.sql.SQLException
java.rmi.RemoteException

getProductSetAdjustments

public java.util.Vector getProductSetAdjustments()
                                          throws javax.naming.NamingException,
                                                 java.sql.SQLException,
                                                 javax.ejb.CreateException,
                                                 javax.ejb.FinderException,
                                                 java.rmi.RemoteException
Throws:
javax.naming.NamingException
java.sql.SQLException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException

getPriceListIds

public java.lang.Long[] getPriceListIds()
                                 throws javax.ejb.CreateException,
                                        javax.naming.NamingException,
                                        javax.ejb.FinderException,
                                        java.rmi.RemoteException
Throws:
javax.ejb.CreateException
javax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException

Feedback