Package de.xima.fc.api.entity
Class StatusAPI
Deprecated.
API class for manipulation of
Status
entities.- Author:
- XIMA MEDIA GmbH
-
Field Summary
Fields inherited from class de.xima.fc.api.entity.AEntityAPI
entityClass
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetByProjekt
(UserContext uc, Projekt projekt) getByUUID
(UserContext uc, Projekt project, String uuid) Deprecated.Returns the state with the given UUIDgetByUUID
(UserContext uc, Projekt project, UUID uuid) Deprecated.Returns the state with the given UUIDgetFolgeStatus
(UserContext uc, Benutzer benutzer, Projekt projekt, Status aktuellerStatus) getStatusPre
(UserContext uc, Status state) Deprecated.Retrieves theStatus.getStatusPre()
.move
(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, getSingleAttributes, getSingleAttributes, resultTotalCount, resultTotalCount, update, update
Methods inherited from class de.xima.fc.api.ASubAPI
getHandlerProvider
-
Constructor Details
-
StatusAPI
public StatusAPI()Deprecated.
-
-
Method Details
-
getByProjekt
Deprecated. -
getStatusPre
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
Deprecated.Returns the state with the given UUID- Parameters:
uc
-UserContext
to useproject
-Projekt
context in which to look for the stateuuid
-String
UUID of the state- Returns:
Status
for the given UUID and project- Since:
- 6.x.x
-
getByUUID
Deprecated.Returns the state with the given UUID- Parameters:
uc
-UserContext
to useproject
-Projekt
context in which to look for the stateuuid
-UUID
UUID of the state- Returns:
Status
for the given UUID and project- Since:
- 6.x.x
-
move
Deprecated.Method for moving a status to the committed index.- Parameters:
uc
-UserContext
the user context in which the action is to be performed.status
-Status
which should be moved.newIdxNum
- index number of the next status.- Returns:
Status
the moved status.
-
getFolgeStatus
@Deprecated public List<Status> getFolgeStatus(UserContext uc, Benutzer benutzer, Projekt projekt, Status aktuellerStatus) Deprecated.- Parameters:
uc
-UserContext
the user context in which the action is to be performed.benutzer
-Benutzer
which follow-up status should be determined.projekt
-Projekt
the project in which the status change is to be executed.aktuellerStatus
-Status
the current status from which the status change is to be executed.- Returns:
List
ofStatus
which are available for status change.- Since:
- 2.4.3
-
WorkflowStateAPI
and the new workflow engine.