public class ApprovalStatusAccessBean extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean implements ApprovalStatusAccessBeanData
Constructor and Description |
---|
ApprovalStatusAccessBean()
Zero argument constructor used to initialize the access bean.
|
ApprovalStatusAccessBean(javax.ejb.EJBObject o)
constructor
|
ApprovalStatusAccessBean(java.lang.Long aFlowTypeId, java.lang.Long aFlowId, java.lang.Long anEntityId, java.lang.Long aStateId, java.lang.Long aSubmitterId, java.lang.Long anApproverId, java.lang.Long anApproverGroupId, java.lang.Integer aStatus)
Creates a com.ibm.commerce.ubf.objects.ApprovalStatus entity bean with the specified parameters.
|
ApprovalStatusAccessBean(java.lang.Long aFlowTypeId, java.lang.Long aFlowId, java.lang.Long anEntityId, java.lang.Long aStateId, java.lang.Long aSubmitterId, java.lang.Long anApproverId, java.lang.Long anApproverGroupId, java.lang.Integer aStatus, java.sql.Timestamp aSubmitTime, java.sql.Timestamp anApproveTime)
Creates a com.ibm.commerce.ubf.objects.ApprovalStatus entity bean with the specified parameters.
|
ApprovalStatusAccessBean(java.lang.Long aFlowTypeId, java.lang.Long aFlowId, java.lang.Long anEntityId, java.lang.Long aStateId, java.lang.Long aSubmitterId, java.lang.Long anApproverId, java.lang.Long anApproverGroupId, java.lang.Integer aStatus, java.sql.Timestamp aSubmitTime, java.sql.Timestamp anApproveTime, java.lang.String aComment)
Creates a com.ibm.commerce.ubf.objects.ApprovalStatus entity bean with the specified parameters.
|
Modifier and Type | Method and Description |
---|---|
void | commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
|
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findAll(com.ibm.commerce.base.util.SortingAttribute sort)
Find all existing ApprovalStatusAccessBean.
|
java.util.Enumeration | findByApproverAndStatus(java.lang.Long anApproverId, java.lang.Integer status, com.ibm.commerce.base.util.SortingAttribute sort)
Find an enumeration of ApprovalStatusAccessBean given the approver and the approval status.
|
java.util.Enumeration | findByApproverGroupAndStatus(java.lang.Long approvalGroupId, java.lang.Integer status, com.ibm.commerce.base.util.SortingAttribute sort)
Find an enumeration of ApprovalStatusAccessBean given the approver group and the approval status.
|
java.util.Enumeration | findByFlowAndEntity(java.lang.Long aFlowId, java.lang.Long anEntityId, com.ibm.commerce.base.util.SortingAttribute sort)
Find an enumeration of ApprovalStatusAccessBean given the flow and entity.
|
java.util.Enumeration | findByFlowAndEntityAndStatus(java.lang.Long flowId, java.lang.Long entityId, java.lang.Integer status, com.ibm.commerce.base.util.SortingAttribute sort)
Find an enumeration of ApprovalStatusAccessBean given the flow, entity, and approval status.
|
java.util.Enumeration | findByFlowAndEntityForUpdate(java.lang.Long aFlowId, java.lang.Long anEntityId)
Find an enumeration of ApprovalStatusAccessBean for update given the flow and entity.
|
java.util.Enumeration | findByFlowTypeAndApproverAndStatus(java.lang.Long flowTypeId, java.lang.Long approverId, java.lang.Integer status, com.ibm.commerce.base.util.SortingAttribute sort)
Find an enumeration of ApprovalStatusAccessBean given the flow type, approver and the approval status.
|
java.util.Enumeration | findByFlowTypeAndEntity(java.lang.Long aFlowTypeId, java.lang.Long anEntityId, com.ibm.commerce.base.util.SortingAttribute sort)
Find an enumeration of ApprovalStatusAccessBean given the flow type and entity.
|
java.util.Enumeration | findByFlowTypeAndEntityAndApprover(java.lang.Long flowTypeId, java.lang.Long entityId, java.lang.Long approverId, com.ibm.commerce.base.util.SortingAttribute sort)
Find an enumeration of ApprovalStatusAccessBean given the flow type, entity, approver.
|
java.util.Enumeration | findByFlowTypeAndEntityAndApproverAndStateAndStatus(java.lang.Long flowTypeId, java.lang.Long entityId, java.lang.Long approverId, java.lang.Long stateId, java.lang.Integer status, com.ibm.commerce.base.util.SortingAttribute sort)
Find an enumeration of ApprovalStatusAccessBean given the flow type, entity, approver, state, and status.
|
java.util.Enumeration | findByFlowTypeAndEntityAndStatus(java.lang.Long flowTypeId, java.lang.Long entityId, java.lang.Integer status, com.ibm.commerce.base.util.SortingAttribute sort)
Find an enumeration of ApprovalStatusAccessBean given the flow type, entity, and approval status.
|
java.util.Enumeration | findByFlowTypeAndSubmitterAndStatus(java.lang.Long flowTypeId, java.lang.Long submitterId, java.lang.Integer status, com.ibm.commerce.base.util.SortingAttribute sort)
Find an enumeration of ApprovalStatusAccessBean given the flow type, submitter, and status.
|
ApprovalStatusAccessBean | findByIdForUpdate(java.lang.Long id)
Find the ApprovalStatusAccessBean for update given an id
|
java.util.Enumeration | findBySubmitter(java.lang.Long submitterId, com.ibm.commerce.base.util.SortingAttribute sort)
Find an enumeration of ApprovalStatusAccessBean given a submitter.
|
boolean | fulfills(java.lang.Long arg0, java.lang.String arg1) |
java.lang.String | getApproverGroupId()
This method provides access to the APRVSTATUS.MBRGRP_ID column of DB2 type BIGINT NOT NULL.
|
java.lang.Long | getApproverGroupIdInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getApproverId()
This method provides access to the APRVSTATUS.APPROVER_ID column of DB2 type BIGINT NULL.
|
java.lang.Long | getApproverIdInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getApproveTime()
This method provides access to the APRVSTATUS.ACTIONTIME column of DB2 type TIMESTAMP NULL.
|
java.sql.Timestamp | getApproveTimeInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getComment()
This method provides access to the APRVSTATUS.COMMENTS column of DB2 type VARCHAR(254) NULL.
|
java.lang.String | getEntityId()
This method provides access to the APRVSTATUS.ENTITY_ID column of DB2 type BIGINT NOT NULL.
|
java.lang.Long | getEntityIdInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getFlowId()
This method provides access to the APRVSTATUS.FLOW_ID column of DB2 type BIGINT NOT NULL.
|
java.lang.Long | getFlowIdInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getFlowTypeId()
This method provides access to the APRVSTATUS.FLOWTYPE_ID column of DB2 type BIGINT NOT NULL.
|
java.lang.Long | getFlowTypeIdInEJBType()
This method accesses a non-CMP field
|
java.lang.Object | getGroupingAttributeValue(java.lang.String arg0, GroupingContext arg1)
This method accesses a non-CMP field
|
java.lang.String | getId()
This method provides access to the APRVSTATUS.APRVSTATUS_ID column of DB2 type BIGINT NOT NULL.
|
java.lang.Long | getIdInEJBType()
This method accesses a non-CMP field
|
java.lang.Long | getOwner()
This method accesses a non-CMP field
|
java.lang.String | getStateId()
This method provides access to the APRVSTATUS.FLSTATEDCT_ID column of DB2 type BIGINT NOT NULL.
|
java.lang.Long | getStateIdInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getStatus()
This method provides access to the APRVSTATUS.STATUS column of DB2 type INTEGER NOT NULL.
|
java.lang.Integer | getStatusInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getSubmitterId()
This method provides access to the APRVSTATUS.SUBMITTER_ID column of DB2 type BIGINT NOT NULL.
|
java.lang.Long | getSubmitterIdInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getSubmitTime()
This method provides access to the APRVSTATUS.SUBMITTIME column of DB2 type TIMESTAMP NULL.
|
java.sql.Timestamp | getSubmitTimeInEJBType()
This method accesses a non-CMP field
|
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper()
Load data from the EJBObject.
|
void | setApproverGroupId(java.lang.Long newValue)
This method accesses a non-CMP field
|
void | setApproverGroupId(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setApproverId(java.lang.Long newValue)
This method accesses a non-CMP field
|
void | setApproverId(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setApproveTime(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setApproveTime(java.sql.Timestamp newValue)
This method accesses a non-CMP field
|
void | setComment(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setEntityId(java.lang.Long newValue)
This method accesses a non-CMP field
|
void | setEntityId(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setFlowId(java.lang.Long newValue)
This method accesses a non-CMP field
|
void | setFlowId(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setFlowTypeId(java.lang.Long newValue)
This method accesses a non-CMP field
|
void | setFlowTypeId(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setId(java.lang.Long newValue)
This method accesses a non-CMP field
|
void | setId(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setInitKey_id(java.lang.Long newValue)
Set the primary key for this object
|
void | setStateId(java.lang.Long newValue)
This method accesses a non-CMP field
|
void | setStateId(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setStatus(java.lang.Integer newValue)
This method accesses a non-CMP field
|
void | setStatus(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setSubmitterId(java.lang.Long newValue)
This method accesses a non-CMP field
|
void | setSubmitterId(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setSubmitTime(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setSubmitTime(java.sql.Timestamp newValue)
This method accesses a non-CMP field
|
public ApprovalStatusAccessBean()
public ApprovalStatusAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public ApprovalStatusAccessBean(java.lang.Long aFlowTypeId, java.lang.Long aFlowId, java.lang.Long anEntityId, java.lang.Long aStateId, java.lang.Long aSubmitterId, java.lang.Long anApproverId, java.lang.Long anApproverGroupId, java.lang.Integer aStatus) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
public ApprovalStatusAccessBean(java.lang.Long aFlowTypeId, java.lang.Long aFlowId, java.lang.Long anEntityId, java.lang.Long aStateId, java.lang.Long aSubmitterId, java.lang.Long anApproverId, java.lang.Long anApproverGroupId, java.lang.Integer aStatus, java.sql.Timestamp aSubmitTime, java.sql.Timestamp anApproveTime) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
public ApprovalStatusAccessBean(java.lang.Long aFlowTypeId, java.lang.Long aFlowId, java.lang.Long anEntityId, java.lang.Long aStateId, java.lang.Long aSubmitterId, java.lang.Long anApproverId, java.lang.Long anApproverGroupId, java.lang.Integer aStatus, java.sql.Timestamp aSubmitTime, java.sql.Timestamp anApproveTime, java.lang.String aComment) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
public ApprovalStatusAccessBean findByIdForUpdate(java.lang.Long id) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public java.util.Enumeration findAll(com.ibm.commerce.base.util.SortingAttribute sort) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public java.util.Enumeration findByApproverAndStatus(java.lang.Long anApproverId, java.lang.Integer status, com.ibm.commerce.base.util.SortingAttribute sort) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public java.util.Enumeration findByApproverGroupAndStatus(java.lang.Long approvalGroupId, java.lang.Integer status, com.ibm.commerce.base.util.SortingAttribute sort) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public java.util.Enumeration findByFlowAndEntity(java.lang.Long aFlowId, java.lang.Long anEntityId, com.ibm.commerce.base.util.SortingAttribute sort) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public java.util.Enumeration findByFlowAndEntityAndStatus(java.lang.Long flowId, java.lang.Long entityId, java.lang.Integer status, com.ibm.commerce.base.util.SortingAttribute sort) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public java.util.Enumeration findByFlowAndEntityForUpdate(java.lang.Long aFlowId, java.lang.Long anEntityId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public java.util.Enumeration findByFlowTypeAndApproverAndStatus(java.lang.Long flowTypeId, java.lang.Long approverId, java.lang.Integer status, com.ibm.commerce.base.util.SortingAttribute sort) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public java.util.Enumeration findByFlowTypeAndEntity(java.lang.Long aFlowTypeId, java.lang.Long anEntityId, com.ibm.commerce.base.util.SortingAttribute sort) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public java.util.Enumeration findByFlowTypeAndEntityAndApprover(java.lang.Long flowTypeId, java.lang.Long entityId, java.lang.Long approverId, com.ibm.commerce.base.util.SortingAttribute sort) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public java.util.Enumeration findByFlowTypeAndEntityAndApproverAndStateAndStatus(java.lang.Long flowTypeId, java.lang.Long entityId, java.lang.Long approverId, java.lang.Long stateId, java.lang.Integer status, com.ibm.commerce.base.util.SortingAttribute sort) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public java.util.Enumeration findByFlowTypeAndEntityAndStatus(java.lang.Long flowTypeId, java.lang.Long entityId, java.lang.Integer status, com.ibm.commerce.base.util.SortingAttribute sort) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public java.util.Enumeration findByFlowTypeAndSubmitterAndStatus(java.lang.Long flowTypeId, java.lang.Long submitterId, java.lang.Integer status, com.ibm.commerce.base.util.SortingAttribute sort) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public java.util.Enumeration findBySubmitter(java.lang.Long submitterId, com.ibm.commerce.base.util.SortingAttribute sort) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public void setInitKey_id(java.lang.Long newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
public java.lang.String getApproveTime() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the APRVSTATUS.ACTIONTIME column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
When the approval record was acted on (that is, the time it was approved or rejected).
public java.sql.Timestamp getApproveTimeInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setApproveTime(java.lang.String newValue)
public void setApproveTime(java.sql.Timestamp newValue)
public java.lang.String getSubmitTime() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the APRVSTATUS.SUBMITTIME column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time that the action requiring approval was requested.
public java.sql.Timestamp getSubmitTimeInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setSubmitTime(java.lang.String newValue)
public void setSubmitTime(java.sql.Timestamp newValue)
public java.lang.String getComment() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the APRVSTATUS.COMMENTS column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Comments entered by approver during approval or rejection.
public void setComment(java.lang.String newValue)
public java.lang.String getSubmitterId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the APRVSTATUS.SUBMITTER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
ID of the user requesting the action which needs approval.
public java.lang.Long getSubmitterIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setSubmitterId(java.lang.String newValue)
public void setSubmitterId(java.lang.Long newValue)
public java.lang.String getStateId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the APRVSTATUS.FLSTATEDCT_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Current state of the flow instance.
public java.lang.Long getStateIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setStateId(java.lang.String newValue)
public void setStateId(java.lang.Long newValue)
public java.lang.String getStatus() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the APRVSTATUS.STATUS column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Approval status of this action: 0 = pending, 1 = approved, 2 = rejected.
public java.lang.Integer getStatusInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setStatus(java.lang.String newValue)
public void setStatus(java.lang.Integer newValue)
public java.lang.String getEntityId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the APRVSTATUS.ENTITY_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Reference to the business object -- that is, which particular business object instance within the business object type specified by the FLOWTYPE_ID.
public java.lang.Long getEntityIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setEntityId(java.lang.String newValue)
public void setEntityId(java.lang.Long newValue)
public java.lang.String getFlowId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the APRVSTATUS.FLOW_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Reference to the flow for the steps in the approval process. Foreign key FLOW_ID.
public java.lang.Long getFlowIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setFlowId(java.lang.String newValue)
public void setFlowId(java.lang.Long newValue)
public java.lang.String getId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the APRVSTATUS.APRVSTATUS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Primary key.
public java.lang.Long getIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setId(java.lang.String newValue)
public void setId(java.lang.Long newValue)
public java.lang.String getApproverId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the APRVSTATUS.APPROVER_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
The ID of the user eligible to approve or reject the requested action.
public java.lang.Long getApproverIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setApproverId(java.lang.String newValue)
public void setApproverId(java.lang.Long newValue)
public java.lang.String getFlowTypeId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the APRVSTATUS.FLOWTYPE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Foreign key reference to the type of flow which determines the type of business object included in the approval. There are different IDs for each RFQ, Orders, User Registration, Contracts, Organization Registration and so on. Foreign key to FLOWTYPE_ID.
public java.lang.Long getFlowTypeIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setFlowTypeId(java.lang.String newValue)
public void setFlowTypeId(java.lang.Long newValue)
public java.lang.String getApproverGroupId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the APRVSTATUS.MBRGRP_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The ID of the Member Group to which the approver belongs making her an approver for this record.
public java.lang.Long getApproverGroupIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setApproverGroupId(java.lang.String newValue)
public void setApproverGroupId(java.lang.Long newValue)
public boolean fulfills(java.lang.Long arg0, java.lang.String arg1) throws java.rmi.RemoteException, java.lang.Exception, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getOwner() throws java.lang.Exception, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Object getGroupingAttributeValue(java.lang.String arg0, GroupingContext arg1) throws java.lang.Exception, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException