Interface IFormVersionHandler
- All Superinterfaces:
IAPIHandler, IGenericHandler, Serializable
- All Known Implementing Classes:
FormVersionHandler
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptioncreate(UserContext uc, FormVersion fv, Boolean setActive) Persists the given new form version in the database.getByProjekt(UserContext uc, Projekt projekt) getByVersionNumber(UserContext uc, Integer formVersionNumber, Long projectId) Gets a form version by its version number.Methods inherited from interface IAPIHandler
getNameMethods inherited from interface IGenericHandler
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, update, update
-
Method Details
-
create
Persists the given new form version in the database.- Parameters:
uc- the ucfv- the fvsetActive- the set active- Returns:
- the form version
-
getByProjekt
-
getByVersionNumber
Gets a form version by its version number. Defaults to the project's current version if the version number is null or no form version with the given version number exists.- Parameters:
uc- The user context of the user who requests the form version.formVersionNumber- The version number of the form version to get.projectId- ID of the project to get the form version for.- Returns:
- The form version with the given version number or the project's current version if the version number is null or no form version with the given version number exists.
- Since:
- 8.3.0
-