Package org.hive2hive.core.processes.implementations.files.delete

Examples of org.hive2hive.core.processes.implementations.files.delete.DeleteNotifyMessageFactory


    // 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();
    deleteContext
        .provideMessageFactory(new DeleteNotifyMessageFactory(fileKey, oldParentKey, sourceName));
    deleteContext.provideUsersToNotify(usersAtSource);

    // inform users that have now access to the moved file
    logger.debug("Inform {} users that a file has been added (after movement).", usersAtDestination.size());
    usersAtDestination.removeAll(common);
View Full Code Here

TOP

Related Classes of org.hive2hive.core.processes.implementations.files.delete.DeleteNotifyMessageFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.