org.alfresco.repo.webservice.repository
Class AssociationQuery
java.lang.Object
org.alfresco.repo.webservice.AbstractQuery
org.alfresco.repo.webservice.repository.AssociationQuery
- All Implemented Interfaces:
- java.io.Serializable, ServerQuery
public class AssociationQuery
- extends AbstractQuery
A query to retrieve normal node associations.
- Since:
- 2.1
- See Also:
- Serialized Form
Constructor Summary |
AssociationQuery(org.alfresco.repo.webservice.types.Reference node,
org.alfresco.repo.webservice.repository.Association association)
|
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 |
AssociationQuery
public AssociationQuery(org.alfresco.repo.webservice.types.Reference node,
org.alfresco.repo.webservice.repository.Association association)
- 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.