View Javadoc
1   package org.kuali.ole.service;
2   
3   import org.kuali.ole.select.bo.OleAgreementDocumentMetadata;
4   import org.kuali.ole.select.bo.OleLicenseRequestBo;
5   
6   import java.io.File;
7   import java.util.Date;
8   import java.util.List;
9   import java.util.Map;
10  
11  /**
12   * Created with IntelliJ IDEA.
13   * User: JuliyaMonica.S
14   * Date: 8/2/12
15   * Time: 11:51 AM
16   * To change this template use File | Settings | File Templates.
17   */
18  public interface OleLicenseRequestService {
19  
20      public List<OleAgreementDocumentMetadata> processIngestAgreementDocuments(List<OleAgreementDocumentMetadata> oleAgreementDocs);
21  
22      public List<OleAgreementDocumentMetadata> processCheckInAgreementDocuments(List<OleAgreementDocumentMetadata> oleAgreementDocs);
23  
24      public File downloadAgreementDocumentFromDocstore(OleAgreementDocumentMetadata oleAgreementDocumentMetadata);
25  
26      public String getAgreementContent(String uuid);
27  
28      public String ingestAgreementContent(String content);
29  
30      public List<OleLicenseRequestBo> findLicenseRequestByCriteria(Map<String, String> criteria)throws Exception;
31  
32      // public String getLicenseRequestByRequisitionDocNum(String reqDocNum);
33  
34      public OleLicenseRequestBo getLicenseRequestFromDocumentContent(String documentContent);
35  
36      public boolean deleteAgreementDocument(OleAgreementDocumentMetadata metadata);
37  
38      public boolean validateDate (Date documentDate, String fromDate, String toDate)throws Exception;
39  
40      public int getLicenseAttachments(String licenseId);
41  }