com.ibm.commerce.approval.objects
Class ApprovalStatusBean

java.lang.Object
  com.ibm.commerce.approval.objimpl.ApprovalStatusBeanBase
      com.ibm.commerce.approval.objects.ApprovalStatusBean

public class ApprovalStatusBean
extends com.ibm.commerce.approval.objimpl.ApprovalStatusBeanBase

This is an Entity Bean class with CMP fields

See Also:
Serialized Form

Constructor Summary
ApprovalStatusBean()
Method Summary
java.util.Hashtable _copyFromEJB()
This method was generated by the VisualAge for Java EJB AccessBean tool.
void _copyToEJB(java.util.Hashtable h)
This method was generated by the VisualAge for Java EJB AccessBean tool.
protected java.util.Vector _getLinks()
This method was generated for supporting the associations.
protected void _initLinks()
This method was generated for supporting the associations.
protected void _removeLinks()
This method was generated for supporting the associations.
void ejbActivate()
ejbActivate method comment
com.ibm.commerce.approval.objects.ApprovalStatusKey ejbCreate(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 paramaters.
com.ibm.commerce.approval.objects.ApprovalStatusKey ejbCreate(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 paramaters.
com.ibm.commerce.approval.objects.ApprovalStatusKey ejbCreate(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 paramaters.
void ejbLoad()
ejbLoad method comment
void ejbPassivate()
ejbPassivate method comment
void ejbPostCreate(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)
ejbPostCreate method for a CMP entity bean
void ejbPostCreate(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)
ejbPostCreate method for a CMP entity bean
void ejbPostCreate(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)
ejbPostCreate method for a CMP entity bean
void ejbRemove()
ejbRemove method comment
void ejbStore()
ejbStore method comment
boolean fulfills(java.lang.Long member, java.lang.String relationship)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

ApprovalStatusBean

public ApprovalStatusBean()
Method Detail

_copyFromEJB

public java.util.Hashtable _copyFromEJB()

_copyToEJB

public void _copyToEJB(java.util.Hashtable h)

_getLinks

protected java.util.Vector _getLinks()
This method was generated for supporting the associations.
Returns:
java.util.Vector

_initLinks

protected void _initLinks()
This method was generated for supporting the associations.

_removeLinks

protected void _removeLinks()
                     throws java.rmi.RemoteException,
                            javax.ejb.RemoveException
This method was generated for supporting the associations.
Throws:
java.rmi.RemoteException - The exception description.
javax.ejb.RemoveException - The exception description.

ejbActivate

public void ejbActivate()
ejbActivate method comment

ejbCreate

public com.ibm.commerce.approval.objects.ApprovalStatusKey ejbCreate(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
Creates a com.ibm.commerce.ubf.objects.ApprovalStatus entity bean with the specified paramaters. 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.

ejbCreate

public com.ibm.commerce.approval.objects.ApprovalStatusKey ejbCreate(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
Creates a com.ibm.commerce.ubf.objects.ApprovalStatus entity bean with the specified paramaters. 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.

ejbCreate

public com.ibm.commerce.approval.objects.ApprovalStatusKey ejbCreate(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
Creates a com.ibm.commerce.ubf.objects.ApprovalStatus entity bean with the specified paramaters. 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.

ejbLoad

public void ejbLoad()
ejbLoad method comment

ejbPassivate

public void ejbPassivate()
ejbPassivate method comment

ejbPostCreate

public void ejbPostCreate(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)
ejbPostCreate method for a CMP entity bean

ejbPostCreate

public void ejbPostCreate(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)
ejbPostCreate method for a CMP entity bean

ejbPostCreate

public void ejbPostCreate(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)
ejbPostCreate method for a CMP entity bean

ejbRemove

public void ejbRemove()
               throws javax.ejb.RemoveException,
                      javax.ejb.EJBException
ejbRemove method comment
Throws:
javax.ejb.RemoveException
EJBException - The exception description.

ejbStore

public void ejbStore()
ejbStore method comment

fulfills

public boolean fulfills(java.lang.Long member,
                        java.lang.String relationship)
                 throws java.lang.Exception,
                        javax.ejb.EJBException
Throws:
java.lang.Exception
javax.ejb.EJBException

Feedback