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, javax.jcr.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)
javax.jcr.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, javax.jcr.Node subject) throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
-
-
Method Detail
-
load
protected WorkflowDescriptor load()
- Specified by:
load
in classorg.apache.wicket.model.LoadableDetachableModel<WorkflowDescriptor>
-
getNode
public javax.jcr.Node getNode() throws javax.jcr.RepositoryException
- Throws:
javax.jcr.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)
-
-