org.riotfamily.riot.editor
Class FormDefinition

java.lang.Object
  extended by org.riotfamily.riot.editor.AbstractEditorDefinition
      extended by org.riotfamily.riot.editor.AbstractObjectEditorDefinition
          extended by org.riotfamily.riot.editor.FormDefinition
All Implemented Interfaces:
Cloneable, EditorDefinition, FormReference, ObjectEditorDefinition
Direct Known Subclasses:
FormChooserDefinition

public class FormDefinition
extends AbstractObjectEditorDefinition
implements FormReference, Cloneable


Field Summary
protected static String TYPE_FORM
           
 
Constructor Summary
FormDefinition(EditorRepository editorRepository)
           
 
Method Summary
 Class<?> getBeanClass()
           
protected  String getDefaultName()
           
 String getDiscriminatorValue()
           
 String getEditorType()
           
protected  String getEditorUrlWithinServlet(String objectId, String parentId, String parentEditorId)
           
 String getFormId()
           
 void setDiscriminatorValue(String discriminatorValue)
           
 void setFormId(String formId)
           
 void setId(String id)
           
 
Methods inherited from class org.riotfamily.riot.editor.AbstractObjectEditorDefinition
addChildEditorDefinition, createEditorPath, createEditorPath, createPathComponent, createReference, getChildEditorDefinitions, getChildEditorReferences, getEditorUrl, getEditorUrlWithinServlet, getLabel, getLabelProperty, loadBean, setBeanClass, setLabelProperty
 
Methods inherited from class org.riotfamily.riot.editor.AbstractEditorDefinition
addReference, equals, getEditorRepository, getIcon, getId, getLabel, getMessageKey, getName, getParentEditorDefinition, hashCode, isHidden, setEditorRepository, setHidden, setIcon, setName, setParentEditorDefinition, show
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.riotfamily.riot.editor.EditorDefinition
addReference, getId, getParentEditorDefinition, isHidden, setParentEditorDefinition, show
 

Field Detail

TYPE_FORM

protected static final String TYPE_FORM
See Also:
Constant Field Values
Constructor Detail

FormDefinition

public FormDefinition(EditorRepository editorRepository)
Method Detail

getEditorType

public String getEditorType()
Specified by:
getEditorType in interface EditorDefinition

getFormId

public String getFormId()
Specified by:
getFormId in interface FormReference

setId

public void setId(String id)
Overrides:
setId in class AbstractEditorDefinition

setFormId

public void setFormId(String formId)

getBeanClass

public Class<?> getBeanClass()
Specified by:
getBeanClass in interface EditorDefinition
Overrides:
getBeanClass in class AbstractObjectEditorDefinition

getDefaultName

protected String getDefaultName()
Overrides:
getDefaultName in class AbstractEditorDefinition

getDiscriminatorValue

public String getDiscriminatorValue()

setDiscriminatorValue

public void setDiscriminatorValue(String discriminatorValue)

getEditorUrlWithinServlet

protected String getEditorUrlWithinServlet(String objectId,
                                           String parentId,
                                           String parentEditorId)
Specified by:
getEditorUrlWithinServlet in class AbstractObjectEditorDefinition