Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)

127078 rneamtu: Merged 5.0.N (5.0.4) to 5.1.N (5.1.2)
      127046 amorarasu: MNT-16277: Merged V4.2-BUG-FIX (4.2.7) to 5.0.N (5.0.4)
         126884 amorarasu: MNT-15710: No invalid synchronizations should appear in the cloud sync manager (step 2 - clean invalid synchronizations already created).


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@127124 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Cristian Turlica
2016-05-16 14:47:10 +00:00
parent 4d0939f110
commit b861424c72
4 changed files with 203 additions and 2 deletions

View File

@@ -702,6 +702,19 @@ public interface NodeDAO extends NodeBulkLoader
final QName assocTypeQName,
ChildAssocRefQueryCallback resultsCallback);
/**
* @param parentNodeId the parent node id
* @param minNodeId the minimum node ID (inclusive), <tt>null</tt> for no limitation on the minimum value of the node id
* @param maxNodeId the maximum node ID (exclusive), <tt>null</tt> for no limitation on the maximum value of the node id
* @param assocToExcludeTypeQNames the node associations to exclude, <tt>null</tt> for no filtering of the associations types
* @return list of child nodes
*/
public List<Node> selectChildAssocsWithoutNodeAssocsOfTypes(
final Long parentNodeId,
final Long minNodeId,
final Long maxNodeId,
final Set<QName> assocToExcludeTypeQNames);
/**
* Finds the association between the node's primary parent and the node itself
*
@@ -873,6 +886,16 @@ public interface NodeDAO extends NodeBulkLoader
*/
public Long getMaxNodeId();
/**
* Returns the [minId, maxId] interval for nodes of a type, with the transaction time in the given window time.
*
* @param type the node type
* @param startTxnTime the starting transaction time, <tt>null</tt> is allowed, case in which no minimum transaction time is considered
* @param endTxnTime the end transaction time, <tt>null</tt> is allowed, case in which no maximum transaction time is considered
* @return the interval, as a pair
*/
public Pair<Long, Long> getNodeIdsIntervalForType(QName type, Long startTxnTime, Long endTxnTime);
/**
* Select children by property values
*/