com.ibm.commerce.approval.beans
Class ApprovalStatusLightDataBean

com.ibm.commerce.approval.beans.ApprovalStatusLightDataBean

public class ApprovalStatusLightDataBean

This class holds approval request information. It is populated from a resultset row via a call to the fromResultSet method.

The superclass contains the following methods: public void fromResultSet(ResultSet rs) throws SQLException public void fromResultSet2(ResultSet rs) throws SQLException public Long getApproverId() public String getApproverName() public Timestamp getApproveTime() public String getComment() public Long getEntityId() public Long getFlowId() public String getFlowTypeDesc() public Long getFlowTypeId() public Long getId() public String getName() public Long getStateId() public Integer getStatus() public Long getSubmitterId() public String getSubmitterName() public Timestamp getSubmitTime() public void setApproverId(Long newApproverId) public void setApproverName(String newApproverName) public void setApproveTime(Timestamp newApproveTime) public void setComment(String newComment) public void setEntityId(Long newEntityId) public void setFlowId(Long newFlowId) public void setFlowTypeDesc(String newFlowTypeDesc) public void setFlowTypeId(Long newFlowTypeId) public void setId(Long newId) public void setName(String newName) public void setStateId(Long newStateId) public void setStatus(Integer newStatus) public void setSubmitterId(Long newSubmitterId) public void setSubmitterName(String newSubmitterName) public void setSubmitTime(Timestamp newSubmitTime)

The fromResultSet method populates the bean from a resultset row when displaying a list for an approver or a submitter.

The fromResultSet2 method populates the bean from a resultset row when displaying a list for a site administrator.

The getApproverId method returns the approver id.

The getApproverName method returns the approver's name. This is only used when displaying a list for a site adminiatrator. In all other cases, the getName method is used.

The getApproveTime method returns timestamp when the request was approved or rejected.

The getComment method returns the comment supplied by the approver when the request is approved or rejected.

The getEntityId method returns the entity id corresponding to the approval request.

The getFlowId method returns the flow id corresponding to the approval request.

The getFlowTypeDesc method returns the flow type description corresponding to the approval request.

The getFlowTypeId method returns the flow type id corresponding to the approval request.

The getId method returns the approval request id.

The getName method returns the name of the approver or submitter depending on what type of list is being displayed.

The getStateId method returns the state id corresponding to the approval request.

The getStatus method returns the status of the approval request.

The getSubmitterId method returns the submitter id.

The getSubmitterName method returns the submitter's name. This is only used when displaying a list for a site adminiatrator. In all other cases, the getName method is used.

The getSubmitTime method returns the time the approval request was submitted.

The setApproverId method sets the approver id.

The setApproverName method sets the approver's name. This is only used when displaying a list for a site administrator. In all other cases, the setName method is used.

The setApproveTime method sets the timestamp when the request was approved or rejected.

The setComment method sets the comment supplied by the approver when the request is approved or rejected.

The setEntityId method sets the entity id corresponding to the approval request.

The setFlowId method sets the flow id corresponding to the approval request.

The setFlowTypeDesc method sets the flow type description corresponding to the approval request.

The setFlowTypeId method sets the flow type id corresponding to the approval request.

The setId method sets the approval request id.

The setName method sets the name of the approver or submitter depending on what type of list is being displayed.

The setStateId method sets the state id corresponding to the approval request.

The setStatus method sets the status of the approval request.

The setSubmitterId method sets the submitter id.

The setSubmitterName method sets the submitter's name. This is only used when displaying a list for a site administrator. In all other cases, the setName method is used.

The setSubmitTime method sets the time the approval request was submitted.


Constructor Summary
ApprovalStatusLightDataBean()
          ApprovalStatusLightDataBean constructor.
ApprovalStatusLightDataBean(com.ibm.commerce.approval.beans.ApprovalStatusLight theBean)
          ApprovalStatusLightDataBean constructor from ApprovalStatusLight object.
 

Constructor Detail

ApprovalStatusLightDataBean

public ApprovalStatusLightDataBean()
ApprovalStatusLightDataBean constructor.

ApprovalStatusLightDataBean

public ApprovalStatusLightDataBean(com.ibm.commerce.approval.beans.ApprovalStatusLight theBean)
ApprovalStatusLightDataBean constructor from ApprovalStatusLight object.