com.opensymphony.workflow.persistence.ejb.entry
Class WorkflowEntryCMP

java.lang.Object
  |
  +--com.opensymphony.ejb.AbstractEntityAdapter
        |
        +--com.opensymphony.ejb.EntityAdapter
              |
              +--com.opensymphony.workflow.persistence.ejb.entry.WorkflowEntryEJB
                    |
                    +--com.opensymphony.workflow.persistence.ejb.entry.WorkflowEntryCMP
All Implemented Interfaces:
javax.ejb.EnterpriseBean, javax.ejb.EntityBean, java.io.Serializable

public class WorkflowEntryCMP
extends WorkflowEntryEJB
implements javax.ejb.EntityBean

Version:
$Revision: 1.1 $
Author:
Patrick Lightbody
See Also:
Serialized Form

Field Summary
 java.lang.Long currentStepId
           
 java.lang.Long id
           
 java.lang.String workflowName
           
 
Fields inherited from class com.opensymphony.ejb.AbstractEntityAdapter
context, sequenceName
 
Constructor Summary
WorkflowEntryCMP()
           
 
Method Summary
 void ejbActivate()
           
 void ejbLoad()
           
 void ejbPassivate()
           
 void ejbRemove()
           
 void ejbStore()
           
 java.lang.Long getCurrentStepId()
           
 java.lang.Long getId()
           
 java.lang.String getWorkflowName()
           
 boolean isModified()
           
protected  void makeClean()
           
protected  void makeDirty()
           
 void setCurrentStepId(java.lang.Long currentStepId)
           
 void setEntityContext(javax.ejb.EntityContext ctx)
           
 void setId(java.lang.Long id)
           
 void setWorkflowName(java.lang.String workflowName)
           
 void unsetEntityContext()
           
 
Methods inherited from class com.opensymphony.workflow.persistence.ejb.entry.WorkflowEntryEJB
ejbCreate, ejbPostCreate, finishStep, getCurrentStep, getPropertySet, initializeStep, initializeStep, newStep, newStep
 
Methods inherited from class com.opensymphony.ejb.EntityAdapter
getEntityContext
 
Methods inherited from class com.opensymphony.ejb.AbstractEntityAdapter
generateGUID, locatePropertySet, nextId, nextInt, nextLong, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public java.lang.Long id

currentStepId

public java.lang.Long currentStepId

workflowName

public java.lang.String workflowName
Constructor Detail

WorkflowEntryCMP

public WorkflowEntryCMP()
Method Detail

getId

public java.lang.Long getId()
Overrides:
getId in class WorkflowEntryEJB

setId

public void setId(java.lang.Long id)
Overrides:
setId in class WorkflowEntryEJB

getCurrentStepId

public java.lang.Long getCurrentStepId()
Overrides:
getCurrentStepId in class WorkflowEntryEJB

setCurrentStepId

public void setCurrentStepId(java.lang.Long currentStepId)
Overrides:
setCurrentStepId in class WorkflowEntryEJB

getWorkflowName

public java.lang.String getWorkflowName()
Overrides:
getWorkflowName in class WorkflowEntryEJB

setWorkflowName

public void setWorkflowName(java.lang.String workflowName)
Overrides:
setWorkflowName in class WorkflowEntryEJB

isModified

public boolean isModified()

makeDirty

protected void makeDirty()

makeClean

protected void makeClean()

ejbLoad

public void ejbLoad()
             throws javax.ejb.EJBException,
                    java.rmi.RemoteException
Specified by:
ejbLoad in interface javax.ejb.EntityBean
Overrides:
ejbLoad in class com.opensymphony.ejb.EntityAdapter

ejbStore

public void ejbStore()
              throws javax.ejb.EJBException,
                     java.rmi.RemoteException
Specified by:
ejbStore in interface javax.ejb.EntityBean
Overrides:
ejbStore in class com.opensymphony.ejb.EntityAdapter

ejbActivate

public void ejbActivate()
                 throws javax.ejb.EJBException,
                        java.rmi.RemoteException
Specified by:
ejbActivate in interface javax.ejb.EntityBean
Overrides:
ejbActivate in class com.opensymphony.ejb.EntityAdapter

ejbPassivate

public void ejbPassivate()
                  throws javax.ejb.EJBException,
                         java.rmi.RemoteException
Specified by:
ejbPassivate in interface javax.ejb.EntityBean
Overrides:
ejbPassivate in class com.opensymphony.ejb.EntityAdapter

setEntityContext

public void setEntityContext(javax.ejb.EntityContext ctx)
                      throws javax.ejb.EJBException,
                             java.rmi.RemoteException
Specified by:
setEntityContext in interface javax.ejb.EntityBean
Overrides:
setEntityContext in class com.opensymphony.ejb.EntityAdapter

unsetEntityContext

public void unsetEntityContext()
                        throws javax.ejb.EJBException,
                               java.rmi.RemoteException
Specified by:
unsetEntityContext in interface javax.ejb.EntityBean
Overrides:
unsetEntityContext in class com.opensymphony.ejb.EntityAdapter

ejbRemove

public void ejbRemove()
               throws javax.ejb.EJBException,
                      java.rmi.RemoteException,
                      javax.ejb.RemoveException
Specified by:
ejbRemove in interface javax.ejb.EntityBean
Overrides:
ejbRemove in class com.opensymphony.ejb.EntityAdapter

See www.opensymphony.com for more information.