com.opensymphony.workflow.step
Class StepCMP

java.lang.Object
  |
  +--com.opensymphony.ejb.AbstractEntityAdapter
        |
        +--com.opensymphony.ejb.EntityAdapter
              |
              +--com.opensymphony.workflow.step.StepEJB
                    |
                    +--com.opensymphony.workflow.step.StepCMP
All Implemented Interfaces:
javax.ejb.EnterpriseBean, javax.ejb.EntityBean, java.io.Serializable, StatusValues

public class StepCMP
extends StepEJB
implements javax.ejb.EntityBean

CMP layer for Step.

See Also:
Serialized Form

Field Summary
 java.lang.Long actionId
           
 java.lang.Long entryId
           
 java.util.Date finishDate
           
 java.lang.Long id
           
 java.lang.Long nextId
           
 java.lang.String ownerName
           
 java.lang.Long previousId
           
 java.util.Date startDate
           
 java.lang.Integer status
           
 java.lang.Long stepId
           
 
Fields inherited from class com.opensymphony.ejb.AbstractEntityAdapter
context, sequenceName
 
Fields inherited from interface com.opensymphony.workflow.loader.StatusValues
FINISHED, QUEUED, UNDERWAY
 
Constructor Summary
StepCMP()
           
 
Method Summary
 void ejbActivate()
           
 void ejbLoad()
           
 void ejbPassivate()
           
 void ejbRemove()
           
 void ejbStore()
           
 java.lang.Long getActionId()
           
 java.lang.Long getEntryId()
           
 java.util.Date getFinishDate()
           
 java.lang.Long getId()
           
 java.lang.Long getNextId()
           
 java.lang.String getOwnerName()
           
 java.lang.Long getPreviousId()
           
 java.util.Date getStartDate()
           
 java.lang.Integer getStatus()
           
 java.lang.Long getStepId()
           
 boolean isModified()
           
protected  void makeClean()
           
protected  void makeDirty()
           
 void setActionId(java.lang.Long actionId)
           
 void setEntityContext(javax.ejb.EntityContext ctx)
           
 void setEntryId(java.lang.Long entryId)
           
 void setFinishDate(java.util.Date finishDate)
           
 void setId(java.lang.Long id)
           
 void setNextId(java.lang.Long nextId)
           
 void setOwnerName(java.lang.String ownerName)
           
 void setPreviousId(java.lang.Long previousId)
           
 void setStartDate(java.util.Date startDate)
           
 void setStatus(java.lang.Integer status)
           
 void setStepId(java.lang.Long stepId)
           
 void unsetEntityContext()
           
 
Methods inherited from class com.opensymphony.workflow.step.StepEJB
ejbCreate, ejbCreate, ejbCreate, ejbCreate, ejbCreate, ejbPostCreate, ejbPostCreate, ejbPostCreate, ejbPostCreate, ejbPostCreate, getNext, getOwner, getPrevious, isFinished, isQueued, isStatus, isUnderway, markFinished, markUnderway
 
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

stepId

public java.lang.Long stepId

status

public java.lang.Integer status

startDate

public java.util.Date startDate

finishDate

public java.util.Date finishDate

actionId

public java.lang.Long actionId

ownerName

public java.lang.String ownerName

nextId

public java.lang.Long nextId

previousId

public java.lang.Long previousId

entryId

public java.lang.Long entryId
Constructor Detail

StepCMP

public StepCMP()
Method Detail

getId

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

setId

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

getStepId

public java.lang.Long getStepId()
Overrides:
getStepId in class StepEJB

setStepId

public void setStepId(java.lang.Long stepId)
Overrides:
setStepId in class StepEJB

getStatus

public java.lang.Integer getStatus()
Overrides:
getStatus in class StepEJB

setStatus

public void setStatus(java.lang.Integer status)
Overrides:
setStatus in class StepEJB

getStartDate

public java.util.Date getStartDate()
Overrides:
getStartDate in class StepEJB

setStartDate

public void setStartDate(java.util.Date startDate)
Overrides:
setStartDate in class StepEJB

getFinishDate

public java.util.Date getFinishDate()
Overrides:
getFinishDate in class StepEJB

setFinishDate

public void setFinishDate(java.util.Date finishDate)
Overrides:
setFinishDate in class StepEJB

getActionId

public java.lang.Long getActionId()
Overrides:
getActionId in class StepEJB

setActionId

public void setActionId(java.lang.Long actionId)
Overrides:
setActionId in class StepEJB

getOwnerName

public java.lang.String getOwnerName()
Overrides:
getOwnerName in class StepEJB

setOwnerName

public void setOwnerName(java.lang.String ownerName)
Overrides:
setOwnerName in class StepEJB

getNextId

public java.lang.Long getNextId()
Overrides:
getNextId in class StepEJB

setNextId

public void setNextId(java.lang.Long nextId)
Overrides:
setNextId in class StepEJB

getPreviousId

public java.lang.Long getPreviousId()
Overrides:
getPreviousId in class StepEJB

setPreviousId

public void setPreviousId(java.lang.Long previousId)
Overrides:
setPreviousId in class StepEJB

getEntryId

public java.lang.Long getEntryId()
Overrides:
getEntryId in class StepEJB

setEntryId

public void setEntryId(java.lang.Long entryId)
Overrides:
setEntryId in class StepEJB

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.