public class UserSearchCriteria
extends java.lang.Object
implements java.io.Serializable
The search criteria to be used to return users.
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 |
|---|
UserSearchCriteria() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<UserSearchCriteria> |
getAndConditions()
A list of conditions which would be applied together with an
AND condition. |
HierarchyGroupCondition |
getHierarchyGroupCondition()
A leaf node condition which can be used to specify a hierarchy group
condition.
|
java.util.List<UserSearchCriteria> |
getOrConditions()
A list of conditions which would be applied together with an
OR condition. |
StringCondition |
getStringCondition()
A leaf node condition which can be used to specify a string condition.
|
int |
hashCode() |
void |
setAndConditions(java.util.Collection<UserSearchCriteria> andConditions)
A list of conditions which would be applied together with an
AND condition. |
void |
setHierarchyGroupCondition(HierarchyGroupCondition hierarchyGroupCondition)
A leaf node condition which can be used to specify a hierarchy group
condition.
|
void |
setOrConditions(java.util.Collection<UserSearchCriteria> orConditions)
A list of conditions which would be applied together with an
OR condition. |
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.
|
UserSearchCriteria |
withAndConditions(java.util.Collection<UserSearchCriteria> andConditions)
A list of conditions which would be applied together with an
AND condition. |
UserSearchCriteria |
withAndConditions(UserSearchCriteria... andConditions)
A list of conditions which would be applied together with an
AND condition. |
UserSearchCriteria |
withHierarchyGroupCondition(HierarchyGroupCondition hierarchyGroupCondition)
A leaf node condition which can be used to specify a hierarchy group
condition.
|
UserSearchCriteria |
withOrConditions(java.util.Collection<UserSearchCriteria> orConditions)
A list of conditions which would be applied together with an
OR condition. |
UserSearchCriteria |
withOrConditions(UserSearchCriteria... orConditions)
A list of conditions which would be applied together with an
OR condition. |
UserSearchCriteria |
withStringCondition(StringCondition stringCondition)
A leaf node condition which can be used to specify a string condition.
|
public java.util.List<UserSearchCriteria> 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<UserSearchCriteria> 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 UserSearchCriteria withOrConditions(UserSearchCriteria... 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 UserSearchCriteria withOrConditions(java.util.Collection<UserSearchCriteria> 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<UserSearchCriteria> 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<UserSearchCriteria> 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 UserSearchCriteria withAndConditions(UserSearchCriteria... 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 UserSearchCriteria withAndConditions(java.util.Collection<UserSearchCriteria> 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 UserSearchCriteria 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 HierarchyGroupCondition getHierarchyGroupCondition()
A leaf node condition which can be used to specify a hierarchy group condition.
A leaf node condition which can be used to specify a hierarchy group condition.
public void setHierarchyGroupCondition(HierarchyGroupCondition hierarchyGroupCondition)
A leaf node condition which can be used to specify a hierarchy group condition.
hierarchyGroupCondition - A leaf node condition which can be used to specify a hierarchy group condition.
public UserSearchCriteria withHierarchyGroupCondition(HierarchyGroupCondition hierarchyGroupCondition)
A leaf node condition which can be used to specify a hierarchy group condition.
Returns a reference to this object so that method calls can be chained together.
hierarchyGroupCondition - A leaf node condition which can be used to specify a hierarchy group condition.
public 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