public class WorkBibMarcEditor extends AbstractEditor implements DocumentEditor
Modifier and Type | Method and Description |
---|---|
EditorForm |
addORDeleteFields(EditorForm editorForm,
javax.servlet.http.HttpServletRequest request) |
EditorForm |
addORRemoveAccessInformationAndHoldingsNotes(EditorForm editorForm,
javax.servlet.http.HttpServletRequest request) |
EditorForm |
addORRemoveExtentOfOwnership(EditorForm editorForm,
javax.servlet.http.HttpServletRequest request) |
EditorForm |
addORRemoveItemNote(EditorForm editorForm,
javax.servlet.http.HttpServletRequest request) |
EditorForm |
copy(EditorForm editorForm) |
EditorForm |
createNewRecord(EditorForm editorForm,
BibTree bibTree) |
EditorForm |
delete(EditorForm editorForm)
This method deletes the bib record from docstore by the doc id.
|
EditorForm |
deleteDocument(EditorForm editorForm) |
EditorForm |
deleteVerify(EditorForm editorForm) |
EditorForm |
editNewRecord(EditorForm editorForm,
BibTree bibTree) |
org.kuali.rice.krad.service.DocumentService |
getDocumentService() |
static WorkBibMarcEditor |
getInstance() |
OLEEResourceSearchService |
getOleEResourceSearchService() |
String |
getURL()
Gets the webservice URL using PropertyUtil.
|
Boolean |
isValidUpdate(EditorForm editorForm) |
EditorForm |
loadDocument(EditorForm editorForm) |
void |
processResponse(Bib bib,
String linkToOrderOption) |
void |
processResponse(String responseFromDocstore,
EditorForm editorForm,
String uuid)
This method will processResponse,provided the docStore should return response and should have a tokenId
|
void |
processResponseForEResource(String instanceId,
String bibId,
String tokenId) |
boolean |
responseToOLESentRequired()
This method returns True if tokenId is not null,else return False.
|
String |
saveDocument(BibTree bibTree,
EditorForm form) |
EditorForm |
saveDocument(EditorForm editorForm) |
void |
setControlFields(WorkBibMarcForm workBibMarcForm) |
EditorForm |
showBibs(EditorForm editorForm) |
boolean |
validateMarcEditorData(WorkBibMarcForm workBibMarcForm)
This method will Validate the MarcEditorForm and return either True or False
Validation happen based on existence of leader,Tags and values for controlFields and dataFields .
|
bulkUpdate, deleteFromDocStore, getDocstoreClientLocator, getDocstoreLocalClient, getHoldingsRecord, getHoldingsTree, getItemRecord, getResponseFromDocStore, removeDocumentFromTree, retrieveHoldings, retrieveItem
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
bulkUpdate
public static WorkBibMarcEditor getInstance()
public OLEEResourceSearchService getOleEResourceSearchService()
public org.kuali.rice.krad.service.DocumentService getDocumentService()
public EditorForm loadDocument(EditorForm editorForm)
loadDocument
in interface DocumentEditor
loadDocument
in class AbstractEditor
public EditorForm saveDocument(EditorForm editorForm)
saveDocument
in interface DocumentEditor
saveDocument
in class AbstractEditor
public void processResponse(String responseFromDocstore, EditorForm editorForm, String uuid)
responseFromDocstore
- editorForm
- public void processResponseForEResource(String instanceId, String bibId, String tokenId) throws Exception
Exception
public void processResponse(Bib bib, String linkToOrderOption)
public boolean responseToOLESentRequired()
public boolean validateMarcEditorData(WorkBibMarcForm workBibMarcForm)
workBibMarcForm
- public EditorForm deleteDocument(EditorForm editorForm)
deleteDocument
in interface DocumentEditor
deleteDocument
in class AbstractEditor
public String saveDocument(BibTree bibTree, EditorForm form)
saveDocument
in interface DocumentEditor
saveDocument
in class AbstractEditor
public EditorForm createNewRecord(EditorForm editorForm, BibTree bibTree)
createNewRecord
in interface DocumentEditor
createNewRecord
in class AbstractEditor
public void setControlFields(WorkBibMarcForm workBibMarcForm)
public EditorForm editNewRecord(EditorForm editorForm, BibTree bibTree)
editNewRecord
in interface DocumentEditor
editNewRecord
in class AbstractEditor
public EditorForm addORDeleteFields(EditorForm editorForm, javax.servlet.http.HttpServletRequest request)
addORDeleteFields
in interface DocumentEditor
addORDeleteFields
in class AbstractEditor
public EditorForm deleteVerify(EditorForm editorForm) throws Exception
deleteVerify
in interface DocumentEditor
deleteVerify
in class AbstractEditor
Exception
public EditorForm delete(EditorForm editorForm) throws Exception
delete
in interface DocumentEditor
delete
in class AbstractEditor
editorForm
- Exception
public EditorForm addORRemoveExtentOfOwnership(EditorForm editorForm, javax.servlet.http.HttpServletRequest request)
addORRemoveExtentOfOwnership
in interface DocumentEditor
addORRemoveExtentOfOwnership
in class AbstractEditor
public EditorForm addORRemoveAccessInformationAndHoldingsNotes(EditorForm editorForm, javax.servlet.http.HttpServletRequest request)
addORRemoveAccessInformationAndHoldingsNotes
in interface DocumentEditor
addORRemoveAccessInformationAndHoldingsNotes
in class AbstractEditor
public EditorForm addORRemoveItemNote(EditorForm editorForm, javax.servlet.http.HttpServletRequest request)
addORRemoveItemNote
in interface DocumentEditor
addORRemoveItemNote
in class AbstractEditor
public EditorForm showBibs(EditorForm editorForm)
showBibs
in interface DocumentEditor
showBibs
in class AbstractEditor
public EditorForm copy(EditorForm editorForm)
copy
in interface DocumentEditor
copy
in class AbstractEditor
public Boolean isValidUpdate(EditorForm editorForm)
isValidUpdate
in interface DocumentEditor
isValidUpdate
in class AbstractEditor
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.