Package nl.gx.forms.wmpformapi.api.form
Interface CompositeFormFragment
-
- All Superinterfaces:
BasicFormFragment
,BasicFormFragmentContainer
,FormFragment
,Presentable
,Wrapper
public interface CompositeFormFragment extends FormFragment, BasicFormFragmentContainer
Represents a composite form field. This may either be a form field that consists of multiple "hardcoded" FormFields, but it can - for example - also be a form ordering field, for example a FormField providing a grid on which other FormFields can be positioned.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompositeFormFragmentPart
createCompositeFormFragmentPart(String identifier)
Creates a new CompositeFormFragmentPart for this CompositeFormFragment.void
deleteCompositeFormFragmentPart(CompositeFormFragmentPart part)
Deletes a CompositeFormFragnetPartt.CompositeFormFragmentPart
getCompositePart(String identifier)
Returns the part of this composite identified by the specified identifier.List<CompositeFormFragmentPart>
getCompositeParts()
Returns a list of FormFields underlying this composite form field.void
setCompositeParts(List<CompositeFormFragmentPart> parts)
Sets the list of form fields underlying this composite form field.-
Methods inherited from interface nl.gx.forms.wmpformapi.api.BasicFormFragment
getFormFragmentContainer, getIdentifier, getName, getNestedPath, getParent, getPreconditionExpression
-
Methods inherited from interface nl.gx.forms.wmpformapi.api.BasicFormFragmentContainer
getAllChildFormFragments, getAllChildFormFragments, getAllFormFragments, getFormFragments, getIdentifier, getNestedPath
-
Methods inherited from interface nl.gx.forms.wmpformapi.api.form.FormFragment
createSimplePreConditionExpression, deleteSimplePreConditionExpression, getComponent, getCssClassName, getDataFragmentTag, getDisplayLabel, getLanguageContainers, getOrCreateLanguageContainer, getPrecondition, getPreconditionMode, getSimplePreConditionExpression, getWmId, hasVersionInLocale, setCssClassName, setDataFragmentTag, setDisplayLabel, setIdentifier, setLanguageContainers, setName, setPrecondition, setPreconditionMode, setSimplePreConditionExpression
-
Methods inherited from interface nl.gx.webmanager.cms.core.Presentable
getPresentation, getPresentationVariant, render, render, setPresentation, setPresentationVariant
-
-
-
-
Method Detail
-
getCompositeParts
List<CompositeFormFragmentPart> getCompositeParts()
Returns a list of FormFields underlying this composite form field.- Returns:
- a list of FormFields underlying this composite form field
-
setCompositeParts
void setCompositeParts(List<CompositeFormFragmentPart> parts)
Sets the list of form fields underlying this composite form field.- Parameters:
parts
- the list of form fields underlying this composite form field
-
getCompositePart
CompositeFormFragmentPart getCompositePart(String identifier)
Returns the part of this composite identified by the specified identifier.- Parameters:
identifier
- the identifier to lookup the CompositeFormFragmentPart for- Returns:
- the CompositeFormFragmentPart with the specified identifier
-
createCompositeFormFragmentPart
CompositeFormFragmentPart createCompositeFormFragmentPart(String identifier)
Creates a new CompositeFormFragmentPart for this CompositeFormFragment.- Parameters:
identifier
- the identifier of the new CompositeFormFragmentPart- Returns:
- the newly created CompositeFormFragmentPart
-
deleteCompositeFormFragmentPart
void deleteCompositeFormFragmentPart(CompositeFormFragmentPart part)
Deletes a CompositeFormFragnetPartt.- Parameters:
part
- the CompositeFormFragmentPart to be deleted
-
-