com.ibm.commerce.tools.contract.beans
Class PaymentTCDataBean

java.lang.Object
  |
  +--com.ibm.commerce.tools.contract.beans.PaymentTCDataBean
All Implemented Interfaces:
DataBean, InputDataBean, java.io.Serializable, SmartDataBean

public class PaymentTCDataBean
extends java.lang.Object
implements SmartDataBean

Retrieve all the data associated with a Payment Term and Condition Set the account or contract and language identifiers in order to populate the bean.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.ibm.commerce.beans. SmartDataBean
COPYRIGHT
 
Fields inherited from interface com.ibm.commerce.beans. DataBean
emptyString
 
Constructor Summary
PaymentTCDataBean(java.lang.Long newContractId, java.lang.Integer newLangId)
          Construct an PaymentTCDataBean from an existing contract identifier Find the Payment terms and conditions in the contract
 
Method Summary
 java.lang.String[] getAddrMemberDN()
          Get the address member distinguished names for the payment term and conditions
 java.lang.String[] getAddrMemberDNType()
          Get the address member distinguished name types for the payment term and conditions
 java.lang.String[] getAddrMemberID()
          Get the address member identifiers for the payment term and conditions
 java.lang.String[] getAddrNickName()
          Get the billing address nicknames for the payment term and conditions
 java.util.Hashtable[] getAttrs()
          Get the attributes for the payment term and conditions
  CommandContext getCommandContext()
          Returns the current command's context
 com.ibm.commerce.security.Protectable getDelegate()
          Return the access control delegate of this databean
 java.lang.String[] getDisplayName()
          Get the display names for the payment term and conditions
 java.lang.String[] getPolicyName()
          Get the policy names for the payment term and conditions
 java.lang.String[] getReferenceNumber()
          Get the reference numbers for the payment term and conditions
  TypedProperty getRequestProperties()
          Get the request properties
 java.lang.String[] getStoreIdentity()
          Get the store member identities for the payment term and conditions
 java.lang.String[] getStoreMemberDN()
          Get the store member distinguished names for the payment term and conditions
 java.lang.String[] getStoreMemberDNType()
          Get the store member distinguished name types for the payment term and conditions
 java.lang.String[] getStoreMemberId()
          Get the store member identifiers for the payment term and conditions
 void populate()
          Populates the databean with data elements.
 void setCommandContext( CommandContext newICommandContext)
          Set the command context
 void setRequestProperties( TypedProperty param)
          Set the requestProperties associated with the data bean.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaymentTCDataBean

public PaymentTCDataBean(java.lang.Long newContractId,
                         java.lang.Integer newLangId)
Construct an PaymentTCDataBean from an existing contract identifier Find the Payment terms and conditions in the contract
Parameters:
newContractId - Long An existing contract identifier
newLangId - Integer The language identifier for which language to retrieve the data
Method Detail

getAddrMemberDN

public java.lang.String[] getAddrMemberDN()
Get the address member distinguished names for the payment term and conditions
Returns:
java.lang.String[]

getAddrMemberDNType

public java.lang.String[] getAddrMemberDNType()
Get the address member distinguished name types for the payment term and conditions
Returns:
java.lang.String[]

getAddrMemberID

public java.lang.String[] getAddrMemberID()
Get the address member identifiers for the payment term and conditions
Returns:
java.lang.String[]

getAddrNickName

public java.lang.String[] getAddrNickName()
Get the billing address nicknames for the payment term and conditions
Returns:
java.lang.String[]

getAttrs

public java.util.Hashtable[] getAttrs()
Get the attributes for the payment term and conditions
Returns:
Hashtable[]

getCommandContext

public CommandContext getCommandContext()
Returns the current command's context
Specified by:
getCommandContext in interface SmartDataBean
Returns:
com.ibm.commerce.command.CommandContext

getDelegate

public com.ibm.commerce.security.Protectable getDelegate()
                                                  throws java.lang.Exception
Return the access control delegate of this databean
Returns:
com.ibm.commerce.security.Protectable
Throws:
java.lang.Exception

getDisplayName

public java.lang.String[] getDisplayName()
Get the display names for the payment term and conditions
Returns:
java.lang.String[]

getPolicyName

public java.lang.String[] getPolicyName()
Get the policy names for the payment term and conditions
Returns:
java.lang.String[]

getReferenceNumber

public java.lang.String[] getReferenceNumber()
Get the reference numbers for the payment term and conditions
Returns:
java.lang.String[]

getRequestProperties

public TypedProperty getRequestProperties()
Get the request properties
Specified by:
getRequestProperties in interface InputDataBean
Returns:
null

getStoreIdentity

public java.lang.String[] getStoreIdentity()
Get the store member identities for the payment term and conditions
Returns:
java.lang.String[]

getStoreMemberDN

public java.lang.String[] getStoreMemberDN()
Get the store member distinguished names for the payment term and conditions
Returns:
java.lang.String[]

getStoreMemberDNType

public java.lang.String[] getStoreMemberDNType()
Get the store member distinguished name types for the payment term and conditions
Returns:
java.lang.String[]

getStoreMemberId

public java.lang.String[] getStoreMemberId()
Get the store member identifiers for the payment term and conditions
Returns:
java.lang.String[]

populate

public void populate()
              throws java.lang.Exception
Description copied from interface: SmartDataBean
Populates the databean with data elements.
Specified by:
populate in interface SmartDataBean
Throws:
java.lang.Exception - if there is a problem populating the databean with data.

setCommandContext

public void setCommandContext(CommandContext newICommandContext)
Set the command context
Specified by:
setCommandContext in interface SmartDataBean
Parameters:
newICommandContext - com.ibm.commerce.command.CommandContext

setRequestProperties

public void setRequestProperties(TypedProperty param)
Description copied from interface: InputDataBean
Set the requestProperties associated with the data bean. If the requestProperties is null when the activate method on the DataBeanManager is invoked, the DataBeanManager sets the request properties based on the request properties set in the request.
Specified by:
setRequestProperties in interface InputDataBean