Package de.xima.fc.dao.impl
Class StatusDao
- java.lang.Object
-
- de.xima.cmn.dao.AbstractDao<T,Long,IEntityContext>
-
- de.xima.fc.dao.impl.GenericDao<Status>
-
- de.xima.fc.dao.impl.StatusDao
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<Status,Long,IEntityContext>,IGenericDao<Status>,IStatusDao
public class StatusDao extends GenericDao<Status> implements IStatusDao
-
-
Constructor Summary
Constructors Constructor Description StatusDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Statuscopy(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 ÜbergebenenStatusgetByUUID(IEntityContext ec, Projekt project, String uuid)Returns the state with the given UUIDStatusgetByUUID(IEntityContext ec, Projekt project, UUID uuid)Returns the state with the given UUIDSet<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()-
Methods inherited from class de.xima.fc.dao.impl.GenericDao
read
-
Methods inherited from class de.xima.cmn.dao.AbstractDao
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
read
-
-
-
-
Method Detail
-
getEntityRefs
public Set<de.xima.cmn.dao.interfaces.IEntity<Long>> getEntityRefs(IEntityContext ec, Status status)
- Specified by:
getEntityRefsin interfaceIGenericDao<Status>- Overrides:
getEntityRefsin classGenericDao<Status>
-
copy
public Status copy(IEntityContext ec, Status sourceStatus, String targetName)
- Specified by:
copyin interfaceIStatusDao
-
getAllByProjekt
public List<Status> getAllByProjekt(IEntityContext ec, Projekt projekt)
- Specified by:
getAllByProjektin interfaceIStatusDao
-
getFolgeStatus
public List<Status> getFolgeStatus(IEntityContext ec, Benutzer currentUser, Projekt projekt, Status currentStatus)
- Specified by:
getFolgeStatusin interfaceIStatusDao
-
getAllForWorkflow
public List<Status> getAllForWorkflow(IEntityContext ec, Projekt projekt, Status skipStatus)
Liefert alle Status zu einem Projekt außer dem Übergebenen- Specified by:
getAllForWorkflowin interfaceIStatusDao
-
getByUUID
public Status getByUUID(IEntityContext ec, Projekt project, String uuid)
Description copied from interface:IStatusDaoReturns the state with the given UUID- Specified by:
getByUUIDin interfaceIStatusDao- Parameters:
ec-IEntityContextto useproject-Projektcontext in which to look for the stateuuid-StringUUID of the state- Returns:
Statusfor the given UUID and project
-
getByUUID
public Status getByUUID(IEntityContext ec, Projekt project, UUID uuid)
Description copied from interface:IStatusDaoReturns the state with the given UUID- Specified by:
getByUUIDin interfaceIStatusDao- Parameters:
ec-IEntityContextto useproject-Projektcontext in which to look for the stateuuid-UUIDUUID of the state- Returns:
Statusfor the given UUID and project
-
getPreActionHook
protected IFCDaoActionHook<Status> getPreActionHook()
- Overrides:
getPreActionHookin classGenericDao<Status>
-
getPostActionHook
protected IFCDaoActionHook<Status> getPostActionHook()
- Overrides:
getPostActionHookin classGenericDao<Status>
-
-