A B C D E F G H I J K L M N P R S T U V W

A

AboutFrame - class sharpster.client.gui.AboutFrame.
 
AboutFrame() - Constructor for class sharpster.client.gui.AboutFrame
 
ACCESSABLE_FILES - Static variable in interface sharpster.common.ResponseType
 
AccessableFilesResponse - class sharpster.common.AccessableFilesResponse.
A response containing information about accessible files.
AccessableFilesResponse() - Constructor for class sharpster.common.AccessableFilesResponse
 
acquire() - Method in class sharpster.common.Mutex
 
ADD_FILES - Static variable in interface sharpster.common.ExternalMessageType
 
ADD_GROUP - Static variable in interface sharpster.common.SubCommand
 
ADD_USER - Static variable in interface sharpster.common.SubCommand
 
add(ID, ID, int, PluginData) - Method in class sharpster.daemon.sharemanagement.ShareMap
Creates a share between a user and a file using the specified access and plugin data.
add(String, ID) - Method in class sharpster.common.KeyManager
Adds a key value for the specified user.
addChild(Entity) - Method in class plugins.JavaRolePluginModule.Entity
 
addExistingUsers(String) - Method in class sharpster.common.ExistingUserResponse
Sets the users which are available on the network.
addFile(SharedFile) - Method in class sharpster.common.FileCollection
Adds a new File object to the collection.
addFileAccess(FileCollection, String) - Method in class sharpster.daemon.usermanagement.UserManager
Adds information about files, which are shared to the user of the local client.
addFiles(FileCollection) - Method in class sharpster.daemon.filemanagement.CVSManager
Adds the files to the CVS.
addFiles(FileCollection, String) - Method in class sharpster.daemon.externalcommunication.ExternalCommunication
Executes a file add to a CVS of an external user.
AddGroupFrame - class sharpster.client.gui.AddGroupFrame.
 
AddGroupFrame() - Constructor for class sharpster.client.gui.AddGroupFrame
 
addMissingUsers(String) - Method in class sharpster.common.MissingUsersResponse
Adds a missing user.
addResponse(Response) - Method in class sharpster.common.ResponseCollection
Adds a new Response object to the collection.
addSharedToUser(String) - Method in class sharpster.common.SharedFile
 
addSharedToUsers(String) - Method in class sharpster.common.SharedFilesResponse
 
addUser(String) - Method in class sharpster.daemon.groupmanagement.GroupClass
Adds a given user to the group.
addUser(String) - Method in class sharpster.daemon.usermanagement.UserManager
Add an external user.
AddUserFrame - class sharpster.client.gui.AddUserFrame.
 
AddUserFrame() - Constructor for class sharpster.client.gui.AddUserFrame
 
AdvertisementThread - class sharpster.daemon.externalcommunication.AdvertisementThread.
 
AdvertisementThread(Mutex) - Constructor for class sharpster.daemon.externalcommunication.AdvertisementThread
 
appendCollection(FileCollection) - Method in class sharpster.common.FileCollection
Appends a FileCollection to this collection.
appendCollection(ResponseCollection) - Method in class sharpster.common.ResponseCollection
Appends a ResponseCollection to this collection.

B

Base64 - class sharpster.common.Base64.
 
Base64() - Constructor for class sharpster.common.Base64
 
Body - class sharpster.common.Body.
A class used to contain a text document.
Body() - Constructor for class sharpster.common.Body
 

C

checkAccess(FileCollection, String, int) - Method in class sharpster.daemon.sharemanagement.ShareManager
 
checkFilesExistance(FileCollection) - Method in class sharpster.daemon.filemanagement.FileManager
Verifies that the given files exist.
checkFilesExistence(FileCollection) - Method in class sharpster.daemon.filemanagement.LocalFileManager
Verifies that the given files exists.
CHECKOUT_FILES - Static variable in interface sharpster.common.ExternalMessageType
 
CheckoutFileFrame - class sharpster.client.gui.CheckoutFileFrame.
 
CheckoutFileFrame() - Constructor for class sharpster.client.gui.CheckoutFileFrame
 
checkoutFiles(FileCollection, String, String) - Method in class sharpster.daemon.externalcommunication.ExternalCommunication
Executes a checkout from a CVS of an external user.
checkUserExistance(String) - Method in class sharpster.daemon.usermanagement.UserManager
Verifies that the given user exists.
checkUsersExistance(FileCollection) - Method in class sharpster.daemon.usermanagement.UserManager
Verifies that the users specified in the FileCollection object exists.
CLASSBODY - Static variable in class plugins.JavaRolePluginModule.Entity
 
CLASSHEAD - Static variable in class plugins.JavaRolePluginModule.Entity
 
clear() - Method in class sharpster.common.ClientDaemonMessage
Sets default empty values for all attributes.
clearLocalCache() - Method in class sharpster.daemon.externalcommunication.ExternalCommunication
 
clearTemporaryFiles() - Method in class sharpster.daemon.filemanagement.FileManager
 
ClientCommunication - class sharpster.daemon.clientcommunication.ClientCommunication.
Class responsible for handling the communication with the client.
ClientCommunication(Mutex) - Constructor for class sharpster.daemon.clientcommunication.ClientCommunication
Constructs a client communication object
ClientDaemonMessage - class sharpster.common.ClientDaemonMessage.
Class holding objects to be passed between the Client Communication Module and the Daemon Communication Module.
ClientDaemonMessage() - Constructor for class sharpster.common.ClientDaemonMessage
Constructs a daemon communication object
command - Variable in class sharpster.common.ClientDaemonMessage
 
command - Variable in class sharpster.common.GroupCommand
 
commandId - Variable in class sharpster.common.ClientDaemonMessage
A number that maps to the correct command.
commandId - Variable in class sharpster.common.DaemonDaemonMessage
Holds the command
COMMIT_FILES - Static variable in interface sharpster.common.ExternalMessageType
 
CommitFileFrame - class sharpster.client.gui.CommitFileFrame.
 
CommitFileFrame() - Constructor for class sharpster.client.gui.CommitFileFrame
 
commitFiles(FileCollection) - Method in class sharpster.daemon.filemanagement.CVSManager
Commits the files to the CVS.
commitFiles(FileCollection, String, String) - Method in class sharpster.daemon.externalcommunication.ExternalCommunication
Executes a commit to a CVS of an external user.
ConfigManager - class sharpster.daemon.filemanagement.ConfigManager.
 
ConfigManager() - Constructor for class sharpster.daemon.filemanagement.ConfigManager
 
contentStartPos - Variable in class plugins.JavaRolePluginModule.Entity
 
createDuplicate() - Method in class sharpster.common.FileCollection
 
createPeerGroup() - Method in class sharpster.daemon.externalcommunication.ExternalCommunication
 
createPipeAdvertisement() - Method in class sharpster.daemon.externalcommunication.DaemonThread
 
CVS_CONFLICT - Static variable in interface sharpster.common.ResponseType
 
CVS_OUTPUT - Static variable in interface sharpster.common.ResponseType
 
CVScommand - Variable in class sharpster.common.ClientDaemonMessage
Holds the CVScommand for methods that need it.
CVSConflictResponse - class sharpster.common.CVSConflictResponse.
A response containing information about a CVS conflict.
CVSConflictResponse() - Constructor for class sharpster.common.CVSConflictResponse
 
CVSManager - class sharpster.daemon.filemanagement.CVSManager.
Class which handles the local CVS and files stored in it.
CVSManager(FileMap, String) - Constructor for class sharpster.daemon.filemanagement.CVSManager
Constructs an instance of the class and initializes the member attributes.
CVSOutputResponse - class sharpster.common.CVSOutputResponse.
A response containing output from the CVS.
CVSOutputResponse() - Constructor for class sharpster.common.CVSOutputResponse
 
cvsRun(FileCollection, String, boolean) - Method in class sharpster.daemon.filemanagement.CVSManager
Checks out the latest version of the files in files and puts it in the tempDir directory tree.

D

DaemonCommunication - class sharpster.client.daemoncommunication.DaemonCommunication.
Class responsible for forwarding commands from the client to the daemon.
DaemonCommunication() - Constructor for class sharpster.client.daemoncommunication.DaemonCommunication
Constructs a daemon communication object
DaemonDaemonMessage - class sharpster.common.DaemonDaemonMessage.
Container class for communication between two daemons.
DaemonDaemonMessage() - Constructor for class sharpster.common.DaemonDaemonMessage
 
DaemonPluginManager - class sharpster.daemon.daemonplugin.DaemonPluginManager.
Class responsible for interpreting plug-in data on behalf of the File Management Module
DaemonPluginManager() - Constructor for class sharpster.daemon.daemonplugin.DaemonPluginManager
 
DaemonThread - class sharpster.daemon.externalcommunication.DaemonThread.
 
DaemonThread(Mutex, Mutex) - Constructor for class sharpster.daemon.externalcommunication.DaemonThread
 
decode(String) - Static method in class sharpster.common.Base64
 
DOCCOMMENT - Static variable in class plugins.JavaRolePluginModule.Entity
 

E

encode(byte[]) - Static method in class sharpster.common.Base64
 
encodeBlock(byte[], int) - Static method in class sharpster.common.Base64
 
ENDOFCLASSBODY - Static variable in class plugins.JavaRolePluginModule.Entity
 
ENDOFFILE - Static variable in class plugins.JavaRolePluginModule.Entity
 
endPos - Variable in class plugins.JavaRolePluginModule.Entity
 
Entity - class plugins.JavaRolePluginModule.Entity.
 
Entity(String) - Constructor for class plugins.JavaRolePluginModule.Entity
 
ErrorDialog - class sharpster.client.gui.ErrorDialog.
 
ErrorDialog(String, Point) - Constructor for class sharpster.client.gui.ErrorDialog
 
EXISTING_USER - Static variable in interface sharpster.common.ResponseType
 
ExistingUserResponse - class sharpster.common.ExistingUserResponse.
A response containing information about the users which are available on the network.
ExistingUserResponse() - Constructor for class sharpster.common.ExistingUserResponse
 
ExternalCommandManager - class sharpster.daemon.commandmanagement.ExternalCommandManager.
Interface of the Command Management Module.
ExternalCommandManager() - Constructor for class sharpster.daemon.commandmanagement.ExternalCommandManager
 
ExternalCommunication - class sharpster.daemon.externalcommunication.ExternalCommunication.
Class responsible for communcating with other Sharpster daemons.
ExternalCommunication(Mutex) - Constructor for class sharpster.daemon.externalcommunication.ExternalCommunication
 
ExternalMessageType - interface sharpster.common.ExternalMessageType.
A interface containing constants used to idenitfy daemondaemon messages. 0 = undefined, error return. 1 = remoteCheckOutfiles 2 = remoteUpdateFiles 3 = remoteCommitFiles 4 = remoteAddfiles 5 = remoteRemoveFiles 6 = remoteGetShares
EXTRA - Static variable in class plugins.JavaRolePluginModule.Entity
 
Extractor - class plugins.JavaRolePluginModule.Extractor.
 
Extractor() - Constructor for class plugins.JavaRolePluginModule.Extractor
 
extractParts(FileCollection, String) - Method in class sharpster.daemon.daemonplugin.DaemonPluginManager
Extract the PluginData stored in the collection and calls the accurate plug-ins.
extractParts(SharedFile, String) - Method in interface sharpster.common.PartOfFilePlugin
Extract the shared parts from a file collection.
extractParts(SharedFile, String) - Method in class plugins.JavaRolePlugin
Extract the shared parts from a file collection.
extractPartsForDoc(SharedFile) - Static method in class plugins.JavaRolePluginModule.Extractor
 
extractPartsForRole(SharedFile, String) - Static method in class plugins.JavaRolePluginModule.Extractor
Att göra: 1. undersöka om filen är tom och hantera detta 2. säkerställa att inte flera DOCCOMMENT finns på rad och ta bort överflödiga.

F

file - Variable in class plugins.JavaRolePluginModule.Entity
 
FILE - Static variable in interface sharpster.common.ResponseType
 
FILE - Static variable in class plugins.JavaRolePluginModule.Entity
 
FileCollection - class sharpster.common.FileCollection.
A collection of File objects.
FileCollection() - Constructor for class sharpster.common.FileCollection
 
FileLocation - interface sharpster.common.FileLocation.
Constants used by MissingFilesResponse.
FileManager - class sharpster.daemon.filemanagement.FileManager.
Class responsible for the overall management of files, both local files and files stored in the local CVS.
FileManager() - Constructor for class sharpster.daemon.filemanagement.FileManager
Constructs an instance of the FileManager object.
FileResponse - class sharpster.common.FileResponse.
A response containg received files.
FileResponse() - Constructor for class sharpster.common.FileResponse
 
files - Variable in class sharpster.common.ClientDaemonMessage
Holds the FileCollection for methods that need it.
files - Variable in class sharpster.common.DaemonDaemonMessage
 
findLocalPeerServices(String) - Method in class sharpster.daemon.externalcommunication.ExternalCommunication
 
fromUser - Variable in class sharpster.common.ClientDaemonMessage
Holds fromUser for methods that need it.

G

GET_SHARES - Static variable in interface sharpster.common.ExternalMessageType
 
getAccess() - Method in class sharpster.common.MissingAccessResponse
Returns an integer identifying the access which were denied (read, write or remove).
getAccessRights() - Method in class sharpster.common.SharedFile
Returns the access rights with which the files has been shared.
getAccessRightString() - Method in class sharpster.common.SharedFile
 
getAction() - Method in class sharpster.common.SharedFilesResponse
Returns an integer representing the command which has caused the response (share, unshare etc).
getAllShares(ID) - Method in class sharpster.daemon.sharemanagement.ShareMap
Get all files that are shared to a specified user.
getAllUsers() - Method in class sharpster.daemon.usermanagement.UserManager
Returns all users that are stored in memory.
getAllValues() - Method in class sharpster.common.KeyManager
 
getBody() - Method in class sharpster.common.SharedFile
Returns the contents of the file.
getChar(int) - Static method in class sharpster.common.Base64
 
getCommand() - Method in class sharpster.common.GroupResponse
 
getContent() - Method in class plugins.JavaRolePluginModule.Entity
 
getContentAndWhitespace() - Method in class plugins.JavaRolePluginModule.Entity
 
getCVSRoot() - Static method in class sharpster.daemon.SharpsterDaemon
 
getCVSTemp() - Static method in class sharpster.daemon.SharpsterDaemon
 
getData() - Method in class sharpster.common.Body
 
getExistingUsers() - Method in class sharpster.common.ExistingUserResponse
Returns the users which are available on the network.
getFile() - Method in class sharpster.client.gui.TreeFile
 
getFile(int) - Method in class sharpster.common.FileCollection
Returns a specified file.
getFileAccess(String) - Method in class sharpster.daemon.commandmanagement.ExternalCommandManager
Returns information about which files the external user has access to.
getFileCount() - Method in class sharpster.common.FileCollection
Returns the number of File objects in the collection.
getFileID(String) - Method in class sharpster.daemon.filemanagement.FileManager
Returns a unique key value for a given filename and CVS path.
getFilename() - Method in class sharpster.common.JavaRoleResponse
 
getFileName() - Method in class sharpster.common.SharedFile
Returns the name of a file.
getFilePath(ID) - Method in class sharpster.daemon.filemanagement.FileManager
Returns a filename, including the CVS path of the file, for a given key.
getfiles() - Method in class sharpster.common.AccessableFilesResponse
Returns the FileCollection containing information about accessible files.
getfiles() - Method in class sharpster.common.MissingAccessResponse
Returns the FileCollection with information about the files which has caused the error.
getfiles() - Method in class sharpster.common.MissingFilesResponse
Returns the FileCollection containing information about the missing files.
getFiles() - Method in class sharpster.common.CVSConflictResponse
Returns the FileCollection with information about the files which has caused the conflict.
getFiles() - Method in class sharpster.common.FileResponse
Returns the file collection.
getFiles() - Method in class sharpster.common.SharedFilesResponse
Returns the FileCollection of the response.
getFiles() - Method in class sharpster.common.WriteErrorResponse
Returns the FileCollection with information about the files which has caused the error.
getFirstChild() - Method in class plugins.JavaRolePluginModule.Entity
 
getFirstChild() - Method in class plugins.JavaRolePluginModule.ParseTree
 
getFirstChildOfFile() - Method in class plugins.JavaRolePluginModule.ParseTree
 
getFullPath() - Method in class sharpster.common.SharedFile
 
getGroups() - Method in class sharpster.common.GroupResponse
 
getGroups(String) - Method in class sharpster.daemon.groupmanagement.GroupController
Returns a list containing a given user as the first element followed by every group the user is a memeber of.
getKey(String) - Method in class sharpster.daemon.usermanagement.UserManager
Returns a unqiue key value for a given user.
getKey(String) - Method in class sharpster.common.KeyManager
Returns the key value for the specified user.
getLastChild() - Method in class plugins.JavaRolePluginModule.Entity
 
getLocation() - Method in class sharpster.common.MissingFilesResponse
Returns the location of the missing file.
getMatching(Entity) - Method in class plugins.JavaRolePluginModule.ParseTree
 
getMessage() - Method in class sharpster.common.CVSOutputResponse
Returns the message created by the CVS.
getMessage() - Method in class sharpster.common.MessageResponse
Returns the message.
getMessage() - Method in class sharpster.common.NetworkErrorResponse
 
getMissingUsers() - Method in class sharpster.common.MissingUsersResponse
Returns the missing users.
getName() - Method in class sharpster.daemon.groupmanagement.GroupClass
Gets the group's name.
getNext() - Method in class plugins.JavaRolePluginModule.ParseTree
 
getNextChild() - Method in class plugins.JavaRolePluginModule.Entity
 
getNextEntity() - Method in class plugins.JavaRolePluginModule.Parser
Att g?
getNextSkipHeadAndBody() - Method in class plugins.JavaRolePluginModule.ParseTree
This method skips the first instance of a class or method and the body.
getOrigin() - Method in class sharpster.common.Response
Returns the name of the module which has created this response.
getParent() - Method in class plugins.JavaRolePluginModule.Entity
 
getParent() - Method in class plugins.JavaRolePluginModule.ParseTree
 
getPathInCVS() - Method in class sharpster.common.SharedFile
Returns the path of the file in the CVS tree.
getPeerName() - Static method in class sharpster.daemon.SharpsterDaemon
 
getPluginData() - Method in class sharpster.common.SharedFile
Returns the plug-in information associated with the file share made to the specified user.
getPluginDataString() - Method in class sharpster.common.SharedFile
 
getPluginDescription() - Method in interface sharpster.common.PartOfFilePlugin
Retrns a description of this plug-in.
getPluginDescription() - Method in class plugins.JavaRolePlugin
Retrns a description of this plug-in.
getPluginDescription(String) - Method in class sharpster.common.PluginManager
Returns a description about the given plug-in name.
getPluginFromName(String) - Method in class sharpster.common.PluginManager
Returns a plug-in object given a specific plug-in name
getPluginName() - Method in interface sharpster.common.PartOfFilePlugin
Returns the name of the plug-in which has created this data.
getPluginName() - Method in class sharpster.common.PluginData
returns the name of the plug-in which has created this data.
getPluginName() - Method in class plugins.JavaRolePlugin
Returns the name of the plug-in which has created this data.
getPluginName() - Method in class plugins.JavaRolePluginData
 
getPluginNames() - Method in class sharpster.common.PluginManager
Returns an array of available plug-in names.
getPrevious() - Method in class plugins.JavaRolePluginModule.ParseTree
 
getPreviousChild() - Method in class plugins.JavaRolePluginModule.Entity
 
getRemovedFiles(String) - Method in class sharpster.daemon.filemanagement.FileManager
If the command specifies a file remove, it returns the files which have been removed, otherwise null is returned.
getResponse(int) - Method in class sharpster.common.ResponseCollection
Returns a specified response.
getResponseCount() - Method in class sharpster.common.ResponseCollection
Returns the number of Response objects in the collection.
getRole() - Method in class sharpster.common.MissingRoleResponse
 
getShareAccess(ID, ID) - Method in class sharpster.daemon.sharemanagement.ShareMap
Returns the access rights for a given share (specified by a user and a file).
getSharedFiles(String) - Method in class sharpster.daemon.sharemanagement.ShareManager
 
getSharedToUsers() - Method in class sharpster.common.SharedFile
The users to whom the file is shared.
getSharedToUsers() - Method in class sharpster.common.SharedFilesResponse
 
getSharePluginData(ID, ID) - Method in class sharpster.daemon.sharemanagement.ShareMap
Returns the plugin data for a given share (specified by a user and a file).
getSubError() - Method in class sharpster.common.GroupResponse
 
getSubError() - Method in class sharpster.common.JavaRoleResponse
 
getType() - Method in class sharpster.common.AccessableFilesResponse
Returns the type of this response.
getType() - Method in class sharpster.common.CVSConflictResponse
Returns the type of this response.
getType() - Method in class sharpster.common.CVSOutputResponse
Returns the type of this response.
getType() - Method in class sharpster.common.ExistingUserResponse
Returns the type of this response.
getType() - Method in class sharpster.common.FileResponse
Returns the type of this response.
getType() - Method in class sharpster.common.GroupResponse
 
getType() - Method in class sharpster.common.JavaRoleResponse
 
getType() - Method in class sharpster.common.MessageResponse
Returns the type of this response.
getType() - Method in class sharpster.common.MissingAccessResponse
Returns the type of this response.
getType() - Method in class sharpster.common.MissingFilesResponse
Returns the type of this response.
getType() - Method in class sharpster.common.MissingRoleResponse
 
getType() - Method in class sharpster.common.MissingUsersResponse
Returns the type of this response.
getType() - Method in class sharpster.common.NetworkErrorResponse
Returns the type of this response.
getType() - Method in class sharpster.common.Response
Get the type of this response.
getType() - Method in class sharpster.common.SharedFilesResponse
Returns the type of this response.
getType() - Method in class sharpster.common.WriteErrorResponse
Returns the type of this response.
getUser() - Method in class sharpster.common.Response
Returns the user from whose deamon the response were created.
getUser(ID) - Method in class sharpster.daemon.usermanagement.UserManager
Returns a user, for a given key.
getUsers() - Method in class sharpster.daemon.groupmanagement.GroupClass
Returns a list containing the users in the group.
getUsers() - Method in class sharpster.common.GroupResponse
 
getValue(char) - Static method in class sharpster.common.Base64
 
getValue(ID) - Method in class sharpster.common.KeyManager
Returns the user for the given key value.
getVersion() - Method in class sharpster.common.SharedFile
Returns the version of the file in the CVS.
group - Variable in class sharpster.common.GroupCommand
 
GROUP - Static variable in interface sharpster.common.ResponseType
 
GROUP_COMMAND - Static variable in interface sharpster.common.InternalMessageType
 
GROUP_EXIST - Static variable in interface sharpster.common.SubError
 
GroupClass - class sharpster.daemon.groupmanagement.GroupClass.
 
GroupClass() - Constructor for class sharpster.daemon.groupmanagement.GroupClass
Creates the class and initialize the user list.
GroupCommand - class sharpster.common.GroupCommand.
Title: Description: Copyright: Copyright (c) 2003 Company:
GroupCommand() - Constructor for class sharpster.common.GroupCommand
 
groupCommand(GroupCommand) - Method in class sharpster.client.daemoncommunication.DaemonCommunication
Forwards a groupCommand call to the daemon.
groupCommand(GroupCommand) - Method in class sharpster.daemon.commandmanagement.InternalCommandManager
 
groupCommand(GroupCommand) - Method in class sharpster.daemon.groupmanagement.GroupController
Recieves a groupcommand, executes the given command and returns the result.
GroupController - class sharpster.daemon.groupmanagement.GroupController.
 
GroupController() - Constructor for class sharpster.daemon.groupmanagement.GroupController
Initialize the groupTable and read the groups from the disk.
GroupResponse - class sharpster.common.GroupResponse.
 
GroupResponse() - Constructor for class sharpster.common.GroupResponse
 
GUIApp - class sharpster.client.gui.GUIApp.
 
GUIApp() - Constructor for class sharpster.client.gui.GUIApp
 
GUIFrame - class sharpster.client.gui.GUIFrame.
 
GUIFrame() - Constructor for class sharpster.client.gui.GUIFrame
 

H

hasDeleteAccess(FileCollection, String) - Method in class sharpster.daemon.sharemanagement.ShareManager
Check if a user has remove access to the specified files.
hasDeleteAccess(String) - Method in class sharpster.common.SharedFile
 
hasError() - Method in class sharpster.common.ResponseCollection
Returns true if this response colletion contains responses that has error.
hasMissingFiles() - Method in class sharpster.common.MissingFilesResponse
 
hasMissingUsers() - Method in class sharpster.common.MissingUsersResponse
Returns true if the response has missing users.
hasReadAccess(FileCollection, String) - Method in class sharpster.daemon.sharemanagement.ShareManager
Check if a user has read access to the specified files.
hasReadAccess(String) - Method in class sharpster.common.SharedFile
 
hasSyntaxError() - Method in class plugins.JavaRolePluginModule.ParseTree
 
hasWriteAccess(FileCollection, String) - Method in class sharpster.daemon.sharemanagement.ShareManager
Check if a user has write access to the specified files.
hasWriteAccess(String) - Method in class sharpster.common.SharedFile
 

I

initialize() - Method in class sharpster.daemon.usermanagement.UserManager
Perform evantual initialization.
initialize(DaemonPluginManager) - Method in class sharpster.daemon.filemanagement.FileManager
Perform eventual initializations.
initialize(DiscoveryService, PipeService, PeerGroup, ExternalCommandManager) - Method in class sharpster.daemon.externalcommunication.DaemonThread
 
initialize(DiscoveryService, PipeService, PeerGroup, UserManager) - Method in class sharpster.daemon.externalcommunication.AdvertisementThread
 
initialize(FileManager, ShareManager, UserManager, ExternalCommunication, Mutex) - Method in class sharpster.daemon.commandmanagement.ExternalCommandManager
Constructs an object
initialize(FileManager, ShareManager, UserManager, ExternalCommunication, Mutex, GroupController) - Method in class sharpster.daemon.commandmanagement.InternalCommandManager
Constructs an object
initialize(FileManager, UserManager, GroupController) - Method in class sharpster.daemon.sharemanagement.ShareManager
 
initialize(InternalCommandManager) - Method in class sharpster.daemon.clientcommunication.ClientCommunication
 
initialize(UserManager) - Method in class sharpster.daemon.groupmanagement.GroupController
 
initialize(UserManager, ExternalCommandManager) - Method in class sharpster.daemon.externalcommunication.ExternalCommunication
 
insertBefore(Entity) - Method in class plugins.JavaRolePluginModule.ParseTree
 
insertChildBefore(Entity) - Method in class plugins.JavaRolePluginModule.Entity
 
InternalCommandManager - class sharpster.daemon.commandmanagement.InternalCommandManager.
Interface of the Command Management Module.
InternalCommandManager() - Constructor for class sharpster.daemon.commandmanagement.InternalCommandManager
 
InternalMessageType - interface sharpster.common.InternalMessageType.
A interface containing constants used to idenitfy daemondaemon messages.
isAtFirstChild() - Method in class plugins.JavaRolePluginModule.Entity
 
isBinary() - Method in class sharpster.common.Body
 
isError() - Method in class sharpster.common.Response
Get the error status of this response object.
isUserInGroup(String) - Method in class sharpster.daemon.groupmanagement.GroupClass
Checks if a given user is a memeber of the group.

J

JAVA_ROLE - Static variable in interface sharpster.common.ResponseType
 
JavaRolePlugin - class plugins.JavaRolePlugin.
 
JavaRolePlugin() - Constructor for class plugins.JavaRolePlugin
 
JavaRolePluginData - class plugins.JavaRolePluginData.
 
JavaRolePluginData() - Constructor for class plugins.JavaRolePluginData
 
JavaRoleResponse - class sharpster.common.JavaRoleResponse.
 
JavaRoleResponse() - Constructor for class sharpster.common.JavaRoleResponse
 

K

KeyManager - class sharpster.common.KeyManager.
Class responsible for supplying unique keys for all users.
KeyManager() - Constructor for class sharpster.common.KeyManager
Constructs an instance of the class and initializes the member attributes.

L

LIST_ALL - Static variable in interface sharpster.common.SubCommand
 
LIST_GROUPS - Static variable in interface sharpster.common.SubCommand
 
LIST_USERS_IN_GROUP - Static variable in interface sharpster.common.SubCommand
 
ListAllFrame - class sharpster.client.gui.ListAllFrame.
 
ListAllFrame() - Constructor for class sharpster.client.gui.ListAllFrame
 
ListGroupsFrame - class sharpster.client.gui.ListGroupsFrame.
 
ListGroupsFrame() - Constructor for class sharpster.client.gui.ListGroupsFrame
 
ListUserInGroupFrame - class sharpster.client.gui.ListUserInGroupFrame.
 
ListUserInGroupFrame() - Constructor for class sharpster.client.gui.ListUserInGroupFrame
 
load(String, String) - Static method in class sharpster.common.PluginLoader
Loads a plugin specified by a name and a directory.
loadFromFile(String) - Method in class sharpster.daemon.filemanagement.FileManager
Load the file database from a configuration file.
loadFromFile(String) - Method in class sharpster.daemon.sharemanagement.ShareManager
 
loadFromFile(String) - Method in class sharpster.daemon.sharemanagement.ShareMap
Saves the share information to the given file.
loadFromFile(String) - Method in class sharpster.daemon.usermanagement.UserManager
Loads user information from a configuration file.
loadPlugins(String) - Method in class sharpster.common.PluginManager
Loads all plug-ins from the given directory (Loads all classes ending with Plugin.class).
LOCAL_CVS - Static variable in interface sharpster.common.FileLocation
 
LOCAL_DO_CVS - Static variable in interface sharpster.common.InternalMessageType
 
LOCAL_HDD - Static variable in interface sharpster.common.FileLocation
 
LOCAL_MEMORY - Static variable in interface sharpster.common.FileLocation
 
localClearDirectory(String) - Method in class sharpster.daemon.filemanagement.LocalFileManager
 
localDoCVS(String) - Method in class sharpster.client.daemoncommunication.DaemonCommunication
Forwards a localDoCVS call to the daemon.
localDoCVS(String, String) - Method in class sharpster.daemon.commandmanagement.InternalCommandManager
Excecutes a localDoCVS call received from the client.
localDoCVS(String, String) - Method in class sharpster.daemon.filemanagement.CVSManager
Executes a CVS command.
localDoCVS(String, String) - Method in class sharpster.daemon.filemanagement.FileManager
Executes a CVS command requested by the user of the local client.
LocalFileManager - class sharpster.daemon.filemanagement.LocalFileManager.
Class responsible for the management of local files not stored in the CVS.
LocalFileManager(CVSManager) - Constructor for class sharpster.daemon.filemanagement.LocalFileManager
Creates an instance of the object.
localLoadFiles(FileCollection, String) - Method in class sharpster.daemon.filemanagement.FileManager
 
localLoadFiles(FileCollection, String, boolean) - Method in class sharpster.daemon.filemanagement.LocalFileManager
 
LocalPluginManager - class sharpster.client.localplugin.LocalPluginManager.
Class for parsing command line arguments with plug-in information.
LocalPluginManager() - Constructor for class sharpster.client.localplugin.LocalPluginManager
 
localSaveFiles(FileCollection, String) - Method in class sharpster.daemon.filemanagement.FileManager
Saves the specified files in the given working directory.
localSaveFiles(FileCollection, String) - Method in class sharpster.daemon.filemanagement.LocalFileManager
Saves the specified files in the given working directory.

M

main(String[]) - Static method in class sharpster.client.SharpsterClient
 
main(String[]) - Static method in class sharpster.client.gui.GUIApp
 
main(String[]) - Static method in class sharpster.daemon.SharpsterDaemon
 
main(String[]) - Static method in class plugins.JavaRolePluginModule.RMTester
 
mergeParts(FileCollection, FileCollection, String) - Method in class sharpster.daemon.daemonplugin.DaemonPluginManager
Calls the accurate plug-in to execute the insertPart command.
mergeParts(SharedFile, SharedFile, String) - Method in interface sharpster.common.PartOfFilePlugin
Merge the shared parts with the entire files.
mergeParts(SharedFile, SharedFile, String) - Method in class plugins.JavaRolePlugin
Merge the shared parts with the entire files.
mergePartsWithRole(SharedFile, SharedFile, String) - Static method in class plugins.JavaRolePluginModule.Merger
 
mergePartsWithRoleDoc(SharedFile, SharedFile) - Static method in class plugins.JavaRolePluginModule.Merger
Idé: Första skannet görs med utgångspunkt från parseträdet för partsFile.
Merger - class plugins.JavaRolePluginModule.Merger.
 
Merger() - Constructor for class plugins.JavaRolePluginModule.Merger
 
MESSAGE - Static variable in interface sharpster.common.ResponseType
 
MessageResponse - class sharpster.common.MessageResponse.
A response containing a general message.
MessageResponse() - Constructor for class sharpster.common.MessageResponse
 
METHODBODY - Static variable in class plugins.JavaRolePluginModule.Entity
 
METHODHEAD - Static variable in class plugins.JavaRolePluginModule.Entity
 
MISSING_ACCESS - Static variable in interface sharpster.common.ResponseType
 
MISSING_FILES - Static variable in interface sharpster.common.ResponseType
 
MISSING_ROLE - Static variable in interface sharpster.common.ResponseType
 
MISSING_USERS - Static variable in interface sharpster.common.ResponseType
 
MissingAccessResponse - class sharpster.common.MissingAccessResponse.
A response which specifies missing file accesses.
MissingAccessResponse() - Constructor for class sharpster.common.MissingAccessResponse
 
MissingFilesResponse - class sharpster.common.MissingFilesResponse.
A response which specifies missing files.
MissingFilesResponse() - Constructor for class sharpster.common.MissingFilesResponse
 
MissingRoleResponse - class sharpster.common.MissingRoleResponse.
 
MissingRoleResponse() - Constructor for class sharpster.common.MissingRoleResponse
 
MissingUsersResponse - class sharpster.common.MissingUsersResponse.
A response which specifies missing users.
MissingUsersResponse() - Constructor for class sharpster.common.MissingUsersResponse
 
Mutex - class sharpster.common.Mutex.
 
Mutex() - Constructor for class sharpster.common.Mutex
Constructs a client communication object

N

NETWORK_ERROR - Static variable in interface sharpster.common.ResponseType
 
NetworkErrorResponse - class sharpster.common.NetworkErrorResponse.
A response containing information about a CVS conflict.
NetworkErrorResponse() - Constructor for class sharpster.common.NetworkErrorResponse
 
NO_ERROR - Static variable in interface sharpster.common.SubError
 
NO_SUCH_GROUP - Static variable in interface sharpster.common.SubError
 

P

parseArguments(LinkedList) - Method in class sharpster.client.localplugin.LocalPluginManager
Creates a PluginData object from a command line argument.
parseArguments(LinkedList) - Method in interface sharpster.common.PartOfFilePlugin
Parse a commandline argument and convert it to a specific plugin data.
parseArguments(LinkedList) - Method in class plugins.JavaRolePlugin
Parse a commandline argument and convert it to a specific plugin data.
Parser - class plugins.JavaRolePluginModule.Parser.
Java source code parser
Parser(String) - Constructor for class plugins.JavaRolePluginModule.Parser
 
ParseTree - class plugins.JavaRolePluginModule.ParseTree.
 
ParseTree(String) - Constructor for class plugins.JavaRolePluginModule.ParseTree
 
parseUserInput(String[]) - Method in class sharpster.client.userinterface.UserInterface
Parses user input and and delegates the handling of each command to the correct private method
PartOfFilePlugin - interface sharpster.common.PartOfFilePlugin.
An interface which should be implemented by all types of pluginData classes.
PluginData - class sharpster.common.PluginData.
An interface which should be implemented by all types of pluginData classes.
PluginData() - Constructor for class sharpster.common.PluginData
 
PluginLoader - class sharpster.common.PluginLoader.
 
PluginLoader() - Constructor for class sharpster.common.PluginLoader
 
PluginManager - class sharpster.common.PluginManager.
 
PluginManager() - Constructor for class sharpster.common.PluginManager
Constructor
plugins - package plugins
 
plugins - Variable in class sharpster.common.PluginManager
A list holding all loaded plugins
plugins.JavaRolePluginModule - package plugins.JavaRolePluginModule
 
print(Entity) - Static method in class plugins.JavaRolePluginModule.RMTester
 
processWindowEvent(WindowEvent) - Method in class sharpster.client.gui.GUIFrame
 
publishPipeAdvertisement() - Method in class sharpster.daemon.externalcommunication.DaemonThread
 

R

readFileConfig(String, String) - Static method in class sharpster.daemon.filemanagement.ConfigManager
 
release() - Method in class sharpster.common.Mutex
 
REMOTE_ADD - Static variable in interface sharpster.common.InternalMessageType
 
REMOTE_CHECKOUT - Static variable in interface sharpster.common.InternalMessageType
 
REMOTE_COMMIT - Static variable in interface sharpster.common.InternalMessageType
 
REMOTE_CVS - Static variable in interface sharpster.common.FileLocation
 
REMOTE_REMOVE - Static variable in interface sharpster.common.InternalMessageType
 
REMOTE_UPDATE - Static variable in interface sharpster.common.InternalMessageType
 
remoteAddFiles(FileCollection) - Method in class sharpster.daemon.filemanagement.FileManager
Adds the specified files to the CVS.
remoteAddFiles(FileCollection, String) - Method in class sharpster.client.daemoncommunication.DaemonCommunication
Forwards a remoteAddFiles call to the daemon.
remoteAddFiles(FileCollection, String) - Method in class sharpster.daemon.commandmanagement.ExternalCommandManager
Excecutes a remoteAddFiles call received from an remote user.
remoteAddFiles(FileCollection, String, String) - Method in class sharpster.daemon.commandmanagement.InternalCommandManager
Excecutes a remoteAddFiles call received from the client.
remoteCheckoutFiles(FileCollection, String) - Method in class sharpster.daemon.filemanagement.FileManager
Update the files argument by adding the specified files and information about their versions.
remoteCheckoutFiles(FileCollection, String, String) - Method in class sharpster.client.daemoncommunication.DaemonCommunication
Forwards a remoteCheckoutFiles call to the daemon.
remoteCheckoutFiles(FileCollection, String, String) - Method in class sharpster.daemon.commandmanagement.ExternalCommandManager
Excecutes a remoteCheckoutFiles call received from an remote user.
remoteCheckoutFiles(FileCollection, String, String, String) - Method in class sharpster.daemon.commandmanagement.InternalCommandManager
Excecutes a remoteCheckoutFiles call received from the client.
remoteCommitFiles(FileCollection, String) - Method in class sharpster.daemon.filemanagement.FileManager
Commits the specified files to the CVS.
remoteCommitFiles(FileCollection, String, String) - Method in class sharpster.client.daemoncommunication.DaemonCommunication
Forwards a remoteCommitFiles call to the daemon.
remoteCommitFiles(FileCollection, String, String) - Method in class sharpster.daemon.commandmanagement.ExternalCommandManager
Excecutes a remoteCommitFiles call received from an remote user.
remoteCommitFiles(FileCollection, String, String, String) - Method in class sharpster.daemon.commandmanagement.InternalCommandManager
Excecutes a remoteCommitFiles call received from the client.
remoteRemoveFiles(FileCollection) - Method in class sharpster.daemon.filemanagement.FileManager
Removes the specified files to the CVS.
remoteRemoveFiles(FileCollection, String) - Method in class sharpster.client.daemoncommunication.DaemonCommunication
Forwards a remoteRemoveFiles call to the daemon.
remoteRemoveFiles(FileCollection, String) - Method in class sharpster.daemon.commandmanagement.ExternalCommandManager
Excecutes a remoteRemoveFiles call received from an remote user.
remoteRemoveFiles(FileCollection, String, String) - Method in class sharpster.daemon.commandmanagement.InternalCommandManager
Excecutes a remoteRemoveFiles call received from the client.
remoteUpdateFiles(FileCollection) - Method in class sharpster.daemon.filemanagement.FileManager
Updates the given files with possible changes from the CVS.
remoteUpdateFiles(FileCollection, String) - Method in class sharpster.client.daemoncommunication.DaemonCommunication
Forwards a remoteUpdateFiles call to the daemon.
remoteUpdateFiles(FileCollection, String) - Method in class sharpster.daemon.commandmanagement.ExternalCommandManager
Excecutes a remoteUpdateFiles call received from an remote user.
remoteUpdateFiles(FileCollection, String, String) - Method in class sharpster.daemon.commandmanagement.InternalCommandManager
Excecutes a remoteUpdateFiles call received from the client.
REMOVE_FILES - Static variable in interface sharpster.common.ExternalMessageType
 
REMOVE_GROUP - Static variable in interface sharpster.common.SubCommand
 
REMOVE_USER - Static variable in interface sharpster.common.SubCommand
 
remove(ID, ID) - Method in class sharpster.daemon.sharemanagement.ShareMap
Remove the share that are specified by the userID and the fileID.
remove(String) - Method in class sharpster.common.KeyManager
Removes the key value for the specified user.
removeAllFiles() - Method in class sharpster.common.FileCollection
Removes all files from the collection.
removeAllFiles(ID) - Method in class sharpster.daemon.sharemanagement.ShareMap
Remove all shares that are using the specified file.
removeAllPluginData() - Method in class sharpster.common.FileCollection
Removes all plugin data from the files, used to prepare the file to be transported to a remote user.
removeAndGetNext() - Method in class plugins.JavaRolePluginModule.ParseTree
 
removeAndGetPrevious() - Method in class plugins.JavaRolePluginModule.ParseTree
 
removeCurrentChildAndGetNext() - Method in class plugins.JavaRolePluginModule.Entity
 
removeCurrentChildAndGetPrevious() - Method in class plugins.JavaRolePluginModule.Entity
 
removeFiles(FileCollection) - Method in class sharpster.daemon.filemanagement.CVSManager
Removes the files from the CVS.
removeFiles(FileCollection, String) - Method in class sharpster.daemon.externalcommunication.ExternalCommunication
Executes a file remove to a CVS of an external user.
RemoveGroupFrame - class sharpster.client.gui.RemoveGroupFrame.
 
RemoveGroupFrame() - Constructor for class sharpster.client.gui.RemoveGroupFrame
 
removeSharesWithFile(ID) - Method in class sharpster.daemon.sharemanagement.ShareManager
 
removeUser(String) - Method in class sharpster.daemon.groupmanagement.GroupClass
Removes a given user from the group.
RemoveUserFrame - class sharpster.client.gui.RemoveUserFrame.
 
RemoveUserFrame() - Constructor for class sharpster.client.gui.RemoveUserFrame
 
response - Variable in class sharpster.common.ClientDaemonMessage
Holds the ResponseCollection for methods that need it.
response - Variable in class sharpster.common.DaemonDaemonMessage
 
Response - class sharpster.common.Response.
A Reponse containing information about the users which are available on the network.
Response() - Constructor for class sharpster.common.Response
 
ResponseCollection - class sharpster.common.ResponseCollection.
A general collection of responses which is used by modules in the local client and in the daemon.
ResponseCollection() - Constructor for class sharpster.common.ResponseCollection
Constructor
ResponseType - interface sharpster.common.ResponseType.
A interface containing constants used to idenitfy a response object.
RMTester - class plugins.JavaRolePluginModule.RMTester.
 
RMTester() - Constructor for class plugins.JavaRolePluginModule.RMTester
 
role - Variable in class sharpster.common.ClientDaemonMessage
 
role - Variable in class sharpster.common.DaemonDaemonMessage
 
run() - Method in class sharpster.daemon.clientcommunication.ClientCommunication
Runs the thread When this method returns, the thread dies.
run() - Method in class sharpster.daemon.externalcommunication.AdvertisementThread
Runs the thread When this method returns, the thread dies.
run() - Method in class sharpster.daemon.externalcommunication.DaemonThread
Runs the thread, when this method returns, the thread dies.

S

saveToFile(String) - Method in class sharpster.daemon.filemanagement.FileManager
Save the file database to a configuration file.
saveToFile(String) - Method in class sharpster.daemon.sharemanagement.ShareManager
 
saveToFile(String) - Method in class sharpster.daemon.sharemanagement.ShareMap
Saves the share information to the given file.
saveToFile(String) - Method in class sharpster.daemon.usermanagement.UserManager
Saves the user information to a configuration file.
saveToFile(String, boolean) - Method in class sharpster.daemon.groupmanagement.GroupController
Saves the user information to a configuration file.
SEMICOLON - Static variable in class plugins.JavaRolePluginModule.Entity
 
setAccess(int) - Method in class sharpster.common.MissingAccessResponse
Sets and integer identifying the access which were denied (read, write or remove).
setAccessDelete() - Method in class sharpster.common.SharedFile
Sets the access rights delete for this file
setAccessRead() - Method in class sharpster.common.SharedFile
Sets the access rights read for this file
setAccessRights(int) - Method in class sharpster.common.SharedFile
 
setAccessWrite() - Method in class sharpster.common.SharedFile
Sets the access rights write for this file
setAction(int) - Method in class sharpster.common.SharedFilesResponse
Sets the command which has caused the response (share, unshare etc).
setBinary(boolean) - Method in class sharpster.common.Body
 
setBody(Body) - Method in class sharpster.common.SharedFile
 
setCommand(int) - Method in class sharpster.common.GroupResponse
 
setData(byte[]) - Method in class sharpster.common.Body
 
setError(boolean) - Method in class sharpster.common.Response
Sets the error status of this response object.
setExistingUsers(String[]) - Method in class sharpster.common.ExistingUserResponse
 
setFilename(String) - Method in class sharpster.common.JavaRoleResponse
 
setFileName(String) - Method in class sharpster.common.SharedFile
Sets the name of a file.
setFiles(FileCollection) - Method in class sharpster.common.AccessableFilesResponse
Sets the FileCollection containing information about accessible files.
setFiles(FileCollection) - Method in class sharpster.common.CVSConflictResponse
Sets the FileCollection with information about the files which has caused the conflict.
setFiles(FileCollection) - Method in class sharpster.common.FileResponse
Sets the FileCollection.
setFiles(FileCollection) - Method in class sharpster.common.MissingAccessResponse
Sets the FileCollection containing information about the files which has caused the error.
setFiles(FileCollection) - Method in class sharpster.common.MissingFilesResponse
Sets the FileCollection containing information about the missing files.
setFiles(FileCollection) - Method in class sharpster.common.SharedFilesResponse
Sets the file collection.
setFiles(FileCollection) - Method in class sharpster.common.WriteErrorResponse
Sets the FileColletion with information about the files which has caused the error.
setGroups(LinkedList) - Method in class sharpster.common.GroupResponse
 
setLocation(int) - Method in class sharpster.common.MissingFilesResponse
Sets the location of a missing file.
setMessage(String) - Method in class sharpster.common.CVSOutputResponse
Sets the message created by the CVS.
setMessage(String) - Method in class sharpster.common.MessageResponse
Sets the message.
setMessage(String) - Method in class sharpster.common.NetworkErrorResponse
 
setName(String) - Method in class sharpster.daemon.groupmanagement.GroupClass
Sets the group's name.
setOrigin(String) - Method in class sharpster.common.Response
Set the name of the module which has created this response.
setParent(Entity) - Method in class plugins.JavaRolePluginModule.Entity
 
setPathInCVS(String) - Method in class sharpster.common.SharedFile
Sets the path of the file in the CVS tree.
setPeerName(String) - Static method in class sharpster.daemon.SharpsterDaemon
 
setPluginData(PluginData) - Method in class sharpster.common.SharedFile
Sets the plug-in information associated with the file share made to the specified user.
setRole(String) - Method in class sharpster.common.MissingRoleResponse
 
setSelectionInterval(int, int) - Method in class sharpster.client.gui.SingleSelectionModel
 
setSharedToUsers(String[]) - Method in class sharpster.common.SharedFile
 
setSubError(int) - Method in class sharpster.common.GroupResponse
 
setSubError(int) - Method in class sharpster.common.JavaRoleResponse
 
setUser(String) - Method in class sharpster.common.Response
Sets the user from whose deamon the response were created.
setUsers(LinkedList) - Method in class sharpster.common.GroupResponse
 
setVersion(String) - Method in class sharpster.common.SharedFile
Sets the version of the file in the CVS.
SHARE_FILES - Static variable in interface sharpster.common.InternalMessageType
 
SHARED_FILES - Static variable in interface sharpster.common.ResponseType
 
SharedFile - class sharpster.common.SharedFile.
A class for file management.
SharedFile() - Constructor for class sharpster.common.SharedFile
 
SharedFile(SharedFile) - Constructor for class sharpster.common.SharedFile
Overloaded constructor, for deep copying of file objects.
SharedFilesResponse - class sharpster.common.SharedFilesResponse.
A response containing information about a file share.
SharedFilesResponse() - Constructor for class sharpster.common.SharedFilesResponse
 
shareExists(ID, ID) - Method in class sharpster.daemon.sharemanagement.ShareMap
Checks if a reference between a user and a file exist (if the share exists).
ShareFileFrame - class sharpster.client.gui.ShareFileFrame.
 
ShareFileFrame() - Constructor for class sharpster.client.gui.ShareFileFrame
 
shareFiles(FileCollection) - Method in class sharpster.client.daemoncommunication.DaemonCommunication
Forwards a shareFiles call to the daemon.
shareFiles(FileCollection, boolean) - Method in class sharpster.daemon.sharemanagement.ShareManager
Store the specified file share.
shareFiles(FileCollection, String) - Method in class sharpster.daemon.commandmanagement.InternalCommandManager
Executes a shareFiles call received from the client.
ShareManager - class sharpster.daemon.sharemanagement.ShareManager.
Class responsible for the overall management of file shares.
ShareManager() - Constructor for class sharpster.daemon.sharemanagement.ShareManager
 
ShareMap - class sharpster.daemon.sharemanagement.ShareMap.
Class to contain cross references between files and users.
ShareMap() - Constructor for class sharpster.daemon.sharemanagement.ShareMap
Constructor
sharpster.client - package sharpster.client
 
sharpster.client.daemoncommunication - package sharpster.client.daemoncommunication
 
sharpster.client.gui - package sharpster.client.gui
 
sharpster.client.localplugin - package sharpster.client.localplugin
 
sharpster.client.userinterface - package sharpster.client.userinterface
 
sharpster.common - package sharpster.common
 
sharpster.daemon - package sharpster.daemon
 
sharpster.daemon.clientcommunication - package sharpster.daemon.clientcommunication
 
sharpster.daemon.commandmanagement - package sharpster.daemon.commandmanagement
 
sharpster.daemon.daemonplugin - package sharpster.daemon.daemonplugin
 
sharpster.daemon.externalcommunication - package sharpster.daemon.externalcommunication
 
sharpster.daemon.filemanagement - package sharpster.daemon.filemanagement
 
sharpster.daemon.groupmanagement - package sharpster.daemon.groupmanagement
 
sharpster.daemon.sharemanagement - package sharpster.daemon.sharemanagement
 
sharpster.daemon.usermanagement - package sharpster.daemon.usermanagement
 
SharpsterClient - class sharpster.client.SharpsterClient.
Main program for the sharpster client.
SharpsterClient() - Constructor for class sharpster.client.SharpsterClient
 
SharpsterDaemon - class sharpster.daemon.SharpsterDaemon.
 
SharpsterDaemon() - Constructor for class sharpster.daemon.SharpsterDaemon
 
shutdown() - Method in class sharpster.daemon.clientcommunication.ClientCommunication
Notifies the thread to stop Sets shtudownRequested and starts to wait for the thread with join()
shutdown() - Method in class sharpster.daemon.externalcommunication.AdvertisementThread
Notifies the thread to stop Sets shtudownRequested and starts to wait for the thread with join()
shutdown() - Method in class sharpster.daemon.externalcommunication.DaemonThread
Notifies the thread to stop Sets shtudownRequested and starts to wait for the thread with join()
shutdown() - Method in class sharpster.daemon.externalcommunication.ExternalCommunication
 
SingleSelectionModel - class sharpster.client.gui.SingleSelectionModel.
Create a SINGLE_SELECTION ListSelectionModel that calls a new method, updateSingleSelection(), each time the selection changes.
SingleSelectionModel() - Constructor for class sharpster.client.gui.SingleSelectionModel
 
start() - Method in class sharpster.daemon.externalcommunication.ExternalCommunication
 
startPos - Variable in class plugins.JavaRolePluginModule.Entity
 
SubCommand - interface sharpster.common.SubCommand.
Title: Description: Copyright: Copyright (c) 2003 Company:
SubError - interface sharpster.common.SubError.
Title: Description: Copyright: Copyright (c) 2003 Company:
SYNCHRONIZE_CVS - Static variable in interface sharpster.common.InternalMessageType
 
synchronizeCVS() - Method in class sharpster.client.daemoncommunication.DaemonCommunication
Forwards a viewFileAccess call to the daemon.
synchronizeCVS(FileMap) - Method in class sharpster.daemon.filemanagement.CVSManager
 
synchronizeCVS(String) - Method in class sharpster.daemon.commandmanagement.InternalCommandManager
Excecutes a synchronizeCVS call received from the client.
synchronizeCVS(String) - Method in class sharpster.daemon.filemanagement.FileManager
Synchronizes the file database with the specified directory.
synchronizeShares() - Method in class sharpster.daemon.sharemanagement.ShareManager
 
synchronizeShares(FileManager) - Method in class sharpster.daemon.sharemanagement.ShareMap
 
SYNTAX_ERROR - Static variable in interface sharpster.common.SubError
 
SYNTAXERROR - Static variable in class plugins.JavaRolePluginModule.Entity
 

T

toString() - Method in class sharpster.client.gui.TreeFile
 
toString() - Method in class sharpster.daemon.groupmanagement.GroupClass
Returns a, somewhat, nice string-representation of the group.
toString() - Method in class sharpster.common.AccessableFilesResponse
 
toString() - Method in class sharpster.common.Body
 
toString() - Method in class sharpster.common.CVSConflictResponse
 
toString() - Method in class sharpster.common.CVSOutputResponse
 
toString() - Method in class sharpster.common.ExistingUserResponse
 
toString() - Method in class sharpster.common.FileCollection
 
toString() - Method in class sharpster.common.FileResponse
 
toString() - Method in class sharpster.common.GroupResponse
 
toString() - Method in class sharpster.common.JavaRoleResponse
 
toString() - Method in class sharpster.common.MessageResponse
 
toString() - Method in class sharpster.common.MissingAccessResponse
 
toString() - Method in class sharpster.common.MissingFilesResponse
 
toString() - Method in class sharpster.common.MissingRoleResponse
 
toString() - Method in class sharpster.common.MissingUsersResponse
 
toString() - Method in class sharpster.common.NetworkErrorResponse
 
toString() - Method in class sharpster.common.Response
 
toString() - Method in class sharpster.common.ResponseCollection
Prints the file collection to a readable string.
toString() - Method in class sharpster.common.SharedFile
 
toString() - Method in class sharpster.common.SharedFilesResponse
 
toString() - Method in class plugins.JavaRolePluginModule.ParseTree
 
translateLocalPaths(FileCollection, String, boolean) - Method in class sharpster.daemon.filemanagement.FileManager
Updates the files object.
translateLocalPaths(FileCollection, String, boolean) - Method in class sharpster.daemon.filemanagement.LocalFileManager
Update the files object and inserts a file object with its filename and path in the local CVS for each file that is specified in the files object.
translatePath(String) - Static method in class sharpster.daemon.filemanagement.ConfigManager
 
translatePath(String) - Method in class sharpster.daemon.filemanagement.CVSManager
Translates a local file path to a path in CVS.
translateRemotePaths(FileCollection, boolean) - Method in class sharpster.daemon.filemanagement.FileManager
Updates the files object.
translateRemotePaths(FileCollection, FileMap, boolean) - Method in class sharpster.daemon.filemanagement.LocalFileManager
Updates the files object and inserts a file object with its filename, remote owning user and path to the remote CVS for each file which is specified in the files object.
TreeFile - class sharpster.client.gui.TreeFile.
 
TreeFile(File) - Constructor for class sharpster.client.gui.TreeFile
 
type - Variable in class plugins.JavaRolePluginModule.Entity
 

U

UNAUTHORISED_CHANGE_IN_FILE - Static variable in interface sharpster.common.SubError
 
UNKNOWN - Static variable in class plugins.JavaRolePluginModule.Entity
 
UNSHARE_FILES - Static variable in interface sharpster.common.InternalMessageType
 
unShareFiles(FileCollection) - Method in class sharpster.client.daemoncommunication.DaemonCommunication
Forwards a unshareFiles call to the daemon.
unshareFiles(FileCollection, boolean) - Method in class sharpster.daemon.sharemanagement.ShareManager
 
unshareFiles(FileCollection, String) - Method in class sharpster.daemon.commandmanagement.InternalCommandManager
Executes a unshareFiles call received from the client.
UPDATE_FILES - Static variable in interface sharpster.common.ExternalMessageType
 
updateFiles(FileCollection) - Method in class sharpster.daemon.filemanagement.CVSManager
Updates the given files with possible new changes from the CVS.
updateFiles(FileCollection, String) - Method in class sharpster.daemon.externalcommunication.ExternalCommunication
Executes a update to a CVS of an external user.
updateSingleSelection(int, int) - Method in class sharpster.client.gui.SingleSelectionModel
 
user - Variable in class sharpster.common.DaemonDaemonMessage
 
user - Variable in class sharpster.common.GroupCommand
 
USER_ALREADY_IN_GROUP - Static variable in interface sharpster.common.SubError
 
USER_NOT_IN_GROUP - Static variable in interface sharpster.common.SubError
 
UserInterface - class sharpster.client.userinterface.UserInterface.
Class responsible for user interaction.
UserInterface(DaemonCommunication, LocalPluginManager) - Constructor for class sharpster.client.userinterface.UserInterface
Constructs a user interface object
userKeyManager - Variable in class sharpster.daemon.usermanagement.UserManager
A class used to have cross references between users and their id's.
UserManager - class sharpster.daemon.usermanagement.UserManager.
Class responsible of the management of users.
UserManager() - Constructor for class sharpster.daemon.usermanagement.UserManager
Constructor

V

VARIABLE - Static variable in class plugins.JavaRolePluginModule.Entity
 
VIEW_ACCESS - Static variable in interface sharpster.common.InternalMessageType
 
VIEW_SHARING - Static variable in interface sharpster.common.InternalMessageType
 
VIEW_USERS - Static variable in interface sharpster.common.InternalMessageType
 
viewFileAccess() - Method in class sharpster.client.daemoncommunication.DaemonCommunication
Forwards a viewFileAccess call to the daemon.
viewFileAccess() - Method in class sharpster.daemon.commandmanagement.InternalCommandManager
Excecutes a viewFileAccess call received from the client.
viewFileAccess() - Method in class sharpster.daemon.usermanagement.UserManager
Returns information about which files the external users, which the daemon has knowledge of, have shared to the user of the local client.
viewFileSharing() - Method in class sharpster.client.daemoncommunication.DaemonCommunication
Forwards a viewFileSharing call to the daemon.
viewFileSharing() - Method in class sharpster.daemon.commandmanagement.InternalCommandManager
Excecutes a viewFileSharing call received from the client.
viewFileSharing() - Method in class sharpster.daemon.sharemanagement.ShareManager
 
viewUsers() - Method in class sharpster.client.daemoncommunication.DaemonCommunication
Forwards a viewUsers call to the daemon.
viewUsers() - Method in class sharpster.daemon.commandmanagement.InternalCommandManager
Excecutes a viewUsers call received from the client.
viewUsers() - Method in class sharpster.daemon.usermanagement.UserManager
Returns information about the external users which the daemon has knowledge of.

W

workingDirectory - Variable in class sharpster.common.ClientDaemonMessage
Holds workingDirectory for methods that need it.
WRITE_ERROR - Static variable in interface sharpster.common.ResponseType
 
WriteErrorResponse - class sharpster.common.WriteErrorResponse.
A response containing information about a write error
WriteErrorResponse() - Constructor for class sharpster.common.WriteErrorResponse
 
writeFileConfig(SharedFile, File) - Static method in class sharpster.daemon.filemanagement.ConfigManager
 
writeReplace() - Method in class sharpster.common.FileResponse
 

A B C D E F G H I J K L M N P R S T U V W