public class AktionAPI extends AEntityAPI<Aktion>
Aktion
entities.entityClass
Constructor and Description |
---|
AktionAPI() |
Modifier and Type | Method and Description |
---|---|
List<Aktion> |
getAllByStatus(UserContext uc,
Status status)
Method for loading all
Aktion of a status. |
Aktion |
getByUUID(UserContext uc,
Status state,
String uuid)
Returns the action with the given UUID
|
Aktion |
getByUUID(UserContext uc,
Status state,
UUID uuid)
Returns the action with the given UUID
|
List<Aktion> |
getFolgeAktionen(UserContext uc,
Aktion aktion)
Method for loading all follow-up actions of a committed action.
|
List<Aktion> |
getPrevAktionen(UserContext uc,
Aktion aktion,
Class<? extends IProcessing> verarbeitungsInterface)
Method for loading all predecessor actions of a committed action, which implement the passed interface.
|
BasicRefResult |
isAktionMoveable(UserContext uc,
Aktion aktion,
int targetIdx)
Method for checking if the committed action is movable.
|
Aktion |
move(UserContext uc,
Aktion aktion,
int targetIdx)
Method for moving a action to the committed index.
|
create, create, delete, delete, deleteAllBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getSingleAttributes, getSingleAttributes, resultTotalCount, resultTotalCount, update, update
getHandlerProvider
public List<Aktion> getAllByStatus(UserContext uc, Status status)
Aktion
of a status. This must be used in the Frontend-Server to pick up the
lazy-initialized list of the Aktion
.uc
- UserContext
the user context in which the action is to be performed.status
- which Aktion
should be loaded.List
of Aktion
public List<Aktion> getFolgeAktionen(UserContext uc, Aktion aktion)
uc
- UserContext
the user context in which the action is to be performed.aktion
- Aktion
for which the follow-up actions should be determined.public List<Aktion> getPrevAktionen(UserContext uc, Aktion aktion, Class<? extends IProcessing> verarbeitungsInterface)
uc
- UserContext
the user context in which the action is to be performed.aktion
- Aktion
for which the previous actions should be determined.verarbeitungsInterface
- The class which implement the interface IProcessing
.public Aktion getByUUID(UserContext uc, Status state, String uuid)
uc
- UserContext
to usestate
- Status
context in which to look for resourceuuid
- String
UUID of the actionAktion
for the given UUID and statepublic Aktion getByUUID(UserContext uc, Status state, UUID uuid)
uc
- UserContext
to usestate
- Status
context in which to look for resourceuuid
- UUID
UUID of the actionAktion
for the given UUID and statepublic BasicRefResult isAktionMoveable(UserContext uc, Aktion aktion, int targetIdx)
uc
- UserContext
the user context in which the action is to be performed.aktion
- Aktion
which should be moved.targetIdx
- Integer
index in which position should the action moved.BasicRefResult
with the referenced IDs and success flag.public Aktion move(UserContext uc, Aktion aktion, int targetIdx)
uc
- UserContext
the user context in which the action is to be performed.aktion
- Aktion
which should be moved.targetIdx
- Integer
index in which position should the action moved.Aktion
which is moved.Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.