com.ibm.commerce.approval.beans

Class ApprovalStatusLightListBean

  • java.lang.Object
    • com.ibm.commerce.beans.InputDataBeanImpl
      • com.ibm.commerce.beans.SmartDataBeanImpl
        • com.ibm.commerce.beans.SortedListBean
          • com.ibm.commerce.approval.beans.ApprovalStatusLightListBean
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM Copyright statement
      • Fields inherited from class com.ibm.commerce.beans.SortedListBean

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

        emptyString
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      ApprovalStatusLightDataBean[] getApprovalStatusBeans()
      Returns an array of ApprovalStatusLightDataBeans corresponding to the rows in the list.
      java.lang.String getApproverId()
      Returns the approver Id.
      java.lang.String getAprvstatusId()
      Returns the approval request id.
      java.lang.String getDateOp()
      Returns the date operator.
      java.lang.String getFlowTypeId()
      Returns the flow type id.
      java.lang.String getForWhom()
      Returns the forWhom flag.
      java.lang.String getHitsPerPage()
      Returns the number of hits displayed on a page.
      java.lang.String getLanguageId()
      Returns the language Id.
      java.lang.String getNumberOfDistinctApprovers()
      Returns the number of distinct approvers.
      java.lang.String getNumberOfHits()
      Returns the number of hits.
      java.lang.String getStartIndex()
      Returns the starting record number to be displayed on the page.
      java.lang.String getStatus()
      Returns the status.
      java.lang.String getSubmitterId()
      Returns the submitter id.
      java.lang.String getSubmitTime()
      Returns the submit time id.
      void populate()
      Creates a sorted list of approval request beans.
      void setApprovalStatusBeans(ApprovalStatusLightDataBean[] newApprovalStatusBeans)
      Sets the array of ApprovalStatusLightDataBeans corresponding to the rows in the list.
      void setApproverId(java.lang.String newApproverId)
      Sets the approver id.
      void setAprvstatusId(java.lang.String newAprvstatusId)
      Sets the approval request id.
      void setDateOp(java.lang.String newDateOp)
      Sets the date operator.
      void setFlowTypeId(java.lang.String newFlowTypeId)
      Sets the flow type id.
      void setForWhom(java.lang.String newForWhom)
      Sets the forWhom flag.
      void setHitsPerPage(java.lang.String newHitsPerPage)
      Sets the number of hits displayed on a page.
      void setLanguageId(java.lang.String newLanguageId)
      Sets the languageId.
      void setNumberOfDistinctApprovers(java.lang.String newNumberOfDistinctApprovers)
      Sets the number of distinct approvers
      void setNumberOfHits(java.lang.String newNumberOfHits)
      Sets the number of hits.
      void setStartIndex(java.lang.String newStartIndex)
      Sets the starting record number.
      void setStatus(java.lang.String newStatus)
      Sets the status.
      void setSubmitterId(java.lang.String newSubmitterId)
      Sets the submitter id.
      void setSubmitTime(java.lang.String newSubmitTime)
      Sets the submit time.
      • Methods inherited from class com.ibm.commerce.beans.SortedListBean

        getLength, getSortAtt, setSortAtt
      • Methods inherited from class com.ibm.commerce.beans.SmartDataBeanImpl

        fulfills, getCommandContext, getHttpRequest, getHttpResponse, getResources, getViewCommandContext, setCommandContext, setHttpRequest, setHttpResponse, setViewCommandContext
      • Methods inherited from class com.ibm.commerce.beans.InputDataBeanImpl

        getRequestProperties, setRequestProperties
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.ibm.commerce.beans.InputDataBean

        getRequestProperties, setRequestProperties
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM Copyright statement
        See Also:
        Constant Field Values
    • Constructor Detail

      • ApprovalStatusLightListBean

        public ApprovalStatusLightListBean()
        Constructs an ApprovalStatusLightListBean.
    • Method Detail

      • getForWhom

        public java.lang.String getForWhom()
        Returns the forWhom flag. This should be ApprovalConstants.EC_APPROVER_CODE if the list is being generated for an approver or ApprovalConstants.EC_SUBMITTER_CODE if the list is being generated for a submitter.
        Specified by:
        getForWhom in interface ApprovalStatusLightListSmartDataBean
        Returns:
        forWhom The flag indicating for whom the list is being created.
      • getStartIndex

        public java.lang.String getStartIndex()
        Returns the starting record number to be displayed on the page.
        Specified by:
        getStartIndex in interface ApprovalStatusLightListSmartDataBean
        Returns:
        startIndex The starting record number to be displayed on the page.
      • populate

        public void populate()
                      throws java.lang.Exception
        Creates a sorted list of approval request beans.
        Specified by:
        populate in interface com.ibm.commerce.beans.SmartDataBean
        Overrides:
        populate in class com.ibm.commerce.beans.SmartDataBeanImpl
        Throws:
        java.lang.Exception - if there are any problems creating the list.
      • setApproverId

        public void setApproverId(java.lang.String newApproverId)
        Sets the approver id.
        Specified by:
        setApproverId in interface ApprovalStatusLightListInputDataBean
        Parameters:
        NewApproverId - The id of the member who can approve this request.
      • setForWhom

        public void setForWhom(java.lang.String newForWhom)
        Sets the forWhom flag. This should be ApprovalConstants.EC_APPROVER_CODE if the list is being generated for an approver or ApprovalConstants.EC_SUBMITTER_CODE if the list is being generated for a submitter.
        Specified by:
        setForWhom in interface ApprovalStatusLightListInputDataBean
        Parameters:
        newForWhom - The forWhom flag.
      • setHitsPerPage

        public void setHitsPerPage(java.lang.String newHitsPerPage)
        Sets the number of hits displayed on a page.
        Specified by:
        setHitsPerPage in interface ApprovalStatusLightListInputDataBean
        Parameters:
        newHitsPerPage - The number of hits displayed on a page.
      • setNumberOfDistinctApprovers

        public void setNumberOfDistinctApprovers(java.lang.String newNumberOfDistinctApprovers)
        Sets the number of distinct approvers
        Specified by:
        setNumberOfDistinctApprovers in interface ApprovalStatusLightListInputDataBean
        Parameters:
        newNumberOfDistinctApprovers - The number of distinct approvers
      • setStartIndex

        public void setStartIndex(java.lang.String newStartIndex)
        Sets the starting record number.
        Specified by:
        setStartIndex in interface ApprovalStatusLightListInputDataBean
        Parameters:
        newStartIndex - The starting record number.
      • setSubmitterId

        public void setSubmitterId(java.lang.String newSubmitterId)
        Sets the submitter id.
        Specified by:
        setSubmitterId in interface ApprovalStatusLightListInputDataBean
        Parameters:
        newSubmitterId - The id of the member who submitted the approval request.
      • setSubmitTime

        public void setSubmitTime(java.lang.String newSubmitTime)
        Sets the submit time.
        Specified by:
        setSubmitTime in interface ApprovalStatusLightListInputDataBean
        Parameters:
        newSubmitTime - The timestamp when the approval request was submitted.