Class StatusAPI

    • Constructor Detail

      • StatusAPI

        public StatusAPI()
        Deprecated.
    • Method Detail

      • getFolgeStatus

        public List<Status> getFolgeStatus​(UserContext uc,
                                           Benutzer benutzer,
                                           Projekt projekt,
                                           Status aktuellerStatus)
        Deprecated.
        Method for determining the List of follow-up Status which based on the committed Status and the appropriate Projekt may be set, taking into account the authority of the given Benutzer.
        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 of Status which are available for status change.
        Since:
        2.4.3
      • getByUUID

        public Status getByUUID​(UserContext uc,
                                Projekt project,
                                String uuid)
        Deprecated.
        Returns the state with the given UUID
        Parameters:
        uc - UserContext to use
        project - Projekt context in which to look for the state
        uuid - 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 use
        project - Projekt context in which to look for the state
        uuid - 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.