|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.ole.service.impl.OleLicenseRequestServiceImpl
public class OleLicenseRequestServiceImpl
OleLicenseRequestServiceImpl builds the Xml for the Agreement Document ingest operation.
Constructor Summary | |
---|---|
OleLicenseRequestServiceImpl()
|
Method Summary | |
---|---|
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)
This method returns the License request documents based on the criterias map |
String |
getAgreementContent(String uuid)
This method returns the agreement content for the given uniqueId |
String |
getLicenseRequestByRequisitionDocNum(String reqDocNum)
This method returns the license request documentNum for the given requisition documet number |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OleLicenseRequestServiceImpl()
Method Detail |
---|
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 List<OleLicenseRequestBo> findLicenseRequestByCriteria(Map<String,String> criteria)
findLicenseRequestByCriteria
in interface OleLicenseRequestService
criteria
-
public String getLicenseRequestByRequisitionDocNum(String reqDocNum)
getLicenseRequestByRequisitionDocNum
in interface OleLicenseRequestService
reqDocNum
-
public boolean deleteAgreementDocument(OleAgreementDocumentMetadata metadata)
deleteAgreementDocument
in interface OleLicenseRequestService
metadata
- * @return boolean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |