SearchOps Interface
- 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.
-
All Superinterfaces
-
Serializable
public ID [] |
-
search (Search search)
- Performs a search with the given parameters.
|
search(Search) Method
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.
Exceptions
-
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.