Package de.xima.fc.dao.interfaces
Interface IFormVersionDao
-
- All Superinterfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<FormVersion,Long,IEntityContext>
,IGenericDao<FormVersion>
,IProjektDependentBaseDao<FormVersion>
- All Known Implementing Classes:
FormVersionDao
public interface IFormVersionDao extends IProjektDependentBaseDao<FormVersion>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
calcNewVersionNumber(IEntityContext ec, Projekt projekt)
FormVersion
copy(IEntityContext ec, FormVersion source, Projekt projekt)
FormVersion
createDefaultFormVersion(IEntityContext ec, Projekt project, IUser user)
Returns a new default form version on the basis of a given project.FormVersion
getBy(IEntityContext ec, Projekt projekt, int versionNumber)
List<FormVersion>
getByProjekt(IEntityContext ec, Projekt projekt)
FormVersion
getByUUID(IEntityContext ec, Projekt project, String uuid)
Returns the form version for the given UUID string and projectFormVersion
getByUUID(IEntityContext ec, Projekt project, UUID uuid)
Returns the form version for the given UUID and project-
Methods inherited from interface de.xima.cmn.dao.interfaces.IAbstractDao
all, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, update
-
Methods inherited from interface de.xima.fc.dao.interfaces.IGenericDao
count, findAll, findSingle, getEntityRefs, read
-
-
-
-
Method Detail
-
calcNewVersionNumber
int calcNewVersionNumber(IEntityContext ec, Projekt projekt)
-
getBy
FormVersion getBy(IEntityContext ec, Projekt projekt, int versionNumber)
-
getByUUID
FormVersion getByUUID(IEntityContext ec, Projekt project, String uuid)
Returns the form version for the given UUID string and project- Parameters:
ec
-IEntityContext
to useproject
-Projekt
context in which to look for form versionuuid
-String
UUID string of the form version- Returns:
FormVersion
for the given UUID and project- Since:
- 6.1.0
-
getByUUID
FormVersion getByUUID(IEntityContext ec, Projekt project, UUID uuid)
Returns the form version for the given UUID and project- Parameters:
ec
-IEntityContext
to useproject
-Projekt
context in which to look for form versionuuid
-UUID
UUID of the form version- Returns:
FormVersion
for the given UUID and project- Since:
- 6.1.0
-
copy
FormVersion copy(IEntityContext ec, FormVersion source, Projekt projekt)
-
getByProjekt
List<FormVersion> getByProjekt(IEntityContext ec, Projekt projekt)
-
createDefaultFormVersion
FormVersion createDefaultFormVersion(IEntityContext ec, Projekt project, IUser user)
Returns a new default form version on the basis of a given project.- Parameters:
ec
-IEntityContext
to useproject
-Projekt
context in which to create the form versionuser
-IUser
user for form file data informations- Returns:
- default
FormVersion
for the given project - Since:
- 8.0.0
-
-