com.bea.content.spi
Interface SearchOps

All Superinterfaces
Serializable
All Known Subinterfaces:
ExtendedSearchOps

public interface SearchOps
extends Serializable

SearchOps is used to search over Nodes and Properties and return the Node ids that match the given criteria.

See Also
ExtendedSearchOps

Method Summary
 ID[] search(Search search)
          Performs a search with the given parameters.
 

Method Detail

search

ID[] search(Search search)
            throws AuthorizationException,
                   RepositoryException
Performs a search with the given parameters.

If the SPI does not support FullText Search, this method may either return a null or empty array which the VCR will interpret as an empty result set. Otherwise, an exception may be thrown and that exception will be reported to the user when calling ISearchManager.search(com.bea.content.ContentContext, com.bea.content.expression.Search).

Parameters
search - the search parameters (including the expression).
Returns
an array of Node ids.
Throws
AuthorizationException - - if the user attempting the operation isn't authenticated against the repository.
AuthorizationException - - if the user attempting the operation is not authorized to perform it.
RepositoryException - - if validation error occurs.
See Also
Search.isFullTextSearch()


Copyright © 2006 BEA Systems, Inc. All Rights Reserved