Interface IStatusHandler
-
- All Superinterfaces:
IAPIHandler
,Serializable
- All Known Implementing Classes:
StatusHandler
public interface IStatusHandler extends IAPIHandler
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Status
getByUUID(UserContext uc, Projekt project, String uuid)
Returns the state with the given UUIDStatus
getByUUID(UserContext uc, Projekt project, UUID uuid)
Returns the state with the given UUIDList<Status>
getFolgeStatus(UserContext uc, Benutzer currentUser, Projekt projekt, Status currentStatus)
Gets the folge status.List<Status>
getStatusPre(UserContext uc, long stateId)
Retrieves theStatus.getStatusPre()
.Status
move(UserContext uc, Status status, int newIdxNum)
-
Methods inherited from interface de.xima.fc.com.interfaces.IAPIHandler
getName
-
-
-
-
Method Detail
-
getFolgeStatus
List<Status> getFolgeStatus(UserContext uc, Benutzer currentUser, Projekt projekt, Status currentStatus)
Gets the folge status.- Parameters:
uc
- the uccurrentUser
-projekt
- the projektcurrentStatus
- the current status- Returns:
- list of status
-
getStatusPre
List<Status> getStatusPre(UserContext uc, long stateId)
Retrieves theStatus.getStatusPre()
.- Parameters:
uc
- Current user context.state
- The ID of the state for which to get theStatus.getStatusPre()
.- Returns:
- All states that allow a state change to the given state.
-
getByUUID
Status getByUUID(UserContext uc, Projekt project, String uuid)
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
Status getByUUID(UserContext uc, Projekt project, UUID uuid)
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
Status move(UserContext uc, Status status, int newIdxNum)
-
-