Package org.hive2hive.core.processes.implementations.notify

Examples of org.hive2hive.core.processes.implementations.notify.BaseNotificationMessageFactory


    // notify all users of the shared node
    Set<String> friends = new HashSet<String>();
    friends.addAll(fileNode.getCalculatedUserList());
    friends.remove(userId); // skip to notify myself

    BaseNotificationMessageFactory messageFactory = new ShareFolderNotificationMessageFactory(sharedNode,
        context.getUserPermission());
    context.provideMessageFactory(messageFactory);
    context.provideUsersToNotify(friends);
  }
View Full Code Here

TOP

Related Classes of org.hive2hive.core.processes.implementations.notify.BaseNotificationMessageFactory

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.