String destName = context.getDestination().getName();
// inform common users
logger.debug("Inform {} users that a file has been moved.", common.size());
PublicKey newParentKey = movedNode.getParent().getFilePublicKey();
MoveNotificationContext moveContext = context.getMoveNotificationContext();
moveContext.provideMessageFactory(new MoveNotificationMessageFactory(sourceName, destName,
oldParentKey, newParentKey));
moveContext.provideUsersToNotify(common);
// inform users that don't have access to the new destination anymore
logger.debug("Inform {} users that a file has been removed (after movement).", usersAtSource.size());
usersAtSource.removeAll(common);
DeleteNotificationContext deleteContext = context.getDeleteNotificationContext();