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 Status
copy(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 ÜbergebenenStatus
getByUUID(IEntityContext ec, Projekt project, String uuid)
Deprecated.Returns the state with the given UUIDStatus
getByUUID(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:IGenericDao
Returns 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:
getEntityRefs
in interfaceIGenericDao<Status>
- Overrides:
getEntityRefs
in 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:
copy
in interfaceIStatusDao
-
getAllByProjekt
public List<Status> getAllByProjekt(IEntityContext ec, Projekt projekt)
Deprecated.- Specified by:
getAllByProjekt
in 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:
getAllForWorkflow
in interfaceIStatusDao
-
getByUUID
public Status getByUUID(IEntityContext ec, Projekt project, String uuid)
Deprecated.Description copied from interface:IStatusDao
Returns the state with the given UUID- Specified by:
getByUUID
in interfaceIStatusDao
- Parameters:
ec
-IEntityContext
to useproject
-Projekt
context in which to look for the stateuuid
-String
UUID of the state- Returns:
Status
for the given UUID and project
-
getByUUID
public Status getByUUID(IEntityContext ec, Projekt project, UUID uuid)
Deprecated.Description copied from interface:IStatusDao
Returns the state with the given UUID- Specified by:
getByUUID
in interfaceIStatusDao
- Parameters:
ec
-IEntityContext
to useproject
-Projekt
context in which to look for the stateuuid
-UUID
UUID of the state- Returns:
Status
for the given UUID and project
-
getPreActionHook
protected IFCDaoActionHook<Status> getPreActionHook()
Deprecated.- Overrides:
getPreActionHook
in classGenericDao<Status>
-
getPostActionHook
protected IFCDaoActionHook<Status> getPostActionHook()
Deprecated.- Overrides:
getPostActionHook
in classGenericDao<Status>
-
getFolgeStatus
@Deprecated public List<Status> getFolgeStatus(IEntityContext ec, Benutzer currentUser, Projekt projekt, Status currentStatus)
Deprecated.- Specified by:
getFolgeStatus
in interfaceIStatusDao
-
-