org.alfresco.repo.webservice.repository
Class AssociationQuery

java.lang.Object
  extended by org.alfresco.repo.webservice.AbstractQuery
      extended by 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

Field Summary
 
Fields inherited from interface org.alfresco.repo.webservice.ServerQuery
SYS_COL_ASSOC_NAME, SYS_COL_ASSOC_TYPE, SYS_COL_IS_PRIMARY, SYS_COL_NTH_SIBLING
 
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 org.alfresco.repo.webservice.AbstractQuery
createResultSetRowNode, execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AssociationQuery

public AssociationQuery(org.alfresco.repo.webservice.types.Reference node,
                        org.alfresco.repo.webservice.repository.Association association)
Parameters:
node - The node to query against
association - The association type to query or null to query all
Method Detail

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.