Package org.imixs.workflow.office.forms
Class SystemWorkitemService
java.lang.Object
org.imixs.workflow.office.forms.WorkitemService
org.imixs.workflow.office.forms.SystemWorkitemService
@RunAs("org.imixs.ACCESSLEVEL.MANAGERACCESS")
public class SystemWorkitemService
extends WorkitemService
This EJB provides a administrative access to the service layer. The bean can
be used for processing workitems with anonymous users. The bean runns with
manager access. Be careful in usage.
glassfish-ejb-jar.xml
- Author:
- rsoika
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.imixs.workflow.ItemCollectionprocessWorkItem(org.imixs.workflow.ItemCollection aworkitem) Processes a WorkItem.org.imixs.workflow.ItemCollectionsave(org.imixs.workflow.ItemCollection entity) The method saves an entityMethods inherited from class org.imixs.workflow.office.forms.WorkitemService
createWorkItem, findAllVersions, findAncestorsVersions
-
Constructor Details
-
SystemWorkitemService
public SystemWorkitemService()
-
-
Method Details
-
processWorkItem
public org.imixs.workflow.ItemCollection processWorkItem(org.imixs.workflow.ItemCollection aworkitem) throws org.imixs.workflow.exceptions.AccessDeniedException, org.imixs.workflow.exceptions.ProcessingErrorException, org.imixs.workflow.exceptions.PluginException, org.imixs.workflow.exceptions.ModelException Description copied from class:WorkitemServiceProcesses a WorkItem.- Overrides:
processWorkItemin classWorkitemService- Throws:
org.imixs.workflow.exceptions.AccessDeniedExceptionorg.imixs.workflow.exceptions.ProcessingErrorExceptionorg.imixs.workflow.exceptions.PluginExceptionorg.imixs.workflow.exceptions.ModelException
-
save
public org.imixs.workflow.ItemCollection save(org.imixs.workflow.ItemCollection entity) throws org.imixs.workflow.exceptions.AccessDeniedException The method saves an entity- Throws:
org.imixs.workflow.exceptions.AccessDeniedExceptionException
-