|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.outerj.daisy.frontend.editor.BookMetadataPartEditor
public class BookMetadataPartEditor
Part editor for the book metadata.
| Nested Class Summary | |
|---|---|
static class |
BookMetadataPartEditor.Factory
|
| Method Summary | |
|---|---|
Form |
getForm(org.outerj.daisy.repository.schema.PartTypeUse partTypeUse,
DocumentEditorForm documentEditorForm,
org.outerj.daisy.repository.Repository repository)
Returns a form for the specified PartTypeUse. |
java.lang.String |
getFormTemplate()
Returns the URI to the form template. |
void |
load(Form form,
org.outerj.daisy.repository.Document document,
org.outerj.daisy.repository.Part part,
org.outerj.daisy.repository.Repository repository)
Loads existing data into the part form. |
void |
save(Form form,
org.outerj.daisy.repository.Document document)
Saves the part data (could be removing the part if the editor is empty). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Form getForm(org.outerj.daisy.repository.schema.PartTypeUse partTypeUse,
DocumentEditorForm documentEditorForm,
org.outerj.daisy.repository.Repository repository)
throws java.lang.Exception
PartEditor
getForm in interface PartEditorjava.lang.Exceptionpublic java.lang.String getFormTemplate()
PartEditor
getFormTemplate in interface PartEditor
public void load(Form form,
org.outerj.daisy.repository.Document document,
org.outerj.daisy.repository.Part part,
org.outerj.daisy.repository.Repository repository)
throws java.lang.Exception
PartEditor
load in interface PartEditorjava.lang.Exception
public void save(Form form,
org.outerj.daisy.repository.Document document)
throws java.lang.Exception
PartEditorNote: the form has an attribute called "partType" that contains the PartType
for which this editor serves. That way, you know which part this form represents.
save in interface PartEditorjava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||