net.kwfgrid.gwes.restfulclient
Class RestfulStructureGWES
java.lang.Object
net.kwfgrid.gwes.restfulclient.RestfulClient
net.kwfgrid.gwes.restfulclient.RestfulGWES
net.kwfgrid.gwes.restfulclient.RestfulStructureGWES
- All Implemented Interfaces:
- Remote, GWES, net.kwfgrid.gworkflowdl.protocol.service.IStructureService
public class RestfulStructureGWES
- extends RestfulGWES
- implements net.kwfgrid.gworkflowdl.protocol.service.IStructureService
- Version:
- $Id: RestfulStructureGWES.java 1537 2011-07-27 15:34:04Z hoheisel $
- Author:
- Andreas Hoheisel
(www.andreas-hoheisel.de)
| Fields inherited from class net.kwfgrid.gwes.restfulclient.RestfulGWES |
_PARAM_LEVEL, _PARAM_NAME, _PARAM_OLDSTATUS, _PARAM_PLACEID, _PARAM_USERID, ATTRIBUTE_NS, ELEMENT_DESCRIPTION, ELEMENT_NAME, ELEMENT_USERID, ELEMENT_VALUE, ELEMENT_WORKFLOWDESCRIPTION, ELEMENT_WORKFLOWID, gwesServiceUrl, METHOD_ABORT, METHOD_GETACTIVITYSTATUSARRAY, METHOD_GETAVAILABLERESOURCES, METHOD_GETCHECKPOINTS, METHOD_GETDATA, METHOD_GETDESCRIPTION, METHOD_GETPROPERTIES, METHOD_GETPROPERTY, METHOD_GETRESOURCEDESCRIPTION_, METHOD_GETSTATUS, METHOD_GETWORKFLOWDESCRIPTION, METHOD_GETWORKFLOWIDS, METHOD_GETWORKFLOWSTATUSARRAY, METHOD_INITIATE, METHOD_REMOVE, METHOD_RESTART, METHOD_RESTORE, METHOD_RESUME, METHOD_SETDESCRIPTION, METHOD_SETPROPERTY, METHOD_SETWORKFLOWDESCRIPTION, METHOD_START, METHOD_STORE, METHOD_SUSPEND, METHOD_WAITFORSTATUSCHANGEFROM, METHOD_WAITFORSTATUSCHANGETOCOMPLETEDORTERMINATED, PARAM_LEVEL, PARAM_OFCLASS, PARAM_RESOURCEURI, PARAM_WORKFLOWID, PATTERN_COLLECTION_NOT_FOUND, PATTERN_PLACE_WORKFLOW_NOT_AVAILABLE, PATTERN_WORKFLOW_NOT_AVAILABLE, PATTERN_WORKFLOW_NOT_AVAILABLE2, STRING_G, STRING_L, STRING_LSLASH, STRING_SLASH |
| Methods inherited from class net.kwfgrid.gwes.restfulclient.RestfulGWES |
abort, getActivityStatusArray, getAvailableResources, getCheckpoints, getData, getDescription, getProperties, getProperty, getResourceDescription, getStatus, getWorkflowDescription, getWorkflowIDs, getWorkflowStatusArray, initiate, localExceptionHttpDELETE, localExceptionHttpGET, localExceptionHttpGETArray, localExceptionHttpPUT, remove, restart, restore, resume, setDescription, setProperty, setWorkflowDescription, start, store, suspend, waitForStatusChangeFrom, waitForStatusChangeToCompletedOrTerminated |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static RestfulStructureGWES getInstance()
throws Exception
- Create new or return existing RestfulStructureGWES instance to GWES with service URL as specified by system property.
- Returns:
-
- Throws:
Exception- See Also:
Constants.PROP_SYSTEM_GWES_SERVICE_BASE_URL_INTERNAL
getInstance
public static RestfulStructureGWES getInstance(String gwesServiceUrl)
throws Exception
- Create new or return existing RestfulStructureGWES instance to GWES with service URL as specified by paramter gwesServiceUrl.
- Returns:
-
- Throws:
Exception
commitModification
public int commitModification(String structureid,
int clientversion,
String modification,
String userID)
throws net.kwfgrid.gworkflowdl.protocol.IllegalModificationException,
net.kwfgrid.gworkflowdl.protocol.IncompatibleVersionsException,
RemoteException
- Specified by:
commitModification in interface net.kwfgrid.gworkflowdl.protocol.service.IStructureService
- Throws:
net.kwfgrid.gworkflowdl.protocol.IllegalModificationException
net.kwfgrid.gworkflowdl.protocol.IncompatibleVersionsException
RemoteException
getModificationsForUpdate
public String[][] getModificationsForUpdate(String structureid,
int clientversion,
String userID)
throws RemoteException
- Specified by:
getModificationsForUpdate in interface net.kwfgrid.gworkflowdl.protocol.service.IStructureService
- Throws:
RemoteException
Copyright © 2005-2011 Fraunhofer FIRST. All Rights Reserved.