org.imixs.workflow.jaxrs
Class WorkflowRestService

java.lang.Object
  extended by org.imixs.workflow.jaxrs.WorkflowRestService

public class WorkflowRestService
extends Object

The WorkflowService Handler supports methods to process different kind of request URIs

Author:
rsoika

Constructor Summary
WorkflowRestService()
           
 
Method Summary
 javax.ws.rs.core.StreamingOutput getHelpHTML()
           
 org.imixs.workflow.xml.XMLItemCollection getWorkItem(String uniqueid)
          returns a singel workitem defined by $uniqueid
 javax.ws.rs.core.Response getWorkItemFile(String uniqueid, String file)
          Returns a file attachment located in the property $file of the spcified workitem
 org.imixs.workflow.xml.XMLItemCollection getWorkItemXML(String uniqueid)
           
 org.imixs.workflow.xml.EntityCollection getWorkList(int start, int count, String type, int sortorder)
          Returns a collection of workitems representing the worklist by the current user
 org.imixs.workflow.xml.EntityCollection getWorkListByCreator(int start, int count, String type, int sortorder)
           
 org.imixs.workflow.xml.EntityCollection getWorkListByCreatorXML(int start, int count, String type, int sortorder)
           
 org.imixs.workflow.xml.EntityCollection getWorkListByGroup(String processgroup, int start, int count, String type, int sortorder)
           
 org.imixs.workflow.xml.EntityCollection getWorkListByGroupXML(String processgroup, int start, int count, String type, int sortorder)
           
 org.imixs.workflow.xml.EntityCollection getWorkListByOwner(String owner, int start, int count, String type, int sortorder)
           
 org.imixs.workflow.xml.EntityCollection getWorkListByOwnerXML(String owner, int start, int count, String type, int sortorder)
           
 org.imixs.workflow.xml.EntityCollection getWorkListByProcessID(int processid, int start, int count, String type, int sortorder)
           
 org.imixs.workflow.xml.EntityCollection getWorkListByProcessIDXML(int processid, int start, int count, String type, int sortorder)
           
 org.imixs.workflow.xml.EntityCollection getWorkListByRef(String uniqueid, int start, int count, String type, int sortorder)
           
 org.imixs.workflow.xml.EntityCollection getWorkListByRefXML(String uniqueid, int start, int count, String type, int sortorder)
           
 org.imixs.workflow.xml.EntityCollection getWorkListByWriteAccess(int start, int count, String type, int sortorder)
           
 org.imixs.workflow.xml.EntityCollection getWorkListByWriteAccessXML(int start, int count, String type, int sortorder)
           
 org.imixs.workflow.xml.EntityCollection getWorkListXML(int start, int count, String type, int sortorder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowRestService

public WorkflowRestService()
Method Detail

getHelpHTML

public javax.ws.rs.core.StreamingOutput getHelpHTML()

getWorkList

public org.imixs.workflow.xml.EntityCollection getWorkList(int start,
                                                           int count,
                                                           String type,
                                                           int sortorder)
Returns a collection of workitems representing the worklist by the current user

Parameters:
start -
count -
type -
sortorder -

getWorkListXML

public org.imixs.workflow.xml.EntityCollection getWorkListXML(int start,
                                                              int count,
                                                              String type,
                                                              int sortorder)
Parameters:
start -
count -
type -
sortorder -
Returns:

getWorkListByCreator

public org.imixs.workflow.xml.EntityCollection getWorkListByCreator(int start,
                                                                    int count,
                                                                    String type,
                                                                    int sortorder)

getWorkListByCreatorXML

public org.imixs.workflow.xml.EntityCollection getWorkListByCreatorXML(int start,
                                                                       int count,
                                                                       String type,
                                                                       int sortorder)

getWorkListByProcessID

public org.imixs.workflow.xml.EntityCollection getWorkListByProcessID(int processid,
                                                                      int start,
                                                                      int count,
                                                                      String type,
                                                                      int sortorder)

getWorkListByProcessIDXML

public org.imixs.workflow.xml.EntityCollection getWorkListByProcessIDXML(int processid,
                                                                         int start,
                                                                         int count,
                                                                         String type,
                                                                         int sortorder)

getWorkListByGroup

public org.imixs.workflow.xml.EntityCollection getWorkListByGroup(String processgroup,
                                                                  int start,
                                                                  int count,
                                                                  String type,
                                                                  int sortorder)

getWorkListByGroupXML

public org.imixs.workflow.xml.EntityCollection getWorkListByGroupXML(String processgroup,
                                                                     int start,
                                                                     int count,
                                                                     String type,
                                                                     int sortorder)

getWorkListByOwner

public org.imixs.workflow.xml.EntityCollection getWorkListByOwner(String owner,
                                                                  int start,
                                                                  int count,
                                                                  String type,
                                                                  int sortorder)

getWorkListByOwnerXML

public org.imixs.workflow.xml.EntityCollection getWorkListByOwnerXML(String owner,
                                                                     int start,
                                                                     int count,
                                                                     String type,
                                                                     int sortorder)

getWorkListByWriteAccess

public org.imixs.workflow.xml.EntityCollection getWorkListByWriteAccess(int start,
                                                                        int count,
                                                                        String type,
                                                                        int sortorder)

getWorkListByWriteAccessXML

public org.imixs.workflow.xml.EntityCollection getWorkListByWriteAccessXML(int start,
                                                                           int count,
                                                                           String type,
                                                                           int sortorder)

getWorkListByRef

public org.imixs.workflow.xml.EntityCollection getWorkListByRef(String uniqueid,
                                                                int start,
                                                                int count,
                                                                String type,
                                                                int sortorder)

getWorkListByRefXML

public org.imixs.workflow.xml.EntityCollection getWorkListByRefXML(String uniqueid,
                                                                   int start,
                                                                   int count,
                                                                   String type,
                                                                   int sortorder)

getWorkItem

public org.imixs.workflow.xml.XMLItemCollection getWorkItem(String uniqueid)
returns a singel workitem defined by $uniqueid

Parameters:
uniqueid -
Returns:

getWorkItemXML

public org.imixs.workflow.xml.XMLItemCollection getWorkItemXML(String uniqueid)

getWorkItemFile

public javax.ws.rs.core.Response getWorkItemFile(String uniqueid,
                                                 String file)
Returns a file attachment located in the property $file of the spcified workitem

Parameters:
uniqueid -
Returns:


Copyright © 2010-2011 Imixs Software Solutions GmbH. All Rights Reserved.