com.ibm.commerce.registry
Class TermConditionCopy

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

public class TermConditionCopy
extends TermConditionAccessBean

This class is for internal used only.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
TermConditionCopy(TermConditionAccessBean argABTC)
          Contracts a TermConditionCopy object givena TermConditionAccessBean
 
Method Summary
 BusinessPolicyAccessBean[] getPolicies()
          Gets all the BusinessPolicyAccessBean associated with this term and condition copy object.
 BusinessPolicyAccessBean[] getPoliciesByType(java.lang.String argType)
          Gets business policies by type.
 
Methods inherited from class com.ibm.commerce.contract.objects.TermConditionAccessBean
commitCopyHelper, createNewVersion, findAllTCWithTCLevelParticipantByTrading, findByTrading, findByTradingAndSequence, findByTradingAndTCSubType, findByTradingAndTCSubTypeForBuyer, findByTradingAndTCSubTypeWithoutTCParticipant, findByTradingAndTCType, findByTradingAndTCTypeForBuyer, findByTradingAndTCTypeWithoutTCParticipant, findByTradingForBuyer, getChangeableFlag, getChangeableFlagInEJBType, getDescription, getDescription, getMandatoryFlag, getMandatoryFlagInEJBType, getParticipants, getPriceListId, getPriceListIdInEJBType, getProductSetId, getProductSetIdInEJBType, getReferenceNumber, getReferenceNumberInEJBType, getTcSequence, getTcSequenceInEJBType, getTcSubType, getTimeCreated, getTimeCreatedInEJBType, getTimeUpdated, getTimeUpdatedInEJBType, getTradingId, getTradingIdInEJBType, getXMLString, markForDelete, parseXMLElement, refreshCopyHelper, setChangeableFlag, setChangeableFlag, setInitKey_referenceNumber, setMandatoryFlag, setMandatoryFlag, setPriceListId, setPriceListId, setProductSetId, setProductSetId, setReferenceNumber, setReferenceNumber, setTcSequence, setTcSequence, setTimeCreated, setTimeCreated, setTimeUpdated, setTimeUpdated, setTradingId, setTradingId
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TermConditionCopy

public TermConditionCopy(TermConditionAccessBean argABTC)
                  throws javax.naming.NamingException,
                         java.rmi.RemoteException,
                         javax.ejb.CreateException,
                         javax.ejb.FinderException
Contracts a TermConditionCopy object givena TermConditionAccessBean

Parameters:
argABTC - com.ibm.commerce.contract.objects.TermConditionAccessBean
Method Detail

getPolicies

public BusinessPolicyAccessBean[] getPolicies()
                                       throws javax.ejb.CreateException,
                                              javax.ejb.FinderException,
                                              java.rmi.RemoteException,
                                              javax.naming.NamingException
Gets all the BusinessPolicyAccessBean associated with this term and condition copy object.

Overrides:
getPolicies in class TermConditionAccessBean
Returns:
BusinessPolicyAccessBean[] - an array of business policy access bean
Throws:
javax.ejb.CreateException, - javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException

getPoliciesByType

public BusinessPolicyAccessBean[] getPoliciesByType(java.lang.String argType)
                                             throws javax.ejb.CreateException,
                                                    javax.ejb.FinderException,
                                                    java.rmi.RemoteException,
                                                    javax.naming.NamingException
Gets business policies by type.

Overrides:
getPoliciesByType in class TermConditionAccessBean
Parameters:
policyType - String - policy type
Returns:
BusinessPolicyAccessBean[] - an array of business policy access bean
Throws:
javax.ejb.CreateException, - javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException