public class FormVersionDao extends ProjektDependentBaseDao<FormVersion> implements IFormVersionDao
| Constructor and Description |
|---|
FormVersionDao() |
| Modifier and Type | Method and Description |
|---|---|
int |
calcNewVersionNumber(IEntityContext ec,
Projekt projekt) |
FormVersion |
copy(IEntityContext ec,
FormVersion source,
Projekt projekt) |
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 project
|
FormVersion |
getByUUID(IEntityContext ec,
Projekt project,
UUID uuid)
Returns the form version for the given UUID and project
|
Set<de.xima.cmn.dao.interfaces.IEntity<Long>> |
getEntityRefs(IEntityContext ec,
FormVersion formversion) |
protected IFCDaoActionHook<FormVersion> |
getPostActionHook() |
protected IFCDaoActionHook<FormVersion> |
getPreActionHook() |
readall, bulkDelete, bulkUpdate, cb, checkLockingVersion, cq, create, create, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getTransactionHandler, notifyListener, notifyListener, read, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadall, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getTransactionHandler, read, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, update, updatepublic Set<de.xima.cmn.dao.interfaces.IEntity<Long>> getEntityRefs(IEntityContext ec, FormVersion formversion)
getEntityRefs in interface IGenericDao<FormVersion>getEntityRefs in class GenericDao<FormVersion>public List<FormVersion> getByProjekt(IEntityContext ec, Projekt projekt)
getByProjekt in interface IFormVersionDaopublic FormVersion getByUUID(IEntityContext ec, Projekt project, String uuid)
IFormVersionDaogetByUUID in interface IFormVersionDaoec - IEntityContext to useproject - Projekt context in which to look for form versionuuid - String UUID string of the form versionFormVersion for the given UUID and projectpublic FormVersion getByUUID(IEntityContext ec, Projekt project, UUID uuid)
IFormVersionDaogetByUUID in interface IFormVersionDaoec - IEntityContext to useproject - Projekt context in which to look for form versionuuid - UUID UUID of the form versionFormVersion for the given UUID and projectpublic FormVersion getBy(IEntityContext ec, Projekt projekt, int versionNumber)
getBy in interface IFormVersionDaopublic int calcNewVersionNumber(IEntityContext ec, Projekt projekt)
calcNewVersionNumber in interface IFormVersionDaopublic FormVersion copy(IEntityContext ec, FormVersion source, Projekt projekt) throws de.xima.cmn.dao.exceptions.CreateException
copy in interface IFormVersionDaode.xima.cmn.dao.exceptions.CreateExceptionprotected IFCDaoActionHook<FormVersion> getPreActionHook()
getPreActionHook in class GenericDao<FormVersion>protected IFCDaoActionHook<FormVersion> getPostActionHook()
getPostActionHook in class GenericDao<FormVersion>Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.