org.infoglue.cms.entities.mydesktop
Class WorkflowActionVO

java.lang.Object
  |
  +--org.infoglue.cms.entities.mydesktop.WorkflowActionVO
All Implemented Interfaces:
BaseEntityVO, java.io.Serializable

public class WorkflowActionVO
extends java.lang.Object
implements BaseEntityVO

This is the general action description object. Can be used by any workflow engine hopefully.

Author:
Mattias Bogeblad
See Also:
Serialized Form

Constructor Summary
WorkflowActionVO()
           
WorkflowActionVO(java.lang.Integer id)
           
WorkflowActionVO(java.lang.Integer id, java.lang.Long workflowId, java.lang.String name)
           
 
Method Summary
 java.lang.Integer getId()
           
 int getIdAsPrimitive()
           
 java.util.Map getMetaAttributes()
           
 java.lang.String getName()
           
 WorkflowStepVO getStep()
           
 java.lang.String getStepName()
          Convenience method that returns the name of the associated step.
 java.lang.String getStepOwner()
          Convenience method that returns the owner of the associated step.
 java.lang.String getView()
           
 java.lang.Long getWorkflowId()
           
 boolean hasView()
           
 boolean isAutoExecute()
           
 void setAutoExecute(boolean autoExecute)
           
 void setId(java.lang.Integer id)
           
 void setMetaAttributes(java.util.Map metaAttributes)
           
 void setName(java.lang.String name)
           
 void setStep(WorkflowStepVO step)
           
 void setView(java.lang.String view)
           
 void setWorkflowId(java.lang.Long workflowId)
           
 java.lang.String toString()
           
 ConstraintExceptionBuffer validate()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorkflowActionVO

public WorkflowActionVO()

WorkflowActionVO

public WorkflowActionVO(java.lang.Integer id)

WorkflowActionVO

public WorkflowActionVO(java.lang.Integer id,
                        java.lang.Long workflowId,
                        java.lang.String name)
Method Detail

getId

public java.lang.Integer getId()
Specified by:
getId in interface BaseEntityVO

setId

public void setId(java.lang.Integer id)

getIdAsPrimitive

public int getIdAsPrimitive()

getWorkflowId

public java.lang.Long getWorkflowId()

setWorkflowId

public void setWorkflowId(java.lang.Long workflowId)

getStep

public WorkflowStepVO getStep()

setStep

public void setStep(WorkflowStepVO step)

getStepName

public java.lang.String getStepName()
Convenience method that returns the name of the associated step.

Returns:
the name of the step that this action is part of.

getStepOwner

public java.lang.String getStepOwner()
Convenience method that returns the owner of the associated step.

Returns:
the owner of the step that this action is part of.

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getView

public java.lang.String getView()

setView

public void setView(java.lang.String view)

isAutoExecute

public boolean isAutoExecute()

setAutoExecute

public void setAutoExecute(boolean autoExecute)

getMetaAttributes

public java.util.Map getMetaAttributes()

setMetaAttributes

public void setMetaAttributes(java.util.Map metaAttributes)

validate

public ConstraintExceptionBuffer validate()
Specified by:
validate in interface BaseEntityVO
Returns:
ConstraintExceptionBuffer

hasView

public boolean hasView()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object