public class StatusDao extends GenericDao<Status> implements IStatusDao
Constructor and Description |
---|
StatusDao() |
Modifier and Type | Method and Description |
---|---|
Status |
copy(IEntityContext ec,
Status sourceStatus,
String targetName) |
List<Status> |
getAllByProjekt(IEntityContext ec,
Projekt projekt) |
List<Status> |
getAllForWorkflow(IEntityContext ec,
Projekt projekt,
Status skipStatus)
Liefert alle Status zu einem Projekt außer dem Übergebenen
|
Status |
getByUUID(IEntityContext ec,
Projekt project,
String uuid)
Returns the state with the given UUID
|
Status |
getByUUID(IEntityContext ec,
Projekt project,
UUID uuid)
Returns the state with the given UUID
|
Set<de.xima.cmn.dao.interfaces.IEntity<Long>> |
getEntityRefs(IEntityContext ec,
Status status) |
List<Status> |
getFolgeStatus(IEntityContext ec,
Benutzer currentUser,
Projekt projekt,
Status currentStatus) |
protected IFCDaoActionHook<Status> |
getPostActionHook() |
protected IFCDaoActionHook<Status> |
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, Status status)
getEntityRefs
in interface IGenericDao<Status>
getEntityRefs
in class GenericDao<Status>
public Status copy(IEntityContext ec, Status sourceStatus, String targetName)
copy
in interface IStatusDao
public List<Status> getAllByProjekt(IEntityContext ec, Projekt projekt)
getAllByProjekt
in interface IStatusDao
public List<Status> getFolgeStatus(IEntityContext ec, Benutzer currentUser, Projekt projekt, Status currentStatus)
getFolgeStatus
in interface IStatusDao
public List<Status> getAllForWorkflow(IEntityContext ec, Projekt projekt, Status skipStatus)
getAllForWorkflow
in interface IStatusDao
public Status getByUUID(IEntityContext ec, Projekt project, String uuid)
IStatusDao
getByUUID
in interface IStatusDao
ec
- IEntityContext
to useproject
- Projekt
context in which to look for the stateuuid
- String
UUID of the stateStatus
for the given UUID and projectpublic Status getByUUID(IEntityContext ec, Projekt project, UUID uuid)
IStatusDao
getByUUID
in interface IStatusDao
ec
- IEntityContext
to useproject
- Projekt
context in which to look for the stateuuid
- UUID
UUID of the stateStatus
for the given UUID and projectprotected IFCDaoActionHook<Status> getPreActionHook()
getPreActionHook
in class GenericDao<Status>
protected IFCDaoActionHook<Status> getPostActionHook()
getPostActionHook
in class GenericDao<Status>
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.