org.alfresco.repo.webservice.repository
Class SearchQuery
java.lang.Object
org.alfresco.repo.webservice.AbstractQuery
org.alfresco.repo.webservice.repository.SearchQuery
- All Implemented Interfaces:
- java.io.Serializable, ServerQuery
public class SearchQuery
- extends AbstractQuery
A query to using full search.
- Since:
- 2.1
- See Also:
- Serialized Form
Constructor Summary |
SearchQuery(org.alfresco.repo.webservice.types.Store store,
org.alfresco.repo.webservice.types.Query query)
|
Method Summary |
org.alfresco.repo.webservice.types.ResultSet |
execute(org.alfresco.service.ServiceRegistry serviceRegistry)
Executes the query and returns the full query results. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SearchQuery
public SearchQuery(org.alfresco.repo.webservice.types.Store store,
org.alfresco.repo.webservice.types.Query query)
- Parameters:
node
- The node to query againstassociation
- The association type to query or null to query all
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
execute
public org.alfresco.repo.webservice.types.ResultSet execute(org.alfresco.service.ServiceRegistry serviceRegistry)
- Executes the query and returns the full query results.
- Returns:
- The full set of query results.
The results must be empty if there are no results.
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.