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.UseWorkflowNodeAPIand the new workflow engine.API class for manipulation ofAktionentities.- 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 allAktionof a status.AktiongetByUUID(UserContext uc, Status state, String uuid)Deprecated.Returns the action with the given UUIDAktiongetByUUID(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.BasicRefResultisAktionMoveable(UserContext uc, Aktion aktion, int targetIdx)Deprecated.Method for checking if the committed action is movable.Aktionmove(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 allAktionof a status. This must be used in the Frontend-Server to pick up the lazy-initialized list of theAktion.- Parameters:
 uc-UserContextthe user context in which the action is to be performed.status- whichAktionshould be loaded.- Returns:
 ListofAktion- 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-UserContextthe user context in which the action is to be performed.aktion-Aktionfor 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-UserContextthe user context in which the action is to be performed.aktion-Aktionfor 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-UserContextto usestate-Statuscontext in which to look for resourceuuid-StringUUID of the action- Returns:
 Aktionfor 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-UserContextto usestate-Statuscontext in which to look for resourceuuid-UUIDUUID of the action- Returns:
 Aktionfor 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-UserContextthe user context in which the action is to be performed.aktion-Aktionwhich should be moved.targetIdx-Integerindex in which position should the action moved.- Returns:
 BasicRefResultwith 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-UserContextthe user context in which the action is to be performed.aktion-Aktionwhich should be moved.targetIdx-Integerindex in which position should the action moved.- Returns:
 Aktionwhich is moved.
 
 - 
 
 -