|
Oracle® Collaboration Suite Workspaces API Reference 10g (10.1.1.0.2) Part No. B16233-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.workspaces.search.CwSearchResults
This represents the conbined search results for a search query. A query can contain multiple containers in its scope; this object stores the search result set for each container as an independent set. It exposes API to get result sets based on original container object or container's entity type.
Constructor Summary | |
CwSearchResults(CwSearchResultSet[] containerResultSets) Constructs an CwSearchResults given an array of search results. |
Method Summary | |
CwSearchResultSet[] |
listResultSets() Gets all result sets in this results. |
CwSearchResultSet[] |
listResultSets(CwEntityType searchEntityType) Gets the results sets corresponding to the specified search entity type. |
CwSearchResultSet[] |
listResultSets(CwSearchContainer container) Gets the results sets corresponding to the specified container object. |
CwSearchResultSet[] |
listResultSets(java.lang.String searchEntityTypeName) Same as listResultSets(CwEntityType searchEntityType) except that entity type name in String format can be used instead of CwEntityType object. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CwSearchResults(CwSearchResultSet[] containerResultSets)
containerResultSets
- an array of search result set.Method Detail |
public CwSearchResultSet[] listResultSets()
public CwSearchResultSet[] listResultSets(CwEntityType searchEntityType)
searchEntityType
- the search entity type for which results sets are desired. This entity type must have been specified in some search containers of the query for this method to return non-empty array.listResultSets(String searchEntityTypeName)
public CwSearchResultSet[] listResultSets(CwSearchContainer container)
container
- the container object for which result sets are desired. Since search query does not enforce unique containers, there could be multiple results set for a container object. Container object is considered to match the result set's container if they are logically equal.public CwSearchResultSet[] listResultSets(java.lang.String searchEntityTypeName)
searchEntityTypeName
- the entity type name for which result sets are desired.listResultSets(CwEntityType searchEntityType)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |