Interface IFormVersionHandler
- 
- All Superinterfaces:
 IAPIHandler,IGenericHandler,Serializable
- All Known Implementing Classes:
 FormVersionHandler
public interface IFormVersionHandler extends IGenericHandler
- Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FormVersioncreate(UserContext uc, FormVersion fv, Boolean setActive)Persists the given new form version in the database.List<FormVersion>getByProjekt(UserContext uc, Projekt projekt)FormVersiongetByVersionNumber(UserContext uc, Integer formVersionNumber, Long projectId)Gets a form version by its version number.- 
Methods inherited from interface de.xima.fc.com.interfaces.IAPIHandler
getName 
- 
Methods inherited from interface de.xima.fc.handler.interfaces.entity.IGenericHandler
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, update, update 
 - 
 
 - 
 
- 
- 
Method Detail
- 
create
FormVersion create(UserContext uc, FormVersion fv, Boolean setActive)
Persists the given new form version in the database.- Parameters:
 uc- the ucfv- the fvsetActive- the set active- Returns:
 - the form version
 
 
- 
getByProjekt
List<FormVersion> getByProjekt(UserContext uc, Projekt projekt)
 
- 
getByVersionNumber
FormVersion getByVersionNumber(UserContext uc, Integer formVersionNumber, Long projectId)
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
 
 
 - 
 
 -