com.ibm.commerce.contract.beans
Class TradingAgreementDataBean

com.ibm.commerce.contract.beans.TradingAgreementDataBean
All Implemented Interfaces:
Delegator

public class TradingAgreementDataBean
implements Delegator

IBM internal use only.


Fields inherited from interface com.ibm.commerce.security.Delegator
COPYRIGHT
 
Constructor Summary
TradingAgreementDataBean()
           
 
Method Summary
 java.lang.String getAccountId()
          IBM internal use only.
 java.lang.Long getAccountIdInEJBType()
          IBM internal use only.
 AttachmentAccessBean[] getAttachment()
          IBM internal use only.
 CommandContext getCommandContext()
          Gets the command context set within this bean.
 java.lang.String getCreditAllowedFlag()
          IBM internal use only.
 java.lang.Integer getCreditAllowedFlagInEJBType()
          IBM internal use only.
 java.lang.String getDataBeanKeyTradingId()
          Retrieve its primary key.
 Protectable getDelegate()
          Retrieves access control information.
 TradingDescriptionAccessBean getDescription(java.lang.Integer aDescription, java.lang.Integer aDescription)
          IBM internal use only.
 java.lang.String getEndTime()
          IBM internal use only.
 java.sql.Timestamp getEndTimeInEJBType()
          IBM internal use only.
 java.lang.String getMarkForDelete()
          IBM internal use only.
 java.lang.Integer getMarkForDeleteInEJBType()
          IBM internal use only.
 BusinessPolicyAccessBean[] getPolicies(java.lang.Long aPolicies)
          IBM internal use only.
 BusinessPolicyAccessBean[] getPoliciesByType(java.lang.String aPoliciesByType, java.lang.Long aPoliciesByType)
          IBM internal use only.
 java.lang.String getReferenceCount()
          IBM internal use only.
 java.lang.Integer getReferenceCountInEJBType()
          IBM internal use only.
 TypedProperty getRequestProperties()
          Gets the request property set within this bean.
 java.lang.String getStartTime()
          IBM internal use only.
 java.sql.Timestamp getStartTimeInEJBType()
          IBM internal use only.
 java.lang.String getState()
          IBM internal use only.
 java.lang.Integer getStateInEJBType()
          IBM internal use only.
 TermConditionAccessBean[] getTCsByTCSubType(java.lang.String aTCsByTCSubType, java.lang.Long aTCsByTCSubType)
          IBM internal use only.
 TermConditionAccessBean[] getTCsByTCType(java.lang.String aTCsByTCType, java.lang.Long aTCsByTCType)
          IBM internal use only.
 java.lang.String getTradingId()
          IBM internal use only.
 java.lang.Long getTradingIdInEJBType()
          IBM internal use only.
 ParticipantAccessBean[] getTradingLevelParticipants()
          IBM internal use only.
 java.lang.String getTradingType()
          IBM internal use only.
 java.lang.Integer getTradingTypeInEJBType()
          IBM internal use only.
 boolean hasTCLevelParticipant()
          IBM internal use only.
 boolean isValid()
          IBM internal use only.
 void markForDelete()
          IBM internal use only.
 void populate()
          Retrieves data from the database.
 void setAccountId(java.lang.Long aAccountId)
          IBM internal use only.
 void setCommandContext(CommandContext aCommandContext)
          Sets the command context within this bean.
 void setCreditAllowedFlag(java.lang.Integer aCreditAllowedFlag)
          IBM internal use only.
 void setDataBeanKeyTradingId(java.lang.String aDataBeanKeyTradingId)
          Set its primary key for fetching.
 void setEndTime(java.sql.Timestamp aEndTime)
          IBM internal use only.
 void setMarkForDelete(java.lang.Integer aMarkForDelete)
          IBM internal use only.
 void setReferenceCount(java.lang.Integer aReferenceCount)
          IBM internal use only.
 void setRequestProperties(TypedProperty aRequestProperties)
          Sets the request property within this bean.
 void setStartTime(java.sql.Timestamp aStartTime)
          IBM internal use only.
 void setState(java.lang.Integer aState)
          IBM internal use only.
 void setTradingId(java.lang.Long aTradingId)
          IBM internal use only.
 void setTradingType(java.lang.Integer aTradingType)
          IBM internal use only.
 

Constructor Detail

TradingAgreementDataBean

public TradingAgreementDataBean()
Method Detail

getAccountId

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

IBM internal use only.

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

getAccountIdInEJBType

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

IBM internal use only.

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

getAttachment

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

IBM internal use only.

Returns:
com.ibm.commerce.contract.objects.AttachmentAccessBean[]
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

getCommandContext

public CommandContext getCommandContext()

Gets the command context set within this bean.

Returns:
com.ibm.commerce.command.CommandContext

getCreditAllowedFlag

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

IBM internal use only.

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

getCreditAllowedFlagInEJBType

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

IBM internal use only.

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

getDataBeanKeyTradingId

public java.lang.String getDataBeanKeyTradingId()

Retrieve its primary key.

Returns:
java.lang.String

getDelegate

public Protectable getDelegate()
                        throws java.lang.Exception

Retrieves access control information.

Specified by:
getDelegate in interface Delegator
Returns:
com.ibm.commerce.security.Protectable
Throws:
java.lang.Exception - The java.lang.Exception exception

getDescription

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

IBM internal use only.

Parameters:
aDescription - java.lang.Integer
aDescription - java.lang.Integer
Returns:
com.ibm.commerce.contract.objects.TradingDescriptionAccessBean
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

getEndTime

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

IBM internal use only.

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

getEndTimeInEJBType

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

IBM internal use only.

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

getMarkForDelete

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

IBM internal use only.

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

getMarkForDeleteInEJBType

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

IBM internal use only.

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

getPolicies

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

IBM internal use only.

Parameters:
aPolicies - java.lang.Long
Returns:
com.ibm.commerce.contract.objects.BusinessPolicyAccessBean[]
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 aPoliciesByType,
                                                    java.lang.Long aPoliciesByType)
                                             throws javax.naming.NamingException,
                                                    javax.ejb.CreateException,
                                                    javax.ejb.FinderException,
                                                    java.rmi.RemoteException

IBM internal use only.

Parameters:
aPoliciesByType - java.lang.String
aPoliciesByType - java.lang.Long
Returns:
com.ibm.commerce.contract.objects.BusinessPolicyAccessBean[]
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

getReferenceCount

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

IBM internal use only.

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

getReferenceCountInEJBType

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

IBM internal use only.

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

getRequestProperties

public TypedProperty getRequestProperties()

Gets the request property set within this bean.

Returns:
com.ibm.commerce.datatype.TypedProperty

getStartTime

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

IBM internal use only.

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

getStartTimeInEJBType

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

IBM internal use only.

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

getState

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

IBM internal use only.

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

getStateInEJBType

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

IBM internal use only.

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

getTCsByTCSubType

public TermConditionAccessBean[] getTCsByTCSubType(java.lang.String aTCsByTCSubType,
                                                   java.lang.Long aTCsByTCSubType)
                                            throws javax.naming.NamingException,
                                                   javax.ejb.CreateException,
                                                   javax.ejb.FinderException,
                                                   java.rmi.RemoteException

IBM internal use only.

Parameters:
aTCsByTCSubType - java.lang.String
aTCsByTCSubType - java.lang.Long
Returns:
com.ibm.commerce.contract.objects.TermConditionAccessBean[]
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

getTCsByTCType

public TermConditionAccessBean[] getTCsByTCType(java.lang.String aTCsByTCType,
                                                java.lang.Long aTCsByTCType)
                                         throws javax.naming.NamingException,
                                                javax.ejb.CreateException,
                                                javax.ejb.FinderException,
                                                java.rmi.RemoteException

IBM internal use only.

Parameters:
aTCsByTCType - java.lang.String
aTCsByTCType - java.lang.Long
Returns:
com.ibm.commerce.contract.objects.TermConditionAccessBean[]
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

getTradingId

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

IBM internal use only.

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

getTradingIdInEJBType

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

IBM internal use only.

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

getTradingLevelParticipants

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

IBM internal use only.

Returns:
com.ibm.commerce.contract.objects.ParticipantAccessBean[]
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

getTradingType

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

IBM internal use only.

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

getTradingTypeInEJBType

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

IBM internal use only.

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

hasTCLevelParticipant

public boolean hasTCLevelParticipant()
                              throws javax.naming.NamingException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     java.rmi.RemoteException

IBM internal use only.

Returns:
boolean
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

isValid

public boolean isValid()
                throws javax.naming.NamingException,
                       javax.ejb.CreateException,
                       javax.ejb.FinderException,
                       java.rmi.RemoteException

IBM internal use only.

Returns:
boolean
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

markForDelete

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

IBM internal use only.

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

populate

public void populate()
              throws java.lang.Exception

Retrieves data from the database.

Returns:
void
Throws:
java.lang.Exception - The java.lang.Exception exception

setAccountId

public void setAccountId(java.lang.Long aAccountId)

IBM internal use only.

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

setCommandContext

public void setCommandContext(CommandContext aCommandContext)

Sets the command context within this bean.

Parameters:
aCommandContext - com.ibm.commerce.command.CommandContext
Returns:
void

setCreditAllowedFlag

public void setCreditAllowedFlag(java.lang.Integer aCreditAllowedFlag)

IBM internal use only.

Parameters:
aCreditAllowedFlag - java.lang.Integer
Returns:
void

setDataBeanKeyTradingId

public void setDataBeanKeyTradingId(java.lang.String aDataBeanKeyTradingId)

Set its primary key for fetching.

Parameters:
aDataBeanKeyTradingId - java.lang.String
Returns:
void

setEndTime

public void setEndTime(java.sql.Timestamp aEndTime)

IBM internal use only.

Parameters:
aEndTime - java.sql.Timestamp
Returns:
void

setMarkForDelete

public void setMarkForDelete(java.lang.Integer aMarkForDelete)

IBM internal use only.

Parameters:
aMarkForDelete - java.lang.Integer
Returns:
void

setReferenceCount

public void setReferenceCount(java.lang.Integer aReferenceCount)

IBM internal use only.

Parameters:
aReferenceCount - java.lang.Integer
Returns:
void

setRequestProperties

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

Sets the request property within this bean.

Parameters:
aRequestProperties - com.ibm.commerce.datatype.TypedProperty
Returns:
void
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

setStartTime

public void setStartTime(java.sql.Timestamp aStartTime)

IBM internal use only.

Parameters:
aStartTime - java.sql.Timestamp
Returns:
void

setState

public void setState(java.lang.Integer aState)

IBM internal use only.

Parameters:
aState - java.lang.Integer
Returns:
void

setTradingId

public void setTradingId(java.lang.Long aTradingId)

IBM internal use only.

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

setTradingType

public void setTradingType(java.lang.Integer aTradingType)

IBM internal use only.

Parameters:
aTradingType - java.lang.Integer
Returns:
void