org.riotfamily.riot.editor
Class FormDefinition
java.lang.Object
org.riotfamily.riot.editor.AbstractEditorDefinition
org.riotfamily.riot.editor.AbstractObjectEditorDefinition
org.riotfamily.riot.editor.FormDefinition
- All Implemented Interfaces:
- Cloneable, EditorDefinition, FormReference, ObjectEditorDefinition
- Direct Known Subclasses:
- FormChooserDefinition
public class FormDefinition
- extends AbstractObjectEditorDefinition
- implements FormReference, Cloneable
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 |
TYPE_FORM
protected static final String TYPE_FORM
- See Also:
- Constant Field Values
FormDefinition
public FormDefinition(EditorRepository editorRepository)
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