com.ibm.commerce.approval.objects
Class ApprovalStatusAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.approval.objects.ApprovalStatusAccessBean
All Implemented Interfaces:
ApprovalStatusAccessBeanData
Direct Known Subclasses:
ApprovalStatusDataBean

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

This table contains information about the status of an approval. This access bean corresponds to the database table 'APRVSTATUS'.

See Also:
Serialized Form

Constructor Summary
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.
Method Summary
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 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.
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.
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 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 provides access to the APRVSTATUS.APRVSTATUS_ID column of DB2 type BIGINT NOT NULL.
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 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.
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

ApprovalStatusAccessBean

public ApprovalStatusAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.approval.objects.ApprovalStatus com.ibm.commerce.approval.objimpl.ApprovalStatusHomeBase.findByPrimaryKey(com.ibm.commerce.approval.objects.ApprovalStatusKey) throws java.rmi.RemoteException,javax.ejb.FinderException The home interface method properties need to be set by calling the following setter methods before calling any business methods: setInitKey_id( java.lang.Long )

ApprovalStatusAccessBean

public ApprovalStatusAccessBean(javax.ejb.EJBObject o)
                         throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

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.
javax.naming.NamingException

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.
javax.naming.NamingException

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.
javax.naming.NamingException
Method Detail

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

findAll

public java.util.Enumeration findAll(com.ibm.commerce.base.util.SortingAttribute sort)
                              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 anApproverId,
                                                     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:
anApproverId - 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 approvalGroupId,
                                                          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 aFlowId,
                                                 java.lang.Long anEntityId,
                                                 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:
aFlowId - The flow id.
anEntityId - 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 aFlowId,
                                                          java.lang.Long anEntityId)
                                                   throws java.rmi.RemoteException,
                                                          javax.ejb.FinderException,
                                                          javax.naming.NamingException
Find an enumeration of ApprovalStatusAccessBean for update given the flow and entity.
Parameters:
aFlowId - The flow id.
anEntityId - 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 aFlowTypeId,
                                                     java.lang.Long anEntityId,
                                                     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:
aFlowTypeId - The flow type id.
anEntityId - 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

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

setInitKey_id

public void setInitKey_id(java.lang.Long newValue)

Set the primary key for this object

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

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

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

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

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

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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.sql.Timestamp
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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.

The following is a description of this column:

The time when the approval record was acted o

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

setApproveTime

public void setApproveTime(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setApproveTime in interface ApprovalStatusAccessBeanData

setApproveTime

public void setApproveTime(java.sql.Timestamp newValue)
This method accesses a non-CMP field

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.sql.TimeStamp
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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.

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setSubmitTime

public void setSubmitTime(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setSubmitTime in interface ApprovalStatusAccessBeanData

setSubmitTime

public void setSubmitTime(java.sql.Timestamp newValue)
This method accesses a non-CMP field

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
javax.ejb.FinderException
javax.naming.NamingException

setComment

public void setComment(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setComment in interface ApprovalStatusAccessBeanData

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.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setSubmitterId

public void setSubmitterId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setSubmitterId in interface ApprovalStatusAccessBeanData

setSubmitterId

public void setSubmitterId(java.lang.Long newValue)
This method accesses a non-CMP field

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.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setStateId

public void setStateId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setStateId in interface ApprovalStatusAccessBeanData

setStateId

public void setStateId(java.lang.Long newValue)
This method accesses a non-CMP field

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.Integer
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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. Valid values are as follows:&l

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

setStatus

public void setStatus(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setStatus in interface ApprovalStatusAccessBeanData

setStatus

public void setStatus(java.lang.Integer newValue)
This method accesses a non-CMP field

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.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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 objec

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

setEntityId

public void setEntityId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setEntityId in interface ApprovalStatusAccessBeanData

setEntityId

public void setEntityId(java.lang.Long newValue)
This method accesses a non-CMP field

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.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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 to FLOW_ID.

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

setFlowId

public void setFlowId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setFlowId in interface ApprovalStatusAccessBeanData

setFlowId

public void setFlowId(java.lang.Long newValue)
This method accesses a non-CMP field

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.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setId

public void setId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setId in interface ApprovalStatusAccessBeanData

setId

public void setId(java.lang.Long newValue)
This method accesses a non-CMP field

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.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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.

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setApproverId

public void setApproverId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setApproverId in interface ApprovalStatusAccessBeanData

setApproverId

public void setApproverId(java.lang.Long newValue)
This method accesses a non-CMP field

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.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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 that determines the type of business object included in the approval. There are different IDs for each type of approval, including RFQ, order, user registration, contract, organization registration approvals and so on. Foreign key to FLOWTYPE_ID.

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

setFlowTypeId

public void setFlowTypeId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setFlowTypeId in interface ApprovalStatusAccessBeanData

setFlowTypeId

public void setFlowTypeId(java.lang.Long newValue)
This method accesses a non-CMP field

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.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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 the approver an approver for this record.

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

setApproverGroupId

public void setApproverGroupId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setApproverGroupId in interface ApprovalStatusAccessBeanData

setApproverGroupId

public void setApproverGroupId(java.lang.Long newValue)
This method accesses a non-CMP field

fulfills

public boolean fulfills(java.lang.Long arg0,
                        java.lang.String arg1)
                 throws java.rmi.RemoteException,
                        java.lang.Exception,
                        javax.ejb.FinderException,
                        javax.naming.NamingException
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.String
Returns:
boolean
Throws:
java.rmi.RemoteException
java.lang.Exception
javax.ejb.FinderException
javax.naming.NamingException

getOwner

public java.lang.Long getOwner()
                        throws java.lang.Exception,
                               java.rmi.RemoteException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException
This method accesses a non-CMP field
Throws:
java.lang.Exception
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

getGroupingAttributeValue

public java.lang.Object getGroupingAttributeValue(java.lang.String arg0,
                                                  GroupingContext arg1)
                                           throws java.lang.Exception,
                                                  java.rmi.RemoteException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException
This method accesses a non-CMP field
Throws:
java.lang.Exception
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

Feedback