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, 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, waitgetEntityRefs, readall, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getTransactionHandler, read, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, update, updatepublic Vorgang getByProzessId(IEntityContext ec, String prozessId)
getByProzessId in interface IVorgangDaopublic Vorgang getByVerifyId(IEntityContext ec, String verifyId)
IVorgangDaoVorgang by its Verify-IDgetByVerifyId in interface IVorgangDaoec - IEntityContextverifyId - StringVorgangpublic List<Vorgang> getVorgaengeByBenutzer(IEntityContext ec, Benutzer benutzer)
getVorgaengeByBenutzer in interface IVorgangDaopublic List<Vorgang> allByProjekt(IEntityContext ec, Projekt pro)
allByProjekt in interface IVorgangDaopublic boolean existsIdentityToken(IEntityContext ec, Vorgang formRecord, String identityToken, Projekt project)
IVorgangDaoexistsIdentityToken in interface IVorgangDaoec - 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 IVorgangDaopublic String getFormData(IEntityContext ec, Vorgang v)
getFormData in interface IVorgangDaopublic Vorgang setFormData(IEntityContext ec, Vorgang v, String formData)
setFormData in interface IVorgangDao@Deprecated public int bulkdDeleteAll(IEntityContext ec, Postfach postfach)
bulkdDeleteAll in interface IVorgangDaoec - IEntityContext for accessing the database.postfach - Postfach in which the form set is located.public int bulkDeleteAll(IEntityContext ec, Postfach postfach)
bulkDeleteAll in interface IVorgangDaoec - 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 IVorgangDaoec - IEntityContext for accessing the database.project - Projekt to which the form record belongs.public int bulkDeleteAll(IEntityContext ec, Projekt project)
bulkDeleteAll in interface IVorgangDaoec - IEntityContext for accessing the database.project - Projekt to which the form record belongs.public Vorgang getByUUID(IEntityContext ec, String uuid)
IVorgangDaogetByUUID in interface IVorgangDaoec - IEntityContext to useuuid - String UUID of the templatepublic Vorgang getByUUID(IEntityContext ec, UUID uuid)
IVorgangDaogetByUUID in interface IVorgangDaoec - IEntityContext to useuuid - UUID UUID of the template@Deprecated public void deleteAll(IEntityContext ec, Postfach postfach)
deleteAll in interface IVorgangDaoec - {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 IVorgangDaoec - IEntityContextproject - Projektpublic int deleteAllUnverified(IEntityContext ec)
deleteAllUnverified in interface IVorgangDaoec - Entity context for accessing the database.public Vorgang correctStatus(IEntityContext ec, Vorgang formRecord, Status targetState, Benutzer user)
correctStatus in interface IVorgangDaopublic int bulkMarkRead(IEntityContext ec, List<Long> formRecordIds, boolean read)
IVorgangDaobulkMarkRead in interface IVorgangDaoec - 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 © 2020 XIMA MEDIA GmbH. All rights reserved.