com.bea.content.spi.flexspi.ticket
Interface SearchOpsV1

All Superinterfaces
ISPIMarker, ISPITicketMarker, Serializable
All Known Subinterfaces:
SearchOpsV2

Deprecated Replaced with SearchOpsV2

@Deprecated
public interface SearchOpsV1
extends Serializable, ISPITicketMarker

SearchOps is a Ticket interface for searching over Nodes and Properties and returning Node Ids that match the given criteria. It is also used for indexing Nodes.


Nested Class Summary
static class SearchOpsV1.MethodName
          Deprecated  
 
Method Summary
 void indexContentByPath(String path)
          Deprecated Asynchronously index all indexable content at the specified path and below.
 void indexContentByType(ID typeId)
          Deprecated Asynchronously index all indexable content of the specified type.
 ID[] search(Search search)
          Deprecated Performs a search with the given parameters.
 

Method Detail

search

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

If this method returns null or empty array, the results will be interpreted as an empty result set.

Parameters
search - the search parameters (including the expression).
Returns
an array of Node ids.
Throws
AuthorizationException - - if the user attempting the operation is not authorized to perform it.
RepositoryException - - if any other error occurs.
See Also
Search.isFullTextSearch()

indexContentByPath

void indexContentByPath(String path)
                        throws RepositoryException
Deprecated 
Asynchronously index all indexable content at the specified path and below. All content at the given path and below will be indexed.

If a repository has been running without search indexing enabled, this method can be used to reindex content.

This method should be used sparingly, as it can be quite expensive given a large amount of content.

Parameters
path - The path of the node on which to start the index operation.
Throws
RepositoryException - if an error occurs

indexContentByType

void indexContentByType(ID typeId)
                        throws RepositoryException
Deprecated 
Asynchronously index all indexable content of the specified type. All content for the given type will be indexed.

If a repository has been running without search indexing enabled, this method can be used to reindex content.

This method should be used sparingly, as it can be quite expensive given a large amount of content.

Parameters
typeId - The ObjectClass ID
Throws
RepositoryException - if an error occurs


Copyright © 2011, Oracle. All rights reserved.