java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.contract.objects.TradingAgreementAccessBean | +--com.ibm.commerce.registry.TradingAgreementCopy
An internal representation of a Trading Agreement Access Bean used for caching Trading Agreements
Constructor Summary | |
---|---|
TradingAgreementCopy(
TradingAgreementAccessBean argABTrading) Constructs a TradingAgreementCopy object given a TradingAgreementAccessBean |
Method Summary | |
---|---|
BusinessPolicyAccessBean[] |
getPolicies(java.lang.Long argMemberId) Gets the business policy access beans associated with the trading agreement for a particular member |
BusinessPolicyAccessBean[] |
getPoliciesByType(java.lang.String argType,
java.lang.Long argMemberId) Gets the business policy access beans associated with the trading agreement for a particular member by business policy type |
BusinessPolicyAccessBean[] |
getReferenceTradingAgreementPolicies(java.lang.Long argMemberId) Gets the business policy access beans associated with the trading agreement for a particular member in the trading agreement referenced by this trading agreement |
BusinessPolicyAccessBean[] |
getReferenceTradingAgreementPoliciesByType(java.lang.String argType,
java.lang.Long argMemberId) Gets the business policy access beans associated with the trading agreement for a particular member in the trading agreement referenced by this trading agreement by business policy type |
TermConditionAccessBean[] |
getReferenceTradingAgreementTCsByTCSubType(java.lang.String argTCSubType,
java.lang.Long argMemberId) Gets the term and condition access beans associated with the trading agreement for a particular member in the trading agreement referenced by this trading agreement by term and condition subtype |
TermConditionAccessBean[] |
getReferenceTradingAgreementTCsByTCType(java.lang.String argTCType,
java.lang.Long argMemberId) Gets the term and condition access beans associated with the trading agreement for a particular member in the trading agreement referenced by this trading agreement by term and condition type |
TermConditionAccessBean[] |
getTCsByTCSubType(java.lang.String argTCSubType,
java.lang.Long argMemberId) Gets the term and condition access beans associated with the trading agreement for a particular member in the trading agreement by term and condition subtype |
TermConditionAccessBean[] |
getTCsByTCType(java.lang.String argTCType,
java.lang.Long argMemberId) Gets the term and condition access beans associated with the trading agreement for a particular member in the trading agreement by term and condition type |
boolean |
hasTCLevelParticipant() Checks if this trading agreement has term and condition level participants. |
boolean |
isValid() Checks if this trading agreement is valid. |
BusinessPolicyAccessBean[] |
mergeLists(
BusinessPolicyAccessBean[] list1,
BusinessPolicyAccessBean[] list2) Merge two BusinessPolicyAccessBean lists into one list |
TermConditionAccessBean[] |
mergeLists(
TermConditionAccessBean[] list1,
TermConditionAccessBean[] list2) Merge two TermConditionAccessBean lists into one list |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Constructor Detail |
---|
public TradingAgreementCopy(TradingAgreementAccessBean argABTrading) throws javax.naming.NamingException, java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException
javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
Method Detail |
---|
public BusinessPolicyAccessBean[] getPolicies(java.lang.Long argMemberId) throws javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException
getPolicies
in class
TradingAgreementAccessBean
argMemberId
- The member identifierjavax.naming.NamingException
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
public BusinessPolicyAccessBean[] getPoliciesByType(java.lang.String argType, java.lang.Long argMemberId) throws javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException
getPoliciesByType
in class
TradingAgreementAccessBean
argType
- The policy typeargMemberId
- The member identifierjavax.naming.NamingException
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
public BusinessPolicyAccessBean[] getReferenceTradingAgreementPolicies(java.lang.Long argMemberId) throws javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException
argMemberId
- The member identifierjavax.naming.NamingException
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
public BusinessPolicyAccessBean[] getReferenceTradingAgreementPoliciesByType(java.lang.String argType, java.lang.Long argMemberId) throws javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException
argType
- The policy typeargMemberId
- The member identifierjavax.naming.NamingException
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
public TermConditionAccessBean[] getReferenceTradingAgreementTCsByTCSubType(java.lang.String argTCSubType, java.lang.Long argMemberId) throws javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException
argTCSubType
- The term and condition subtypeargMemberId
- The member identifierjavax.naming.NamingException
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
public TermConditionAccessBean[] getReferenceTradingAgreementTCsByTCType(java.lang.String argTCType, java.lang.Long argMemberId) throws javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException
argTCType
- The term and condition typeargMemberId
- The member identifierjavax.naming.NamingException
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
public TermConditionAccessBean[] getTCsByTCSubType(java.lang.String argTCSubType, java.lang.Long argMemberId) throws javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException
getTCsByTCSubType
in class
TradingAgreementAccessBean
argTCSubType
- The term and condition subtypeargMemberId
- The member identifierjavax.naming.NamingException
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
public TermConditionAccessBean[] getTCsByTCType(java.lang.String argTCType, java.lang.Long argMemberId) throws javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException
getTCsByTCType
in class
TradingAgreementAccessBean
argTCType
- The term and condition typeargMemberId
- The member identifierjavax.naming.NamingException
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
public boolean hasTCLevelParticipant() throws javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException
hasTCLevelParticipant
in class
TradingAgreementAccessBean
javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
public boolean isValid() throws javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException
isValid
in class
TradingAgreementAccessBean
javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
public BusinessPolicyAccessBean[] mergeLists(BusinessPolicyAccessBean[] list1, BusinessPolicyAccessBean[] list2) throws javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException
list1
-
com.ibm.commerce.contract.objects.BusinessPolicyAccessBean[]list2
-
com.ibm.commerce.contract.objects.BusinessPolicyAccessBean[]javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
public TermConditionAccessBean[] mergeLists(TermConditionAccessBean[] list1, TermConditionAccessBean[] list2) throws javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException
list1
-
com.ibm.commerce.contract.objects.TermConditionAccessBean[]list2
-
com.ibm.commerce.contract.objects.TermConditionAccessBean[]javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException