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
- Exception
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 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
Exception
public OleLicenseRequestBo getOleLicenseRequestBoWithDocNumb(OleLicenseRequestBo oleLicenseRequestBo)
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.