|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--javax.naming.directory.SearchControls
|
+--oracle.dss.bicontext.BISearchControls
Encapsulates factors that control the behavior of a search. This class allows you to specify:
| Field Summary | |
static int |
DATECompare the time to date precision. |
static int |
HOURCompare the time to hours precision. |
static int |
MINUTECompare the time to minutes precision. |
static int |
ONELEVEL_SCOPE_WITH_FOLDERSFind the objects in the named folder that contain objects that meet the search criteria, as well as all of the subfolders of the named folder. |
static int |
SECONDCompare the time to seconds precision. |
static int |
SELECTIVE_ONELEVEL_SCOPEFind the subfolders of the named folder that contain objects that meet the search criteria, as well as objects in the named folder that meet the search criteria. |
| Fields inherited from class javax.naming.directory.SearchControls |
OBJECT_SCOPE, ONELEVEL_SCOPE, SUBTREE_SCOPE |
| Constructor Summary | |
BISearchControls() | |
| Method Summary | |
BIFilter |
getResultFilter()Retrieves the search result filter that is used after the search is finished. |
BIComparator |
getSortingComparator()Returns a comparator that's used for comparing BISearchResult elements during sorting |
int |
getTimePrecision()Retrieves the precision that the search uses in comparing time values. |
boolean |
isCaseSensitive()Retrieves the caseSensitive setting that the search uses in comparing String values. |
boolean |
isSortingOn()Queries BISearchControls to find out whether the sorting option is turned on. |
void |
setCaseSensitive(boolean caseSensitive)Specifies where the search on attribute values is case sensitive. |
void |
setResultFilter(BIFilter filter)Specifies the search result filter to use after the search is finished. |
void |
setSortingComparator(BIComparator comp)Sets a comparator that's used for comparing BISearchResult elements during sorting |
void |
setSortingOn(boolean flag)Turns sorting behaviour on or off. |
void |
setTimePrecision(int precision)Specifies the precision to use when the search compares time values. |
| Methods inherited from class javax.naming.directory.SearchControls |
getCountLimit, getDerefLinkFlag, getReturningAttributes, getReturningObjFlag, getSearchScope, getTimeLimit, setCountLimit, setDerefLinkFlag, setReturningAttributes, setReturningObjFlag, setSearchScope, setTimeLimit |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int SELECTIVE_ONELEVEL_SCOPE
SearchResults will contain subfolders in which objects that meet the search criteria are found.public static final int ONELEVEL_SCOPE_WITH_FOLDERS
SELECTIVE_ONE_LEVEL_SCOPE in that, with this scope, all subfolders are included in the results. With SELECTIVE_ONELEVEL_SCOPE, only the subfolders that contain searched-for objects are included in the results.SELECTIVE_ONELEVEL_SCOPEpublic static final int DATE
public static final int HOUR
public static final int MINUTE
public static final int SECOND
| Constructor Detail |
public BISearchControls()
| Method Detail |
public void setTimePrecision(int precision)
TIME_DATE_MODIFIED attribute, then this method specifies whether you want to find objects that were modified on a particular day, or at a particular hour, or at a particular minute, or at a particular second.precision - A constant that represents the precision to use when the search is performed. Valid values are listed in the See Also section.DATE, HOUR, MINUTE, SECONDpublic int getTimePrecision()
DATE, HOUR, MINUTE, SECONDpublic void setResultFilter(BIFilter filter)
A - BIFilter object that is used to filter the search results from the search.public BIFilter getResultFilter()
BIFilter object that is used to filter the search results from the search.public void setCaseSensitive(boolean caseSensitive)
caseSensitive - A boolean that represents whether the search is case sensitiveisCaseSensitive(), PSRConstantspublic boolean isCaseSensitive()
setCaseSensitive(boolean), PSRConstantspublic void setSortingComparator(BIComparator comp)
BISearchResult elements during sortingcomp - implementation of BIComparator interface. This parameter shouldn't be null.public BIComparator getSortingComparator()
BISearchResult elements during sortingBIComparator interface; null if none is setpublic boolean isSortingOn()
BISearchControls to find out whether the sorting option is turned on.true if the sorting is on, false if sorting is offpublic void setSortingOn(boolean flag)
flag - true to turn sorting on, false to turn sorting off.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||