© 2004 BEA Systems, Inc.

com.bea.content.spi
Interface SearchOps

All Superinterfaces:
Serializable
All Known Implementing Classes:
SearchOpsImpl

public interface SearchOps
extends Serializable

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


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

Method Detail

search

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

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.

© 2004 BEA Systems, Inc.

Copyright © 2004 BEA Systems, Inc. All Rights Reserved