dimawo.middleware.fileSystem.fileDB
Class RemoteFilesDB

java.lang.Object
  extended by dimawo.middleware.fileSystem.fileDB.RemoteFilesDB

public class RemoteFilesDB
extends Object


Field Summary
protected  Map<String,FileLocation> files
           
 
Constructor Summary
RemoteFilesDB()
           
 
Method Summary
 void addFile(String fileUID, FileLocation location)
           
 FileLocation addRemoteFileLocation(String fileUID, DAId daId)
           
 FileLocation getLocation(String fileUID)
           
 LinkedList<String> removeFromFilesLocations(DAId daId)
           
 void removeLocation(String fileUID)
           
 void removeRemoteFileLocation(String fileUID, DAId daId)
           
 void replaceEntry(FileLocation loc)
           
 void updateFile(String fileUID, FileLocation loc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

files

protected Map<String,FileLocation> files
Constructor Detail

RemoteFilesDB

public RemoteFilesDB()
Method Detail

replaceEntry

public void replaceEntry(FileLocation loc)
                  throws FileDBException
Throws:
FileDBException

addFile

public void addFile(String fileUID,
                    FileLocation location)
             throws FileDBException
Throws:
FileDBException

updateFile

public void updateFile(String fileUID,
                       FileLocation loc)

addRemoteFileLocation

public FileLocation addRemoteFileLocation(String fileUID,
                                          DAId daId)

removeRemoteFileLocation

public void removeRemoteFileLocation(String fileUID,
                                     DAId daId)
                              throws FileNotFoundException
Throws:
FileNotFoundException

removeLocation

public void removeLocation(String fileUID)

removeFromFilesLocations

public LinkedList<String> removeFromFilesLocations(DAId daId)

getLocation

public FileLocation getLocation(String fileUID)


Copyright © 2011 DiMaWo Team. All Rights Reserved.