Package de.xima.fc.dao.interfaces
Interface IVorgangDao
- 
- All Superinterfaces:
 de.xima.cmn.dao.interfaces.IAbstractDao<Vorgang,Long,IEntityContext>,IGenericDao<Vorgang>
- All Known Implementing Classes:
 VorgangDao
public interface IVorgangDao extends IGenericDao<Vorgang>
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description List<Vorgang>allByPostfach(IEntityContext ec, Postfach postfach)List<Vorgang>allByProjekt(IEntityContext ec, Projekt pro)intbulkdDeleteAll(IEntityContext ec, Postfach postfach)Deprecated.intbulkdDeleteAll(IEntityContext ec, Projekt project)Deprecated.intbulkDeleteAll(IEntityContext ec, Postfach postfach)intbulkDeleteAll(IEntityContext ec, Projekt project)intbulkMarkRead(IEntityContext ec, List<Long> formRecordIds, boolean read)Sets the attribute 'gelesen' of all the form records with the given IDsVorgangcorrectStatus(IEntityContext ec, Vorgang formRecord, Status targetState, Benutzer user)voiddeleteAll(IEntityContext ec, Postfach postfach)Deprecated.voiddeleteAll(IEntityContext ec, Projekt selected)Deprecated.intdeleteAllUnverified(IEntityContext ec)booleanexistsIdentityToken(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 tokenVorganggetByProzessId(IEntityContext ec, String prozessId)VorganggetByUUID(IEntityContext ec, String uuid)Returns the form record with the given UUIDVorganggetByUUID(IEntityContext ec, UUID uuid)Returns the form record with the given UUIDVorganggetByVerifyId(IEntityContext ec, String verifyId)GetsVorgangby its Verify-IDList<Vorgang>getChildren(IEntityContext ec, Vorgang formRecord)StringgetFormData(IEntityContext ec, Vorgang v)VorganggetParent(IEntityContext ec, Vorgang formRecord)List<Vorgang>getVorgaengeByBenutzer(IEntityContext ec, Benutzer benutzer)VorgangsetFormData(IEntityContext ec, Vorgang v, String formData)- 
Methods inherited from interface de.xima.cmn.dao.interfaces.IAbstractDao
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 
- 
Methods inherited from interface de.xima.fc.dao.interfaces.IGenericDao
getEntityRefs, read 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getByProzessId
Vorgang getByProzessId(IEntityContext ec, String prozessId)
 
- 
getByVerifyId
Vorgang getByVerifyId(IEntityContext ec, String verifyId)
GetsVorgangby its Verify-ID- Parameters:
 ec-IEntityContextverifyId-String- Returns:
 Vorgang- Since:
 - 6.0.0
 
 
- 
getVorgaengeByBenutzer
List<Vorgang> getVorgaengeByBenutzer(IEntityContext ec, Benutzer benutzer)
 
- 
allByProjekt
List<Vorgang> allByProjekt(IEntityContext ec, Projekt pro)
 
- 
allByPostfach
List<Vorgang> allByPostfach(IEntityContext ec, Postfach postfach)
 
- 
getFormData
String getFormData(IEntityContext ec, Vorgang v)
 
- 
setFormData
Vorgang setFormData(IEntityContext ec, Vorgang v, String formData)
 
- 
deleteAll
@Deprecated void deleteAll(IEntityContext ec, Projekt selected)
Deprecated.- Parameters:
 ec-IEntityContextselected-Projekt
 
- 
bulkdDeleteAll
@Deprecated int bulkdDeleteAll(IEntityContext ec, Projekt project)
Deprecated.- Parameters:
 ec-IEntityContextfor accessing the database.project-Projektto which the form record belongs.- Returns:
 - count of deleted entries
 
 
- 
bulkDeleteAll
int bulkDeleteAll(IEntityContext ec, Projekt project)
- Parameters:
 ec-IEntityContextfor accessing the database.project-Projektto which the form record belongs.- Returns:
 - count of deleted entries
 - Since:
 - 6.0.2
 
 
- 
deleteAll
@Deprecated void deleteAll(IEntityContext ec, Postfach postfach)
Deprecated.- Parameters:
 ec- {IEntityContextfor accessing the database.postfach-Postfachin which the form set is located.
 
- 
bulkdDeleteAll
@Deprecated int bulkdDeleteAll(IEntityContext ec, Postfach postfach)
Deprecated.- Parameters:
 ec-IEntityContextfor accessing the database.postfach-Postfachin which the form set is located.
 
- 
bulkDeleteAll
int bulkDeleteAll(IEntityContext ec, Postfach postfach)
- Parameters:
 ec-IEntityContextfor accessing the database.postfach-Postfachin which the form set is located.- Since:
 - 6.0.2
 
 
- 
existsIdentityToken
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
 
- Parameters:
 ec- Entity context for accessing the database.formRecord- Current form record. Ifnull, allows all form records for the given project.identityToken- New identity token to be checked.project- Project to which the form record belongs.- Returns:
 - True iff a form record with the given identity token exists already.
 
 
- 
deleteAllUnverified
int deleteAllUnverified(IEntityContext ec)
- Parameters:
 ec- Entity context for accessing the database.
 
- 
correctStatus
Vorgang correctStatus(IEntityContext ec, Vorgang formRecord, Status targetState, Benutzer user)
 
- 
bulkMarkRead
int bulkMarkRead(IEntityContext ec, List<Long> formRecordIds, boolean read)
Sets the attribute 'gelesen' of all the form records with the given IDs- Parameters:
 ec-IEntityContextto useformRecordIds-Listof IDs of the form records to updateread-Booleanvalue to set the attribute 'gelesen' to- Returns:
 - the number of updated records
 - Since:
 - 6.2.1
 
 
- 
getByUUID
Vorgang getByUUID(IEntityContext ec, String uuid)
Returns the form record with the given UUID- Parameters:
 ec-IEntityContextto useuuid-StringUUID of the template- Returns:
 - The appointment template for the given UUID
 
 
- 
getByUUID
Vorgang getByUUID(IEntityContext ec, UUID uuid)
Returns the form record with the given UUID- Parameters:
 ec-IEntityContextto useuuid-UUIDUUID of the template- Returns:
 - The appointment template for the given UUID
 
 
- 
getParent
@Nullable Vorgang getParent(IEntityContext ec, Vorgang formRecord)
- Parameters:
 ec- Entity context to access the database.formRecord- Form record for which to find the parent.- Returns:
 - The parent form record of the given form record, or 
nullif no parent exists. 
 
- 
getChildren
List<Vorgang> getChildren(IEntityContext ec, Vorgang formRecord)
- Parameters:
 ec- Entity context to access the database.formRecord- Form record for which to find the parent.- Returns:
 - All children of the given form record, or an empty list if no children exist.
 
 
 - 
 
 -