is the given item in the dspace workflow ? this method queries the database directly to determine if this is the case rather than using the dspace api which is very slow . concode_field_sep WorkflowService workflowService concode_elem_sep WorkflowItemService workflowItemService concode_elem_sep WorkspaceItemService workspaceItemService concode_field_sep boolean isItemInWorkspace concode_elem_sep WorkflowItem getWorkflowItem concode_elem_sep WorkspaceItem getWorkspaceItem concode_elem_sep void stopWorkflow concode_elem_sep void startWorkflow
boolean function ( Context arg0 , Item arg1 ) { try { return workflowItemService . findByItem ( arg0 , arg1 ) != null ; } catch ( SQLException loc0 ) { throw new DSpaceSwordException ( loc0 ) ; } }