Package de.xima.fc.api.entity
Class AktionAPI
- java.lang.Object
-
- de.xima.fc.api.ASubAPI
-
- de.xima.fc.api.entity.AEntityAPI<Aktion>
-
- de.xima.fc.api.entity.AktionAPI
-
@Deprecated public class AktionAPI extends AEntityAPI<Aktion>
Deprecated.UseWorkflowNodeAPI
and the new workflow engine.API class for manipulation ofAktion
entities.- Author:
- XIMA MEDIA GmbH
-
-
Field Summary
-
Fields inherited from class de.xima.fc.api.entity.AEntityAPI
entityClass
-
-
Constructor Summary
Constructors Constructor Description AktionAPI()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<Aktion>
getAllByStatus(UserContext uc, Status status)
Deprecated.Method for loading allAktion
of a status.Aktion
getByUUID(UserContext uc, Status state, String uuid)
Deprecated.Returns the action with the given UUIDAktion
getByUUID(UserContext uc, Status state, UUID uuid)
Deprecated.Returns the action with the given UUIDList<Aktion>
getFolgeAktionen(UserContext uc, Aktion aktion)
Deprecated.Method for loading all follow-up actions of a committed action.List<Aktion>
getPrevAktionen(UserContext uc, Aktion aktion, Class<? extends IProcessing> verarbeitungsInterface)
Deprecated.Method for loading all predecessor actions of a committed action, which implement the passed interface.BasicRefResult
isAktionMoveable(UserContext uc, Aktion aktion, int targetIdx)
Deprecated.Method for checking if the committed action is movable.Aktion
move(UserContext uc, Aktion aktion, int targetIdx)
Deprecated.Method for moving a action to the committed index.-
Methods inherited from class de.xima.fc.api.entity.AEntityAPI
create, create, delete, delete, deleteAllBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getSingleAttributes, getSingleAttributes, resultTotalCount, resultTotalCount, update, update
-
Methods inherited from class de.xima.fc.api.ASubAPI
getHandlerProvider
-
-
-
-
Method Detail
-
getAllByStatus
public List<Aktion> getAllByStatus(UserContext uc, Status status)
Deprecated.Method for loading allAktion
of a status. This must be used in the Frontend-Server to pick up the lazy-initialized list of theAktion
.- Parameters:
uc
-UserContext
the user context in which the action is to be performed.status
- whichAktion
should be loaded.- Returns:
List
ofAktion
- Since:
- 2.4.3
-
getFolgeAktionen
public List<Aktion> getFolgeAktionen(UserContext uc, Aktion aktion)
Deprecated.Method for loading all follow-up actions of a committed action.- Parameters:
uc
-UserContext
the user context in which the action is to be performed.aktion
-Aktion
for which the follow-up actions should be determined.- Returns:
- The follow-up actions.
- Since:
- 3.1.6
-
getPrevAktionen
public List<Aktion> getPrevAktionen(UserContext uc, Aktion aktion, Class<? extends IProcessing> verarbeitungsInterface)
Deprecated.Method for loading all predecessor actions of a committed action, which implement the passed interface.- Parameters:
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 interfaceIProcessing
.- Returns:
- The predecessor actions.
- Since:
- 3.1.6
-
getByUUID
public Aktion getByUUID(UserContext uc, Status state, String uuid)
Deprecated.Returns the action with the given UUID- Parameters:
uc
-UserContext
to usestate
-Status
context in which to look for resourceuuid
-String
UUID of the action- Returns:
Aktion
for the given UUID and state- Since:
- 6.x.x
-
getByUUID
public Aktion getByUUID(UserContext uc, Status state, UUID uuid)
Deprecated.Returns the action with the given UUID- Parameters:
uc
-UserContext
to usestate
-Status
context in which to look for resourceuuid
-UUID
UUID of the action- Returns:
Aktion
for the given UUID and state- Since:
- 6.x.x
-
isAktionMoveable
public BasicRefResult isAktionMoveable(UserContext uc, Aktion aktion, int targetIdx)
Deprecated.Method for checking if the committed action is movable.- Parameters:
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.- Returns:
BasicRefResult
with the referenced IDs and success flag.
-
move
public Aktion move(UserContext uc, Aktion aktion, int targetIdx)
Deprecated.Method for moving a action to the committed index.- Parameters:
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.- Returns:
Aktion
which is moved.
-
-