1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
package org.kuali.student.r2.core.organization.service; |
18 | |
|
19 | |
import java.util.List; |
20 | |
|
21 | |
import org.kuali.rice.core.api.criteria.QueryByCriteria; |
22 | |
import org.kuali.student.r2.common.dto.ContextInfo; |
23 | |
import org.kuali.student.r2.common.dto.StatusInfo; |
24 | |
import org.kuali.student.r2.common.dto.ValidationResultInfo; |
25 | |
|
26 | |
import org.kuali.student.r2.common.exceptions.DataValidationErrorException; |
27 | |
import org.kuali.student.r2.common.exceptions.DoesNotExistException; |
28 | |
import org.kuali.student.r2.common.exceptions.InvalidParameterException; |
29 | |
import org.kuali.student.r2.common.exceptions.MissingParameterException; |
30 | |
import org.kuali.student.r2.common.exceptions.OperationFailedException; |
31 | |
import org.kuali.student.r2.common.exceptions.PermissionDeniedException; |
32 | |
import org.kuali.student.r2.common.exceptions.ReadOnlyException; |
33 | |
import org.kuali.student.r2.common.exceptions.VersionMismatchException; |
34 | |
|
35 | |
import org.kuali.student.r2.core.organization.dto.OrgHierarchyInfo; |
36 | |
import org.kuali.student.r2.core.organization.dto.OrgInfo; |
37 | |
import org.kuali.student.r2.core.organization.dto.OrgOrgRelationInfo; |
38 | |
import org.kuali.student.r2.core.organization.dto.OrgPersonRelationInfo; |
39 | |
import org.kuali.student.r2.core.organization.dto.OrgPositionRestrictionInfo; |
40 | |
import org.kuali.student.r2.core.organization.dto.OrgTreeInfo; |
41 | |
import org.kuali.student.r2.core.type.dto.TypeInfo; |
42 | |
|
43 | |
|
44 | |
|
45 | |
|
46 | |
|
47 | 0 | public class OrganizationServiceDecorator |
48 | |
implements OrganizationService { |
49 | |
|
50 | |
private OrganizationService nextDecorator; |
51 | |
|
52 | |
public OrganizationService getNextDecorator() { |
53 | 0 | return nextDecorator; |
54 | |
} |
55 | |
|
56 | |
public void setNextDecorator(OrganizationService nextDecorator) { |
57 | 0 | this.nextDecorator = nextDecorator; |
58 | 0 | } |
59 | |
|
60 | |
@Override |
61 | |
public OrgHierarchyInfo getOrgHierarchy(String orgHierarchyId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
62 | 0 | return getNextDecorator().getOrgHierarchy(orgHierarchyId, contextInfo); |
63 | |
} |
64 | |
|
65 | |
@Override |
66 | |
public List<OrgHierarchyInfo> getOrgHierarchiesByIds(List<String> orgHierarchyIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
67 | 0 | return getNextDecorator().getOrgHierarchiesByIds(orgHierarchyIds, contextInfo); |
68 | |
} |
69 | |
|
70 | |
@Override |
71 | |
public List<String> getOrgHierarchyIdsByType(String orgHierarchyTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
72 | 0 | return getNextDecorator().getOrgHierarchyIdsByType(orgHierarchyTypeKey, contextInfo); |
73 | |
} |
74 | |
|
75 | |
@Override |
76 | |
public List<OrgHierarchyInfo> getOrgHierarchies(ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
77 | 0 | return getNextDecorator().getOrgHierarchies(contextInfo); |
78 | |
} |
79 | |
|
80 | |
@Override |
81 | |
public List<TypeInfo> getOrgTypes(ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
82 | 0 | return getNextDecorator().getOrgTypes(contextInfo); |
83 | |
} |
84 | |
|
85 | |
@Override |
86 | |
public OrgInfo getOrg(String orgId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
87 | 0 | return getNextDecorator().getOrg(orgId, contextInfo); |
88 | |
} |
89 | |
|
90 | |
@Override |
91 | |
public List<OrgInfo> getOrgsByIds(List<String> orgIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
92 | 0 | return getNextDecorator().getOrgsByIds(orgIds, contextInfo); |
93 | |
} |
94 | |
|
95 | |
@Override |
96 | |
public List<String> getOrgIdsByType(String orgTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
97 | 0 | return getNextDecorator().getOrgIdsByType(orgTypeKey, contextInfo); |
98 | |
} |
99 | |
|
100 | |
@Override |
101 | |
public List<String> searchForOrgIds(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
102 | 0 | return getNextDecorator().searchForOrgIds(criteria, contextInfo); |
103 | |
} |
104 | |
|
105 | |
@Override |
106 | |
public List<OrgInfo> searchForOrgs(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
107 | 0 | return getNextDecorator().searchForOrgs(criteria, contextInfo); |
108 | |
} |
109 | |
|
110 | |
@Override |
111 | |
public List<ValidationResultInfo> validateOrg(String validationTypeKey, String orgTypeKey, OrgInfo orgInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
112 | 0 | return getNextDecorator().validateOrg(validationTypeKey, orgTypeKey, orgInfo, contextInfo); |
113 | |
} |
114 | |
|
115 | |
@Override |
116 | |
public OrgInfo createOrg(String orgTypeKey, OrgInfo orgInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException { |
117 | 0 | return getNextDecorator().createOrg(orgTypeKey, orgInfo, contextInfo); |
118 | |
} |
119 | |
|
120 | |
@Override |
121 | |
public OrgInfo updateOrg(String orgId, OrgInfo orgInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException { |
122 | 0 | return getNextDecorator().updateOrg(orgId, orgInfo, contextInfo); |
123 | |
} |
124 | |
|
125 | |
@Override |
126 | |
public StatusInfo deleteOrg(String orgId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
127 | 0 | return getNextDecorator().deleteOrg(orgId, contextInfo); |
128 | |
} |
129 | |
|
130 | |
@Override |
131 | |
public List<TypeInfo> getOrgOrgRelationTypes(ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
132 | 0 | return getNextDecorator().getOrgOrgRelationTypes(contextInfo); |
133 | |
} |
134 | |
|
135 | |
@Override |
136 | |
public List<TypeInfo> getOrgOrgRelationTypesForOrgType(String orgTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
137 | 0 | return getNextDecorator().getOrgOrgRelationTypesForOrgType(orgTypeKey, contextInfo); |
138 | |
} |
139 | |
|
140 | |
@Override |
141 | |
public List<TypeInfo> getOrgOrgRelationTypesForOrgHierarchy(String orgHierarchyId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
142 | 0 | return getNextDecorator().getOrgOrgRelationTypesForOrgHierarchy(orgHierarchyId, contextInfo); |
143 | |
} |
144 | |
|
145 | |
@Override |
146 | |
public Boolean hasOrgOrgRelation(String orgId, String comparisonOrgId, String orgOrgRelationTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
147 | 0 | return getNextDecorator().hasOrgOrgRelation(orgId, comparisonOrgId, orgOrgRelationTypeKey, contextInfo); |
148 | |
} |
149 | |
|
150 | |
@Override |
151 | |
public OrgOrgRelationInfo getOrgOrgRelation(String orgOrgRelationId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
152 | 0 | return getNextDecorator().getOrgOrgRelation(orgOrgRelationId, contextInfo); |
153 | |
} |
154 | |
|
155 | |
@Override |
156 | |
public List<OrgOrgRelationInfo> getOrgOrgRelationsByIds(List<String> orgOrgRelationIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
157 | 0 | return getNextDecorator().getOrgOrgRelationsByIds(orgOrgRelationIds, contextInfo); |
158 | |
} |
159 | |
|
160 | |
@Override |
161 | |
public List<String> getOrgOrgRelationIdsByType(String orgOrgRelationTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
162 | 0 | return getNextDecorator().getOrgOrgRelationIdsByType(orgOrgRelationTypeKey, contextInfo); |
163 | |
} |
164 | |
|
165 | |
@Override |
166 | |
public List<OrgOrgRelationInfo> getOrgOrgRelationsByOrg(String orgId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
167 | 0 | return getNextDecorator().getOrgOrgRelationsByOrg(orgId, contextInfo); |
168 | |
} |
169 | |
|
170 | |
@Override |
171 | |
public List<OrgOrgRelationInfo> getOrgOrgRelationsByOrgs(String orgId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
172 | 0 | return getNextDecorator().getOrgOrgRelationsByOrgs(orgId, contextInfo); |
173 | |
} |
174 | |
|
175 | |
@Override |
176 | |
public List<OrgOrgRelationInfo> getOrgOrgRelationsByTypeAndOrg(String orgId, String orgOrgRelationTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
177 | 0 | return getNextDecorator().getOrgOrgRelationsByTypeAndOrg(orgId, orgOrgRelationTypeKey, contextInfo); |
178 | |
} |
179 | |
|
180 | |
@Override |
181 | |
public List<String> searchForOrgOrgRelationIds(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
182 | 0 | return getNextDecorator().searchForOrgOrgRelationIds(criteria, contextInfo); |
183 | |
} |
184 | |
|
185 | |
@Override |
186 | |
public List<OrgOrgRelationInfo> searchForOrgOrgRelations(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
187 | 0 | return getNextDecorator().searchForOrgOrgRelations(criteria, contextInfo); |
188 | |
} |
189 | |
|
190 | |
@Override |
191 | |
public List<ValidationResultInfo> validateOrgOrgRelation(String validationTypeKey, String orgId, String orgPeerId, String orgOrgRelationTypeKey, OrgOrgRelationInfo orgOrgRelationInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
192 | 0 | return getNextDecorator().validateOrgOrgRelation(validationTypeKey, orgId, orgPeerId, orgOrgRelationTypeKey, orgOrgRelationInfo, contextInfo); |
193 | |
} |
194 | |
|
195 | |
@Override |
196 | |
public OrgOrgRelationInfo createOrgOrgRelation(String orgId, String orgPeerId, String orgOrgRelationTypeKey, OrgOrgRelationInfo orgOrgRelationInfo, ContextInfo contextInfo) throws DoesNotExistException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException { |
197 | 0 | return getNextDecorator().createOrgOrgRelation(orgId, orgPeerId, orgOrgRelationTypeKey, orgOrgRelationInfo, contextInfo); |
198 | |
} |
199 | |
|
200 | |
@Override |
201 | |
public OrgOrgRelationInfo updateOrgOrgRelation(String orgOrgRelationId, OrgOrgRelationInfo orgOrgRelationInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException { |
202 | 0 | return getNextDecorator().updateOrgOrgRelation(orgOrgRelationId, orgOrgRelationInfo, contextInfo); |
203 | |
} |
204 | |
|
205 | |
@Override |
206 | |
public StatusInfo deleteOrgOrgRelation(String orgOrgRelationId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
207 | 0 | return getNextDecorator().deleteOrgOrgRelation(orgOrgRelationId, contextInfo); |
208 | |
} |
209 | |
|
210 | |
@Override |
211 | |
public List<TypeInfo> getOrgPersonRelationTypes(ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
212 | 0 | return getNextDecorator().getOrgPersonRelationTypes(contextInfo); |
213 | |
} |
214 | |
|
215 | |
@Override |
216 | |
public List<TypeInfo> getOrgPersonRelationTypesForOrgType(String orgTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
217 | 0 | return getNextDecorator().getOrgPersonRelationTypesForOrgType(orgTypeKey, contextInfo); |
218 | |
} |
219 | |
|
220 | |
@Override |
221 | |
public Boolean hasOrgPersonRelation(String orgId, String personId, String orgPersonRelationTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
222 | 0 | return getNextDecorator().hasOrgPersonRelation(orgId, personId, orgPersonRelationTypeKey, contextInfo); |
223 | |
} |
224 | |
|
225 | |
@Override |
226 | |
public OrgPersonRelationInfo getOrgPersonRelation(String orgPersonRelationId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
227 | 0 | return getNextDecorator().getOrgPersonRelation(orgPersonRelationId, contextInfo); |
228 | |
} |
229 | |
|
230 | |
@Override |
231 | |
public List<OrgPersonRelationInfo> getOrgPersonRelationsByIds(List<String> orgPersonRelationIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
232 | 0 | return getNextDecorator().getOrgPersonRelationsByIds(orgPersonRelationIds, contextInfo); |
233 | |
} |
234 | |
|
235 | |
@Override |
236 | |
public List<String> getOrgPersonRelationIdsByType(String orgPersonRelationTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
237 | 0 | return getNextDecorator().getOrgPersonRelationIdsByType(orgPersonRelationTypeKey, contextInfo); |
238 | |
} |
239 | |
|
240 | |
@Override |
241 | |
public List<OrgPersonRelationInfo> getOrgPersonRelationsByOrg(String orgId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
242 | 0 | return getNextDecorator().getOrgPersonRelationsByOrg(orgId, contextInfo); |
243 | |
} |
244 | |
|
245 | |
@Override |
246 | |
public List<OrgPersonRelationInfo> getOrgPersonRelationsByTypeAndOrg(String orgPersonRelationTypeKey, String orgId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
247 | 0 | return getNextDecorator().getOrgPersonRelationsByTypeAndOrg(orgPersonRelationTypeKey, orgId, contextInfo); |
248 | |
} |
249 | |
|
250 | |
@Override |
251 | |
public List<OrgPersonRelationInfo> getOrgPersonRelationsByPerson(String personId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
252 | 0 | return getNextDecorator().getOrgPersonRelationsByPerson(personId, contextInfo); |
253 | |
} |
254 | |
|
255 | |
@Override |
256 | |
public List<OrgPersonRelationInfo> getOrgPersonRelationsByTypeAndPerson(String orgPersonRelationTypeKey, String personId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
257 | 0 | return getNextDecorator().getOrgPersonRelationsByTypeAndPerson(orgPersonRelationTypeKey, personId, contextInfo); |
258 | |
} |
259 | |
|
260 | |
@Override |
261 | |
public List<OrgPersonRelationInfo> getOrgPersonRelationsByOrgAndPerson(String orgId, String personId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
262 | 0 | return getNextDecorator().getOrgPersonRelationsByOrgAndPerson(orgId, personId, contextInfo); |
263 | |
} |
264 | |
|
265 | |
@Override |
266 | |
public List<OrgPersonRelationInfo> getOrgPersonRelationsByTypeAndOrgAndPerson(String orgPersonRelationTypeKey, String orgId, String personId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
267 | 0 | return getNextDecorator().getOrgPersonRelationsByTypeAndOrgAndPerson(orgPersonRelationTypeKey, orgId, personId, contextInfo); |
268 | |
} |
269 | |
|
270 | |
@Override |
271 | |
public List<String> searchForOrgPersonRelationIds(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
272 | 0 | return getNextDecorator().searchForOrgPersonRelationIds(criteria, contextInfo); |
273 | |
} |
274 | |
|
275 | |
@Override |
276 | |
public List<OrgPersonRelationInfo> searchForOrgPersonRelations(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
277 | 0 | return getNextDecorator().searchForOrgPersonRelations(criteria, contextInfo); |
278 | |
} |
279 | |
|
280 | |
@Override |
281 | |
public List<ValidationResultInfo> validateOrgPersonRelation(String validationTypeKey, String orgId, String personId, String orgPersonRelationTypeKey, OrgPersonRelationInfo orgPersonRelationInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
282 | 0 | return getNextDecorator().validateOrgPersonRelation(validationTypeKey, orgId, personId, orgPersonRelationTypeKey, orgPersonRelationInfo, contextInfo); |
283 | |
} |
284 | |
|
285 | |
@Override |
286 | |
public OrgPersonRelationInfo createOrgPersonRelation(String orgId, String personId, String orgPersonRelationTypeKey, OrgPersonRelationInfo orgPersonRelationInfo, ContextInfo contextInfo) throws DoesNotExistException, DataValidationErrorException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException { |
287 | 0 | return getNextDecorator().createOrgPersonRelation(orgId, personId, orgPersonRelationTypeKey, orgPersonRelationInfo, contextInfo); |
288 | |
} |
289 | |
|
290 | |
@Override |
291 | |
public OrgPersonRelationInfo updateOrgPersonRelation(String orgPersonRelationId, OrgPersonRelationInfo orgPersonRelationInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException { |
292 | 0 | return getNextDecorator().updateOrgPersonRelation(orgPersonRelationId, orgPersonRelationInfo, contextInfo); |
293 | |
} |
294 | |
|
295 | |
@Override |
296 | |
public StatusInfo deleteOrgPersonRelation(String orgPersonRelationId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
297 | 0 | return getNextDecorator().deleteOrgPersonRelation(orgPersonRelationId, contextInfo); |
298 | |
} |
299 | |
|
300 | |
@Override |
301 | |
public OrgPositionRestrictionInfo getOrgPositionRestriction(String orgPositionRestrictionId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
302 | 0 | return getNextDecorator().getOrgPositionRestriction(orgPositionRestrictionId, contextInfo); |
303 | |
} |
304 | |
|
305 | |
@Override |
306 | |
public List<OrgPositionRestrictionInfo> getOrgPositionRestrictionsByIds(List<String> orgPositionRestrictionIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
307 | 0 | return getNextDecorator().getOrgPositionRestrictionsByIds(orgPositionRestrictionIds, contextInfo); |
308 | |
} |
309 | |
|
310 | |
@Override |
311 | |
public List<String> getOrgPositionRestrictionIdsByType(String orgPersonRelationTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
312 | 0 | return getNextDecorator().getOrgPositionRestrictionIdsByType(orgPersonRelationTypeKey, contextInfo); |
313 | |
} |
314 | |
|
315 | |
@Override |
316 | |
public List<String> getOrgPositionRestrictionIdsByOrg(String orgId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
317 | 0 | return getNextDecorator().getOrgPositionRestrictionIdsByOrg(orgId, contextInfo); |
318 | |
} |
319 | |
|
320 | |
@Override |
321 | |
public List<String> searchForOrgPositionRestrictionIds(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
322 | 0 | return getNextDecorator().searchForOrgPositionRestrictionIds(criteria, contextInfo); |
323 | |
} |
324 | |
|
325 | |
@Override |
326 | |
public List<OrgPositionRestrictionInfo> searchForOrgPositionRestrictions(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
327 | 0 | return getNextDecorator().searchForOrgPositionRestrictions(criteria, contextInfo); |
328 | |
} |
329 | |
|
330 | |
@Override |
331 | |
public List<ValidationResultInfo> validateOrgPositionRestriction(String validationTypeKey, String orgId, String orgPersonRelationTypeKey, OrgPositionRestrictionInfo orgPositionRestrictionInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
332 | 0 | return getNextDecorator().validateOrgPositionRestriction(validationTypeKey, orgId, orgPersonRelationTypeKey, orgPositionRestrictionInfo, contextInfo); |
333 | |
} |
334 | |
|
335 | |
@Override |
336 | |
public OrgPositionRestrictionInfo createOrgPositionRestriction(String orgId, String orgPersonRelationTypeKey, OrgPositionRestrictionInfo orgPositionRestrictionInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException { |
337 | 0 | return getNextDecorator().createOrgPositionRestriction(orgId, orgPersonRelationTypeKey, orgPositionRestrictionInfo, contextInfo); |
338 | |
} |
339 | |
|
340 | |
@Override |
341 | |
public OrgPositionRestrictionInfo updateOrgPositionRestriction(String orgPositionRestrictionId, OrgPositionRestrictionInfo orgPositionRestrictionInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException { |
342 | 0 | return getNextDecorator().updateOrgPositionRestriction(orgPositionRestrictionId, orgPositionRestrictionInfo, contextInfo); |
343 | |
} |
344 | |
|
345 | |
@Override |
346 | |
public StatusInfo deleteOrgPositionRestriction(String orgPositionRestrictionId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
347 | 0 | return getNextDecorator().deleteOrgPositionRestriction(orgPositionRestrictionId, contextInfo); |
348 | |
} |
349 | |
|
350 | |
@Override |
351 | |
public Boolean isDescendant(String orgId, String descendantOrgId, String orgHierarchyId, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
352 | 0 | return getNextDecorator().isDescendant(orgId, descendantOrgId, orgHierarchyId, contextInfo); |
353 | |
} |
354 | |
|
355 | |
@Override |
356 | |
public List<String> getAllDescendants(String orgId, String orgHierarchyId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
357 | 0 | return getNextDecorator().getAllDescendants(orgId, orgHierarchyId, contextInfo); |
358 | |
} |
359 | |
|
360 | |
@Override |
361 | |
public List<String> getAllAncestors(String orgId, String orgHierarchyId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
362 | 0 | return getNextDecorator().getAllAncestors(orgId, orgHierarchyId, contextInfo); |
363 | |
} |
364 | |
|
365 | |
@Override |
366 | |
public List<OrgTreeInfo> getOrgTree(String rootOrgId, String orgHierarchyId, int maxLevels, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException { |
367 | 0 | return getNextDecorator().getOrgTree(rootOrgId, orgHierarchyId, maxLevels, contextInfo); |
368 | |
} |
369 | |
} |