org.kuali.rice.edl.impl.components
Class NoteConfigComponent

java.lang.Object
  extended by org.kuali.rice.edl.impl.components.NoteConfigComponent
All Implemented Interfaces:
EDLModelComponent

public class NoteConfigComponent
extends Object
implements EDLModelComponent

Adds notes support to EDL

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
NoteConfigComponent()
           
 
Method Summary
 void addNote(org.kuali.rice.edl.impl.components.NoteConfigComponent.NoteForm form)
           
static void addNotes(Document doc, org.kuali.rice.edl.impl.components.NoteConfigComponent.NoteForm form)
           
 void cancelEdit(org.kuali.rice.edl.impl.components.NoteConfigComponent.NoteForm form)
           
 void deleteAttachment(org.kuali.rice.edl.impl.components.NoteConfigComponent.NoteForm form)
           
 void deleteNote(org.kuali.rice.edl.impl.components.NoteConfigComponent.NoteForm form)
           
 void editNote(org.kuali.rice.edl.impl.components.NoteConfigComponent.NoteForm form)
           
 void establishNotes(org.kuali.rice.edl.impl.components.NoteConfigComponent.NoteForm form, EDLContext edlContext, Document dom)
           
protected  Document generateXmlInput(org.kuali.rice.edl.impl.components.NoteConfigComponent.NoteForm form, EDLContext edlContext, Document dom)
           
 String getCurrentDate()
           
protected  DocumentBuilder getDocumentBuilder(boolean coalesce)
           
protected  String getTestAddress(Document edlDom)
           
protected  boolean isEmailListValid(List<String> emailList)
           
protected  boolean isProduction()
           
protected  Templates loadStyleSheet(String styleName)
           
 void saveNote(org.kuali.rice.edl.impl.components.NoteConfigComponent.NoteForm form, EDLContext edlContext, Document dom)
           
 void sortNotes(org.kuali.rice.edl.impl.components.NoteConfigComponent.NoteForm form)
           
protected  List<String> stringToList(String to)
           
protected  String stripComma(String s)
           
 void updateDOM(Document dom, Element configElement, EDLContext edlContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoteConfigComponent

public NoteConfigComponent()
Method Detail

updateDOM

public void updateDOM(Document dom,
                      Element configElement,
                      EDLContext edlContext)
Specified by:
updateDOM in interface EDLModelComponent

establishNotes

public void establishNotes(org.kuali.rice.edl.impl.components.NoteConfigComponent.NoteForm form,
                           EDLContext edlContext,
                           Document dom)
                    throws Exception
Throws:
Exception

editNote

public void editNote(org.kuali.rice.edl.impl.components.NoteConfigComponent.NoteForm form)
              throws Exception
Throws:
Exception

addNote

public void addNote(org.kuali.rice.edl.impl.components.NoteConfigComponent.NoteForm form)
             throws Exception
Throws:
Exception

cancelEdit

public void cancelEdit(org.kuali.rice.edl.impl.components.NoteConfigComponent.NoteForm form)
                throws Exception
Throws:
Exception

deleteNote

public void deleteNote(org.kuali.rice.edl.impl.components.NoteConfigComponent.NoteForm form)
                throws Exception
Throws:
Exception

sortNotes

public void sortNotes(org.kuali.rice.edl.impl.components.NoteConfigComponent.NoteForm form)
               throws Exception
Throws:
Exception

deleteAttachment

public void deleteAttachment(org.kuali.rice.edl.impl.components.NoteConfigComponent.NoteForm form)
                      throws Exception
Throws:
Exception

saveNote

public void saveNote(org.kuali.rice.edl.impl.components.NoteConfigComponent.NoteForm form,
                     EDLContext edlContext,
                     Document dom)
              throws Exception
Throws:
Exception

getTestAddress

protected String getTestAddress(Document edlDom)

generateXmlInput

protected Document generateXmlInput(org.kuali.rice.edl.impl.components.NoteConfigComponent.NoteForm form,
                                    EDLContext edlContext,
                                    Document dom)
                             throws Exception
Throws:
Exception

getDocumentBuilder

protected DocumentBuilder getDocumentBuilder(boolean coalesce)
                                      throws Exception
Throws:
Exception

isProduction

protected boolean isProduction()

isEmailListValid

protected boolean isEmailListValid(List<String> emailList)

stripComma

protected String stripComma(String s)

stringToList

protected List<String> stringToList(String to)

loadStyleSheet

protected Templates loadStyleSheet(String styleName)

addNotes

public static void addNotes(Document doc,
                            org.kuali.rice.edl.impl.components.NoteConfigComponent.NoteForm form)

getCurrentDate

public String getCurrentDate()


Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.