Examples of unregisterSharedFile()


Examples of files.sharing.Sharer.unregisterSharedFile()

  public void removeSharedFile(SerializableFile file, int sharerId)
  {
    IndexedFile indexedFile = retrieveIndexedFile(file);
    Sharer sharer = sharingManager.getSharer(sharerId);

    sharer.unregisterSharedFile(indexedFile);
    indexedFile.removeSharer(sharer);
  }

  public void removeIndexedFile(IndexedFile file)
  {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.