Package org.imixs.workflow.office.config
Class SpaceController
java.lang.Object
org.imixs.workflow.office.config.SpaceController
- All Implemented Interfaces:
Serializable
The SpaceController provides methods to create spaces within a JSF view.
- Author:
- rsoika,gheinle
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PropertyControllerprotected org.imixs.workflow.faces.data.WorkflowController -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThis method creates a space.voidonWorkflowEvent(org.imixs.workflow.faces.data.WorkflowEvent documentEvent) On space save we verify if a parent space is still provided
-
Field Details
-
workflowController
@Inject protected org.imixs.workflow.faces.data.WorkflowController workflowController -
propertyController
-
-
Constructor Details
-
SpaceController
public SpaceController()
-
-
Method Details
-
create
This method creates a space. The param 'parentID' is options. In case a parentID is provided, the method creates a sub-space. If no 'parentID' is provided or the id is empty than a root space is created.- Throws:
org.imixs.workflow.exceptions.ModelException
-
onWorkflowEvent
public void onWorkflowEvent(@Observes org.imixs.workflow.faces.data.WorkflowEvent documentEvent) On space save we verify if a parent space is still provided- Parameters:
documentEvent-
-