org.sourcejammer.project.model.filesys
Class ArchiveInfoFS2

java.lang.Object
  |
  +--org.sourcejammer.project.model.filesys.ArchiveInfoFS
        |
        +--org.sourcejammer.project.model.filesys.ArchiveInfoFS2
All Implemented Interfaces:
ArchiveInfo, ArchiveInfo2, java.io.Serializable

public class ArchiveInfoFS2
extends ArchiveInfoFS
implements ArchiveInfo2

See Also:
Serialized Form

Field Summary
private  java.util.Hashtable mhshArchiveControllerUsers
           
private  java.util.Hashtable mhshArchiveUsers
           
 
Fields inherited from class org.sourcejammer.project.model.filesys.ArchiveInfoFS
 
Constructor Summary
ArchiveInfoFS2()
           
 
Method Summary
 boolean addArchiveControllerUser(User user)
           
 boolean addArchiveUser(User user)
           
 java.util.Enumeration getControllerUserList()
          Returns Enumeration of controller usernames.
 java.util.Enumeration getUserList()
          Returns Enumeration of usernames.
 boolean isUserAnArchiveController(User user)
           
 boolean isUserAnArchiveUser(User user)
           
 boolean isUserAnArchiveUserOrController(User user)
           
 boolean removeArchiveControllerUser(User user)
           
 boolean removeArchiveUser(User user)
           
 void store()
           
 
Methods inherited from class org.sourcejammer.project.model.filesys.ArchiveInfoFS
getArchiveName, getArchiveRootFileName, getPathToArchiveRoot, setArchiveName, setARchiveRootFileName, setPathToArchiveRoot
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mhshArchiveControllerUsers

private java.util.Hashtable mhshArchiveControllerUsers

mhshArchiveUsers

private java.util.Hashtable mhshArchiveUsers
Constructor Detail

ArchiveInfoFS2

public ArchiveInfoFS2()
Method Detail

addArchiveUser

public boolean addArchiveUser(User user)
Specified by:
addArchiveUser in interface ArchiveInfo2

removeArchiveUser

public boolean removeArchiveUser(User user)
Specified by:
removeArchiveUser in interface ArchiveInfo2

isUserAnArchiveUser

public boolean isUserAnArchiveUser(User user)
Specified by:
isUserAnArchiveUser in interface ArchiveInfo2

isUserAnArchiveUserOrController

public boolean isUserAnArchiveUserOrController(User user)
Specified by:
isUserAnArchiveUserOrController in interface ArchiveInfo2

addArchiveControllerUser

public boolean addArchiveControllerUser(User user)
Specified by:
addArchiveControllerUser in interface ArchiveInfo2

removeArchiveControllerUser

public boolean removeArchiveControllerUser(User user)
Specified by:
removeArchiveControllerUser in interface ArchiveInfo2

isUserAnArchiveController

public boolean isUserAnArchiveController(User user)
Specified by:
isUserAnArchiveController in interface ArchiveInfo2

getUserList

public java.util.Enumeration getUserList()
Returns Enumeration of usernames.

Specified by:
getUserList in interface ArchiveInfo2

getControllerUserList

public java.util.Enumeration getControllerUserList()
Returns Enumeration of controller usernames.

Specified by:
getControllerUserList in interface ArchiveInfo2

store

public void store()
           throws FileAccessException
Specified by:
store in interface ArchiveInfo2
FileAccessException


Copyright 2003 Soucejammer project.