public class QueueSearchCriteria
extends java.lang.Object
implements java.io.Serializable
The search criteria to be used to return queues.
The name and description fields support "contains"
queries with a minimum of 2 characters and a maximum of 25 characters. Any
queries with character lengths outside of this range will throw invalid
results.
| Constructor and Description |
|---|
QueueSearchCriteria() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<QueueSearchCriteria> |
getAndConditions()
A list of conditions which would be applied together with an AND
condition.
|
java.util.List<QueueSearchCriteria> |
getOrConditions()
A list of conditions which would be applied together with an OR
condition.
|
java.lang.String |
getQueueTypeCondition()
The type of queue.
|
StringCondition |
getStringCondition()
A leaf node condition which can be used to specify a string condition.
|
int |
hashCode() |
void |
setAndConditions(java.util.Collection<QueueSearchCriteria> andConditions)
A list of conditions which would be applied together with an AND
condition.
|
void |
setOrConditions(java.util.Collection<QueueSearchCriteria> orConditions)
A list of conditions which would be applied together with an OR
condition.
|
void |
setQueueTypeCondition(SearchableQueueType queueTypeCondition)
The type of queue.
|
void |
setQueueTypeCondition(java.lang.String queueTypeCondition)
The type of queue.
|
void |
setStringCondition(StringCondition stringCondition)
A leaf node condition which can be used to specify a string condition.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
QueueSearchCriteria |
withAndConditions(java.util.Collection<QueueSearchCriteria> andConditions)
A list of conditions which would be applied together with an AND
condition.
|
QueueSearchCriteria |
withAndConditions(QueueSearchCriteria... andConditions)
A list of conditions which would be applied together with an AND
condition.
|
QueueSearchCriteria |
withOrConditions(java.util.Collection<QueueSearchCriteria> orConditions)
A list of conditions which would be applied together with an OR
condition.
|
QueueSearchCriteria |
withOrConditions(QueueSearchCriteria... orConditions)
A list of conditions which would be applied together with an OR
condition.
|
QueueSearchCriteria |
withQueueTypeCondition(SearchableQueueType queueTypeCondition)
The type of queue.
|
QueueSearchCriteria |
withQueueTypeCondition(java.lang.String queueTypeCondition)
The type of queue.
|
QueueSearchCriteria |
withStringCondition(StringCondition stringCondition)
A leaf node condition which can be used to specify a string condition.
|
public java.util.List<QueueSearchCriteria> getOrConditions()
A list of conditions which would be applied together with an OR condition.
A list of conditions which would be applied together with an OR condition.
public void setOrConditions(java.util.Collection<QueueSearchCriteria> orConditions)
A list of conditions which would be applied together with an OR condition.
orConditions - A list of conditions which would be applied together with an OR condition.
public QueueSearchCriteria withOrConditions(QueueSearchCriteria... orConditions)
A list of conditions which would be applied together with an OR condition.
Returns a reference to this object so that method calls can be chained together.
orConditions - A list of conditions which would be applied together with an OR condition.
public QueueSearchCriteria withOrConditions(java.util.Collection<QueueSearchCriteria> orConditions)
A list of conditions which would be applied together with an OR condition.
Returns a reference to this object so that method calls can be chained together.
orConditions - A list of conditions which would be applied together with an OR condition.
public java.util.List<QueueSearchCriteria> getAndConditions()
A list of conditions which would be applied together with an AND condition.
A list of conditions which would be applied together with an AND condition.
public void setAndConditions(java.util.Collection<QueueSearchCriteria> andConditions)
A list of conditions which would be applied together with an AND condition.
andConditions - A list of conditions which would be applied together with an AND condition.
public QueueSearchCriteria withAndConditions(QueueSearchCriteria... andConditions)
A list of conditions which would be applied together with an AND condition.
Returns a reference to this object so that method calls can be chained together.
andConditions - A list of conditions which would be applied together with an AND condition.
public QueueSearchCriteria withAndConditions(java.util.Collection<QueueSearchCriteria> andConditions)
A list of conditions which would be applied together with an AND condition.
Returns a reference to this object so that method calls can be chained together.
andConditions - A list of conditions which would be applied together with an AND condition.
public StringCondition getStringCondition()
A leaf node condition which can be used to specify a string condition.
The currently supported values for FieldName are
name, description, and resourceID.
A leaf node condition which can be used to specify a string condition.
The currently supported values for FieldName are
name, description, and
resourceID.
public void setStringCondition(StringCondition stringCondition)
A leaf node condition which can be used to specify a string condition.
The currently supported values for FieldName are
name, description, and resourceID.
stringCondition - A leaf node condition which can be used to specify a string condition.
The currently supported values for FieldName are
name, description, and
resourceID.
public QueueSearchCriteria withStringCondition(StringCondition stringCondition)
A leaf node condition which can be used to specify a string condition.
The currently supported values for FieldName are
name, description, and resourceID.
Returns a reference to this object so that method calls can be chained together.
stringCondition - A leaf node condition which can be used to specify a string condition.
The currently supported values for FieldName are
name, description, and
resourceID.
public java.lang.String getQueueTypeCondition()
The type of queue.
Constraints:
Allowed Values: STANDARD
The type of queue.
SearchableQueueTypepublic void setQueueTypeCondition(java.lang.String queueTypeCondition)
The type of queue.
Constraints:
Allowed Values: STANDARD
queueTypeCondition - The type of queue.
SearchableQueueTypepublic QueueSearchCriteria withQueueTypeCondition(java.lang.String queueTypeCondition)
The type of queue.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: STANDARD
queueTypeCondition - The type of queue.
SearchableQueueTypepublic void setQueueTypeCondition(SearchableQueueType queueTypeCondition)
The type of queue.
Constraints:
Allowed Values: STANDARD
queueTypeCondition - The type of queue.
SearchableQueueTypepublic QueueSearchCriteria withQueueTypeCondition(SearchableQueueType queueTypeCondition)
The type of queue.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: STANDARD
queueTypeCondition - The type of queue.
SearchableQueueTypepublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object