Class AktionAPI


@Deprecated public class AktionAPI extends AEntityAPI<Aktion>
Deprecated.
Use WorkflowNodeAPI and the new workflow engine.
API class for manipulation of Aktion entities.
Author:
XIMA MEDIA GmbH
  • Constructor Details

    • AktionAPI

      public AktionAPI()
      Deprecated.
  • Method Details

    • getAllByStatus

      public List<Aktion> getAllByStatus(UserContext uc, Status status)
      Deprecated.
      Method for loading all Aktion of a status. This must be used in the Frontend-Server to pick up the lazy-initialized list of the Aktion.
      Parameters:
      uc - UserContext the user context in which the action is to be performed.
      status - which Aktion should be loaded.
      Returns:
      List of Aktion
      Since:
      2.4.3
    • getFolgeAktionen

      public List<Aktion> getFolgeAktionen(UserContext uc, Aktion aktion)
      Deprecated.
      Method for loading all follow-up actions of a committed action.
      Parameters:
      uc - UserContext the user context in which the action is to be performed.
      aktion - Aktion for which the follow-up actions should be determined.
      Returns:
      The follow-up actions.
      Since:
      3.1.6
    • getPrevAktionen

      public List<Aktion> getPrevAktionen(UserContext uc, Aktion aktion, Class<? extends IProcessing> verarbeitungsInterface)
      Deprecated.
      Method for loading all predecessor actions of a committed action, which implement the passed interface.
      Parameters:
      uc - UserContext the user context in which the action is to be performed.
      aktion - Aktion for which the previous actions should be determined.
      verarbeitungsInterface - The class which implement the interface IProcessing.
      Returns:
      The predecessor actions.
      Since:
      3.1.6
    • getByUUID

      public Aktion getByUUID(UserContext uc, Status state, String uuid)
      Deprecated.
      Returns the action with the given UUID
      Parameters:
      uc - UserContext to use
      state - Status context in which to look for resource
      uuid - String UUID of the action
      Returns:
      Aktion for the given UUID and state
      Since:
      6.x.x
    • getByUUID

      public Aktion getByUUID(UserContext uc, Status state, UUID uuid)
      Deprecated.
      Returns the action with the given UUID
      Parameters:
      uc - UserContext to use
      state - Status context in which to look for resource
      uuid - UUID UUID of the action
      Returns:
      Aktion for the given UUID and state
      Since:
      6.x.x
    • isAktionMoveable

      public BasicRefResult isAktionMoveable(UserContext uc, Aktion aktion, int targetIdx)
      Deprecated.
      Method for checking if the committed action is movable.
      Parameters:
      uc - UserContext the user context in which the action is to be performed.
      aktion - Aktion which should be moved.
      targetIdx - Integer index in which position should the action moved.
      Returns:
      BasicRefResult with the referenced IDs and success flag.
    • move

      public Aktion move(UserContext uc, Aktion aktion, int targetIdx)
      Deprecated.
      Method for moving a action to the committed index.
      Parameters:
      uc - UserContext the user context in which the action is to be performed.
      aktion - Aktion which should be moved.
      targetIdx - Integer index in which position should the action moved.
      Returns:
      Aktion which is moved.