public class StatusHandler extends AMSApiHandler implements IStatusHandler
Constructor and Description |
---|
StatusHandler() |
Modifier and Type | Method and Description |
---|---|
Status |
getByUUID(UserContext uc,
Projekt project,
String uuid)
Returns the state with the given UUID
|
Status |
getByUUID(UserContext uc,
Projekt project,
UUID uuid)
Returns the state with the given UUID
|
List<Status> |
getFolgeStatus(UserContext uc,
Benutzer currentUser,
Projekt projekt,
Status currentStatus)
Gets the folge status.
|
List<Status> |
getStatusPre(UserContext uc,
long stateId)
Retrieves the
Status.getStatusPre() . |
Status |
move(UserContext uc,
Status status,
int newIdxNum) |
getName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public List<Status> getFolgeStatus(UserContext uc, Benutzer currentUser, Projekt projekt, Status currentStatus)
getFolgeStatus
in interface IStatusHandler
uc
- the ucprojekt
- the projektcurrentStatus
- the current statuspublic List<Status> getStatusPre(UserContext uc, long stateId)
IStatusHandler
Status.getStatusPre()
.getStatusPre
in interface IStatusHandler
uc
- Current user context.public Status getByUUID(UserContext uc, Projekt project, UUID uuid)
IStatusHandler
getByUUID
in interface IStatusHandler
uc
- UserContext
to useproject
- Projekt
context in which to look for the stateuuid
- UUID
UUID of the stateStatus
for the given UUID and projectpublic Status getByUUID(UserContext uc, Projekt project, String uuid)
IStatusHandler
getByUUID
in interface IStatusHandler
uc
- UserContext
to useproject
- Projekt
context in which to look for the stateuuid
- String
UUID of the stateStatus
for the given UUID and projectpublic Status move(UserContext uc, Status status, int newIdxNum)
move
in interface IStatusHandler
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.