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
@Deprecated public class StatusDao extends GenericDao<Status> implements IStatusDao
Deprecated.since 7.0.0 
- 
- 
Constructor Summary
Constructors Constructor Description StatusDao()Deprecated. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Statuscopy(IEntityContext ec, Status sourceStatus, String targetName)Deprecated.List<Status>getAllByProjekt(IEntityContext ec, Projekt projekt)Deprecated.List<Status>getAllForWorkflow(IEntityContext ec, Projekt projekt, Status skipStatus)Deprecated.Liefert alle Status zu einem Projekt außer dem ÜbergebenenStatusgetByUUID(IEntityContext ec, Projekt project, String uuid)Deprecated.Returns the state with the given UUIDStatusgetByUUID(IEntityContext ec, Projekt project, UUID uuid)Deprecated.Returns the state with the given UUIDSet<de.xima.cmn.dao.interfaces.IEntity<Long>>getEntityRefs(IEntityContext ec, Status status)Deprecated.Returns a set of entities that reference the given entity and depend on it.List<Status>getFolgeStatus(IEntityContext ec, Benutzer currentUser, Projekt projekt, Status currentStatus)Deprecated.protected IFCDaoActionHook<Status>getPostActionHook()Deprecated.protected IFCDaoActionHook<Status>getPreActionHook()Deprecated.- 
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
count, findAll, findSingle, read 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getEntityRefs
public Set<de.xima.cmn.dao.interfaces.IEntity<Long>> getEntityRefs(IEntityContext ec, Status status)
Deprecated.Description copied from interface:IGenericDaoReturns a set of entities that reference the given entity and depend on it. An entity can usually not be deleted if it is still being referenced by and depended on by other entities.- Specified by:
 getEntityRefsin interfaceIGenericDao<Status>- Overrides:
 getEntityRefsin classGenericDao<Status>- Parameters:
 ec- entity context for database transactions.status- to get references for.- Returns:
 - a set of entities that reference the given entity and depend on it.
 
 
- 
copy
public Status copy(IEntityContext ec, Status sourceStatus, String targetName)
Deprecated.- Specified by:
 copyin interfaceIStatusDao
 
- 
getAllByProjekt
public List<Status> getAllByProjekt(IEntityContext ec, Projekt projekt)
Deprecated.- Specified by:
 getAllByProjektin interfaceIStatusDao
 
- 
getAllForWorkflow
public List<Status> getAllForWorkflow(IEntityContext ec, Projekt projekt, Status skipStatus)
Deprecated.Liefert alle Status zu einem Projekt außer dem Übergebenen- Specified by:
 getAllForWorkflowin interfaceIStatusDao
 
- 
getByUUID
public Status getByUUID(IEntityContext ec, Projekt project, String uuid)
Deprecated.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)
Deprecated.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()
Deprecated.- Overrides:
 getPreActionHookin classGenericDao<Status>
 
- 
getPostActionHook
protected IFCDaoActionHook<Status> getPostActionHook()
Deprecated.- Overrides:
 getPostActionHookin classGenericDao<Status>
 
- 
getFolgeStatus
@Deprecated public List<Status> getFolgeStatus(IEntityContext ec, Benutzer currentUser, Projekt projekt, Status currentStatus)
Deprecated.- Specified by:
 getFolgeStatusin interfaceIStatusDao
 
 - 
 
 -