org.imixs.workflow.webservices.soap
Class WorkflowModelClient

java.lang.Object
  extended by org.imixs.workflow.webservices.soap.WorkflowModelClient
All Implemented Interfaces:
WorkflowModelService

public class WorkflowModelClient
extends Object
implements WorkflowModelService

The WorkflowModelClient is a WebSerice Client for the Imixs WorkflowModel Service based on the Apache Axiom Framework. The WorkflowModelClient uses the helper class org.imixs.workflow.service.client.axiom.ServiceClient to establish SOAP Connections Since 1.7.0 This WebService Client also implements the new ModelService Methods provided by the IX JEE Workflow Version 1.7.0. So This client is compatible to both - the IX Workflow API and the IX JEE Implementation with MultiModel Support

Author:
Ralph Soika
See Also:
org.imixs.workflow.RestClient.client.axiom.ServiceClient

Constructor Summary
WorkflowModelClient(String aServiceEndpoint, String aUserName, String aPassword)
           
 
Method Summary
 EntityCollection getActivityList(int processID)
          returns the ActivityList for the highest model version
 EntityCollection getActivityListByVersion(int processID, String modelVersion)
          returns the ActivityList for a specific model version
 EntityCollection getEnvironmentList()
          returns the EnvironmentList for the highest model version
 EntityCollection getEnvironmentListByVersion(String modelVersion)
          returns the EnvironmentList for a specific model version
 String getNameSpace()
           
 EntityCollection getProcessList()
          returns the processList for the highest model version
 EntityCollection getProcessListByVersion(String modelVersion)
          returns the processList for a specific model version
 ServiceClient getServiceClient()
           
 void removeModelVersion(String modelVersion)
          This method removes an existing model with the corresponding modelversion
 void setNameSpace(String s)
           
 void updateActivityList(int processID, EntityCollection activityList)
          Updates a ActivityList
 void updateEnvironmentList(EntityCollection envList)
          updates the environmentList
 void updateProcessList(EntityCollection envList)
          Updates a ProcessList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowModelClient

public WorkflowModelClient(String aServiceEndpoint,
                           String aUserName,
                           String aPassword)
Method Detail

getNameSpace

public String getNameSpace()

setNameSpace

public void setNameSpace(String s)

getServiceClient

public ServiceClient getServiceClient()

getProcessList

public EntityCollection getProcessList()
                                throws Exception
Description copied from interface: WorkflowModelService
returns the processList for the highest model version

Specified by:
getProcessList in interface WorkflowModelService
Returns:
Throws:
Exception

getProcessListByVersion

public EntityCollection getProcessListByVersion(String modelVersion)
                                         throws Exception
Description copied from interface: WorkflowModelService
returns the processList for a specific model version

Specified by:
getProcessListByVersion in interface WorkflowModelService
Returns:
Throws:
Exception

getActivityList

public EntityCollection getActivityList(int processID)
                                 throws Exception
Description copied from interface: WorkflowModelService
returns the ActivityList for the highest model version

Specified by:
getActivityList in interface WorkflowModelService
Returns:
Throws:
Exception

getActivityListByVersion

public EntityCollection getActivityListByVersion(int processID,
                                                 String modelVersion)
                                          throws Exception
Description copied from interface: WorkflowModelService
returns the ActivityList for a specific model version

Specified by:
getActivityListByVersion in interface WorkflowModelService
Returns:
Throws:
Exception

getEnvironmentList

public EntityCollection getEnvironmentList()
                                    throws Exception
Description copied from interface: WorkflowModelService
returns the EnvironmentList for the highest model version

Specified by:
getEnvironmentList in interface WorkflowModelService
Returns:
Throws:
Exception

getEnvironmentListByVersion

public EntityCollection getEnvironmentListByVersion(String modelVersion)
                                             throws Exception
Description copied from interface: WorkflowModelService
returns the EnvironmentList for a specific model version

Specified by:
getEnvironmentListByVersion in interface WorkflowModelService
Returns:
Throws:
Exception

updateActivityList

public void updateActivityList(int processID,
                               EntityCollection activityList)
                        throws Exception
Description copied from interface: WorkflowModelService
Updates a ActivityList

Specified by:
updateActivityList in interface WorkflowModelService
Throws:
Exception

updateEnvironmentList

public void updateEnvironmentList(EntityCollection envList)
                           throws Exception
Description copied from interface: WorkflowModelService
updates the environmentList

Specified by:
updateEnvironmentList in interface WorkflowModelService
Throws:
Exception

updateProcessList

public void updateProcessList(EntityCollection envList)
                       throws Exception
Description copied from interface: WorkflowModelService
Updates a ProcessList

Specified by:
updateProcessList in interface WorkflowModelService
Throws:
Exception

removeModelVersion

public void removeModelVersion(String modelVersion)
                        throws Exception
Description copied from interface: WorkflowModelService
This method removes an existing model with the corresponding modelversion

Specified by:
removeModelVersion in interface WorkflowModelService
Throws:
Exception


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