com.ibm.commerce.tools.contract.beans

Class PaymentTCDataBean

  • java.lang.Object
    • com.ibm.commerce.tools.contract.beans.PaymentTCDataBean
  • All Implemented Interfaces:
    com.ibm.commerce.beans.DataBean, com.ibm.commerce.beans.InputDataBean, com.ibm.commerce.beans.SmartDataBean, com.ibm.commerce.security.Delegator, java.io.Serializable


    public class PaymentTCDataBean
    extends java.lang.Object
    implements com.ibm.commerce.beans.SmartDataBean, com.ibm.commerce.security.Delegator
    This data bean represents a Payment Term and Condition object. When retrieving all the data associated with a Payment Term and Condition, the data bean will be called. Sets the account or contract and language identifiers in order to populate the bean. The data bean maps to a database table TERMCOND
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from interface com.ibm.commerce.beans.DataBean

        emptyString
    • Constructor Summary

      Constructors 
      Constructor and Description
      PaymentTCDataBean(java.lang.Long newContractId, java.lang.Integer newLangId)
      Constructs an PaymentTCDataBean from an existing contract identifier Finds the Payment terms and conditions in the contract
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String[] getAddrMemberDN()
      Gets the address member distinguished names for the payment term and conditions
      java.lang.String[] getAddrMemberDNType()
      Gets the address member distinguished name types for the payment term and conditions
      java.lang.String[] getAddrMemberID()
      Gets the address member identifiers for the payment term and conditions
      java.lang.String[] getAddrNickName()
      Gets the billing address nicknames for the payment term and conditions
      java.util.Hashtable[] getAttrs()
      Gets the attributes for the payment term and conditions
      com.ibm.commerce.command.CommandContext getCommandContext()
      Returns the current command's context
      com.ibm.commerce.security.Protectable getDelegate()
      Returns the access control delegate of this data bean
      java.lang.String[] getDisplayName()
      Gets the display names for the payment term and conditions
      java.lang.String[] getPolicyName()
      Gets the policy names for the payment term and conditions
      java.lang.String[] getReferenceNumber()
      Gets the reference numbers for the payment term and conditions
      com.ibm.commerce.datatype.TypedProperty getRequestProperties()
      Gets the request properties
      java.lang.String[] getStoreIdentity()
      Gets the store member identities for the payment term and conditions
      java.lang.String[] getStoreMemberDN()
      Gets the store member distinguished names for the payment term and conditions
      java.lang.String[] getStoreMemberDNType()
      Gets the store member distinguished name types for the payment term and conditions
      java.lang.String[] getStoreMemberId()
      Gets the store member identifiers for the payment term and conditions
      void populate()
      This method is used to retrieve the Payment data in the account or contract.
      void setCommandContext(com.ibm.commerce.command.CommandContext newICommandContext)
      Sets the command context
      void setRequestProperties(com.ibm.commerce.datatype.TypedProperty param)
      Sets the request properties.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PaymentTCDataBean

        public PaymentTCDataBean(java.lang.Long newContractId,
                                 java.lang.Integer newLangId)
        Constructs an PaymentTCDataBean from an existing contract identifier Finds 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()
        Gets the address member distinguished names for the payment term and conditions
        Returns:
        java.lang.String[]
      • getAddrMemberDNType

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

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

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

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

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

        public com.ibm.commerce.security.Protectable getDelegate()
                                                          throws java.lang.Exception
        Returns the access control delegate of this data bean
        Specified by:
        getDelegate in interface com.ibm.commerce.security.Delegator
        Returns:
        com.ibm.commerce.security.Protectable
        Throws:
        java.lang.Exception
      • getDisplayName

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

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

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

        public com.ibm.commerce.datatype.TypedProperty getRequestProperties()
        Gets the request properties
        Specified by:
        getRequestProperties in interface com.ibm.commerce.beans.InputDataBean
        Returns:
        null
      • getStoreIdentity

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

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

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

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

        public void populate()
                      throws java.lang.Exception
        This method is used to retrieve the Payment data in the account or contract. Loads data into the data bean when the DataBeanManager.activate() runs.
        Specified by:
        populate in interface com.ibm.commerce.beans.SmartDataBean
        Throws:
        java.lang.Exception
      • setCommandContext

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

        public void setRequestProperties(com.ibm.commerce.datatype.TypedProperty param)
        Sets the request properties.
        Specified by:
        setRequestProperties in interface com.ibm.commerce.beans.InputDataBean
        Parameters:
        param - com.ibm.commerce.datatype.TypedProperty