Package de.xima.fc.api.entity
Class StatusAPI
- java.lang.Object
-
- de.xima.fc.api.ASubAPI
-
- de.xima.fc.api.entity.AEntityAPI<Status>
-
- de.xima.fc.api.entity.StatusAPI
-
@Deprecated public class StatusAPI extends AEntityAPI<Status>
Deprecated.UseWorkflowStateAPIand the new workflow engine.API class for manipulation ofStatusentities.- Author:
- XIMA MEDIA GmbH
-
-
Field Summary
-
Fields inherited from class de.xima.fc.api.entity.AEntityAPI
entityClass
-
-
Constructor Summary
Constructors Constructor Description StatusAPI()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<Status>getByProjekt(UserContext uc, Projekt projekt)Deprecated.StatusgetByUUID(UserContext uc, Projekt project, String uuid)Deprecated.Returns the state with the given UUIDStatusgetByUUID(UserContext uc, Projekt project, UUID uuid)Deprecated.Returns the state with the given UUIDList<Status>getFolgeStatus(UserContext uc, Benutzer benutzer, Projekt projekt, Status aktuellerStatus)List<Status>getStatusPre(UserContext uc, Status state)Deprecated.Retrieves theStatus.getStatusPre().Statusmove(UserContext uc, Status status, int newIdxNum)Deprecated.Method for moving a status 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, getEntityRefs, getPagedResult, getSingleAttributes, getSingleAttributes, resultTotalCount, resultTotalCount, update, update
-
Methods inherited from class de.xima.fc.api.ASubAPI
getHandlerProvider
-
-
-
-
Method Detail
-
getByProjekt
public List<Status> getByProjekt(UserContext uc, Projekt projekt)
Deprecated.
-
getStatusPre
public List<Status> getStatusPre(UserContext uc, Status state)
Deprecated.Retrieves theStatus.getStatusPre().- Parameters:
uc- Current user context.state- The state for which to get theStatus.getStatusPre().- Returns:
- All states that allow a state change to the given state.
-
getByUUID
public Status getByUUID(UserContext uc, Projekt project, String uuid)
Deprecated.Returns the state with the given UUID- Parameters:
uc-UserContextto useproject-Projektcontext in which to look for the stateuuid-StringUUID of the state- Returns:
Statusfor the given UUID and project- Since:
- 6.x.x
-
getByUUID
public Status getByUUID(UserContext uc, Projekt project, UUID uuid)
Deprecated.Returns the state with the given UUID- Parameters:
uc-UserContextto useproject-Projektcontext in which to look for the stateuuid-UUIDUUID of the state- Returns:
Statusfor the given UUID and project- Since:
- 6.x.x
-
move
public Status move(UserContext uc, Status status, int newIdxNum)
Deprecated.Method for moving a status to the committed index.- Parameters:
uc-UserContextthe user context in which the action is to be performed.status-Statuswhich should be moved.newIdxNum- index number of the next status.- Returns:
Statusthe moved status.
-
getFolgeStatus
@Deprecated public List<Status> getFolgeStatus(UserContext uc, Benutzer benutzer, Projekt projekt, Status aktuellerStatus)
Deprecated.- Parameters:
uc-UserContextthe user context in which the action is to be performed.benutzer-Benutzerwhich follow-up status should be determined.projekt-Projektthe project in which the status change is to be executed.aktuellerStatus-Statusthe current status from which the status change is to be executed.- Returns:
ListofStatuswhich are available for status change.- Since:
- 2.4.3
-
-