public class VorgangDao extends GenericDao<Vorgang> implements IVorgangDao
Constructor and Description |
---|
VorgangDao() |
getEntityRefs, read
all, bulkDelete, bulkUpdate, cb, checkLockingVersion, cq, create, create, delete, deleteAll, executePagedDaoAction, getTransactionHandler, notifyListener, notifyListener, read, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEntityRefs, read
all, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, deleteAll, executePagedDaoAction, read, registerListener, registerListener, resultTotalCount, singleElement, unregisterListener, unregisterListener, update, update
public Vorgang getByProzessId(IEntityContext ec, String prozessId)
getByProzessId
in interface IVorgangDao
public Vorgang getByVerifyId(IEntityContext ec, String verifyId)
IVorgangDao
Vorgang
by its Verify-IDgetByVerifyId
in interface IVorgangDao
ec
- IEntityContext
verifyId
- String
Vorgang
public List<Vorgang> getVorgaengeByBenutzer(IEntityContext ec, Benutzer benutzer)
getVorgaengeByBenutzer
in interface IVorgangDao
public List<Vorgang> allByProjekt(IEntityContext ec, Projekt pro)
allByProjekt
in interface IVorgangDao
public boolean existsIdentityToken(IEntityContext ec, Vorgang formRecord, String identityToken, Projekt project)
IVorgangDao
existsIdentityToken
in interface IVorgangDao
ec
- Entity context for accessing the database.formRecord
- Current form record. If null
, allows all form records for the given project.identityToken
- New identity token to be checked.project
- Project to which the form record belongs.public List<Vorgang> allByPostfach(IEntityContext ec, Postfach postfach)
allByPostfach
in interface IVorgangDao
public String getFormData(IEntityContext ec, Vorgang v)
getFormData
in interface IVorgangDao
public Vorgang setFormData(IEntityContext ec, Vorgang v, String formData)
setFormData
in interface IVorgangDao
@Deprecated public int bulkdDeleteAll(IEntityContext ec, Postfach postfach)
bulkdDeleteAll
in interface IVorgangDao
ec
- IEntityContext
for accessing the database.postfach
- Postfach
in which the form set is located.public int bulkDeleteAll(IEntityContext ec, Postfach postfach)
bulkDeleteAll
in interface IVorgangDao
ec
- IEntityContext
for accessing the database.postfach
- Postfach
in which the form set is located.@Deprecated public int bulkdDeleteAll(IEntityContext ec, Projekt project)
bulkdDeleteAll
in interface IVorgangDao
ec
- IEntityContext
for accessing the database.project
- Projekt
to which the form record belongs.public int bulkDeleteAll(IEntityContext ec, Projekt project)
bulkDeleteAll
in interface IVorgangDao
ec
- IEntityContext
for accessing the database.project
- Projekt
to which the form record belongs.@Deprecated public void deleteAll(IEntityContext ec, Postfach postfach)
deleteAll
in interface IVorgangDao
ec
- {IEntityContext
for accessing the database.postfach
- Postfach
in which the form set is located.@Deprecated public void deleteAll(IEntityContext ec, Projekt project)
deleteAll
in interface IVorgangDao
ec
- IEntityContext
project
- Projekt
public int deleteAllUnverified(IEntityContext ec)
deleteAllUnverified
in interface IVorgangDao
ec
- Entity context for accessing the database.public Vorgang correctStatus(IEntityContext ec, Vorgang formRecord, Status targetState, Benutzer user)
correctStatus
in interface IVorgangDao
protected IFCDaoActionHook<Vorgang> getPreActionHook()
getPreActionHook
in class GenericDao<Vorgang>
protected IFCDaoActionHook<Vorgang> getPostActionHook()
getPostActionHook
in class GenericDao<Vorgang>
Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.