public class VorgangDao extends GenericDao<Vorgang> implements IVorgangDao
Constructor and Description |
---|
VorgangDao() |
Modifier and Type | Method and Description |
---|---|
List<Vorgang> |
allByPostfach(IEntityContext ec,
Postfach postfach) |
List<Vorgang> |
allByProjekt(IEntityContext ec,
Projekt pro) |
int |
bulkdDeleteAll(IEntityContext ec,
Postfach postfach)
Deprecated.
|
int |
bulkdDeleteAll(IEntityContext ec,
Projekt project)
Deprecated.
|
int |
bulkDeleteAll(IEntityContext ec,
Postfach postfach) |
int |
bulkDeleteAll(IEntityContext ec,
Projekt project) |
int |
bulkMarkRead(IEntityContext ec,
List<Long> formRecordIds,
boolean read)
Sets the attribute 'gelesen' of all the form records with the given IDs
|
Vorgang |
correctStatus(IEntityContext ec,
Vorgang formRecord,
Status targetState,
Benutzer user) |
void |
deleteAll(IEntityContext ec,
Postfach postfach)
Deprecated.
|
void |
deleteAll(IEntityContext ec,
Projekt project)
Deprecated.
|
int |
deleteAllUnverified(IEntityContext ec) |
boolean |
existsIdentityToken(IEntityContext ec,
Vorgang formRecord,
String identityToken,
Projekt project)
Checks whether there exists any form record that
belongs to the same project as the given project
is not the same as the given form record
but has got the same identity token as the given token
|
Vorgang |
getByProzessId(IEntityContext ec,
String prozessId) |
Vorgang |
getByUUID(IEntityContext ec,
String uuid)
Returns the form record with the given UUID
|
Vorgang |
getByUUID(IEntityContext ec,
UUID uuid)
Returns the form record with the given UUID
|
Vorgang |
getByVerifyId(IEntityContext ec,
String verifyId)
Gets
Vorgang by its Verify-ID |
String |
getFormData(IEntityContext ec,
Vorgang v) |
protected IFCDaoActionHook<Vorgang> |
getPostActionHook() |
protected IFCDaoActionHook<Vorgang> |
getPreActionHook() |
List<Vorgang> |
getVorgaengeByBenutzer(IEntityContext ec,
Benutzer benutzer) |
Vorgang |
setFormData(IEntityContext ec,
Vorgang v,
String formData) |
getEntityRefs, 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
getEntityRefs, 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 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.public Vorgang getByUUID(IEntityContext ec, String uuid)
IVorgangDao
getByUUID
in interface IVorgangDao
ec
- IEntityContext
to useuuid
- String
UUID of the templatepublic Vorgang getByUUID(IEntityContext ec, UUID uuid)
IVorgangDao
getByUUID
in interface IVorgangDao
ec
- IEntityContext
to useuuid
- UUID
UUID of the template@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
public int bulkMarkRead(IEntityContext ec, List<Long> formRecordIds, boolean read)
IVorgangDao
bulkMarkRead
in interface IVorgangDao
ec
- IEntityContext
to useformRecordIds
- List
of IDs of the form records to updateread
- Boolean
value to set the attribute 'gelesen' toprotected IFCDaoActionHook<Vorgang> getPreActionHook()
getPreActionHook
in class GenericDao<Vorgang>
protected IFCDaoActionHook<Vorgang> getPostActionHook()
getPostActionHook
in class GenericDao<Vorgang>
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.