com.ibm.commerce.approval.objects
Class ApprovalStatusAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.approval.objects.ApprovalStatusAccessBean
All Implemented Interfaces:
ApprovalStatusAccessBeanData, java.io.Serializable
Direct Known Subclasses:
ApprovalStatusDataBean

public class ApprovalStatusAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements ApprovalStatusAccessBeanData

This bean provides access to the APRVSTATUS table.

The following is a description of this table:

Stores approval requests and their status. Contains multiple rows for each action awaiting approval, one row for every potential approver. Each entry is unique per approver, entity tuplet. FLOWTYPE_ID tells us which type of ENTITY_ID is pending approval.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
ApprovalStatusAccessBean()
          Default constructor.
ApprovalStatusAccessBean(javax.ejb.EJBObject aRovalStatusAccessBean)
          Creates an access bean for the specified EJB
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.
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.util.Enumeration findAll(com.ibm.commerce.base.util.SortingAttribute aDAll)
          Find all existing ApprovalStatusAccessBean.
 java.util.Enumeration findByApproverAndStatus(java.lang.Long approverId, 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 approverGroupId, 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 flowId, java.lang.Long entityId, 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 flowId, java.lang.Long entityId)
          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 flowTypeId, java.lang.Long entityId, 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 aFills, java.lang.String aFills)
          IBM internal use only.
 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 provides access to the APRVSTATUS.MBRGRP_ID column of DB2 type BIGINT NOT NULL.
 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 provides access to the APRVSTATUS.APPROVER_ID column of DB2 type BIGINT NULL.
 java.lang.String getApproveTime()
          This method provides access to the APRVSTATUS.ACTIONTIME column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getApproveTimeInEJBType()
          This method provides access to the APRVSTATUS.ACTIONTIME column of DB2 type TIMESTAMP NULL.
 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 provides access to the APRVSTATUS.ENTITY_ID column of DB2 type BIGINT NOT NULL.
 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 provides access to the APRVSTATUS.FLOW_ID column of DB2 type BIGINT NOT NULL.
 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 provides access to the APRVSTATUS.FLOWTYPE_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Object getGroupingAttributeValue(java.lang.String aGroupingAttributeValue, GroupingContext aGroupingAttributeValue)
           
 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 provides access to the APRVSTATUS.APRVSTATUS_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getOwner()
          IBM internal use only.
 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 provides access to the APRVSTATUS.FLSTATEDCT_ID column of DB2 type BIGINT NOT NULL.
 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 provides access to the APRVSTATUS.STATUS column of DB2 type INTEGER NOT NULL.
 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 provides access to the APRVSTATUS.SUBMITTER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getSubmitTime()
          This method provides access to the APRVSTATUS.SUBMITTIME column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getSubmitTimeInEJBType()
          This method provides access to the APRVSTATUS.SUBMITTIME column of DB2 type TIMESTAMP NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setApproverGroupId(java.lang.Long aApproverGroupId)
          This method provides access to the APRVSTATUS.MBRGRP_ID column of DB2 type BIGINT NOT NULL.
 void setApproverGroupId(java.lang.String aApproverGroupId)
          This method provides access to the APRVSTATUS.MBRGRP_ID column of DB2 type BIGINT NOT NULL.
 void setApproverId(java.lang.Long aApproverId)
          This method provides access to the APRVSTATUS.APPROVER_ID column of DB2 type BIGINT NULL.
 void setApproverId(java.lang.String aApproverId)
          This method provides access to the APRVSTATUS.APPROVER_ID column of DB2 type BIGINT NULL.
 void setApproveTime(java.lang.String aApproveTime)
          This method provides access to the APRVSTATUS.ACTIONTIME column of DB2 type TIMESTAMP NULL.
 void setApproveTime(java.sql.Timestamp aApproveTime)
          This method provides access to the APRVSTATUS.ACTIONTIME column of DB2 type TIMESTAMP NULL.
 void setComment(java.lang.String aComment)
          This method provides access to the APRVSTATUS.COMMENTS column of DB2 type VARCHAR(254) NULL.
 void setEntityId(java.lang.Long aEntityId)
          This method provides access to the APRVSTATUS.ENTITY_ID column of DB2 type BIGINT NOT NULL.
 void setEntityId(java.lang.String aEntityId)
          This method provides access to the APRVSTATUS.ENTITY_ID column of DB2 type BIGINT NOT NULL.
 void setFlowId(java.lang.Long aFlowId)
          This method provides access to the APRVSTATUS.FLOW_ID column of DB2 type BIGINT NOT NULL.
 void setFlowId(java.lang.String aFlowId)
          This method provides access to the APRVSTATUS.FLOW_ID column of DB2 type BIGINT NOT NULL.
 void setFlowTypeId(java.lang.Long aFlowTypeId)
          This method provides access to the APRVSTATUS.FLOWTYPE_ID column of DB2 type BIGINT NOT NULL.
 void setFlowTypeId(java.lang.String aFlowTypeId)
          This method provides access to the APRVSTATUS.FLOWTYPE_ID column of DB2 type BIGINT NOT NULL.
 void setId(java.lang.Long aId)
          This method provides access to the APRVSTATUS.APRVSTATUS_ID column of DB2 type BIGINT NOT NULL.
 void setId(java.lang.String aId)
          This method provides access to the APRVSTATUS.APRVSTATUS_ID column of DB2 type BIGINT NOT NULL.
 void setInitKey_id(java.lang.Long aInitKey_id)
          Set the primary key for this object
 void setStateId(java.lang.Long aStateId)
          This method provides access to the APRVSTATUS.FLSTATEDCT_ID column of DB2 type BIGINT NOT NULL.
 void setStateId(java.lang.String aStateId)
          This method provides access to the APRVSTATUS.FLSTATEDCT_ID column of DB2 type BIGINT NOT NULL.
 void setStatus(java.lang.Integer aStatus)
          This method provides access to the APRVSTATUS.STATUS column of DB2 type INTEGER NOT NULL.
 void setStatus(java.lang.String aStatus)
          This method provides access to the APRVSTATUS.STATUS column of DB2 type INTEGER NOT NULL.
 void setSubmitterId(java.lang.Long aSubmitterId)
          This method provides access to the APRVSTATUS.SUBMITTER_ID column of DB2 type BIGINT NOT NULL.
 void setSubmitterId(java.lang.String aSubmitterId)
          This method provides access to the APRVSTATUS.SUBMITTER_ID column of DB2 type BIGINT NOT NULL.
 void setSubmitTime(java.lang.String aSubmitTime)
          This method provides access to the APRVSTATUS.SUBMITTIME column of DB2 type TIMESTAMP NULL.
 void setSubmitTime(java.sql.Timestamp aSubmitTime)
          This method provides access to the APRVSTATUS.SUBMITTIME column of DB2 type TIMESTAMP NULL.
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApprovalStatusAccessBean

public ApprovalStatusAccessBean()

Default constructor. Maps to findByPrimaryKey.


ApprovalStatusAccessBean

public ApprovalStatusAccessBean(javax.ejb.EJBObject aRovalStatusAccessBean)
                         throws java.rmi.RemoteException

Creates an access bean for the specified EJB

Parameters:
aRovalStatusAccessBean - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

ApprovalStatusAccessBean

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
Creates a com.ibm.commerce.ubf.objects.ApprovalStatus entity bean with the specified parameters. Creates an entry in the database table mapped to this bean.
Parameters:
aFlowTypeId - The id of the flow type of the entity. Mapped to a non-null field. Foreign key to flow type table.
aFlowId - The id of the flow of the entity. Mapped to a non-null field. Foreign key to flow table.
anEntityId - The entity id. Mapped to a non-null field.
aStateId - The id of the state of the entity. Mapped to a non-null field. Foreign key to state dictionary table.
aSubmitterId - The users id of the submitter. Mapped to a non-null field. Foreign key to users table.
anApproverId - The users id of the approver. Foreign key to users table.
anApproverGroupId - The member group id of the approval group. Mapped to a non-null field. Foreign key to member group table.
aStatus - The approval stats. Mapped to a non-null field.
Throws:
javax.ejb.CreateException - Nulls in non-null fields, unique key constraints, foreign key constraints are some of the causes.
java.rmi.RemoteException - If an error occurred while trying to access the database. Errors in the Schema Mapping, or deadlock are some of the causes.

ApprovalStatusAccessBean

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
Creates a com.ibm.commerce.ubf.objects.ApprovalStatus entity bean with the specified parameters. Creates an entry in the database table mapped to this bean.
Parameters:
aFlowTypeId - The id of the flow type of the entity. Mapped to a non-null field. Foreign key to flow type table.
aFlowId - The id of the flow of the entity. Mapped to a non-null field. Foreign key to flow table.
anEntityId - The entity id. Mapped to a non-null field.
aStateId - The id of the state of the entity. Mapped to a non-null field. Foreign key to state dictionary table.
aSubmitterId - The users id of the submitter. Mapped to a non-null field. Foreign key to users table.
anApproverGroupId - The member group id of the approval group. Mapped to a non-null field. Foreign key to member group table.
aStatus - The approval stats. Mapped to a non-null field.
aSubmitTime - The submit time.
anApproveTime - The approve/reject time.
Throws:
javax.ejb.CreateException - Nulls in non-null fields, unique key constraints, foreign key constraints are some of the causes.
java.rmi.RemoteException - If an error occurred while trying to access the database. Errors in the Schema Mapping, or deadlock are some of the causes.

ApprovalStatusAccessBean

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
Creates a com.ibm.commerce.ubf.objects.ApprovalStatus entity bean with the specified parameters. Creates an entry in the database table mapped to this bean.
Parameters:
aFlowTypeId - The id of the flow type of the entity. Mapped to a non-null field. Foreign key to flow type table.
aFlowId - The id of the flow of the entity. Mapped to a non-null field. Foreign key to flow table.
anEntityId - The entity id. Mapped to a non-null field.
aStateId - The id of the state of the entity. Mapped to a non-null field. Foreign key to state dictionary table.
aSubmitterId - The users id of the submitter. Mapped to a non-null field. Foreign key to users table.
anApproverId - The users id of the approver. Foreign key to users table.
anApproverGroupId - The member group id of the approval group. Mapped to a non-null field. Foreign key to member group table.
aStatus - The approval stats. Mapped to a non-null field.
aSubmitTime - The submit time.
anApproveTime - The approve/reject time.
aComment - The comments.
Throws:
javax.ejb.CreateException - Nulls in non-null fields, unique key constraints, foreign key constraints are some of the causes.
java.rmi.RemoteException - If an error occurred while trying to access the database. Errors in the Schema Mapping, or deadlock are some of the causes.
Method Detail

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findAll

public java.util.Enumeration findAll(com.ibm.commerce.base.util.SortingAttribute aDAll)
                              throws java.rmi.RemoteException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException
Find all existing ApprovalStatusAccessBean.
Parameters:
sort - The column(s) to sort the list by. Specify null for no sorting.
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByApproverAndStatus

public java.util.Enumeration findByApproverAndStatus(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
Find an enumeration of ApprovalStatusAccessBean given the approver and the approval status.
Parameters:
approverId - The id of the approver.
status - The approval status.
sort - The column(s) to sort the list by. Specify null for no sorting.
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByApproverGroupAndStatus

public java.util.Enumeration findByApproverGroupAndStatus(java.lang.Long approverGroupId,
                                                          java.lang.Integer status,
                                                          com.ibm.commerce.base.util.SortingAttribute sort)
                                                   throws java.rmi.RemoteException,
                                                          javax.ejb.FinderException,
                                                          javax.naming.NamingException
Find an enumeration of ApprovalStatusAccessBean given the approver group and the approval status.
Parameters:
approvalGroupId - The member group id of the approval group.
status - The approval status.
sort - The column(s) to sort the list by. Specify null for no sorting.
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByFlowAndEntity

public java.util.Enumeration findByFlowAndEntity(java.lang.Long flowId,
                                                 java.lang.Long entityId,
                                                 com.ibm.commerce.base.util.SortingAttribute sort)
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException
Find an enumeration of ApprovalStatusAccessBean given the flow and entity.
Parameters:
flowId - The flow id.
entityId - The entity id.
sort - The column(s) to sort the list by. Specify null for no sorting.
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByFlowAndEntityAndStatus

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
Find an enumeration of ApprovalStatusAccessBean given the flow, entity, and approval status.
Parameters:
flowId - The flow id.
entityId - The entity id.
status - The approval status.
sort - The column(s) to sort the list by. Specify null for no sorting.
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByFlowAndEntityForUpdate

public java.util.Enumeration findByFlowAndEntityForUpdate(java.lang.Long flowId,
                                                          java.lang.Long entityId)
                                                   throws java.rmi.RemoteException,
                                                          javax.ejb.FinderException,
                                                          javax.naming.NamingException
Find an enumeration of ApprovalStatusAccessBean for update given the flow and entity.
Parameters:
flowId - The flow id.
entityId - The entity id.
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByFlowTypeAndApproverAndStatus

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
Find an enumeration of ApprovalStatusAccessBean given the flow type, approver and the approval status.
Parameters:
flowTypeId - The flow type id.
approverId - The id of the approver.
status - The approval status.
sort - The column(s) to sort the list by. Specify null for no sorting.
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByFlowTypeAndEntity

public java.util.Enumeration findByFlowTypeAndEntity(java.lang.Long flowTypeId,
                                                     java.lang.Long entityId,
                                                     com.ibm.commerce.base.util.SortingAttribute sort)
                                              throws java.rmi.RemoteException,
                                                     javax.ejb.FinderException,
                                                     javax.naming.NamingException
Find an enumeration of ApprovalStatusAccessBean given the flow type and entity.
Parameters:
flowTypeId - The flow type id.
entityId - The entity id.
sort - The column(s) to sort the list by. Specify null for no sorting.
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByFlowTypeAndEntityAndApprover

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
Find an enumeration of ApprovalStatusAccessBean given the flow type, entity, approver.
Parameters:
flowTypeId - The flow type id.
entityId - The entity id.
approverId - The id of the approver.
sort - The column(s) to sort the list by. Specify null for no sorting.
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByFlowTypeAndEntityAndApproverAndStateAndStatus

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
Find an enumeration of ApprovalStatusAccessBean given the flow type, entity, approver, state, and status.
Parameters:
flowTypeId - The flow type id.
entityId - The entity id.
approverId - The id of the approver.
stateId - The state id.
status - The approval status.
sort - The column(s) to sort the list by. Specify null for no sorting.
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByFlowTypeAndEntityAndStatus

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
Find an enumeration of ApprovalStatusAccessBean given the flow type, entity, and approval status.
Parameters:
flowTypeId - The flow type id.
entityId - The entity id.
status - The approval status.
sort - The column(s) to sort the list by. Specify null for no sorting.
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByFlowTypeAndSubmitterAndStatus

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
Find an enumeration of ApprovalStatusAccessBean given the flow type, submitter, and status.
Parameters:
flowTypeId - The flow type id.
submitterId - The user id of the submitter.
status - The approval status.
sort - The column(s) to sort the list by. Specify null for no sorting.
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByIdForUpdate

public ApprovalStatusAccessBean findByIdForUpdate(java.lang.Long id)
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException
Find the ApprovalStatusAccessBean for update given an id
Parameters:
id - The id.
Returns:
com.ibm.commerce.approval.objects.ApprovalStatusAccessBean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findBySubmitter

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
Find an enumeration of ApprovalStatusAccessBean given a submitter.
Parameters:
submitterId - The user id of the submitter.
sort - The column(s) to sort the list by. Specify null for no sorting.
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

fulfills

public boolean fulfills(java.lang.Long aFills,
                        java.lang.String aFills)
                 throws java.rmi.RemoteException,
                        java.lang.Exception,
                        javax.ejb.FinderException,
                        javax.naming.NamingException

IBM internal use only.

Parameters:
aFills - java.lang.Long
aFills - java.lang.String
Returns:
boolean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
java.lang.Exception - The java.lang.Exception exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getApproverGroupId

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.

Specified by:
getApproverGroupId in interface ApprovalStatusAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getApproverGroupIdInEJBType

public java.lang.Long getApproverGroupIdInEJBType()
                                           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.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getApproverId

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.

Specified by:
getApproverId in interface ApprovalStatusAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getApproverIdInEJBType

public java.lang.Long getApproverIdInEJBType()
                                      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.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getApproveTime

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).

Specified by:
getApproveTime in interface ApprovalStatusAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getApproveTimeInEJBType

public java.sql.Timestamp getApproveTimeInEJBType()
                                           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).

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getComment

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.

Specified by:
getComment in interface ApprovalStatusAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getEntityId

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.

Specified by:
getEntityId in interface ApprovalStatusAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getEntityIdInEJBType

public java.lang.Long getEntityIdInEJBType()
                                    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.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getFlowId

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.

Specified by:
getFlowId in interface ApprovalStatusAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getFlowIdInEJBType

public java.lang.Long getFlowIdInEJBType()
                                  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.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getFlowTypeId

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.

Specified by:
getFlowTypeId in interface ApprovalStatusAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getFlowTypeIdInEJBType

public java.lang.Long getFlowTypeIdInEJBType()
                                      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.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getGroupingAttributeValue

public java.lang.Object getGroupingAttributeValue(java.lang.String aGroupingAttributeValue,
                                                  GroupingContext aGroupingAttributeValue)
                                           throws java.lang.Exception,
                                                  java.rmi.RemoteException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException
Parameters:
aGroupingAttributeValue - java.lang.String
aGroupingAttributeValue - com.ibm.commerce.grouping.GroupingContext
Returns:
java.lang.Object
Throws:
java.lang.Exception - The java.lang.Exception exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getId

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.

Specified by:
getId in interface ApprovalStatusAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getIdInEJBType

public java.lang.Long getIdInEJBType()
                              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.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getOwner

public java.lang.Long getOwner()
                        throws java.lang.Exception,
                               java.rmi.RemoteException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException

IBM internal use only.

Returns:
java.lang.Long
Throws:
java.lang.Exception - The java.lang.Exception exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getStateId

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.

Specified by:
getStateId in interface ApprovalStatusAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getStateIdInEJBType

public java.lang.Long getStateIdInEJBType()
                                   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.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getStatus

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.

Specified by:
getStatus in interface ApprovalStatusAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getStatusInEJBType

public java.lang.Integer getStatusInEJBType()
                                     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.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getSubmitterId

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.

Specified by:
getSubmitterId in interface ApprovalStatusAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getSubmitterIdInEJBType

public java.lang.Long getSubmitterIdInEJBType()
                                       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.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getSubmitTime

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.

Specified by:
getSubmitTime in interface ApprovalStatusAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getSubmitTimeInEJBType

public java.sql.Timestamp getSubmitTimeInEJBType()
                                          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.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setApproverGroupId

public void setApproverGroupId(java.lang.Long aApproverGroupId)

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.

Parameters:
aApproverGroupId - java.lang.Long
Returns:
void

setApproverGroupId

public void setApproverGroupId(java.lang.String aApproverGroupId)

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.

Specified by:
setApproverGroupId in interface ApprovalStatusAccessBeanData
Parameters:
aApproverGroupId - java.lang.String
Returns:
void

setApproverId

public void setApproverId(java.lang.Long aApproverId)

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.

Parameters:
aApproverId - java.lang.Long
Returns:
void

setApproverId

public void setApproverId(java.lang.String aApproverId)

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.

Specified by:
setApproverId in interface ApprovalStatusAccessBeanData
Parameters:
aApproverId - java.lang.String
Returns:
void

setApproveTime

public void setApproveTime(java.lang.String aApproveTime)

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).

Specified by:
setApproveTime in interface ApprovalStatusAccessBeanData
Parameters:
aApproveTime - java.lang.String
Returns:
void

setApproveTime

public void setApproveTime(java.sql.Timestamp aApproveTime)

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).

Parameters:
aApproveTime - java.sql.Timestamp
Returns:
void

setComment

public void setComment(java.lang.String aComment)

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.

Specified by:
setComment in interface ApprovalStatusAccessBeanData
Parameters:
aComment - java.lang.String
Returns:
void

setEntityId

public void setEntityId(java.lang.Long aEntityId)

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.

Parameters:
aEntityId - java.lang.Long
Returns:
void

setEntityId

public void setEntityId(java.lang.String aEntityId)

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.

Specified by:
setEntityId in interface ApprovalStatusAccessBeanData
Parameters:
aEntityId - java.lang.String
Returns:
void

setFlowId

public void setFlowId(java.lang.Long aFlowId)

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.

Parameters:
aFlowId - java.lang.Long
Returns:
void

setFlowId

public void setFlowId(java.lang.String aFlowId)

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.

Specified by:
setFlowId in interface ApprovalStatusAccessBeanData
Parameters:
aFlowId - java.lang.String
Returns:
void

setFlowTypeId

public void setFlowTypeId(java.lang.Long aFlowTypeId)

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.

Parameters:
aFlowTypeId - java.lang.Long
Returns:
void

setFlowTypeId

public void setFlowTypeId(java.lang.String aFlowTypeId)

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.

Specified by:
setFlowTypeId in interface ApprovalStatusAccessBeanData
Parameters:
aFlowTypeId - java.lang.String
Returns:
void

setId

public void setId(java.lang.Long aId)

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.

Parameters:
aId - java.lang.Long
Returns:
void

setId

public void setId(java.lang.String aId)

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.

Specified by:
setId in interface ApprovalStatusAccessBeanData
Parameters:
aId - java.lang.String
Returns:
void

setInitKey_id

public void setInitKey_id(java.lang.Long aInitKey_id)

Set the primary key for this object

Parameters:
aInitKey_id - java.lang.Long
Returns:
void

setStateId

public void setStateId(java.lang.Long aStateId)

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.

Parameters:
aStateId - java.lang.Long
Returns:
void

setStateId

public void setStateId(java.lang.String aStateId)

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.

Specified by:
setStateId in interface ApprovalStatusAccessBeanData
Parameters:
aStateId - java.lang.String
Returns:
void

setStatus

public void setStatus(java.lang.Integer aStatus)

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.

Parameters:
aStatus - java.lang.Integer
Returns:
void

setStatus

public void setStatus(java.lang.String aStatus)

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.

Specified by:
setStatus in interface ApprovalStatusAccessBeanData
Parameters:
aStatus - java.lang.String
Returns:
void

setSubmitterId

public void setSubmitterId(java.lang.Long aSubmitterId)

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.

Parameters:
aSubmitterId - java.lang.Long
Returns:
void

setSubmitterId

public void setSubmitterId(java.lang.String aSubmitterId)

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.

Specified by:
setSubmitterId in interface ApprovalStatusAccessBeanData
Parameters:
aSubmitterId - java.lang.String
Returns:
void

setSubmitTime

public void setSubmitTime(java.lang.String aSubmitTime)

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.

Specified by:
setSubmitTime in interface ApprovalStatusAccessBeanData
Parameters:
aSubmitTime - java.lang.String
Returns:
void

setSubmitTime

public void setSubmitTime(java.sql.Timestamp aSubmitTime)

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.

Parameters:
aSubmitTime - java.sql.Timestamp
Returns:
void