© 2004 BEA Systems, Inc.

com.bea.content.manager
Interface SearchOps

All Superinterfaces:
Serializable

public interface SearchOps
extends Serializable

SearchOps is used to search over Nodes and Properties and return the Node ids that match the given criteria. The IDs may then be passed to NodeOps.getNodes() to retrieve all Nodes or to paginate.


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

Method Detail

search

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

Parameters:
search - - the search parameters (including the expression).
Returns:
ID[] - an array of Node ids.
Throws:
AuthenticationException - - 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