Package de.xima.fc.dao.impl
Class AktionDao
- java.lang.Object
-
- de.xima.cmn.dao.AbstractDao<T,Long,IEntityContext>
-
- de.xima.fc.dao.impl.GenericDao<Aktion>
-
- de.xima.fc.dao.impl.AktionDao
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<Aktion,Long,IEntityContext>
,IAktionDao
,IGenericDao<Aktion>
public class AktionDao extends GenericDao<Aktion> implements IAktionDao
-
-
Constructor Summary
Constructors Constructor Description AktionDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Aktion
copy(IEntityContext ec, Aktion sourceAktion, Status targetStatus, String targetName)
List<Aktion>
getAllByProcessingClass(IEntityContext ec, Mandant client, Class<?> processingClass)
Returns all actions that have processing of defined by the given processing classList<Aktion>
getAllByStatus(IEntityContext ec, Status status)
Aktion
getByUUID(IEntityContext ec, Status state, String uuid)
Returns the action with the given UUIDAktion
getByUUID(IEntityContext ec, Status state, UUID uuid)
Returns the action with the given UUIDSet<de.xima.cmn.dao.interfaces.IEntity<Long>>
getEntityRefs(IEntityContext ec, Aktion aktion)
List<Aktion>
getFolgeAktionen(IEntityContext ec, Aktion aktion)
List<Aktion>
getFolgeAktionen(IEntityContext ec, Status stat, int aktionIdx)
protected IFCDaoActionHook<Aktion>
getPostActionHook()
protected IFCDaoActionHook<Aktion>
getPreActionHook()
List<Aktion>
getPrevAktionen(IEntityContext ec, Aktion aktion, Class<?> verarbeitungsInterface)
List<Aktion>
getPrevAktionen(IEntityContext ec, Status stat, int aktionIdx, Class<?> verarbeitungsInterface)
-
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, Aktion aktion)
- Specified by:
getEntityRefs
in interfaceIGenericDao<Aktion>
- Overrides:
getEntityRefs
in classGenericDao<Aktion>
-
copy
public Aktion copy(IEntityContext ec, Aktion sourceAktion, Status targetStatus, String targetName)
- Specified by:
copy
in interfaceIAktionDao
-
getPrevAktionen
public List<Aktion> getPrevAktionen(IEntityContext ec, Aktion aktion, Class<?> verarbeitungsInterface)
- Specified by:
getPrevAktionen
in interfaceIAktionDao
-
getPrevAktionen
public List<Aktion> getPrevAktionen(IEntityContext ec, Status stat, int aktionIdx, Class<?> verarbeitungsInterface)
- Specified by:
getPrevAktionen
in interfaceIAktionDao
-
getFolgeAktionen
public List<Aktion> getFolgeAktionen(IEntityContext ec, Aktion aktion)
- Specified by:
getFolgeAktionen
in interfaceIAktionDao
-
getFolgeAktionen
public List<Aktion> getFolgeAktionen(IEntityContext ec, Status stat, int aktionIdx)
- Specified by:
getFolgeAktionen
in interfaceIAktionDao
-
getAllByStatus
public List<Aktion> getAllByStatus(IEntityContext ec, Status status)
- Specified by:
getAllByStatus
in interfaceIAktionDao
-
getAllByProcessingClass
public List<Aktion> getAllByProcessingClass(IEntityContext ec, Mandant client, Class<?> processingClass)
Description copied from interface:IAktionDao
Returns all actions that have processing of defined by the given processing class- Specified by:
getAllByProcessingClass
in interfaceIAktionDao
- Parameters:
ec
-IEntityContext
to be usedclient
-Mandant
to look for actionsprocessingClass
-Class
of the processing- Returns:
List
ofAktion
s
-
getByUUID
public Aktion getByUUID(IEntityContext ec, Status state, String uuid)
Description copied from interface:IAktionDao
Returns the action with the given UUID- Specified by:
getByUUID
in interfaceIAktionDao
- Parameters:
ec
-IEntityContext
to usestate
-Status
context in which to look for resourceuuid
-String
UUID of the action- Returns:
Aktion
for the given UUID and state
-
getByUUID
public Aktion getByUUID(IEntityContext ec, Status state, UUID uuid)
Description copied from interface:IAktionDao
Returns the action with the given UUID- Specified by:
getByUUID
in interfaceIAktionDao
- Parameters:
ec
-IEntityContext
to usestate
-Status
context in which to look for resourceuuid
-UUID
UUID of the action- Returns:
Aktion
for the given UUID and state
-
getPreActionHook
protected IFCDaoActionHook<Aktion> getPreActionHook()
- Overrides:
getPreActionHook
in classGenericDao<Aktion>
-
getPostActionHook
protected IFCDaoActionHook<Aktion> getPostActionHook()
- Overrides:
getPostActionHook
in classGenericDao<Aktion>
-
-