Class SaWsWorkflowService


  • public class SaWsWorkflowService
    extends AbstractService
    This class wraps all methods of the SaClassicConnector. It parses the information, which is fetched from the server to classes useable for web services. JAX-B requires classes to be JavaBeans, because it uses the set/get-Methods. You need a token for calling the methods to perform searches and modifications. For getting a token the logon method has to be called. If the thread is timed out on the back end or if you aren't logged in you will get an exception.
    Author:
    Daniel Manzke(dam)
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(java.lang.String token, java.lang.String taskId, SaWsCommand command, java.lang.String nextActor, java.lang.String comment, java.util.Date escalationDate)
      Executes the specified task.
      java.util.List<SaWsBoxDefinition> getBoxDefinitions​(java.lang.String token)
      Returns a list of box definitions of the current session user.
      java.util.List<SaWsUser> getMembers​(java.lang.String token, MemberOptions options)
      Returns the members of the current workflow of the session's user.
      boolean getOutOfOffice​(java.lang.String token)
      Determines if current session's user is out of office.
      java.util.List<java.lang.String> getProcessDefinitions​(java.lang.String token)
      Returns a list of process definitions as strings of the current session user.
      java.lang.String getSubstitute​(java.lang.String token)
      Returns the substitute (username) as string.
      SaWsTask getTask​(java.lang.String token, java.lang.String taskId)
      Retrieves and returns the task by the given id.
      java.util.List<SaWsTask> getTasks​(java.lang.String token, int[] boxIds, java.lang.String filter)
      Returns the filtered tasks.
      void setOutOfOffice​(java.lang.String token, boolean outOfOffice)
      Set the "out of office" state of the current session's user.
      void setSubstitute​(java.lang.String token, java.lang.String username)
      Sets the substitute (username) for the session's user.
      void start​(java.lang.String token, java.lang.String processName, java.lang.String nextActor, java.lang.String comment, java.lang.String attachmentId)
      Starts a workflow with the specified parameters.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait