org.kuali.ole.editor.bo
Class InstanceEditorFormDataHandler

java.lang.Object
  extended by org.kuali.ole.editor.bo.InstanceEditorFormDataHandler

public class InstanceEditorFormDataHandler
extends Object

InstanceEditorFormDataHandler is the data handler class for Instance Editor


Constructor Summary
InstanceEditorFormDataHandler()
           
 
Method Summary
 String buildHoldingContent(OleHoldings oleHolding)
          This Method will build the holdingContent from the docStore and returns the responseXml based on the itemIdentifier additionalAttributes has been modified.
 String buildInstanceRecordForDocStore(org.kuali.rice.krad.web.form.UifFormBase uifFormBase, String uuid)
          This Method will ingest a new record in docStore for Instance Record type.
 String buildItemContent(Item oleItem)
          This Method will build the itemContent from the docStore and returns the responseXml based on the itemIdentifier additionalAttributes has been modified.
 InstanceEditorForm buildLeftPaneData(InstanceEditorForm instanceEditorForm)
          This Method will build the Left Pane hierarchy details.
 void buildLocationLevels(InstanceEditorForm instanceEditorForm)
           
 void buildLocationsForUI(InstanceEditorForm instanceEditorForm)
           
 List<MarcEditorControlField> buildMarcEditorControlFields(List<ControlField> controlFields)
           
 List<MarcEditorDataField> buildMarcEditorDataFields(List<DataField> dataFields)
           
 String buildSourceHoldingContent(SourceHoldings sourceHoldings)
           
 SourceEditorForUI buildSourceHoldingForUI(InstanceEditorForm instanceEditorForm)
           
 SourceHoldings buildSourceHoldings(InstanceEditorForm instanceEditorForm)
           
 LocationLevel createLocationLevel(String locationName, LocationLevel locationLevel)
           
 void setLocationDetails(InstanceEditorForm instanceEditorForm)
           
 InstanceEditorForm setMetaData(InstanceEditorForm instanceEditorForm, String docType)
          Method to set Meta Data fields while loading Holdings/Item record
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstanceEditorFormDataHandler

public InstanceEditorFormDataHandler()
Method Detail

buildInstanceRecordForDocStore

public String buildInstanceRecordForDocStore(org.kuali.rice.krad.web.form.UifFormBase uifFormBase,
                                             String uuid)
This Method will ingest a new record in docStore for Instance Record type. returns formatted xml

Parameters:
uifFormBase -
uuid -
Returns:
content

buildLocationLevels

public void buildLocationLevels(InstanceEditorForm instanceEditorForm)

createLocationLevel

public LocationLevel createLocationLevel(String locationName,
                                         LocationLevel locationLevel)

buildSourceHoldings

public SourceHoldings buildSourceHoldings(InstanceEditorForm instanceEditorForm)

buildSourceHoldingForUI

public SourceEditorForUI buildSourceHoldingForUI(InstanceEditorForm instanceEditorForm)

buildMarcEditorControlFields

public List<MarcEditorControlField> buildMarcEditorControlFields(List<ControlField> controlFields)

buildLocationsForUI

public void buildLocationsForUI(InstanceEditorForm instanceEditorForm)

buildMarcEditorDataFields

public List<MarcEditorDataField> buildMarcEditorDataFields(List<DataField> dataFields)

buildHoldingContent

public String buildHoldingContent(OleHoldings oleHolding)
                           throws Exception
This Method will build the holdingContent from the docStore and returns the responseXml based on the itemIdentifier additionalAttributes has been modified. toXml method in WorkHoldingOlemlRecordProcessor will convert the oleHolding in to response itemContent.

Parameters:
oleHolding -
Returns:
holdingContent
Throws:
Exception

buildItemContent

public String buildItemContent(Item oleItem)
                        throws Exception
This Method will build the itemContent from the docStore and returns the responseXml based on the itemIdentifier additionalAttributes has been modified. toXml method in WorkItemOlemlRecordProcessor will convert the oleItem in to response itemContent.

Parameters:
oleItem -
Returns:
itemContent
Throws:
Exception

buildSourceHoldingContent

public String buildSourceHoldingContent(SourceHoldings sourceHoldings)
                                 throws Exception
Throws:
Exception

buildLeftPaneData

public InstanceEditorForm buildLeftPaneData(InstanceEditorForm instanceEditorForm)
This Method will build the Left Pane hierarchy details.

Parameters:
instanceEditorForm -
Returns:
instanceEditorForm

setLocationDetails

public void setLocationDetails(InstanceEditorForm instanceEditorForm)

setMetaData

public InstanceEditorForm setMetaData(InstanceEditorForm instanceEditorForm,
                                      String docType)
Method to set Meta Data fields while loading Holdings/Item record

Parameters:
instanceEditorForm -
docType -
Returns:
instanceEditorForm


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.