1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.kew.api.peopleflow;
17
18 import org.kuali.rice.core.api.exception.RiceIllegalArgumentException;
19 import org.kuali.rice.core.api.exception.RiceIllegalStateException;
20 import org.kuali.rice.kew.api.KewApiConstants;
21
22 import javax.jws.WebMethod;
23 import javax.jws.WebParam;
24 import javax.jws.WebResult;
25 import javax.jws.WebService;
26 import javax.jws.soap.SOAPBinding;
27
28 @WebService(name = "peopleFlowService", targetNamespace = KewApiConstants.Namespaces.KEW_NAMESPACE_2_0)
29 @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED)
30 public interface PeopleFlowService {
31
32 @WebMethod(operationName = "getPeopleFlow")
33 @WebResult(name = "peopleFlow")
34 PeopleFlowDefinition getPeopleFlow(@WebParam(name = "peopleFlowId") String peopleFlowId)
35 throws RiceIllegalArgumentException;
36
37 @WebMethod(operationName = "getPeopleFlowByName")
38 @WebResult(name = "peopleFlow")
39 PeopleFlowDefinition getPeopleFlowByName(
40 @WebParam(name = "namespaceCode") String namespaceCode,
41 @WebParam(name = "name") String name)
42 throws RiceIllegalArgumentException;
43
44
45
46
47
48
49
50
51
52
53
54
55
56 @WebMethod(operationName = "createPeopleFlow")
57 @WebResult(name = "peopleFlow")
58 PeopleFlowDefinition createPeopleFlow(@WebParam(name = "peopleFlow") PeopleFlowDefinition peopleFlow)
59 throws RiceIllegalArgumentException, RiceIllegalStateException;
60
61
62
63
64
65
66
67
68
69
70 @WebMethod(operationName = "updatePeopleFlow")
71 @WebResult(name = "peopleFlow")
72 PeopleFlowDefinition updatePeopleFlow(@WebParam(name = "peopleFlow") PeopleFlowDefinition peopleFlow)
73 throws RiceIllegalArgumentException, RiceIllegalStateException;
74
75
76 }