org.kuali.ole.editor.bo
Class MarcEditorFormDataHandler

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

public class MarcEditorFormDataHandler
extends Object

MarcEditorFormDataHandler is the data handler class for Marc Editor


Constructor Summary
MarcEditorFormDataHandler()
           
 
Method Summary
 String buildBibRecordForDocStore(org.kuali.rice.krad.web.form.UifFormBase uifFormBase)
          This method will generate the responseXml, This method builds the bibliographicRecord,And BibliographicRecordHandler will generate the responseXml.,
 List<MarcEditorControlField> buildMarcEditorControlFields(List<ControlField> controlFields)
          This method build the controlFields and it will return List of marcEditorControlField , each marcEditorControlField sets the tag and value get from controlFields
 List<MarcEditorDataField> buildMarcEditorDataFields(List<DataField> dataFields)
          This method build the dataFields and it will return List of marcEditorDataField , each marcEditorDataField sets the value, and each value has code and value.
 String getUUIDFromForm(org.kuali.rice.krad.web.form.UifFormBase uifFormBase)
          This method will get the uuid from the marcEditorForm, uifFormBase has type casted in to MarcEditorForm and from the marcEditorForm we will get the controlFields, iterating the controlFields will return the uuid if tag value equal 001
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MarcEditorFormDataHandler

public MarcEditorFormDataHandler()
Method Detail

buildBibRecordForDocStore

public String buildBibRecordForDocStore(org.kuali.rice.krad.web.form.UifFormBase uifFormBase)
This method will generate the responseXml, This method builds the bibliographicRecord,And BibliographicRecordHandler will generate the responseXml.,

Parameters:
uifFormBase -
Returns:
String

buildMarcEditorControlFields

public List<MarcEditorControlField> buildMarcEditorControlFields(List<ControlField> controlFields)
This method build the controlFields and it will return List of marcEditorControlField , each marcEditorControlField sets the tag and value get from controlFields

Parameters:
controlFields -
Returns:
List

buildMarcEditorDataFields

public List<MarcEditorDataField> buildMarcEditorDataFields(List<DataField> dataFields)
This method build the dataFields and it will return List of marcEditorDataField , each marcEditorDataField sets the value, and each value has code and value.

Parameters:
dataFields -
Returns:
List

getUUIDFromForm

public String getUUIDFromForm(org.kuali.rice.krad.web.form.UifFormBase uifFormBase)
This method will get the uuid from the marcEditorForm, uifFormBase has type casted in to MarcEditorForm and from the marcEditorForm we will get the controlFields, iterating the controlFields will return the uuid if tag value equal 001

Parameters:
uifFormBase -
Returns:
Returns uuid


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