mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
This checkin does two things:
1. Refines the semantics of ghost creation, so that they only appear when warranted. 2. Implements a mechanism for filtering out files which should not appear in comparison results or be pushed along by updates. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4525 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -19,6 +19,8 @@ package org.alfresco.service.cmr.avmsync;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.alfresco.util.NameMatcher;
|
||||
|
||||
/**
|
||||
* This service handles comparisons and synchronizations between
|
||||
* corresponding avm node trees.
|
||||
@@ -32,11 +34,13 @@ public interface AVMSyncService
|
||||
* @param srcPath The avm path to the source tree.
|
||||
* @param dstVersion The version id for the destination tree.
|
||||
* @param dstPath The avm path to the destination tree.
|
||||
* @param excluder A NameMatcher used to exclude files from consideration.
|
||||
* @return A List of AVMDifference structs which can be used for
|
||||
* the update operation.
|
||||
*/
|
||||
public List<AVMDifference> compare(int srcVersion, String srcPath,
|
||||
int dstVersion, String dstPath);
|
||||
int dstVersion, String dstPath,
|
||||
NameMatcher excluder);
|
||||
|
||||
/**
|
||||
* Updates the destination nodes in the AVMDifferences
|
||||
@@ -56,7 +60,7 @@ public interface AVMSyncService
|
||||
* @param tag Short comment.
|
||||
* @param description Full update blurb.
|
||||
*/
|
||||
public void update(List<AVMDifference> diffList, boolean ignoreConflicts, boolean ignoreOlder,
|
||||
public void update(List<AVMDifference> diffList, NameMatcher excluder, boolean ignoreConflicts, boolean ignoreOlder,
|
||||
boolean overrideConflicts, boolean overrideOlder, String tag, String description);
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user