Merged 5.1-MNT1 (5.1.0) to HEAD (5.1)

115460 adavis: Merged 5.1.N (5.1.1) to 5.1-MNT1 (5.1.0)
      113727 amorarasu: Merged 5.0.N (5.0.3) to 5.1.N (5.1.1)
         113684 adavis: Merged V4.2-BUG-FIX (4.2.6) to 5.0.N (5.0.3) (PARTIAL MERGE)
            113603 cturlica: Merged DEV to V4.2-BUG-FIX (4.2.6)
               113602 cturlica: MNT-14504: Cloud pull process not working after large delete


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@115670 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2015-10-30 00:10:30 +00:00
parent 9f4fdeb0e4
commit 4165e47032
10 changed files with 327 additions and 8 deletions

View File

@@ -457,6 +457,17 @@ public interface NodeDAO extends NodeBulkLoader
*/
public Collection<Pair<Long, AssociationRef>> getTargetNodeAssocs(Long sourceNodeId, QName typeQName);
/**
* Get target associations by type of the association, property name and value.
*
* @param sourceNodeId the source of the association
* @param typeQName the type of the association (<tt>null</tt> allowed)
* @param propertyQName property QName (<tt>null</tt> allowed)
* @param propertyValue property value (<tt>null</tt> allowed only if the <b>propertyQName</b> is <tt>null</tt>)
* @return Returns all the node associations where the node is the <b>source</b>.
*/
public Collection<Pair<Long, AssociationRef>> getTargetAssocsByPropertyValue(Long sourceNodeId, QName typeQName, QName propertyQName, Serializable propertyValue);
/**
* @return Returns a specific node association with the given ID
* or <tt>null</tt> if it doesn't exist