Package nl.gx.forms.wmpformapi.api.form
Interface FormSectionVersion
-
- All Superinterfaces:
BasicFormFragmentContainer
,BasicFormLogicContainer
,BasicFormSectionVersion
,BasicVersion
,FormFragmentContainer
,FormLogicContainer
,Presentable
,PublicationStatusEnabled
,WorkflowEnabled
,Wrapper
public interface FormSectionVersion extends FormLogicContainer, BasicFormSectionVersion, BasicVersion
Represents a form section version.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Language>
getAvailableInLanguages()
Returns a list of all languages in which this form version is available.BasicFormSection
getFormSection()
Returns the form section of this form section version.String
getOriginFormSectionIdentifier()
Returns the origin identifier of the FormSection for which this version was originally created.boolean
hasVersionInLocale(String locale)
Returns true if this form section version contains language labels in the specified locale.void
setOriginFormSectionIdentifier(String originFormSectionIdentifer)
Sets the origin identifier of the FormSection for which this version was originally created.-
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.BasicFormLogicContainer
getAllFormLogicComponents, getAllPreHandleFormLogicComponents, getFormLogic, getPreHandleFormLogic
-
Methods inherited from interface nl.gx.forms.wmpformapi.api.BasicVersion
getCreationDate, getCreationDateCalendar, getCreatorDisplayName, getCreatorUserName, getExportDate, getExportId, getImportedDate, getImportId, getState, setCreationDate, setCreationDateCalendar, setCreatorUserName, setExportDate, setExportId, setImportedDate, setImportId, setLastModified, setLastModifiedUserName, setState, setWorkflowModelInstance
-
Methods inherited from interface nl.gx.forms.wmpformapi.api.form.FormFragmentContainer
createFormFragment, deleteFormFragment, getFragmentById, getFragmentByIdentifier, getLanguageContainers, getOrCreateLanguageContainer, getScope, getTitle, getUniqueFormFragmentId, getWmId, setFormFragments, setIdentifier, setLanguageContainers, setTitle
-
Methods inherited from interface nl.gx.forms.wmpformapi.api.form.FormLogicContainer
createConditional, createFormValidator, createHandler, createPreHandleComponent, createRouter, deleteFormLogicComponent, setFormLogic, setPreHandleFormLogic
-
Methods inherited from interface nl.gx.webmanager.cms.core.Presentable
getPresentation, getPresentationVariant, render, render, setPresentation, setPresentationVariant
-
Methods inherited from interface nl.gx.webmanager.cms.core.PublicationStatusEnabled
getExpirationDate, getPublicationDate, getPublicationStatus, getPublicationStatus, setExpirationDate, setPublicationDate
-
Methods inherited from interface nl.gx.webmanager.cms.workflow.WorkflowEnabled
getWorkflowModel, getWorkflowModelInstance, isPublic
-
-
-
-
Method Detail
-
getFormSection
BasicFormSection getFormSection()
Returns the form section of this form section version.- Returns:
- the form section of this form section version
-
getOriginFormSectionIdentifier
String getOriginFormSectionIdentifier()
Returns the origin identifier of the FormSection for which this version was originally created. This value can be used to match FormSectionVersions across different installations.- Returns:
- the origin identifier of the Form for which this version was originally created
-
setOriginFormSectionIdentifier
void setOriginFormSectionIdentifier(String originFormSectionIdentifer)
Sets the origin identifier of the FormSection for which this version was originally created. This value can be used to match FormSectionVersions across different installations.- Parameters:
originFormSectionIdentifer
- the origin identifier of the FormSection for which this version was originally created
-
hasVersionInLocale
boolean hasVersionInLocale(String locale)
Returns true if this form section version contains language labels in the specified locale.- Parameters:
locale
- the locale to search the language labels in- Returns:
- true if this form section version contains language labels in the specified locale, false otherwise
- Since:
- 10.33.0
-
-