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 java.util.List; |
19 | |
import java.util.Map; |
20 | |
|
21 | |
import javax.jws.WebParam; |
22 | |
import javax.jws.WebService; |
23 | |
import javax.jws.soap.SOAPBinding; |
24 | |
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; |
25 | |
|
26 | |
import org.kuali.rice.core.util.AttributeSet; |
27 | |
import org.kuali.rice.core.util.jaxb.AttributeSetAdapter; |
28 | |
import org.kuali.rice.core.util.jaxb.MapStringStringAdapter; |
29 | |
import org.kuali.rice.kim.bo.role.dto.KimResponsibilityInfo; |
30 | |
import org.kuali.rice.kim.bo.role.dto.KimResponsibilityTemplateInfo; |
31 | |
import org.kuali.rice.kim.bo.role.dto.ResponsibilityActionInfo; |
32 | |
import org.kuali.rice.kim.util.KIMWebServiceConstants; |
33 | |
|
34 | |
|
35 | |
|
36 | |
|
37 | |
|
38 | |
|
39 | |
|
40 | |
|
41 | |
|
42 | |
|
43 | |
|
44 | |
|
45 | |
|
46 | |
|
47 | |
|
48 | |
|
49 | |
|
50 | |
|
51 | |
|
52 | |
|
53 | |
|
54 | |
|
55 | |
|
56 | |
|
57 | |
|
58 | |
|
59 | |
|
60 | |
@WebService(name = KIMWebServiceConstants.ResponsibilityService.WEB_SERVICE_NAME, targetNamespace = KIMWebServiceConstants.MODULE_TARGET_NAMESPACE) |
61 | |
@SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED) |
62 | |
public interface ResponsibilityService { |
63 | |
|
64 | |
|
65 | |
|
66 | |
|
67 | |
|
68 | |
|
69 | |
|
70 | |
|
71 | |
KimResponsibilityInfo getResponsibility(@WebParam(name="responsibilityId") String responsibilityId); |
72 | |
|
73 | |
|
74 | |
|
75 | |
|
76 | |
|
77 | |
List<KimResponsibilityInfo> getResponsibilitiesByName( @WebParam(name="namespaceCode") String namespaceCode, |
78 | |
@WebParam(name="responsibilityName") String responsibilityName ); |
79 | |
|
80 | |
KimResponsibilityTemplateInfo getResponsibilityTemplate( @WebParam(name="responsibilityTemplateId") String responsibilityTemplateId ); |
81 | |
|
82 | |
KimResponsibilityTemplateInfo getResponsibilityTemplateByName( |
83 | |
@WebParam(name="namespaceCode") String namespaceCode, |
84 | |
@WebParam(name="responsibilityTemplateName") String responsibilityTemplateName ); |
85 | |
|
86 | |
|
87 | |
|
88 | |
|
89 | |
boolean hasResponsibility( @WebParam(name="principalId") String principalId, |
90 | |
@WebParam(name="namespaceCode") String namespaceCode, |
91 | |
@WebParam(name="responsibilityName") String responsibilityName, |
92 | |
@WebParam(name="qualification") @XmlJavaTypeAdapter(value = AttributeSetAdapter.class) AttributeSet qualification, |
93 | |
@WebParam(name="responsibilityDetails") @XmlJavaTypeAdapter(value = AttributeSetAdapter.class) AttributeSet responsibilityDetails ); |
94 | |
|
95 | |
|
96 | |
|
97 | |
|
98 | |
boolean hasResponsibilityByTemplateName( @WebParam(name="principalId") String principalId, |
99 | |
@WebParam(name="namespaceCode") String namespaceCode, |
100 | |
@WebParam(name="responsibilityTemplateName") String responsibilityTemplateName, |
101 | |
@WebParam(name="qualification") @XmlJavaTypeAdapter(value = AttributeSetAdapter.class) AttributeSet qualification, |
102 | |
@WebParam(name="responsibilityDetails") @XmlJavaTypeAdapter(value = AttributeSetAdapter.class) AttributeSet responsibilityDetails ); |
103 | |
|
104 | |
List<ResponsibilityActionInfo> getResponsibilityActions( @WebParam(name="namespaceCode") String namespaceCode, |
105 | |
@WebParam(name="responsibilityName") String responsibilityName, |
106 | |
@WebParam(name="qualification") @XmlJavaTypeAdapter(value = AttributeSetAdapter.class) AttributeSet qualification, |
107 | |
@WebParam(name="responsibilityDetails") @XmlJavaTypeAdapter(value = AttributeSetAdapter.class) AttributeSet responsibilityDetails); |
108 | |
|
109 | |
List<ResponsibilityActionInfo> getResponsibilityActionsByTemplateName( @WebParam(name="namespaceCode") String namespaceCode, |
110 | |
@WebParam(name="responsibilityTemplateName") String responsibilityTemplateName, |
111 | |
@WebParam(name="qualification") @XmlJavaTypeAdapter(value = AttributeSetAdapter.class) AttributeSet qualification, |
112 | |
@WebParam(name="responsibilityDetails") @XmlJavaTypeAdapter(value = AttributeSetAdapter.class) AttributeSet responsibilityDetails); |
113 | |
|
114 | |
|
115 | |
|
116 | |
|
117 | |
|
118 | |
|
119 | |
boolean areActionsAtAssignmentLevelById( @WebParam(name="responsibilityId") String responsibilityId ); |
120 | |
|
121 | |
|
122 | |
|
123 | |
|
124 | |
|
125 | |
|
126 | |
boolean areActionsAtAssignmentLevel( @WebParam(name="responsibility") KimResponsibilityInfo responsibility ); |
127 | |
|
128 | |
|
129 | |
|
130 | |
|
131 | |
List<? extends KimResponsibilityInfo> lookupResponsibilityInfo( @WebParam(name="searchCriteria") @XmlJavaTypeAdapter(value = MapStringStringAdapter.class) Map<String,String> searchCriteria, |
132 | |
@WebParam(name="unbounded") boolean unbounded ); |
133 | |
|
134 | |
|
135 | |
|
136 | |
|
137 | |
List<String> getRoleIdsForResponsibility( @WebParam(name="responsibility") KimResponsibilityInfo responsibility, |
138 | |
@WebParam(name="qualification") @XmlJavaTypeAdapter(value = AttributeSetAdapter.class) AttributeSet qualification ); |
139 | |
} |