|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.ole.editor.service.DocstoreHelperService
public class DocstoreHelperService
DocstoreHelperService is the service class to access Docstore services
Constructor Summary | |
---|---|
DocstoreHelperService()
|
Method Summary | |
---|---|
String |
buildReuestDocXMLForIngest(String bibXML,
String instanceXML)
|
String |
createItemForInstanceRecord(String instanceUuid,
String docType,
String xmlContent)
Method to add NEW ITEM for existing Instance record |
String |
deleteInstanceRecord(Instance instance)
This method used to delete a instance record |
String |
deleteItemrecord(String uuid)
|
String |
getDocstoreData(String uuid)
|
String |
getInstanceXML(BibliographicRecord bibliographicRecord)
|
OleHoldings |
getOleHolding()
|
Item |
getOleItem(BibliographicRecord bibliographicRecord)
|
String |
instanceRecordCallToDocstore(String content,
String uuid,
String format)
Method to generate Request XML and ingest Instance record to docstore |
String |
persistNewToDocstoreForIngest(BibliographicRecord bibliographicRecord,
List<ProfileAttributeBo> profileAttributes)
|
String |
persistToDocstoreForEditor(String content,
String uuid,
String format)
|
static String |
postData(String target,
String content)
|
void |
rollbackData(String xmlForRollback)
|
String |
updateInstanceRecord(String uuid,
String docType,
String xmlContent)
Method to update Holding or Item record of an Instance record |
String |
updateItem(BibliographicRecord bibliographicRecord,
String itemUUID)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DocstoreHelperService()
Method Detail |
---|
public String persistToDocstoreForEditor(String content, String uuid, String format) throws Exception
Exception
public String persistNewToDocstoreForIngest(BibliographicRecord bibliographicRecord, List<ProfileAttributeBo> profileAttributes) throws Exception
Exception
public String getDocstoreData(String uuid) throws Exception
Exception
public static String postData(String target, String content) throws Exception
Exception
public String buildReuestDocXMLForIngest(String bibXML, String instanceXML)
public String getInstanceXML(BibliographicRecord bibliographicRecord)
public OleHoldings getOleHolding()
public Item getOleItem(BibliographicRecord bibliographicRecord)
public void rollbackData(String xmlForRollback) throws Exception
Exception
public String updateItem(BibliographicRecord bibliographicRecord, String itemUUID)
public String instanceRecordCallToDocstore(String content, String uuid, String format) throws Exception
content
- uuid
- format
-
Exception
public String updateInstanceRecord(String uuid, String docType, String xmlContent) throws Exception
uuid
- docType
- xmlContent
-
Exception
public String deleteInstanceRecord(Instance instance) throws Exception
instance
-
Exception
public String createItemForInstanceRecord(String instanceUuid, String docType, String xmlContent) throws Exception
instanceUuid
- docType
- xmlContent
-
Exception
public String deleteItemrecord(String uuid) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |