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() |
read
all, bulkDelete, bulkUpdate, cb, checkLockingVersion, cq, create, create, delete, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, notifyListener, notifyListener, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
read
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
public 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 IFormVersionDao
public FormVersion getByUUID(IEntityContext ec, Projekt project, String uuid)
IFormVersionDao
getByUUID
in interface IFormVersionDao
ec
- 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)
IFormVersionDao
getByUUID
in interface IFormVersionDao
ec
- 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 IFormVersionDao
public int calcNewVersionNumber(IEntityContext ec, Projekt projekt)
calcNewVersionNumber
in interface IFormVersionDao
public FormVersion copy(IEntityContext ec, FormVersion source, Projekt projekt) throws de.xima.cmn.dao.exceptions.CreateException
copy
in interface IFormVersionDao
de.xima.cmn.dao.exceptions.CreateException
protected IFCDaoActionHook<FormVersion> getPreActionHook()
getPreActionHook
in class GenericDao<FormVersion>
protected IFCDaoActionHook<FormVersion> getPostActionHook()
getPostActionHook
in class GenericDao<FormVersion>
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.