1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.kim.service;
17
18 import javax.jws.WebParam;
19 import javax.jws.WebService;
20 import javax.jws.soap.SOAPBinding;
21
22 import org.kuali.rice.kim.bo.group.dto.GroupInfo;
23 import org.kuali.rice.kim.util.KIMWebServiceConstants;
24
25
26
27
28
29
30
31
32 @WebService(name = KIMWebServiceConstants.GroupUpdateService.WEB_SERVICE_NAME, targetNamespace = KIMWebServiceConstants.MODULE_TARGET_NAMESPACE)
33 @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED)
34 public interface GroupUpdateService {
35
36
37
38
39 GroupInfo createGroup(@WebParam(name="groupInfo") GroupInfo groupInfo) throws UnsupportedOperationException;
40
41
42
43
44 GroupInfo updateGroup(@WebParam(name="groupId") String groupId, @WebParam(name="groupInfo") GroupInfo groupInfo) throws UnsupportedOperationException;
45
46
47
48
49 boolean addGroupToGroup(@WebParam(name="childId") String childId, @WebParam(name="parentId") String parentId) throws UnsupportedOperationException;
50
51
52
53
54 boolean removeGroupFromGroup(@WebParam(name="childId") String childId, @WebParam(name="parentId") String parentId) throws UnsupportedOperationException;
55
56
57
58
59 boolean addPrincipalToGroup(@WebParam(name="principalId") String principalId, @WebParam(name="groupId") String groupId) throws UnsupportedOperationException;
60
61
62
63
64 boolean removePrincipalFromGroup(@WebParam(name="principalId") String principalId, @WebParam(name="groupId") String groupId) throws UnsupportedOperationException;
65
66
67
68
69 void removeAllGroupMembers( @WebParam(name="groupId") String groupId ) throws UnsupportedOperationException;
70 }