au.edu.jcu.hermes.core.filesystem
Interface IFileSystemModel

All Known Implementing Classes:
FileSystemModel

public interface IFileSystemModel

Author: Mathew Wyatt Organisation: James Cook University Date: Oct 15, 2007 Time: 10:47:05 AM


Method Summary
 void addAppender(Appender appender)
           
 void addFileSystemConnectSuccessListener(java.awt.event.ActionListener actionListener)
           
 void addFileSystemFailedListener(java.awt.event.ActionListener actionListener)
           
 void addShortcutsChangedListener(java.awt.event.ActionListener listener)
           
 RootObject connectToFileSystem(IFileSystemConnector connector)
          Connects to a filesystem based on the given connector
 void deleteShortcut(Shortcut shortcut)
          Deletes a give shortcut from persisting
 void disconnect(RootObject rootObject)
          Dosconnects from a given root objects
 java.lang.String getFailureMessage()
          Returns a failure message for the filesystem creation
 java.util.ArrayList<RootObject> getRootObjects()
          returns the root objects, or mount points
 java.util.List<Shortcut> getShortCuts()
          Returns a list of URL shortcuts
 void reConnect(RootObject rootObject)
          reconnects to a given root object
 void saveShortcut(Shortcut fileObject)
          Given a fileobject we want to save the URL so that a person can locate that area at a later stage
 void unMount(FileObject fileObject)
          Unmount a given file object
 

Method Detail

connectToFileSystem

RootObject connectToFileSystem(IFileSystemConnector connector)
Connects to a filesystem based on the given connector

Parameters:
connector -
Returns:
the new RootObject that has been added to the list

getFailureMessage

java.lang.String getFailureMessage()
Returns a failure message for the filesystem creation

Returns:

getRootObjects

java.util.ArrayList<RootObject> getRootObjects()
returns the root objects, or mount points

Returns:

disconnect

void disconnect(RootObject rootObject)
Dosconnects from a given root objects

Parameters:
rootObject -

reConnect

void reConnect(RootObject rootObject)
reconnects to a given root object

Parameters:
rootObject -

saveShortcut

void saveShortcut(Shortcut fileObject)
Given a fileobject we want to save the URL so that a person can locate that area at a later stage

Parameters:
fileObject -

deleteShortcut

void deleteShortcut(Shortcut shortcut)
Deletes a give shortcut from persisting

Parameters:
shortcut -

getShortCuts

java.util.List<Shortcut> getShortCuts()
Returns a list of URL shortcuts

Returns:

addFileSystemFailedListener

void addFileSystemFailedListener(java.awt.event.ActionListener actionListener)

addFileSystemConnectSuccessListener

void addFileSystemConnectSuccessListener(java.awt.event.ActionListener actionListener)

addShortcutsChangedListener

void addShortcutsChangedListener(java.awt.event.ActionListener listener)

unMount

void unMount(FileObject fileObject)
Unmount a given file object

Parameters:
fileObject -

addAppender

void addAppender(Appender appender)