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
All Implemented Interfaces:
ApprovalStatusLightListInputDataBean, ApprovalStatusLightListSmartDataBean, DataBean, InputDataBean, java.io.Serializable, SmartDataBean, SortedListInputDataBean, SortedListSmartDataBean

public class ApprovalStatusLightListBean
extends SortedListBean
implements ApprovalStatusLightListInputDataBean, ApprovalStatusLightListSmartDataBean

Provides sorted lists of ApprovalStatusLightDataBean beans.

See Also:
Serialized Form

Field Summary
protected  ApprovalStatusLightDataBean[] approvalStatusBeans
           
protected  java.lang.String approverId
           
protected  java.lang.String aprvstatusId
           
static java.lang.String COPYRIGHT
           
protected  java.lang.String dateOp
           
protected  java.lang.String flowTypeId
           
protected  java.lang.String forWhom
           
protected  java.lang.String hitsPerPage
           
protected  java.lang.String languageId
           
protected  java.lang.String numberOfDistinctApprovers
           
protected  java.lang.String numberOfHits
           
protected  java.lang.String startIndex
           
protected  java.lang.String status
           
protected  java.lang.String submitterId
           
protected  java.lang.String submitTime
           
 
Fields inherited from class com.ibm.commerce.beans.SortedListBean
listSize, sortingAtt
 
Fields inherited from class com.ibm.commerce.beans.SmartDataBeanImpl
commandContext
 
Fields inherited from class com.ibm.commerce.beans.InputDataBeanImpl
requestProperties
 
Fields inherited from interface com.ibm.commerce.beans.DataBean
emptyString
 
Constructor Summary
ApprovalStatusLightListBean()
          Constructs a ApprovalStatusLightListBean.
 
Method Summary
 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, getResources, setCommandContext
 
Methods inherited from class com.ibm.commerce.beans.InputDataBeanImpl
getRequestProperties, setRequestProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.commerce.beans.InputDataBean
getRequestProperties, setRequestProperties
 

Field Detail

approvalStatusBeans

protected ApprovalStatusLightDataBean[] approvalStatusBeans

approverId

protected java.lang.String approverId

aprvstatusId

protected java.lang.String aprvstatusId

COPYRIGHT

public static final java.lang.String COPYRIGHT

dateOp

protected java.lang.String dateOp

flowTypeId

protected java.lang.String flowTypeId

forWhom

protected java.lang.String forWhom

hitsPerPage

protected java.lang.String hitsPerPage

languageId

protected java.lang.String languageId

numberOfDistinctApprovers

protected java.lang.String numberOfDistinctApprovers

numberOfHits

protected java.lang.String numberOfHits

startIndex

protected java.lang.String startIndex

status

protected java.lang.String status

submitterId

protected java.lang.String submitterId

submitTime

protected java.lang.String submitTime
Constructor Detail

ApprovalStatusLightListBean

public ApprovalStatusLightListBean()
Constructs a ApprovalStatusLightListBean.
Method Detail

getApprovalStatusBeans

public ApprovalStatusLightDataBean[] getApprovalStatusBeans()
Returns an array of ApprovalStatusLightDataBeans corresponding to the rows in the list.
Specified by:
getApprovalStatusBeans in interface ApprovalStatusLightListSmartDataBean
Returns:
approvalStatusBeans The array of ApprovalStatusLightDataBeans corresponding to the rows in the list.

getApproverId

public java.lang.String getApproverId()
Returns the approver id.
Specified by:
getApproverId in interface ApprovalStatusLightListSmartDataBean
Returns:
approverId The approver id.

getAprvstatusId

public java.lang.String getAprvstatusId()
Returns the approval request id.
Specified by:
getAprvstatusId in interface ApprovalStatusLightListSmartDataBean
Returns:
aprvstatusId The approval request id.

getDateOp

public java.lang.String getDateOp()
Returns the date operator.
Specified by:
getDateOp in interface ApprovalStatusLightListSmartDataBean
Returns:
dateOp The date operator.

getFlowTypeId

public java.lang.String getFlowTypeId()
Returns the flow type id.
Specified by:
getFlowTypeId in interface ApprovalStatusLightListSmartDataBean
Returns:
flowTypeId The flow type id.

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.

getHitsPerPage

public java.lang.String getHitsPerPage()
Returns the number of hits displayed on a page.
Specified by:
getHitsPerPage in interface ApprovalStatusLightListSmartDataBean
Returns:
hitsPerPage The number of hits displayed on a page.

getLanguageId

public java.lang.String getLanguageId()
Returns the language Id.
Specified by:
getLanguageId in interface ApprovalStatusLightListSmartDataBean
Returns:
languageId The language id for NLS support.

getNumberOfDistinctApprovers

public java.lang.String getNumberOfDistinctApprovers()
Returns the number of distinct approvers.
Specified by:
getNumberOfDistinctApprovers in interface ApprovalStatusLightListSmartDataBean
Returns:
numberOfDistinctApprovers The number of distinct approvers.

getNumberOfHits

public java.lang.String getNumberOfHits()
Returns the number of hits.
Specified by:
getNumberOfHits in interface ApprovalStatusLightListSmartDataBean
Returns:
numberOfHits The number of hits.

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.

getStatus

public java.lang.String getStatus()
Returns the status.
Specified by:
getStatus in interface ApprovalStatusLightListSmartDataBean
Returns:
status The status of the approval request.

getSubmitterId

public java.lang.String getSubmitterId()
Returns the submitter id.
Specified by:
getSubmitterId in interface ApprovalStatusLightListSmartDataBean
Returns:
submitterId The id of the member who submitted the approval request.

getSubmitTime

public java.lang.String getSubmitTime()
Returns the submit time id.
Specified by:
getSubmitTime in interface ApprovalStatusLightListSmartDataBean
Returns:
submitTime The timestamp when the approval request was submitted.

populate

public void populate()
              throws java.lang.Exception
Creates a sorted list of approval request beans.
Overrides:
populate in class SmartDataBeanImpl
Throws:
java.lang.Exception - if there are any problems creating the list.

setApprovalStatusBeans

public void setApprovalStatusBeans(ApprovalStatusLightDataBean[] newApprovalStatusBeans)
Sets the array of ApprovalStatusLightDataBeans corresponding to the rows in the list.
Specified by:
setApprovalStatusBeans in interface ApprovalStatusLightListInputDataBean
Parameters:
newApprovalStatusBeans - The array of ApprovalStatusLightDataBeans corresponding to the rows in 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.

setAprvstatusId

public void setAprvstatusId(java.lang.String newAprvstatusId)
Sets the approval request id.
Specified by:
setAprvstatusId in interface ApprovalStatusLightListInputDataBean
Parameters:
newAprvstatusId - The approval request id.

setDateOp

public void setDateOp(java.lang.String newDateOp)
Sets the date operator.
Specified by:
setDateOp in interface ApprovalStatusLightListInputDataBean
Parameters:
NewDateOp - The date operator.

setFlowTypeId

public void setFlowTypeId(java.lang.String newFlowTypeId)
Sets the flow type id.
Specified by:
setFlowTypeId in interface ApprovalStatusLightListInputDataBean
Parameters:
newFlowTypeId - The flow type id.

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.

setLanguageId

public void setLanguageId(java.lang.String newLanguageId)
Sets the languageId.
Specified by:
setLanguageId in interface ApprovalStatusLightListInputDataBean
Parameters:
newLanguageId - The language id for NLS support.

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

setNumberOfHits

public void setNumberOfHits(java.lang.String newNumberOfHits)
Sets the number of hits.
Specified by:
setNumberOfHits in interface ApprovalStatusLightListInputDataBean
Parameters:
newNumberOfHits - The number of hits.

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.

setStatus

public void setStatus(java.lang.String newStatus)
Sets the status.
Specified by:
setStatus in interface ApprovalStatusLightListInputDataBean
Parameters:
newStatus - The status of the approval request.

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.