Interface QueuesServiceLocal
-
public interface QueuesServiceLocalLocal interface for the Queues service from the Planner API
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringchangeServerJobPriority(java.lang.String id, int priority)Change the server job priority in the queuejava.lang.StringdeleteFromQueue(java.lang.String id, boolean throwTechnicalErrorForWorkflowJob)Deletes the server job at the specified ID from the queueQueuegetQueue(java.lang.String id)Returns queue at the specified IDjava.util.List<Queue>getQueues(QueuesFilter filter)Returns queues fulfilling the search criteria
-
-
-
Method Detail
-
getQueue
Queue getQueue(java.lang.String id) throws PubServerException
Returns queue at the specified ID- Parameters:
id- queue ID- Returns:
- queue
- Throws:
PubServerException- See Also:
Queue
-
getQueues
java.util.List<Queue> getQueues(QueuesFilter filter) throws PubServerException
Returns queues fulfilling the search criteria- Parameters:
filter- search criteria in QueuesFilter object- Returns:
- List of queues
- Throws:
PubServerException- See Also:
Queue
-
deleteFromQueue
java.lang.String deleteFromQueue(java.lang.String id, boolean throwTechnicalErrorForWorkflowJob) throws PubServerExceptionDeletes the server job at the specified ID from the queue- Parameters:
id- queue IDthrowTechnicalErrorForWorkflowJob- 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 PubServerExceptionChange the server job priority in the queue- Parameters:
id- unique server namepriority-- Returns:
- unique server name
- Throws:
PubServerException
-
-