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.UseWorkflowStateAPI
and the new workflow engine.API class for manipulation ofStatus
entities.- 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.Status
getByUUID(UserContext uc, Projekt project, String uuid)
Deprecated.Returns the state with the given UUIDStatus
getByUUID(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()
.Status
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
-
-
-
-
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
-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
public Status getByUUID(UserContext uc, Projekt project, UUID uuid)
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
public Status move(UserContext uc, Status status, int newIdxNum)
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
-
-