Package nl.gx.forms.wmpformapi.api
Interface BasicForm
-
- All Known Subinterfaces:
Form
@Indexable public interface BasicForm
Basic interface for a Form. All Form implementations should implement this interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description BasicFormVersion
getActiveVersion()
Deprecated.usegetCurrent()
insteadBasicFormVersion
getCurrent()
Returns the current version for this form.String
getIdentifier()
Returns the identifier for this form.List<BasicFormVersion>
getVersions()
Returns a list of all versions of this Form.
-
-
-
Method Detail
-
getVersions
List<BasicFormVersion> getVersions()
Returns a list of all versions of this Form.- Returns:
- a list of all versions of this Form
-
getActiveVersion
@Deprecated BasicFormVersion getActiveVersion()
Deprecated.usegetCurrent()
insteadReturns the currently active version of this form.- Returns:
- the currently active version of this form or null if no version is currently active
-
getCurrent
@ReferDocument BasicFormVersion getCurrent()
Returns the current version for this form. This is defined to be the version with the most recent publication date which is non-expired and in a public state.- Returns:
- the current version, or
null
if there is no current version.
-
getIdentifier
String getIdentifier()
Returns the identifier for this form.- Returns:
- the identifier for this form
-
-