1 package org.kuali.student.lum.statement.config.context;
2
3 import java.util.ArrayList;
4 import java.util.Arrays;
5 import java.util.Date;
6 import java.util.HashMap;
7 import java.util.List;
8 import java.util.Map;
9
10 import org.junit.Assert;
11 import org.junit.Before;
12 import org.junit.Test;
13 import org.kuali.student.common.dictionary.dto.ObjectStructureDefinition;
14 import org.kuali.student.common.dto.StatusInfo;
15 import org.kuali.student.common.exceptions.AlreadyExistsException;
16 import org.kuali.student.common.exceptions.CircularRelationshipException;
17 import org.kuali.student.common.exceptions.DataValidationErrorException;
18 import org.kuali.student.common.exceptions.DependentObjectsExistException;
19 import org.kuali.student.common.exceptions.DoesNotExistException;
20 import org.kuali.student.common.exceptions.IllegalVersionSequencingException;
21 import org.kuali.student.common.exceptions.InvalidParameterException;
22 import org.kuali.student.common.exceptions.MissingParameterException;
23 import org.kuali.student.common.exceptions.OperationFailedException;
24 import org.kuali.student.common.exceptions.PermissionDeniedException;
25 import org.kuali.student.common.exceptions.UnsupportedActionException;
26 import org.kuali.student.common.exceptions.VersionMismatchException;
27 import org.kuali.student.common.search.dto.SearchCriteriaTypeInfo;
28 import org.kuali.student.common.search.dto.SearchRequest;
29 import org.kuali.student.common.search.dto.SearchResult;
30 import org.kuali.student.common.search.dto.SearchResultTypeInfo;
31 import org.kuali.student.common.search.dto.SearchTypeInfo;
32 import org.kuali.student.common.validation.dto.ValidationResultInfo;
33 import org.kuali.student.common.versionmanagement.dto.VersionDisplayInfo;
34 import org.kuali.student.core.statement.dto.ReqCompFieldInfo;
35 import org.kuali.student.core.statement.dto.ReqComponentInfo;
36 import org.kuali.student.lum.lu.dto.CluCluRelationInfo;
37 import org.kuali.student.lum.lu.dto.CluIdentifierInfo;
38 import org.kuali.student.lum.lu.dto.CluInfo;
39 import org.kuali.student.lum.lu.dto.CluLoRelationInfo;
40 import org.kuali.student.lum.lu.dto.CluLoRelationTypeInfo;
41 import org.kuali.student.lum.lu.dto.CluPublicationInfo;
42 import org.kuali.student.lum.lu.dto.CluResultInfo;
43 import org.kuali.student.lum.lu.dto.CluResultTypeInfo;
44 import org.kuali.student.lum.lu.dto.CluSetInfo;
45 import org.kuali.student.lum.lu.dto.CluSetTreeViewInfo;
46 import org.kuali.student.lum.lu.dto.CluSetTypeInfo;
47 import org.kuali.student.lum.lu.dto.DeliveryMethodTypeInfo;
48 import org.kuali.student.lum.lu.dto.InstructionalFormatTypeInfo;
49 import org.kuali.student.lum.lu.dto.LuCodeTypeInfo;
50 import org.kuali.student.lum.lu.dto.LuLuRelationTypeInfo;
51 import org.kuali.student.lum.lu.dto.LuPublicationTypeInfo;
52 import org.kuali.student.lum.lu.dto.LuTypeInfo;
53 import org.kuali.student.lum.lu.dto.LuiInfo;
54 import org.kuali.student.lum.lu.dto.LuiLuiRelationInfo;
55 import org.kuali.student.lum.lu.dto.ResultUsageTypeInfo;
56 import org.kuali.student.lum.lu.service.LuService;
57 import org.kuali.student.lum.statement.config.context.util.NLCluSet;
58 import org.kuali.student.lum.statement.typekey.ReqComponentFieldTypes;
59
60 public class LuContextImplTest {
61
62 private LuService luService = new LuServiceMock();
63 private LuContextImpl luContext = new LuContextImpl();
64
65 private ReqComponentInfo reqComponent1;
66 private ReqComponentInfo reqComponent2;
67
68 private void setupReqComponent1() {
69 reqComponent1 = new ReqComponentInfo();
70 List<ReqCompFieldInfo> reqCompFieldList = new ArrayList<ReqCompFieldInfo>();
71 ReqCompFieldInfo reqCompField1 = new ReqCompFieldInfo();
72 reqCompField1.setType(ReqComponentFieldTypes.CLU_KEY.getId());
73 reqCompField1.setValue("CLU-NL-1");
74 reqCompFieldList.add(reqCompField1);
75 reqComponent1.setReqCompFields(reqCompFieldList);
76
77 ReqCompFieldInfo reqCompField2 = new ReqCompFieldInfo();
78 reqCompField2.setType(ReqComponentFieldTypes.COURSE_CLU_KEY.getId());
79 reqCompField2.setValue("CLU-NL-1");
80 reqCompFieldList.add(reqCompField2);
81 reqComponent1.setReqCompFields(reqCompFieldList);
82
83 ReqCompFieldInfo reqCompField3 = new ReqCompFieldInfo();
84 reqCompField3.setType(ReqComponentFieldTypes.PROGRAM_CLU_KEY.getId());
85 reqCompField3.setValue("CLU-NL-1");
86 reqCompFieldList.add(reqCompField3);
87 reqComponent1.setReqCompFields(reqCompFieldList);
88
89 ReqCompFieldInfo reqCompField4 = new ReqCompFieldInfo();
90 reqCompField4.setType(ReqComponentFieldTypes.TEST_CLU_KEY.getId());
91 reqCompField4.setValue("CLU-NL-1");
92 reqCompFieldList.add(reqCompField4);
93 reqComponent1.setReqCompFields(reqCompFieldList);
94
95 ReqCompFieldInfo reqCompField5 = new ReqCompFieldInfo();
96 reqCompField5.setType(ReqComponentFieldTypes.CLUSET_KEY.getId());
97 reqCompField5.setValue("CLUSET-NL-1");
98 reqCompFieldList.add(reqCompField5);
99 reqComponent1.setReqCompFields(reqCompFieldList);
100
101 ReqCompFieldInfo reqCompField6 = new ReqCompFieldInfo();
102 reqCompField6.setType(ReqComponentFieldTypes.COURSE_CLUSET_KEY.getId());
103 reqCompField6.setValue("CLUSET-NL-1");
104 reqCompFieldList.add(reqCompField6);
105 reqComponent1.setReqCompFields(reqCompFieldList);
106
107 ReqCompFieldInfo reqCompField7 = new ReqCompFieldInfo();
108 reqCompField7.setType(ReqComponentFieldTypes.PROGRAM_CLUSET_KEY.getId());
109 reqCompField7.setValue("CLUSET-NL-1");
110 reqCompFieldList.add(reqCompField7);
111 reqComponent1.setReqCompFields(reqCompFieldList);
112
113 ReqCompFieldInfo reqCompField8 = new ReqCompFieldInfo();
114 reqCompField8.setType(ReqComponentFieldTypes.TEST_CLUSET_KEY.getId());
115 reqCompField8.setValue("CLUSET-NL-1");
116 reqCompFieldList.add(reqCompField8);
117 reqComponent1.setReqCompFields(reqCompFieldList);
118 }
119
120 private void setupReqComponent2() {
121 reqComponent2 = new ReqComponentInfo();
122 List<ReqCompFieldInfo> reqCompFieldList = new ArrayList<ReqCompFieldInfo>();
123 ReqCompFieldInfo reqCompField1 = new ReqCompFieldInfo();
124 reqCompField1.setType(ReqComponentFieldTypes.CLU_KEY.getId());
125 reqCompField1.setValue(null);
126 reqCompFieldList.add(reqCompField1);
127 reqComponent2.setReqCompFields(reqCompFieldList);
128
129 ReqCompFieldInfo reqCompField2 = new ReqCompFieldInfo();
130 reqCompField2.setType(ReqComponentFieldTypes.COURSE_CLU_KEY.getId());
131 reqCompField2.setValue(null);
132 reqCompFieldList.add(reqCompField2);
133 reqComponent2.setReqCompFields(reqCompFieldList);
134
135 ReqCompFieldInfo reqCompField3 = new ReqCompFieldInfo();
136 reqCompField3.setType(ReqComponentFieldTypes.PROGRAM_CLU_KEY.getId());
137 reqCompField3.setValue(null);
138 reqCompFieldList.add(reqCompField3);
139 reqComponent2.setReqCompFields(reqCompFieldList);
140
141 ReqCompFieldInfo reqCompField4 = new ReqCompFieldInfo();
142 reqCompField4.setType(ReqComponentFieldTypes.TEST_CLU_KEY.getId());
143 reqCompField4.setValue(null);
144 reqCompFieldList.add(reqCompField4);
145 reqComponent2.setReqCompFields(reqCompFieldList);
146
147 ReqCompFieldInfo reqCompField5 = new ReqCompFieldInfo();
148 reqCompField5.setType(ReqComponentFieldTypes.CLUSET_KEY.getId());
149 reqCompField5.setValue(null);
150 reqCompFieldList.add(reqCompField5);
151 reqComponent2.setReqCompFields(reqCompFieldList);
152
153 ReqCompFieldInfo reqCompField6 = new ReqCompFieldInfo();
154 reqCompField6.setType(ReqComponentFieldTypes.COURSE_CLUSET_KEY.getId());
155 reqCompField6.setValue(null);
156 reqCompFieldList.add(reqCompField6);
157 reqComponent2.setReqCompFields(reqCompFieldList);
158
159 ReqCompFieldInfo reqCompField7 = new ReqCompFieldInfo();
160 reqCompField7.setType(ReqComponentFieldTypes.PROGRAM_CLUSET_KEY.getId());
161 reqCompField7.setValue(null);
162 reqCompFieldList.add(reqCompField7);
163 reqComponent2.setReqCompFields(reqCompFieldList);
164
165 ReqCompFieldInfo reqCompField8 = new ReqCompFieldInfo();
166 reqCompField8.setType(ReqComponentFieldTypes.TEST_CLUSET_KEY.getId());
167 reqCompField8.setValue(null);
168 reqCompFieldList.add(reqCompField8);
169 reqComponent2.setReqCompFields(reqCompFieldList);
170 }
171
172 @Before
173 public void beforeMethod() {
174 luContext.setLuService(luService);
175 setupReqComponent1();
176 setupReqComponent2();
177 }
178
179 @Test
180 public void testCreateContextMap_Clu() throws OperationFailedException {
181 Map<String, Object> contextMap = luContext.createContextMap(reqComponent1);
182 CluInfo clu = (CluInfo) contextMap.get(LuContextImpl.CLU_TOKEN);
183 CluInfo courseClu = (CluInfo) contextMap.get(LuContextImpl.COURSE_CLU_TOKEN);
184 CluInfo programClu = (CluInfo) contextMap.get(LuContextImpl.PROGRAM_CLU_TOKEN);
185 CluInfo testClu = (CluInfo) contextMap.get(LuContextImpl.TEST_CLU_TOKEN);
186
187 Assert.assertNotNull(contextMap);
188 Assert.assertEquals("CLU-NL-1", clu.getId());
189 Assert.assertEquals("CLU-NL-1", courseClu.getId());
190 Assert.assertEquals("CLU-NL-1", programClu.getId());
191 Assert.assertEquals("CLU-NL-1", testClu.getId());
192
193 Assert.assertEquals("kuali.lu.type.CreditCourse", clu.getType());
194 Assert.assertEquals("MATH 152", clu.getOfficialIdentifier().getShortName());
195 Assert.assertEquals("MATH 152 Linear Systems", clu.getOfficialIdentifier().getLongName());
196 }
197
198 @Test
199 public void testCreateContextMap_CluSet() throws OperationFailedException {
200 Map<String, Object> contextMap = luContext.createContextMap(reqComponent1);
201 NLCluSet cluSet = (NLCluSet) contextMap.get(LuContextImpl.CLU_SET_TOKEN);
202 NLCluSet courseCluSet = (NLCluSet) contextMap.get(LuContextImpl.COURSE_CLU_SET_TOKEN);
203 NLCluSet programCluSet = (NLCluSet) contextMap.get(LuContextImpl.PROGRAM_CLU_SET_TOKEN);
204 NLCluSet testCluSet = (NLCluSet) contextMap.get(LuContextImpl.TEST_CLU_SET_TOKEN);
205
206
207 Assert.assertNotNull(contextMap);
208 Assert.assertEquals("CLUSET-NL-1", cluSet.getCluSetId());
209 Assert.assertEquals("CLUSET-NL-1", courseCluSet.getCluSetId());
210 Assert.assertEquals("CLUSET-NL-1", programCluSet.getCluSetId());
211 Assert.assertEquals("CLUSET-NL-1", testCluSet.getCluSetId());
212
213 Assert.assertEquals("(MATH152, MATH180)", cluSet.getCluSetAsCode());
214 Assert.assertEquals("(MATH 152, MATH 180)", cluSet.getCluSetAsShortName());
215 Assert.assertEquals("(MATH 152 Linear Systems, MATH 180 Differential Calculus with Physical Applications)", cluSet.getCluSetAsLongName());
216
217 Assert.assertEquals("MATH152", cluSet.getCluAsCode(0));
218 Assert.assertEquals("MATH 152", cluSet.getCluAsShortName(0));
219 Assert.assertEquals("MATH180", cluSet.getCluAsCode(1));
220 Assert.assertEquals("MATH 180", cluSet.getCluAsShortName(1));
221 }
222
223 @Test
224 public void testCreateContextMap_NullTokenValues() throws OperationFailedException {
225 Map<String, Object> contextMap = luContext.createContextMap(reqComponent2);
226 CluInfo clu = (CluInfo) contextMap.get(LuContextImpl.CLU_TOKEN);
227 CluInfo courseClu = (CluInfo) contextMap.get(LuContextImpl.COURSE_CLU_TOKEN);
228 CluInfo programClu = (CluInfo) contextMap.get(LuContextImpl.PROGRAM_CLU_TOKEN);
229 CluInfo testClu = (CluInfo) contextMap.get(LuContextImpl.TEST_CLU_TOKEN);
230 NLCluSet cluSet = (NLCluSet) contextMap.get(LuContextImpl.CLU_SET_TOKEN);
231 NLCluSet courseCluSet = (NLCluSet) contextMap.get(LuContextImpl.COURSE_CLU_SET_TOKEN);
232 NLCluSet programCluSet = (NLCluSet) contextMap.get(LuContextImpl.PROGRAM_CLU_SET_TOKEN);
233 NLCluSet testCluSet = (NLCluSet) contextMap.get(LuContextImpl.TEST_CLU_SET_TOKEN);
234
235 Assert.assertNotNull(contextMap);
236 Assert.assertEquals(null, clu);
237 Assert.assertEquals(null, courseClu);
238 Assert.assertEquals(null, programClu);
239 Assert.assertEquals(null, testClu);
240 Assert.assertEquals(null, cluSet);
241 Assert.assertEquals(null, courseCluSet);
242 Assert.assertEquals(null, programCluSet);
243 Assert.assertEquals(null, testCluSet);
244
245 }
246
247 private static class LuServiceMock implements LuService {
248
249 private Map<String, CluInfo> cluMap = new HashMap<String, CluInfo>();
250 private Map<String, CluSetInfo> cluSetMap = new HashMap<String, CluSetInfo>();
251 private Map<String, CluSetTreeViewInfo> cluSetTreeViewMap = new HashMap<String, CluSetTreeViewInfo>();
252
253 public LuServiceMock() {
254 CluInfo clu1 = new CluInfo();
255 clu1.setId("CLU-NL-1");
256 clu1.setType("kuali.lu.type.CreditCourse");
257 CluIdentifierInfo cluIdent1 = new CluIdentifierInfo();
258 cluIdent1.setId("IDENT-NL-1");
259 cluIdent1.setCode("MATH152");
260 cluIdent1.setShortName("MATH 152");
261 cluIdent1.setLongName("MATH 152 Linear Systems");
262 clu1.setOfficialIdentifier(cluIdent1);
263 cluMap.put("CLU-NL-1", clu1);
264
265 CluInfo clu2 = new CluInfo();
266 clu2.setId("CLU-NL-3");
267 clu2.setType("kuali.lu.type.CreditCourse");
268 CluIdentifierInfo cluIdent2 = new CluIdentifierInfo();
269 cluIdent2.setId("IDENT-NL-3");
270 cluIdent2.setCode("MATH180");
271 cluIdent2.setShortName("MATH 180");
272 cluIdent2.setLongName("MATH 180 Differential Calculus with Physical Applications");
273 clu2.setOfficialIdentifier(cluIdent2);
274 cluMap.put("CLU-NL-3", clu1);
275
276 CluSetInfo cluSet = new CluSetInfo();
277 cluSet.setId("CLUSET-NL-1");
278 cluSet.setCluIds(Arrays.asList(new String[] {"CLU-NL-1", "CLU-NL-3"}));
279 cluSetMap.put("CLUSET-NL-1", cluSet);
280
281 CluSetTreeViewInfo treeView = new CluSetTreeViewInfo();
282 treeView.setClus(Arrays.asList(new CluInfo[] {clu1, clu2}));
283 cluSetTreeViewMap.put("CLUSET-NL-1", treeView);
284 }
285
286 @Override
287 public StatusInfo addCluResourceRequirement(String resourceTypeKey,
288 String cluId) throws AlreadyExistsException,
289 DoesNotExistException, InvalidParameterException,
290 MissingParameterException, OperationFailedException,
291 PermissionDeniedException {
292
293 return null;
294 }
295
296 @Override
297 public StatusInfo addCluSetToCluSet(String cluSetId,
298 String addedCluSetId) throws CircularRelationshipException,
299 DoesNotExistException, InvalidParameterException,
300 MissingParameterException, OperationFailedException,
301 PermissionDeniedException, UnsupportedActionException {
302
303 return null;
304 }
305
306 @Override
307 public StatusInfo addCluSetsToCluSet(String cluSetId,
308 List<String> addedCluSetIdList)
309 throws CircularRelationshipException, DoesNotExistException,
310 InvalidParameterException, MissingParameterException,
311 OperationFailedException, PermissionDeniedException,
312 UnsupportedActionException {
313
314 return null;
315 }
316
317 @Override
318 public StatusInfo addCluToCluSet(String cluId, String cluSetId)
319 throws DoesNotExistException, InvalidParameterException,
320 MissingParameterException, OperationFailedException,
321 PermissionDeniedException, UnsupportedActionException {
322
323 return null;
324 }
325
326 @Override
327 public StatusInfo addClusToCluSet(List<String> cluIdList,
328 String cluSetId) throws DoesNotExistException,
329 InvalidParameterException, MissingParameterException,
330 OperationFailedException, PermissionDeniedException,
331 UnsupportedActionException {
332
333 return null;
334 }
335
336 @Override
337 public CluInfo createClu(String luTypeKey, CluInfo cluInfo)
338 throws AlreadyExistsException, DataValidationErrorException,
339 DoesNotExistException, InvalidParameterException,
340 MissingParameterException, OperationFailedException,
341 PermissionDeniedException {
342
343 return null;
344 }
345
346 @Override
347 public CluCluRelationInfo createCluCluRelation(String cluId,
348 String relatedCluId, String luLuRelationTypeKey,
349 CluCluRelationInfo cluCluRelationInfo)
350 throws AlreadyExistsException, CircularRelationshipException,
351 DataValidationErrorException, DoesNotExistException,
352 InvalidParameterException, MissingParameterException,
353 OperationFailedException, PermissionDeniedException {
354
355 return null;
356 }
357
358 @Override
359 public CluLoRelationInfo createCluLoRelation(String cluId, String loId,
360 String cluLoRelationType, CluLoRelationInfo cluLoRelationInfo)
361 throws AlreadyExistsException, DoesNotExistException,
362 InvalidParameterException, MissingParameterException,
363 OperationFailedException, PermissionDeniedException,
364 DataValidationErrorException {
365
366 return null;
367 }
368
369 @Override
370 public CluPublicationInfo createCluPublication(String cluId,
371 String luPublicationType, CluPublicationInfo cluPublicationInfo)
372 throws AlreadyExistsException, DataValidationErrorException,
373 InvalidParameterException, MissingParameterException,
374 OperationFailedException, PermissionDeniedException {
375
376 return null;
377 }
378
379 @Override
380 public CluResultInfo createCluResult(String cluId,
381 String cluResultType, CluResultInfo cluResultInfo)
382 throws AlreadyExistsException, DataValidationErrorException,
383 InvalidParameterException, MissingParameterException,
384 OperationFailedException, PermissionDeniedException,
385 DoesNotExistException {
386
387 return null;
388 }
389
390 @Override
391 public CluSetInfo createCluSet(String cluSetType, CluSetInfo cluSetInfo)
392 throws AlreadyExistsException, DataValidationErrorException,
393 InvalidParameterException, MissingParameterException,
394 OperationFailedException, PermissionDeniedException,
395 UnsupportedActionException {
396
397 return null;
398 }
399
400 @Override
401 public LuiInfo createLui(String cluId, String atpKey, LuiInfo luiInfo)
402 throws AlreadyExistsException, DataValidationErrorException,
403 DoesNotExistException, InvalidParameterException,
404 MissingParameterException, OperationFailedException,
405 PermissionDeniedException {
406
407 return null;
408 }
409
410 @Override
411 public LuiLuiRelationInfo createLuiLuiRelation(String luiId,
412 String relatedLuiId, String luLuRelationType,
413 LuiLuiRelationInfo luiLuiRelationInfo)
414 throws AlreadyExistsException, CircularRelationshipException,
415 DataValidationErrorException, DoesNotExistException,
416 InvalidParameterException, MissingParameterException,
417 OperationFailedException, PermissionDeniedException {
418
419 return null;
420 }
421
422 @Override
423 public StatusInfo deleteClu(String cluId) throws DoesNotExistException,
424 InvalidParameterException, MissingParameterException,
425 DependentObjectsExistException, OperationFailedException,
426 PermissionDeniedException {
427
428 return null;
429 }
430
431 @Override
432 public StatusInfo deleteCluCluRelation(String cluCluRelationId)
433 throws DoesNotExistException, InvalidParameterException,
434 MissingParameterException, OperationFailedException,
435 PermissionDeniedException {
436
437 return null;
438 }
439
440 @Override
441 public StatusInfo deleteCluLoRelation(String cluLoRelationId)
442 throws DoesNotExistException, InvalidParameterException,
443 MissingParameterException, OperationFailedException,
444 PermissionDeniedException {
445
446 return null;
447 }
448
449 @Override
450 public StatusInfo deleteCluPublication(String cluPublicationId)
451 throws DoesNotExistException, InvalidParameterException,
452 MissingParameterException, DependentObjectsExistException,
453 OperationFailedException, PermissionDeniedException {
454
455 return null;
456 }
457
458 @Override
459 public StatusInfo deleteCluResult(String cluResultId)
460 throws DoesNotExistException, InvalidParameterException,
461 MissingParameterException, DependentObjectsExistException,
462 OperationFailedException, PermissionDeniedException {
463
464 return null;
465 }
466
467 @Override
468 public StatusInfo deleteCluSet(String cluSetId)
469 throws DoesNotExistException, InvalidParameterException,
470 MissingParameterException, OperationFailedException,
471 PermissionDeniedException {
472
473 return null;
474 }
475
476 @Override
477 public StatusInfo deleteLui(String luiId)
478 throws DependentObjectsExistException, DoesNotExistException,
479 InvalidParameterException, MissingParameterException,
480 OperationFailedException, PermissionDeniedException {
481
482 return null;
483 }
484
485 @Override
486 public StatusInfo deleteLuiLuiRelation(String luiLuiRelationId)
487 throws DoesNotExistException, InvalidParameterException,
488 MissingParameterException, OperationFailedException,
489 PermissionDeniedException {
490
491 return null;
492 }
493
494 @Override
495 public List<String> getAllCluIdsInCluSet(String cluSetId)
496 throws DoesNotExistException, InvalidParameterException,
497 MissingParameterException, OperationFailedException,
498 PermissionDeniedException {
499
500 return null;
501 }
502
503 @Override
504 public List<CluInfo> getAllClusInCluSet(String cluSetId)
505 throws DoesNotExistException, InvalidParameterException,
506 MissingParameterException, OperationFailedException,
507 PermissionDeniedException {
508
509 return null;
510 }
511
512 @Override
513 public List<String> getAllowedCluLoRelationTypesForLuType(
514 String luTypeKey) throws DoesNotExistException,
515 InvalidParameterException, MissingParameterException,
516 OperationFailedException {
517
518 return null;
519 }
520
521 @Override
522 public List<String> getAllowedLuLuRelationTypesByCluId(String cluId,
523 String relatedCluId) throws DoesNotExistException,
524 InvalidParameterException, MissingParameterException,
525 OperationFailedException {
526
527 return null;
528 }
529
530 @Override
531 public List<String> getAllowedLuLuRelationTypesByLuiId(String luiId,
532 String relatedLuiId) throws DoesNotExistException,
533 InvalidParameterException, MissingParameterException,
534 OperationFailedException {
535
536 return null;
537 }
538
539 @Override
540 public List<String> getAllowedLuLuRelationTypesForLuType(
541 String luTypeKey, String relatedLuTypeKey)
542 throws DoesNotExistException, InvalidParameterException,
543 MissingParameterException, OperationFailedException {
544
545 return null;
546 }
547
548 @Override
549 public List<String> getAllowedResultComponentTypesForResultUsageType(
550 String resultUsageTypeKey) throws DoesNotExistException,
551 InvalidParameterException, MissingParameterException,
552 OperationFailedException {
553
554 return null;
555 }
556
557 @Override
558 public List<String> getAllowedResultUsageTypesForLuType(String luTypeKey)
559 throws DoesNotExistException, InvalidParameterException,
560 MissingParameterException, OperationFailedException {
561
562 return null;
563 }
564
565 @Override
566 public CluInfo getClu(String cluId) throws DoesNotExistException,
567 InvalidParameterException, MissingParameterException,
568 OperationFailedException {
569 return cluMap.get(cluId);
570 }
571
572 @Override
573 public CluCluRelationInfo getCluCluRelation(String cluCluRelationId)
574 throws DoesNotExistException, InvalidParameterException,
575 MissingParameterException, OperationFailedException {
576
577 return null;
578 }
579
580 @Override
581 public List<CluCluRelationInfo> getCluCluRelationsByClu(String cluId)
582 throws DoesNotExistException, InvalidParameterException,
583 MissingParameterException, OperationFailedException {
584
585 return null;
586 }
587
588 @Override
589 public List<String> getCluIdsByLuType(String luTypeKey, String luState)
590 throws DoesNotExistException, InvalidParameterException,
591 MissingParameterException, OperationFailedException {
592
593 return null;
594 }
595
596 @Override
597 public List<String> getCluIdsByRelation(String relatedCluId,
598 String luLuRelationType) throws DoesNotExistException,
599 InvalidParameterException, MissingParameterException,
600 OperationFailedException {
601
602 return null;
603 }
604
605 @Override
606 public List<String> getCluIdsByResultComponent(String resultComponentId)
607 throws DoesNotExistException, InvalidParameterException,
608 MissingParameterException, OperationFailedException {
609
610 return null;
611 }
612
613 @Override
614 public List<String> getCluIdsByResultUsageType(String resultUsageTypeKey)
615 throws DoesNotExistException, InvalidParameterException,
616 MissingParameterException, OperationFailedException {
617
618 return null;
619 }
620
621 @Override
622 public List<String> getCluIdsFromCluSet(String cluSetId)
623 throws DoesNotExistException, InvalidParameterException,
624 MissingParameterException, OperationFailedException,
625 PermissionDeniedException {
626
627 return null;
628 }
629
630 @Override
631 public CluLoRelationInfo getCluLoRelation(String cluLoRelationId)
632 throws DoesNotExistException, InvalidParameterException,
633 MissingParameterException, OperationFailedException,
634 PermissionDeniedException {
635
636 return null;
637 }
638
639 @Override
640 public CluLoRelationTypeInfo getCluLoRelationType(
641 String cluLoRelationTypeKey) throws DoesNotExistException,
642 InvalidParameterException, MissingParameterException,
643 OperationFailedException {
644
645 return null;
646 }
647
648 @Override
649 public List<CluLoRelationTypeInfo> getCluLoRelationTypes()
650 throws OperationFailedException {
651
652 return null;
653 }
654
655 @Override
656 public List<CluLoRelationInfo> getCluLoRelationsByClu(String cluId)
657 throws DoesNotExistException, InvalidParameterException,
658 MissingParameterException, OperationFailedException {
659
660 return null;
661 }
662
663 @Override
664 public List<CluLoRelationInfo> getCluLoRelationsByLo(String loId)
665 throws DoesNotExistException, InvalidParameterException,
666 MissingParameterException, OperationFailedException {
667
668 return null;
669 }
670
671 @Override
672 public CluPublicationInfo getCluPublication(String cluPublicationId)
673 throws DoesNotExistException, InvalidParameterException,
674 MissingParameterException, OperationFailedException {
675
676 return null;
677 }
678
679 @Override
680 public List<CluPublicationInfo> getCluPublicationsByCluId(String cluId)
681 throws DoesNotExistException, InvalidParameterException,
682 MissingParameterException, OperationFailedException {
683
684 return null;
685 }
686
687 @Override
688 public List<CluPublicationInfo> getCluPublicationsByType(
689 String luPublicationTypeKey) throws DoesNotExistException,
690 InvalidParameterException, MissingParameterException,
691 OperationFailedException {
692
693 return null;
694 }
695
696 @Override
697 public CluResultInfo getCluResult(String cluResultId)
698 throws DoesNotExistException, InvalidParameterException,
699 MissingParameterException, OperationFailedException {
700
701 return null;
702 }
703
704 @Override
705 public List<CluResultInfo> getCluResultByClu(String cluId)
706 throws DoesNotExistException, InvalidParameterException,
707 MissingParameterException, OperationFailedException {
708
709 return null;
710 }
711
712 @Override
713 public CluResultTypeInfo getCluResultType(String cluResultTypeKey)
714 throws DoesNotExistException, InvalidParameterException,
715 MissingParameterException, OperationFailedException {
716
717 return null;
718 }
719
720 @Override
721 public List<CluResultTypeInfo> getCluResultTypes()
722 throws OperationFailedException {
723
724 return null;
725 }
726
727 @Override
728 public List<CluResultTypeInfo> getCluResultTypesForLuType(
729 String luTypeKey) throws DoesNotExistException,
730 InvalidParameterException, MissingParameterException,
731 OperationFailedException {
732
733 return null;
734 }
735
736 @Override
737 public List<String> getCluSetIdsFromCluSet(String cluSetId)
738 throws DoesNotExistException, InvalidParameterException,
739 MissingParameterException, OperationFailedException,
740 PermissionDeniedException {
741
742 return null;
743 }
744
745 @Override
746 public CluSetInfo getCluSetInfo(String cluSetId)
747 throws DoesNotExistException, InvalidParameterException,
748 MissingParameterException, OperationFailedException,
749 PermissionDeniedException {
750 return cluSetMap.get(cluSetId);
751 }
752
753 @Override
754 public List<CluSetInfo> getCluSetInfoByIdList(List<String> cluSetIdList)
755 throws DoesNotExistException, InvalidParameterException,
756 MissingParameterException, OperationFailedException,
757 PermissionDeniedException {
758
759 return null;
760 }
761
762 @Override
763 public CluSetTreeViewInfo getCluSetTreeView(String cluSetId)
764 throws DoesNotExistException, InvalidParameterException,
765 MissingParameterException, OperationFailedException,
766 PermissionDeniedException {
767
768 return cluSetTreeViewMap.get(cluSetId);
769 }
770
771 @Override
772 public CluSetTypeInfo getCluSetType(String cluSetTypeKey)
773 throws DoesNotExistException, InvalidParameterException,
774 MissingParameterException, OperationFailedException {
775
776 return null;
777 }
778
779 @Override
780 public List<CluSetTypeInfo> getCluSetTypes()
781 throws OperationFailedException {
782
783 return null;
784 }
785
786 @Override
787 public List<CluInfo> getClusByIdList(List<String> cluIdList)
788 throws DoesNotExistException, InvalidParameterException,
789 MissingParameterException, OperationFailedException {
790
791 return null;
792 }
793
794 @Override
795 public List<CluInfo> getClusByLuType(String luTypeKey, String luState)
796 throws DoesNotExistException, InvalidParameterException,
797 MissingParameterException, OperationFailedException {
798
799 return null;
800 }
801
802 @Override
803 public List<CluInfo> getClusByRelation(String relatedCluId,
804 String luLuRelationType) throws DoesNotExistException,
805 InvalidParameterException, MissingParameterException,
806 OperationFailedException {
807
808 return null;
809 }
810
811 @Override
812 public List<CluInfo> getClusFromCluSet(String cluSetId)
813 throws DoesNotExistException, InvalidParameterException,
814 MissingParameterException, OperationFailedException,
815 PermissionDeniedException {
816
817 return null;
818 }
819
820 @Override
821 public DeliveryMethodTypeInfo getDeliveryMethodType(
822 String deliveryMethodTypeKey) throws DoesNotExistException,
823 InvalidParameterException, MissingParameterException,
824 OperationFailedException {
825
826 return null;
827 }
828
829 @Override
830 public List<DeliveryMethodTypeInfo> getDeliveryMethodTypes()
831 throws OperationFailedException {
832
833 return null;
834 }
835
836 @Override
837 public InstructionalFormatTypeInfo getInstructionalFormatType(
838 String instructionalFormatTypeKey)
839 throws DoesNotExistException, InvalidParameterException,
840 MissingParameterException, OperationFailedException {
841
842 return null;
843 }
844
845 @Override
846 public List<InstructionalFormatTypeInfo> getInstructionalFormatTypes()
847 throws OperationFailedException {
848
849 return null;
850 }
851
852 @Override
853 public LuCodeTypeInfo getLuCodeType(String luCodeTypeKey)
854 throws DoesNotExistException, InvalidParameterException,
855 MissingParameterException, OperationFailedException {
856
857 return null;
858 }
859
860 @Override
861 public List<LuCodeTypeInfo> getLuCodeTypes()
862 throws OperationFailedException {
863
864 return null;
865 }
866
867 @Override
868 public LuLuRelationTypeInfo getLuLuRelationType(
869 String luLuRelationTypeKey) throws OperationFailedException,
870 MissingParameterException, DoesNotExistException {
871
872 return null;
873 }
874
875 @Override
876 public List<LuLuRelationTypeInfo> getLuLuRelationTypes()
877 throws OperationFailedException {
878
879 return null;
880 }
881
882 @Override
883 public LuPublicationTypeInfo getLuPublicationType(
884 String luPublicationTypeKey) throws DoesNotExistException,
885 InvalidParameterException, MissingParameterException,
886 OperationFailedException {
887
888 return null;
889 }
890
891 @Override
892 public List<LuPublicationTypeInfo> getLuPublicationTypes()
893 throws OperationFailedException {
894
895 return null;
896 }
897
898 @Override
899 public List<String> getLuPublicationTypesForLuType(String luTypeKey)
900 throws DoesNotExistException, InvalidParameterException,
901 MissingParameterException, OperationFailedException {
902
903 return null;
904 }
905
906 @Override
907 public LuTypeInfo getLuType(String luTypeKey)
908 throws DoesNotExistException, InvalidParameterException,
909 MissingParameterException, OperationFailedException {
910
911 return null;
912 }
913
914 @Override
915 public List<LuTypeInfo> getLuTypes() throws OperationFailedException {
916
917 return null;
918 }
919
920 @Override
921 public LuiInfo getLui(String luiId) throws DoesNotExistException,
922 InvalidParameterException, MissingParameterException,
923 OperationFailedException {
924
925 return null;
926 }
927
928 @Override
929 public List<String> getLuiIdsByCluId(String cluId)
930 throws DoesNotExistException, InvalidParameterException,
931 MissingParameterException, OperationFailedException {
932
933 return null;
934 }
935
936 @Override
937 public List<String> getLuiIdsByRelation(String relatedLuiId,
938 String luLuRelationType) throws DoesNotExistException,
939 InvalidParameterException, MissingParameterException,
940 OperationFailedException {
941
942 return null;
943 }
944
945 @Override
946 public List<String> getLuiIdsInAtpByCluId(String cluId, String atpKey)
947 throws DoesNotExistException, InvalidParameterException,
948 MissingParameterException, OperationFailedException {
949
950 return null;
951 }
952
953 @Override
954 public LuiLuiRelationInfo getLuiLuiRelation(String luiLuiRelationId)
955 throws DoesNotExistException, InvalidParameterException,
956 MissingParameterException, OperationFailedException {
957
958 return null;
959 }
960
961 @Override
962 public List<LuiLuiRelationInfo> getLuiLuiRelationsByLui(String luiId)
963 throws DoesNotExistException, InvalidParameterException,
964 MissingParameterException, OperationFailedException {
965
966 return null;
967 }
968
969 @Override
970 public List<LuiInfo> getLuisByIdList(List<String> luiIdList)
971 throws DoesNotExistException, InvalidParameterException,
972 MissingParameterException, OperationFailedException {
973
974 return null;
975 }
976
977 @Override
978 public List<LuiInfo> getLuisByRelation(String relatedLuiId,
979 String luLuRelationType) throws DoesNotExistException,
980 InvalidParameterException, MissingParameterException,
981 OperationFailedException {
982
983 return null;
984 }
985
986 @Override
987 public List<LuiInfo> getLuisInAtpByCluId(String cluId, String atpKey)
988 throws DoesNotExistException, InvalidParameterException,
989 MissingParameterException, OperationFailedException {
990
991 return null;
992 }
993
994 @Override
995 public List<String> getRelatedCluIdsByCluId(String cluId,
996 String luLuRelationType) throws DoesNotExistException,
997 InvalidParameterException, MissingParameterException,
998 OperationFailedException {
999
1000 return null;
1001 }
1002
1003 @Override
1004 public List<CluInfo> getRelatedClusByCluId(String cluId,
1005 String luLuRelationType) throws DoesNotExistException,
1006 InvalidParameterException, MissingParameterException,
1007 OperationFailedException {
1008
1009 return null;
1010 }
1011
1012 @Override
1013 public List<String> getRelatedLuiIdsByLuiId(String luiId,
1014 String luLuRelationType) throws DoesNotExistException,
1015 InvalidParameterException, MissingParameterException,
1016 OperationFailedException {
1017
1018 return null;
1019 }
1020
1021 @Override
1022 public List<LuiInfo> getRelatedLuisByLuiId(String luiId,
1023 String luLuRelationType) throws DoesNotExistException,
1024 InvalidParameterException, MissingParameterException,
1025 OperationFailedException {
1026
1027 return null;
1028 }
1029
1030 @Override
1031 public List<String> getResourceRequirementsForCluId(String cluId)
1032 throws DoesNotExistException, InvalidParameterException,
1033 MissingParameterException, OperationFailedException {
1034
1035 return null;
1036 }
1037
1038 @Override
1039 public ResultUsageTypeInfo getResultUsageType(String resultUsageTypeKey)
1040 throws DoesNotExistException, InvalidParameterException,
1041 MissingParameterException, OperationFailedException {
1042
1043 return null;
1044 }
1045
1046 @Override
1047 public List<ResultUsageTypeInfo> getResultUsageTypes()
1048 throws OperationFailedException {
1049
1050 return null;
1051 }
1052
1053 @Override
1054 public Boolean isCluInCluSet(String cluId, String cluSetId)
1055 throws DoesNotExistException, InvalidParameterException,
1056 MissingParameterException, OperationFailedException,
1057 PermissionDeniedException {
1058
1059 return null;
1060 }
1061
1062 @Override
1063 public Boolean isCluSetDynamic(String cluSetId)
1064 throws DoesNotExistException, InvalidParameterException,
1065 MissingParameterException, OperationFailedException,
1066 PermissionDeniedException {
1067
1068 return null;
1069 }
1070
1071 @Override
1072 public StatusInfo removeCluFromCluSet(String cluId, String cluSetId)
1073 throws DoesNotExistException, InvalidParameterException,
1074 MissingParameterException, OperationFailedException,
1075 PermissionDeniedException, UnsupportedActionException {
1076
1077 return null;
1078 }
1079
1080 @Override
1081 public StatusInfo removeCluResourceRequirement(String resourceTypeKey,
1082 String cluId) throws DoesNotExistException,
1083 InvalidParameterException, MissingParameterException,
1084 OperationFailedException, PermissionDeniedException {
1085
1086 return null;
1087 }
1088
1089 @Override
1090 public StatusInfo removeCluSetFromCluSet(String cluSetId,
1091 String removedCluSetId) throws DoesNotExistException,
1092 InvalidParameterException, MissingParameterException,
1093 OperationFailedException, PermissionDeniedException,
1094 UnsupportedActionException {
1095
1096 return null;
1097 }
1098
1099 @Override
1100 public CluInfo updateClu(String cluId, CluInfo cluInfo)
1101 throws DataValidationErrorException, DoesNotExistException,
1102 InvalidParameterException, MissingParameterException,
1103 OperationFailedException, PermissionDeniedException,
1104 VersionMismatchException {
1105
1106 return null;
1107 }
1108
1109 @Override
1110 public CluCluRelationInfo updateCluCluRelation(String cluCluRelationId,
1111 CluCluRelationInfo cluCluRelationInfo)
1112 throws DataValidationErrorException, DoesNotExistException,
1113 InvalidParameterException, MissingParameterException,
1114 OperationFailedException, PermissionDeniedException,
1115 VersionMismatchException {
1116
1117 return null;
1118 }
1119
1120 @Override
1121 public CluLoRelationInfo updateCluLoRelation(String cluLoRelationId,
1122 CluLoRelationInfo cluLoRelationInfo)
1123 throws DataValidationErrorException, DoesNotExistException,
1124 InvalidParameterException, MissingParameterException,
1125 OperationFailedException, PermissionDeniedException,
1126 VersionMismatchException {
1127
1128 return null;
1129 }
1130
1131 @Override
1132 public CluPublicationInfo updateCluPublication(String cluPublicationId,
1133 CluPublicationInfo cluPublicationInfo)
1134 throws DataValidationErrorException, DoesNotExistException,
1135 InvalidParameterException, MissingParameterException,
1136 OperationFailedException, PermissionDeniedException,
1137 VersionMismatchException {
1138
1139 return null;
1140 }
1141
1142 @Override
1143 public CluResultInfo updateCluResult(String cluResultId,
1144 CluResultInfo cluResultInfo)
1145 throws DataValidationErrorException, DoesNotExistException,
1146 InvalidParameterException, MissingParameterException,
1147 OperationFailedException, PermissionDeniedException,
1148 VersionMismatchException {
1149
1150 return null;
1151 }
1152
1153 @Override
1154 public CluSetInfo updateCluSet(String cluSetId, CluSetInfo cluSetInfo)
1155 throws DataValidationErrorException, DoesNotExistException,
1156 InvalidParameterException, MissingParameterException,
1157 OperationFailedException, PermissionDeniedException,
1158 VersionMismatchException, UnsupportedActionException,
1159 CircularRelationshipException {
1160
1161 return null;
1162 }
1163
1164 @Override
1165 public CluInfo updateCluState(String cluId, String luState)
1166 throws DataValidationErrorException, DoesNotExistException,
1167 InvalidParameterException, MissingParameterException,
1168 OperationFailedException, PermissionDeniedException {
1169
1170 return null;
1171 }
1172
1173 @Override
1174 public LuiInfo updateLui(String luiId, LuiInfo luiInfo)
1175 throws DataValidationErrorException, DoesNotExistException,
1176 InvalidParameterException, MissingParameterException,
1177 OperationFailedException, PermissionDeniedException,
1178 VersionMismatchException {
1179
1180 return null;
1181 }
1182
1183 @Override
1184 public LuiLuiRelationInfo updateLuiLuiRelation(String luiLuiRelationId,
1185 LuiLuiRelationInfo luiLuiRelationInfo)
1186 throws DataValidationErrorException, DoesNotExistException,
1187 InvalidParameterException, MissingParameterException,
1188 OperationFailedException, PermissionDeniedException,
1189 VersionMismatchException {
1190
1191 return null;
1192 }
1193
1194 @Override
1195 public LuiInfo updateLuiState(String luiId, String luState)
1196 throws DataValidationErrorException, DoesNotExistException,
1197 InvalidParameterException, MissingParameterException,
1198 OperationFailedException, PermissionDeniedException {
1199
1200 return null;
1201 }
1202
1203 @Override
1204 public List<ValidationResultInfo> validateClu(String validationType,
1205 CluInfo cluInfo) throws DoesNotExistException,
1206 InvalidParameterException, MissingParameterException,
1207 OperationFailedException {
1208
1209 return null;
1210 }
1211
1212 @Override
1213 public List<ValidationResultInfo> validateCluCluRelation(
1214 String validationType, CluCluRelationInfo cluCluRelationInfo)
1215 throws DoesNotExistException, InvalidParameterException,
1216 MissingParameterException, OperationFailedException {
1217
1218 return null;
1219 }
1220
1221 @Override
1222 public List<ValidationResultInfo> validateCluLoRelation(
1223 String validationType, CluLoRelationInfo cluLoRelationInfo)
1224 throws DoesNotExistException, InvalidParameterException,
1225 MissingParameterException, OperationFailedException {
1226
1227 return null;
1228 }
1229
1230 @Override
1231 public List<ValidationResultInfo> validateCluPublication(
1232 String validationType, CluPublicationInfo cluPublicationInfo)
1233 throws DoesNotExistException, InvalidParameterException,
1234 MissingParameterException, OperationFailedException {
1235
1236 return null;
1237 }
1238
1239 @Override
1240 public List<ValidationResultInfo> validateCluResult(
1241 String validationType, CluResultInfo cluResultInfo)
1242 throws DoesNotExistException, InvalidParameterException,
1243 MissingParameterException, OperationFailedException {
1244
1245 return null;
1246 }
1247
1248 @Override
1249 public List<ValidationResultInfo> validateCluSet(String validationType,
1250 CluSetInfo cluSetInfo) throws DoesNotExistException,
1251 InvalidParameterException, MissingParameterException,
1252 OperationFailedException {
1253
1254 return null;
1255 }
1256
1257 @Override
1258 public List<ValidationResultInfo> validateLui(String validationType,
1259 LuiInfo luiInfo) throws DoesNotExistException,
1260 InvalidParameterException, MissingParameterException,
1261 OperationFailedException {
1262
1263 return null;
1264 }
1265
1266 @Override
1267 public List<ValidationResultInfo> validateLuiLuiRelation(
1268 String validationType, LuiLuiRelationInfo luiLuiRelationInfo)
1269 throws DoesNotExistException, InvalidParameterException,
1270 MissingParameterException, OperationFailedException {
1271
1272 return null;
1273 }
1274
1275 @Override
1276 public ObjectStructureDefinition getObjectStructure(String objectTypeKey) {
1277
1278 return null;
1279 }
1280
1281 @Override
1282 public List<String> getObjectTypes() {
1283
1284 return null;
1285 }
1286
1287 @Override
1288 public SearchCriteriaTypeInfo getSearchCriteriaType(
1289 String searchCriteriaTypeKey) throws DoesNotExistException,
1290 InvalidParameterException, MissingParameterException,
1291 OperationFailedException {
1292
1293 return null;
1294 }
1295
1296 @Override
1297 public List<SearchCriteriaTypeInfo> getSearchCriteriaTypes()
1298 throws OperationFailedException {
1299
1300 return null;
1301 }
1302
1303 @Override
1304 public SearchResultTypeInfo getSearchResultType(
1305 String searchResultTypeKey) throws DoesNotExistException,
1306 InvalidParameterException, MissingParameterException,
1307 OperationFailedException {
1308
1309 return null;
1310 }
1311
1312 @Override
1313 public List<SearchResultTypeInfo> getSearchResultTypes()
1314 throws OperationFailedException {
1315
1316 return null;
1317 }
1318
1319 @Override
1320 public SearchTypeInfo getSearchType(String searchTypeKey)
1321 throws DoesNotExistException, InvalidParameterException,
1322 MissingParameterException, OperationFailedException {
1323
1324 return null;
1325 }
1326
1327 @Override
1328 public List<SearchTypeInfo> getSearchTypes()
1329 throws OperationFailedException {
1330
1331 return null;
1332 }
1333
1334 @Override
1335 public List<SearchTypeInfo> getSearchTypesByCriteria(
1336 String searchCriteriaTypeKey) throws DoesNotExistException,
1337 InvalidParameterException, MissingParameterException,
1338 OperationFailedException {
1339
1340 return null;
1341 }
1342
1343 @Override
1344 public List<SearchTypeInfo> getSearchTypesByResult(
1345 String searchResultTypeKey) throws DoesNotExistException,
1346 InvalidParameterException, MissingParameterException,
1347 OperationFailedException {
1348
1349 return null;
1350 }
1351
1352 @Override
1353 public SearchResult search(SearchRequest searchRequest)
1354 throws MissingParameterException {
1355
1356 return null;
1357 }
1358
1359 @Override
1360 public CluInfo createNewCluVersion(String cluId, String versionComment)
1361 throws DataValidationErrorException, DoesNotExistException,
1362 InvalidParameterException, MissingParameterException,
1363 OperationFailedException, PermissionDeniedException,
1364 VersionMismatchException {
1365
1366 return null;
1367 }
1368
1369 @Override
1370 public StatusInfo setCurrentCluVersion(String cluVersionId,
1371 Date currentVersionStart) throws DoesNotExistException,
1372 InvalidParameterException, MissingParameterException,
1373 IllegalVersionSequencingException, OperationFailedException,
1374 PermissionDeniedException {
1375
1376 return null;
1377 }
1378
1379 @Override
1380 public VersionDisplayInfo getCurrentVersion(String refObjectTypeURI,
1381 String refObjectId) throws DoesNotExistException,
1382 InvalidParameterException, MissingParameterException,
1383 OperationFailedException, PermissionDeniedException {
1384 VersionDisplayInfo versionInfo = new VersionDisplayInfo();
1385 versionInfo.setId(refObjectId);
1386 return versionInfo;
1387 }
1388
1389 @Override
1390 public VersionDisplayInfo getCurrentVersionOnDate(
1391 String refObjectTypeURI, String refObjectId, Date date)
1392 throws DoesNotExistException, InvalidParameterException,
1393 MissingParameterException, OperationFailedException,
1394 PermissionDeniedException {
1395
1396 return null;
1397 }
1398
1399 @Override
1400 public VersionDisplayInfo getFirstVersion(String refObjectTypeURI,
1401 String refObjectId) throws DoesNotExistException,
1402 InvalidParameterException, MissingParameterException,
1403 OperationFailedException, PermissionDeniedException {
1404
1405 return null;
1406 }
1407
1408 @Override
1409 public VersionDisplayInfo getLatestVersion(String refObjectTypeURI,
1410 String refObjectId) throws DoesNotExistException,
1411 InvalidParameterException, MissingParameterException,
1412 OperationFailedException, PermissionDeniedException {
1413
1414 return null;
1415 }
1416
1417 @Override
1418 public VersionDisplayInfo getVersionBySequenceNumber(
1419 String refObjectTypeURI, String refObjectId, Long sequence)
1420 throws DoesNotExistException, InvalidParameterException,
1421 MissingParameterException, OperationFailedException,
1422 PermissionDeniedException {
1423
1424 return null;
1425 }
1426
1427 @Override
1428 public List<VersionDisplayInfo> getVersions(String refObjectTypeURI,
1429 String refObjectId) throws DoesNotExistException,
1430 InvalidParameterException, MissingParameterException,
1431 OperationFailedException, PermissionDeniedException {
1432
1433 return null;
1434 }
1435
1436 @Override
1437 public List<VersionDisplayInfo> getVersionsInDateRange(
1438 String refObjectTypeURI, String refObjectId, Date from, Date to)
1439 throws DoesNotExistException, InvalidParameterException,
1440 MissingParameterException, OperationFailedException,
1441 PermissionDeniedException {
1442
1443 return null;
1444 }
1445
1446 }
1447 }