public class OleLicenseRequestServiceImpl extends Object implements OleLicenseRequestService
Constructor and Description |
---|
OleLicenseRequestServiceImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
deleteAgreementDocument(OleAgreementDocumentMetadata metadata)
This method will delete the Agreement Document Content from the docstore
|
File |
downloadAgreementDocumentFromDocstore(OleAgreementDocumentMetadata oleAgreementDocumentMetadata)
This method downloads the agreement document from the docStore based on uuid.
|
List<OleLicenseRequestBo> |
findLicenseRequestByCriteria(Map<String,String> criteria) |
String |
getAgreementContent(String uuid)
This method returns the agreement content for the given uniqueId
|
DocstoreClientLocator |
getDocstoreClientLocator() |
int |
getLicenseAttachments(String licenseId)
This method returns the License request documents based on the criterias map
|
OleLicenseRequestBo |
getLicenseRequestFromDocumentContent(String documentContent) |
OLEEResourceSearchService |
getOleEResourceSearchService() |
OleLicenseRequestBo |
getOleLicenseRequestBoWithDocNumb(OleLicenseRequestBo oleLicenseRequestBo) |
String |
ingestAgreementContent(String content)
This method returns the uuid by ingesting the agreement content to the docstore
|
List<OleAgreementDocumentMetadata> |
processCheckInAgreementDocuments(List<OleAgreementDocumentMetadata> oleAgreementDocs)
This method creates the zipped Bag file which contains the requestXml and the File to be updated to the docStore and
process the response file to get the uuid (after the checkin).
|
List<OleAgreementDocumentMetadata> |
processIngestAgreementDocuments(List<OleAgreementDocumentMetadata> oleAgreementDocs)
This method creates the zipped Bag file which contains the requestXml and the File to be uploaded to the docStore and
process the response file to get the uuid.
|
boolean |
validateDate(Date documentDate,
String fromDate,
String toDate)
This method will generate the request xml for the delete operation.
|
public OleLicenseRequestServiceImpl()
public DocstoreClientLocator getDocstoreClientLocator()
public List<OleAgreementDocumentMetadata> processIngestAgreementDocuments(List<OleAgreementDocumentMetadata> oleAgreementDocs)
processIngestAgreementDocuments
in interface OleLicenseRequestService
oleAgreementDocs
- public List<OleAgreementDocumentMetadata> processCheckInAgreementDocuments(List<OleAgreementDocumentMetadata> oleAgreementDocs)
processCheckInAgreementDocuments
in interface OleLicenseRequestService
oleAgreementDocs
- public File downloadAgreementDocumentFromDocstore(OleAgreementDocumentMetadata oleAgreementDocumentMetadata)
downloadAgreementDocumentFromDocstore
in interface OleLicenseRequestService
oleAgreementDocumentMetadata
- public String ingestAgreementContent(String content)
ingestAgreementContent
in interface OleLicenseRequestService
content
- public String getAgreementContent(String uuid)
getAgreementContent
in interface OleLicenseRequestService
uuid
- public int getLicenseAttachments(String licenseId)
getLicenseAttachments
in interface OleLicenseRequestService
licenseId
- public OLEEResourceSearchService getOleEResourceSearchService()
public List<OleLicenseRequestBo> findLicenseRequestByCriteria(Map<String,String> criteria) throws Exception
findLicenseRequestByCriteria
in interface OleLicenseRequestService
Exception
public OleLicenseRequestBo getLicenseRequestFromDocumentContent(String documentContent)
getLicenseRequestFromDocumentContent
in interface OleLicenseRequestService
public boolean deleteAgreementDocument(OleAgreementDocumentMetadata metadata)
deleteAgreementDocument
in interface OleLicenseRequestService
metadata
- * @return booleanpublic boolean validateDate(Date documentDate, String fromDate, String toDate) throws Exception
validateDate
in interface OleLicenseRequestService
metadata
- Exception
public OleLicenseRequestBo getOleLicenseRequestBoWithDocNumb(OleLicenseRequestBo oleLicenseRequestBo)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.