com.opensymphony.workflow.persistence.ofbiz
Class OfbizStep

java.lang.Object
  |
  +--com.opensymphony.workflow.persistence.ofbiz.OfbizStep
All Implemented Interfaces:
StatusValues, Step

public class OfbizStep
extends java.lang.Object
implements Step, StatusValues

Version:
$Revision: 1.7 $
Author:
Patrick Lightbody

Field Summary
protected  org.ofbiz.core.entity.GenericValue gv
           
 
Fields inherited from interface com.opensymphony.workflow.loader.StatusValues
FINISHED, QUEUED, UNDERWAY
 
Constructor Summary
OfbizStep(org.ofbiz.core.entity.GenericValue gv)
           
 
Method Summary
 int getActionId()
           
 long getEntryId()
           
 java.util.Date getFinishDate()
           
 long getId()
           
 com.opensymphony.module.user.User getOwner()
           
 Step getPrevious()
           
 java.util.Date getStartDate()
           
 int getStepId()
           
 boolean isFinished()
           
 boolean isQueued()
           
 boolean isStatus(int status)
           
 boolean isUnderway()
           
 void markFinished()
          markUnderway MUST be called first
 void markUnderway(com.opensymphony.module.user.User owner)
           
 void setActionId(int id)
           
 void setEntryId(long id)
           
 void setPreviousId(long id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gv

protected org.ofbiz.core.entity.GenericValue gv
Constructor Detail

OfbizStep

public OfbizStep(org.ofbiz.core.entity.GenericValue gv)
Method Detail

setPreviousId

public void setPreviousId(long id)

setEntryId

public void setEntryId(long id)

getActionId

public int getActionId()
Specified by:
getActionId in interface Step

getEntryId

public long getEntryId()
Specified by:
getEntryId in interface Step

getFinishDate

public java.util.Date getFinishDate()
Specified by:
getFinishDate in interface Step

getId

public long getId()
Specified by:
getId in interface Step

getOwner

public com.opensymphony.module.user.User getOwner()
Specified by:
getOwner in interface Step

getPrevious

public Step getPrevious()
Specified by:
getPrevious in interface Step

getStartDate

public java.util.Date getStartDate()
Specified by:
getStartDate in interface Step

getStepId

public int getStepId()
Specified by:
getStepId in interface Step

isFinished

public boolean isFinished()
Specified by:
isFinished in interface Step

isQueued

public boolean isQueued()
Specified by:
isQueued in interface Step

isStatus

public boolean isStatus(int status)
Specified by:
isStatus in interface Step

isUnderway

public boolean isUnderway()
Specified by:
isUnderway in interface Step

markFinished

public void markFinished()
Description copied from interface: Step
markUnderway MUST be called first
Specified by:
markFinished in interface Step

markUnderway

public void markUnderway(com.opensymphony.module.user.User owner)
Specified by:
markUnderway in interface Step

setActionId

public void setActionId(int id)
Specified by:
setActionId in interface Step

See www.opensymphony.com for more information.