Package org.hive2hive.core.processes.implementations.share.pkupdate

Examples of org.hive2hive.core.processes.implementations.share.pkupdate.InitializeMetaUpdateStep


    ShareProcessContext context = new ShareProcessContext(folder, permission);

    SequentialProcess process = new SequentialProcess();
    process.add(new VerifyFriendIdStep(networkManager.getSession().getKeyManager(), permission.getUserId()));
    process.add(new UpdateUserProfileStep(context, networkManager.getSession()));
    process.add(new InitializeMetaUpdateStep(context, networkManager.getDataManager()));
    process.add(new PrepareNotificationsStep(context, networkManager.getUserId()));
    process.add(createNotificationProcess(context, networkManager));

    return process;
  }
View Full Code Here


  private void initPKUpdateStep(Index movedNode, KeyPair oldProtectionKeys, KeyPair newProtectionKeys)
      throws NoPeerConnectionException {
    MoveUpdateProtectionKeyContext pkUpdateContext = new MoveUpdateProtectionKeyContext(movedNode,
        oldProtectionKeys, newProtectionKeys);
    getParent().insertNext(
        new InitializeMetaUpdateStep(pkUpdateContext, networkManager.getDataManager()), this);
  }
View Full Code Here

TOP

Related Classes of org.hive2hive.core.processes.implementations.share.pkupdate.InitializeMetaUpdateStep

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.