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
|
int |
getLicenseAttachments(String licenseId)
This method returns the License request documents based on the criterias map
|
OleLicenseRequestBo |
getLicenseRequestFromDocumentContent(String documentContent) |
OleLicenseRequestBo |
getOleLicenseRequestBoWithDocNumb(OleLicenseRequestBo oleLicenseRequestBo) |
String |
ingestAgreementContent(String content)
This method returns the uuid by ingesting the agreement content to the docstore
|
static List<File> |
postDataForLicense(String target,
File zipFile)
This method creates the multipart entity based on zipfile and sent to the target location,
|
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) |
public OleLicenseRequestServiceImpl()
public static List<File> postDataForLicense(String target, File zipFile) throws Exception
target - zipFile - Exceptionpublic List<OleAgreementDocumentMetadata> processIngestAgreementDocuments(List<OleAgreementDocumentMetadata> oleAgreementDocs)
processIngestAgreementDocuments in interface OleLicenseRequestServiceoleAgreementDocs - public List<OleAgreementDocumentMetadata> processCheckInAgreementDocuments(List<OleAgreementDocumentMetadata> oleAgreementDocs)
processCheckInAgreementDocuments in interface OleLicenseRequestServiceoleAgreementDocs - public File downloadAgreementDocumentFromDocstore(OleAgreementDocumentMetadata oleAgreementDocumentMetadata)
downloadAgreementDocumentFromDocstore in interface OleLicenseRequestServiceoleAgreementDocumentMetadata - public String ingestAgreementContent(String content)
ingestAgreementContent in interface OleLicenseRequestServicecontent - public String getAgreementContent(String uuid)
getAgreementContent in interface OleLicenseRequestServiceuuid - public int getLicenseAttachments(String licenseId)
getLicenseAttachments in interface OleLicenseRequestServicelicenseId - public List<OleLicenseRequestBo> findLicenseRequestByCriteria(Map<String,String> criteria) throws Exception
findLicenseRequestByCriteria in interface OleLicenseRequestServiceExceptionpublic OleLicenseRequestBo getLicenseRequestFromDocumentContent(String documentContent)
getLicenseRequestFromDocumentContent in interface OleLicenseRequestServicepublic boolean deleteAgreementDocument(OleAgreementDocumentMetadata metadata)
deleteAgreementDocument in interface OleLicenseRequestServicemetadata - * @return booleanpublic boolean validateDate(Date documentDate, String fromDate, String toDate) throws Exception
validateDate in interface OleLicenseRequestServiceExceptionpublic OleLicenseRequestBo getOleLicenseRequestBoWithDocNumb(OleLicenseRequestBo oleLicenseRequestBo)
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.