Package org.hippoecm.addon.workflow
Class WorkflowDescriptorModel
- java.lang.Object
-
- org.apache.wicket.model.LoadableDetachableModel<WorkflowDescriptor>
-
- org.hippoecm.addon.workflow.WorkflowDescriptorModel
-
- All Implemented Interfaces:
Serializable
,org.apache.wicket.model.IDetachable
,org.apache.wicket.model.IModel<WorkflowDescriptor>
,org.apache.wicket.util.io.IClusterable
public class WorkflowDescriptorModel extends org.apache.wicket.model.LoadableDetachableModel<WorkflowDescriptor>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WorkflowDescriptorModel(String category, Node subject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Serializable>
getHints()
Map<String,Serializable>
getHints(String branchId)
Node
getNode()
<T extends Workflow>
TgetWorkflow()
protected WorkflowDescriptor
load()
protected void
onDetach()
-
Methods inherited from class org.apache.wicket.model.LoadableDetachableModel
detach, getObject, isAttached, of, onAttach, setObject, toString
-
-
-
-
Constructor Detail
-
WorkflowDescriptorModel
public WorkflowDescriptorModel(String category, Node subject) throws RepositoryException
- Throws:
RepositoryException
-
-
Method Detail
-
load
protected WorkflowDescriptor load()
- Specified by:
load
in classorg.apache.wicket.model.LoadableDetachableModel<WorkflowDescriptor>
-
getNode
public Node getNode() throws RepositoryException
- Throws:
RepositoryException
-
getWorkflow
public <T extends Workflow> T getWorkflow()
-
onDetach
protected void onDetach()
- Overrides:
onDetach
in classorg.apache.wicket.model.LoadableDetachableModel<WorkflowDescriptor>
-
getHints
public Map<String,Serializable> getHints()
-
getHints
public Map<String,Serializable> getHints(String branchId)
-
-