|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.idp.um.api.infomodel.GenericSearchFilter
public abstract class GenericSearchFilter
Generic search filter class.
Field Summary | |
---|---|
static int |
SEARCHTYPE_EQUALS
|
static int |
SEARCHTYPE_GREATER
|
static int |
SEARCHTYPE_GREATER_EQUALS
|
static int |
SEARCHTYPE_LESS
|
static int |
SEARCHTYPE_LESS_EQUALS
|
static int |
SEARCHTYPE_LIKE
|
static int |
SEARCHTYPE_LIKE_ENDS_WITH
|
static int |
SEARCHTYPE_LIKE_STARTS_WITH
|
Constructor Summary | |
---|---|
GenericSearchFilter()
Default constructor. |
Method Summary | |
---|---|
int |
getResultsMax()
Retrieves the maximum number of results. |
int |
getResultsOffset()
Retrieves the offset index. |
java.util.Iterator |
getSearches()
For internal use only. |
int |
getSearchType(java.lang.Object searchKey)
For internal use only. |
java.lang.Object |
getSearchVal(java.lang.Object searchKey)
For internal use only. |
java.lang.Object |
getSortField()
Retrieves the sorting field. |
boolean |
isMatchExactCriteria()
|
boolean |
isSearch(java.lang.Object searchKey)
For internal use only. |
boolean |
isSortAscending()
Determines whether the sorting results will occur in ascending order. |
void |
setMatchExactCriteria(boolean matchExactCriteria)
Setting this flag to true would result in an exact search returning results that exactly match the search criteria. |
void |
setResultsMax(int resultsMax)
Sets the total number of desired results. |
void |
setResultsOffset(int resultsOffset)
Sets the offset index. |
void |
setSort(java.lang.Object sortField,
boolean sortAscending)
Sets the sort order of the returned results. |
void |
setSortAscending(boolean sortAscending)
Sets the sort order of the returned results. |
void |
setSortField(java.lang.Object sortField)
Set the field name. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SEARCHTYPE_LIKE_STARTS_WITH
public static final int SEARCHTYPE_LIKE
public static final int SEARCHTYPE_LIKE_ENDS_WITH
public static final int SEARCHTYPE_EQUALS
public static final int SEARCHTYPE_GREATER_EQUALS
public static final int SEARCHTYPE_LESS_EQUALS
public static final int SEARCHTYPE_GREATER
public static final int SEARCHTYPE_LESS
Constructor Detail |
---|
public GenericSearchFilter()
Method Detail |
---|
public int getResultsMax()
public int getResultsOffset()
public void setResultsMax(int resultsMax)
resultsMax
- public void setResultsOffset(int resultsOffset)
offset
. This method is used for pagination in the user interface.
resultsOffset
- public void setSort(java.lang.Object sortField, boolean sortAscending)
sortField
- A constant object. See, for example, SORT_*
in PrincipalSearchFilter
.sortAscending
- Determines whether the sorting results will occur in ascending order.public boolean isSortAscending()
true
if the sorting results will occur in ascending order, false
otherwise.public void setSortField(java.lang.Object sortField)
SORT_*
in PrincipalSearchFilter
sortField
- A constant object. See, for example, SORT_*
in PrincipalSearchFilter
.public void setSortAscending(boolean sortAscending)
sortAscending
- Determines whether the sorting results will occur in ascending order.public java.lang.Object getSortField()
public boolean isSearch(java.lang.Object searchKey)
public java.lang.Object getSearchVal(java.lang.Object searchKey)
public int getSearchType(java.lang.Object searchKey)
public java.util.Iterator getSearches()
public void setMatchExactCriteria(boolean matchExactCriteria)
true
would result in an exact search returning results that exactly match the search criteria.
This flag should be set before setting any criteria, otherwise it will behave as wild-card search for attributes set before setting this flag.
public boolean isMatchExactCriteria()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |