mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
107541: Merged 5.0.N (5.0.3) to HEAD-BUG-FIX (5.1/Cloud) (PARTIAL MERGE) 107413: Merged DEV to 5.0.N (5.0.3) 106858 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code - Cleaning of Javadoc, 107565: MNT-13545 Fix compilation after merge of Javadoc git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@107633 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -38,35 +38,35 @@ public interface TransferProgressMonitor
|
||||
{
|
||||
/**
|
||||
* log an ad-hoc message
|
||||
* @param transferId
|
||||
* @param obj
|
||||
* @param transferId String
|
||||
* @param obj Object
|
||||
* @throws TransferException
|
||||
*/
|
||||
void logComment(String transferId, Object obj) throws TransferException;
|
||||
/**
|
||||
* log an ad-hoc message and an exception
|
||||
* @param transferId
|
||||
* @param obj
|
||||
* @param ex
|
||||
* @param transferId String
|
||||
* @param obj Object
|
||||
* @param ex Throwable
|
||||
* @throws TransferException
|
||||
*/
|
||||
void logException(String transferId, Object obj, Throwable ex) throws TransferException;
|
||||
|
||||
/**
|
||||
* Log the creation of a new node
|
||||
* @param transferId
|
||||
* @param sourceNode
|
||||
* @param destNode
|
||||
* @param newPath
|
||||
* @param orphan
|
||||
* @param transferId String
|
||||
* @param sourceNode NodeRef
|
||||
* @param destNode NodeRef
|
||||
* @param newPath String
|
||||
* @param orphan boolean
|
||||
*/
|
||||
void logCreated(String transferId, NodeRef sourceNode, NodeRef destNode, NodeRef newParent, String newPath, boolean orphan);
|
||||
|
||||
/**
|
||||
* Log the creation of a new node
|
||||
* @param transferId
|
||||
* @param sourceNode
|
||||
* @param destNode
|
||||
* @param transferId String
|
||||
* @param sourceNode NodeRef
|
||||
* @param destNode NodeRef
|
||||
* @param path The path of the updated node
|
||||
*/
|
||||
void logUpdated(String transferId, NodeRef sourceNode, NodeRef destNode, String path);
|
||||
@@ -74,50 +74,53 @@ public interface TransferProgressMonitor
|
||||
|
||||
/**
|
||||
* Log the deletion of a node
|
||||
* @param transferId
|
||||
* @param sourceNode
|
||||
* @param destNode
|
||||
* @param transferId String
|
||||
* @param sourceNode NodeRef
|
||||
* @param destNode NodeRef
|
||||
* @param path The path of the deleted node
|
||||
*/
|
||||
void logDeleted(String transferId, NodeRef sourceNode, NodeRef destNode, String path);
|
||||
|
||||
/**
|
||||
* After the transfer has completed this method reads the log.
|
||||
* @param transferId
|
||||
* @return the log
|
||||
* @param transferId String
|
||||
* @param sourceNodeRef NodeRef
|
||||
* @param destNodeRef NodeRef
|
||||
* @param oldPath String
|
||||
* @param newParent NodeRef
|
||||
* @param newPath String
|
||||
*/
|
||||
|
||||
void logMoved(String transferId, NodeRef sourceNodeRef,
|
||||
NodeRef destNodeRef, String oldPath, NodeRef newParent, String newPath);
|
||||
|
||||
/**
|
||||
* update the progress of the specified transfer
|
||||
* @param transferId
|
||||
* @param currPos
|
||||
* @param transferId String
|
||||
* @param currPos int
|
||||
* @throws TransferException
|
||||
*/
|
||||
void updateProgress(String transferId, int currPos) throws TransferException;
|
||||
|
||||
/**
|
||||
* update the progress of the specified transfer and possibly change the end position.
|
||||
* @param transferId
|
||||
* @param currPos
|
||||
* @param endPos
|
||||
* @param transferId String
|
||||
* @param currPos int
|
||||
* @param endPos int
|
||||
* @throws TransferException
|
||||
*/
|
||||
void updateProgress(String transferId, int currPos, int endPos) throws TransferException;
|
||||
|
||||
/**
|
||||
* update the startus of the transfer
|
||||
* @param transferId
|
||||
* @param status
|
||||
* @param transferId String
|
||||
* @param status TransferProgress.Status
|
||||
* @throws TransferException
|
||||
*/
|
||||
void updateStatus(String transferId, TransferProgress.Status status) throws TransferException;
|
||||
|
||||
/**
|
||||
* Read the progress of the
|
||||
* @param transferId
|
||||
* @param transferId String
|
||||
* @return the progress of the transfer
|
||||
* @throws TransferException
|
||||
*/
|
||||
|
Reference in New Issue
Block a user