1   
2   
3   
4   
5   
6   
7   
8   
9   
10  
11  
12  
13  
14  
15  
16  package org.kuali.rice.kew.api.actionlist;
17  
18  import org.kuali.rice.core.api.exception.RiceIllegalArgumentException;
19  import org.kuali.rice.kew.api.KewApiConstants;
20  import org.kuali.rice.kew.api.action.ActionItem;
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  import javax.xml.bind.annotation.XmlElement;
28  import javax.xml.bind.annotation.XmlElementWrapper;
29  import java.util.List;
30  
31  @WebService(name = "actionListService", targetNamespace = KewApiConstants.Namespaces.KEW_NAMESPACE_2_0)
32  @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED)
33  public interface ActionListService {
34  
35      
36  
37  
38  
39  
40  
41  
42  
43  
44      @WebMethod(operationName = "getUserActionItemCount")
45      @WebResult(name = "userActionItemCount")
46  	Integer getUserActionItemCount(
47  			@WebParam(name = "principalId") String principalId)
48              throws RiceIllegalArgumentException;
49  
50      
51  
52  
53  
54  
55  
56  
57  
58  
59      @WebMethod(operationName = "getAllActionItems")
60      @WebResult(name = "actionItems")
61      @XmlElementWrapper(name = "actionItems", required = true)
62      @XmlElement(name = "actionItem", required = true)
63  	List<ActionItem> getAllActionItems(
64  			@WebParam(name = "documentId") String documentId)
65              throws RiceIllegalArgumentException;
66  
67      
68  
69  
70  
71  
72  
73  
74  
75  
76  
77  
78      @WebMethod(operationName = "getActionItems")
79      @WebResult(name = "actionItems")
80      @XmlElementWrapper(name = "actionItems", required = true)
81      @XmlElement(name = "actionItem", required = true)
82  	List<ActionItem> getActionItems(
83  			@WebParam(name = "documentId") String documentId,
84  			@WebParam(name = "actionRequestedCodes") List<String> actionRequestedCodes)
85              throws RiceIllegalArgumentException;
86  
87      
88  
89  
90  
91  
92  
93  
94  
95  
96      @WebMethod(operationName = "getActionItemsForPrincipal")
97      @WebResult(name = "actionItems")
98      @XmlElementWrapper(name = "actionItems", required = true)
99      @XmlElement(name = "actionItem", required = true)
100 	List<ActionItem> getActionItemsForPrincipal(
101 			@WebParam(name = "principalId") String principalId)
102             throws RiceIllegalArgumentException;
103 	
104 }