Interface QueuesServiceLocal


  • public interface QueuesServiceLocal
    Local interface for the Queues service from the Planner API
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String changeServerJobPriority​(java.lang.String id, int priority)
      Change the server job priority in the queue
      java.lang.String deleteFromQueue​(java.lang.String id, boolean throwTechnicalErrorForWorkflowJob)
      Deletes the server job at the specified ID from the queue
      Queue getQueue​(java.lang.String id)
      Returns queue at the specified ID
      java.util.List<Queue> getQueues​(QueuesFilter filter)
      Returns queues fulfilling the search criteria
    • Method Detail

      • deleteFromQueue

        java.lang.String deleteFromQueue​(java.lang.String id,
                                         boolean throwTechnicalErrorForWorkflowJob)
                                  throws PubServerException
        Deletes the server job at the specified ID from the queue
        Parameters:
        id - queue ID
        throwTechnicalErrorForWorkflowJob - If true TechnicalErrorForWorkflowJob is thrown. In the majority of cases it should be set on true.
        Returns:
        queue ID
        Throws:
        PubServerException
      • changeServerJobPriority

        java.lang.String changeServerJobPriority​(java.lang.String id,
                                                 int priority)
                                          throws PubServerException
        Change the server job priority in the queue
        Parameters:
        id - unique server name
        priority -
        Returns:
        unique server name
        Throws:
        PubServerException