com.ibm.commerce.registry
Class TermConditionCopy

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
        |
        +--com.ibm.commerce.contract.objects.TermConditionAccessBean
              |
              +--com.ibm.commerce.registry.TermConditionCopy
All Implemented Interfaces:
TermConditionAccessBeanData

public class TermConditionCopy
extends TermConditionAccessBean

An internal representation of a Term and Condition Access Bean used for caching Term and Conditions

See Also:
Serialized Form

Constructor Summary
TermConditionCopy( TermConditionAccessBean argABTC)
          Constructs a TermConditionCopy object given a TermConditionAccessBean
 
Method Summary
 java.lang.Integer[] getExclusionProductSets()
          Gets exclusion product sets for the term and condition
 java.lang.Integer[] getInclusionProductSets()
          Gets inclusion product sets for the term and condition
  BusinessPolicyAccessBean[] getPolicies()
          Gets all the BusinessPolicyAccessBeans associated with this term and condition.
  BusinessPolicyAccessBean[] getPoliciesByType(java.lang.String argType)
          Gets all the business policies by business policy type for this term and condition.
 java.util.Vector getProductSetAdjustments()
          Gets a vector of product set adjustments for the term and condition
 
Methods inherited from class com.ibm.commerce.contract.objects. TermConditionAccessBean
addProductSetAdjustment, commitCopyHelper, createNewVersion, defaultJNDIName, deleteProductSetAdjustment, findAllTCWithTCLevelParticipantByTrading, findByTrading, findByTradingAndSequence, findByTradingAndTCSubType, findByTradingAndTCSubTypeForBuyer, findByTradingAndTCSubTypeWithoutTCParticipant, findByTradingAndTCType, findByTradingAndTCTypeForBuyer, findByTradingAndTCTypeWithoutTCParticipant, findByTradingForBuyer, findProductSetIdsByTCIdAndType, getChangeableFlag, getChangeableFlagInEJBType, getDescription, getDescription, getEntireCatalogAdjustment, getEntireCatalogSelected, getMandatoryFlag, getMandatoryFlagInEJBType, getParticipants, getPriceListId, getPriceListIdInEJBType, getPriceListIds, getProductSetId, getProductSetIdInEJBType, getReferenceNumber, getReferenceNumberInEJBType, getTcSequence, getTcSequenceInEJBType, getTcSubType, getTimeCreated, getTimeCreatedInEJBType, getTimeUpdated, getTimeUpdatedInEJBType, getTradingId, getTradingIdInEJBType, getXMLDefinitions, getXMLString, getXMLString, getXMLStrings, instantiateEJB, instantiateEJBByPrimaryKey, markForDelete, parseXMLElement, refreshCopyHelper, setChangeableFlag, setChangeableFlag, setEntireCatalogAdjustment, setEntireCatalogAdjustment, setEntireCatalogSelected, setEntireCatalogSelected, setInitKey_referenceNumber, setMandatoryFlag, setMandatoryFlag, setPriceListId, setPriceListId, setProductSetId, setProductSetId, setReferenceNumber, setReferenceNumber, setTcSequence, setTcSequence, setTimeCreated, setTimeCreated, setTimeUpdated, setTimeUpdated, setTradingId, setTradingId, setXMLDefinition, setXMLDefinition, updateProductSetAdjustment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TermConditionCopy

public TermConditionCopy(TermConditionAccessBean argABTC)
                  throws javax.naming.NamingException,
                         java.rmi.RemoteException,
                         javax.ejb.CreateException,
                         javax.ejb.FinderException
Constructs a TermConditionCopy object given a TermConditionAccessBean
Parameters:
argABTC - The TermCondition AccessBean
Throws:
javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
Method Detail

getPolicies

public BusinessPolicyAccessBean[] getPolicies()
                                       throws javax.ejb.CreateException,
                                              javax.ejb.FinderException,
                                              java.rmi.RemoteException,
                                              javax.naming.NamingException
Gets all the BusinessPolicyAccessBeans associated with this term and condition.
Overrides:
getPolicies in class TermConditionAccessBean
Returns:
An array of business policy access beans
Throws:
javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException

getPoliciesByType

public BusinessPolicyAccessBean[] getPoliciesByType(java.lang.String argType)
                                             throws javax.ejb.CreateException,
                                                    javax.ejb.FinderException,
                                                    java.rmi.RemoteException,
                                                    javax.naming.NamingException
Gets all the business policies by business policy type for this term and condition.
Overrides:
getPoliciesByType in class TermConditionAccessBean
Parameters:
argType - The business policy type
Returns:
An array of business policy access beans
Throws:
javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException

getInclusionProductSets

public java.lang.Integer[] getInclusionProductSets()
                                            throws javax.ejb.CreateException,
                                                   javax.ejb.FinderException,
                                                   java.rmi.RemoteException,
                                                   javax.naming.NamingException,
                                                   java.sql.SQLException
Gets inclusion product sets for the term and condition
Overrides:
getInclusionProductSets in class TermConditionAccessBean
Returns:
An array of product set identifiers
Throws:
javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
java.sql.SQLException

getExclusionProductSets

public java.lang.Integer[] getExclusionProductSets()
                                            throws javax.ejb.CreateException,
                                                   javax.ejb.FinderException,
                                                   java.rmi.RemoteException,
                                                   javax.naming.NamingException,
                                                   java.sql.SQLException
Gets exclusion product sets for the term and condition
Overrides:
getExclusionProductSets in class TermConditionAccessBean
Returns:
An array of product set identifiers
Throws:
javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
java.sql.SQLException

getProductSetAdjustments

public java.util.Vector getProductSetAdjustments()
                                          throws javax.ejb.CreateException,
                                                 javax.ejb.FinderException,
                                                 java.rmi.RemoteException,
                                                 javax.naming.NamingException,
                                                 java.sql.SQLException
Gets a vector of product set adjustments for the term and condition
Overrides:
getProductSetAdjustments in class TermConditionAccessBean
Returns:
A vector of product set identifier and percentage adjustments
Throws:
javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
java.sql.SQLException