1 package org.kuali.ole.service;
2
3 import org.kuali.ole.describe.form.WorkEInstanceOlemlForm;
4 import org.kuali.ole.docstore.common.document.content.instance.OleHoldings;
5 import org.kuali.ole.docstore.model.bo.WorkBibDocument;
6 import org.kuali.ole.select.bo.OLESearchCondition;
7 import org.kuali.ole.select.document.OLEEResourceRecordDocument;
8 import org.kuali.ole.select.form.OLEEResourceRecordForm;
9 import org.kuali.rice.kew.api.document.search.DocumentSearchCriteria;
10 import org.kuali.rice.kew.api.document.search.DocumentSearchResult;
11
12 import java.util.List;
13 import java.util.Map;
14
15
16
17
18
19
20
21
22 public interface OLEEResourceSearchService {
23
24 public List<OLEEResourceRecordDocument> statusNotNull(List<OLEEResourceRecordDocument> eresourceList, List<String> status);
25
26 public List<OLEEResourceRecordDocument> performSearch(List<OLESearchCondition> oleSearchConditionsList)throws Exception;
27
28 public List<OLEEResourceRecordDocument> findMatching(Map<String, List<String>> map,DocumentSearchCriteria.Builder docSearchCriteria);
29
30 public void getEResourcesFields(String eResourceId, OleHoldings OleHoldings, WorkEInstanceOlemlForm eInstanceOlemlForm);
31
32 public void getEResourcesLicenseFields(String eResourceId, WorkEInstanceOlemlForm eInstanceOlemlForm);
33
34 public OLEEResourceRecordDocument getNewOleERSDoc(OLEEResourceRecordDocument oleERSDoc);
35
36
37
38 public String getParameter(String parameterName);
39
40 public void getDefaultCovergeDate(OLEEResourceRecordDocument oleERSDoc);
41
42 public void getDefaultPerpetualAccessDate(OLEEResourceRecordDocument oleERSDoc);
43
44 public OLEEResourceRecordDocument saveDefaultCoverageDate(OLEEResourceRecordDocument oleeResourceRecordDocument);
45
46 public OLEEResourceRecordDocument saveDefaultPerpetualAccessDate(OLEEResourceRecordDocument oleeResourceRecordDocument);
47
48 public void getNewInstance(OLEEResourceRecordDocument oleERSDoc, String documentNumber) throws Exception;
49
50 public void getAccessLocationFromEInstance(OleHoldings OleHoldings, WorkEInstanceOlemlForm workEInstanceOlemlForm);
51
52 public void getDefaultCovDatesToPopup(OLEEResourceRecordDocument oleeResourceRecordDocument, String defaultCov);
53
54 public void getDefaultPerAccDatesToPopup(OLEEResourceRecordDocument oleeResourceRecordDocument, String defaultPerpetualAcc);
55
56 public boolean validateEResourceDocument(OLEEResourceRecordDocument oleeResourceRecordDocument);
57
58 public void saveEResourceInstanceToDocstore(OLEEResourceRecordDocument oleeResourceRecordDocument)throws Exception;
59
60 public boolean validateCoverageStartDates(OLEEResourceRecordDocument oleeResourceRecordDocument, OLEEResourceRecordForm oleERSForm);
61
62 public boolean validateCoverageEndDates(OLEEResourceRecordDocument oleeResourceRecordDocument, OLEEResourceRecordForm oleERSForm);
63
64 public boolean validatePerpetualAccessStartDates(OLEEResourceRecordDocument oleeResourceRecordDocument, OLEEResourceRecordForm oleERSForm);
65
66 public boolean validatePerpetualAccessEndDates(OLEEResourceRecordDocument oleeResourceRecordDocument, OLEEResourceRecordForm oleERSForm);
67
68 public boolean validateDates(OleHoldings eHoldings);
69
70 public void getPOAndInvoiceItemsWithoutDuplicate(OLEEResourceRecordDocument oleERSDoc);
71
72 public void getAcquisitionInfoFromPOAndInvoice(String holdingsId, WorkEInstanceOlemlForm workEInstanceOlemlForm);
73
74 public void getPOInvoiceForERS(OLEEResourceRecordDocument oleERSDoc);
75
76 }