SourceJammer 1.2.0.1 May 20, 2002
Copyright (c) 2001, 2002 Robert MacGrogan

Uses of Class
org.sourcejammer.server.security.SecurityException

Packages that use SecurityException
org.sourcejammer.project.controller   
org.sourcejammer.project.model   
org.sourcejammer.project.model.filesys   
org.sourcejammer.server.security   
 

Uses of SecurityException in org.sourcejammer.project.controller
 

Methods in org.sourcejammer.project.controller that throw SecurityException
 void PreviousVersionSourceMaker.makePreviousVersionSource(java.io.File deltaTarget)
          To use resourceses most wisely, I recommend that newVersion be already saved to disk before this method is called.
 Project Archive.getRootProject()
          Returns the view Project for the root node of the archive for this ProjectController.
 long Archive.addProject(long parentID, java.lang.String name)
          Adds a new project at the specified location (the NodeName object) to this archive.
 long Archive.addFile(long parentID, java.lang.String name, java.io.File file, FileProperties props, java.lang.String userName)
          Adds a new file to this archive, at the specified location.
 java.lang.String Archive.getFileDescription(long fileID)
          Returns the description of a file.
 void Archive.setFileDescription(long fileID, java.lang.String description)
          Changes description of a file.
 long Archive.getVersionFileSizeInBytes(long fileID, int versionNumber)
          Gets the size of the version file in bytes.
 long Archive.getUniqueIDFromPath(long parentID, java.lang.String path)
          Returns unique id based on a path.
 long Archive.addNewVersion(long fileID, java.io.File newVersion, java.io.File replaceCurrLatestVer, java.lang.String comment, java.lang.String userName)
          Adds a new version to an existing file.
 Project Archive.getProject(long projectID)
          Get Project object (info about project).
 File Archive.getFile(long fileID)
          Get File object (info about file).
 java.io.File Archive.getLatestVersionSourceFilePointer(long fileID)
          Returns java.io.File object for latest version's source.
 long Archive.getFileLatestVersion(long fileID, int requestedEOL)
          Get latest version of file source to temp dir and return temp file ID.
 TextLineReader Archive.getFileLatestVersionTLR(long fileID)
          Get latest version of text file source as TextLineReader.
 void Archive.removeProject(long parentID, long projectID)
          Remove specified project from the project hierarchy.
 void Archive.removeFile(long parentID, long fileID)
          Remove specified file from project hierarchy.
 void Archive.rollbackToVersion(long fileID, long versionID, java.io.File newLatestVersion)
          Rollback specified file to specified version number.
 void Archive.setVersionComment(long fileID, int version, java.lang.String comment)
          Set the comment of the specified version.
 void Archive.checkOutFile(long fileID, java.lang.String userName, java.lang.String checkOutLocation)
          Set status of specified file to checked out.
 void Archive.checkInFile(long fileID)
          Set status of specified file to checked in.
 FileNode Archive.getFileNode(long fileID)
          Allows "master control" to look at file info to verify check out, check in, file type, etc.
 FileNode Archive.getFileNode(long fileID, boolean readOnly)
          Allows "master control" to look at file info to verify check out, check in, file type, etc.
 void Archive.restoreRemovedNode(long parentID, int index)
          Restores a project or file node that was previously removed from the archive.
 void Archive.restoreRemovedNode(long parentID, java.lang.String newName, int index)
          & Restores a project or file node that was previously removed from the archive.
 java.util.Vector Archive.getRemovedNodes(long projectID)
          Returns a Vector of NodeInfo objects, one for each node that has been removed (but not permanently deleted) from the parent project.
 void Archive.permanentlyDeleteRemovedNode(long parentID, int index)
          Permanently delete the specified removed node from the archive.
 void Archive.makeLabeledVersion(java.lang.String name, java.lang.String description, long parentID)
          Create and save a new labeled version with the passed-in name and description and containing all of the latest versions that are children of parent.
 void Archive.renameFile(long parentID, long fileID, java.lang.String newName)
           
 void Archive.renameProject(long parentID, long projectID, java.lang.String newName)
           
 void ControllerNode.lock(long key)
          Locks this node so that set methods can only be run if this combination is included.
 void ControllerNode.unlock(long key)
           
 void FileNode.addVersionNode(NodeInfo version, long key)
          Adds a new VersionNode to this FileNode.
static NodeList ControllerUtil.buildProjectChildList(ProjectNode projectNode, NodeLibrary lib)
          Builds a NodeList of NodeInfo objects of a ProjectNode's children.
static long ControllerUtil.getUniqueIDFromPath(long parentID, java.lang.String path, NodeLibrary library)
          Converts a string path and parent project id into the id of a node.
 Project ProjectController.getRootProject()
          Returns the view Project for the root node of the archive for this ProjectController.
 long ProjectController.addProject(long parentID, java.lang.String name)
          Adds a new project at the specified location (the NodeName object) to this archive.
 long ProjectController.addFile(long projectID, java.lang.String name, java.io.File file, FileProperties props, java.lang.String userName)
          Adds a new file to this archive, at the specified location.
 java.lang.String ProjectController.getFileDescription(long fileID)
          Gets and returns the description of a file.
 void ProjectController.setFileDescription(long fileID, java.lang.String description)
          Changes description of a file.
 long ProjectController.addNewVersion(long fileID, java.io.File newVersion, java.io.File replaceCurrLatestVer, java.lang.String comment, java.lang.String userName)
          Adds a new version to an existing file.
 Project ProjectController.getProject(long projectID)
          Get Project object (info about project).
 File ProjectController.getFile(long fileID)
          Get File object (info about file).
 java.io.File ProjectController.getLatestVersionSourceFilePointer(long fileID)
          Returns java.io.File object for latest version's source.
 long ProjectController.getFileLatestVersion(long fileID, int requestedEOL)
          Get latest version of file source to temp dir and return temp file ID.
 TextLineReader ProjectController.getFileLatestVersionTLR(long fileID)
          Get latest version of text file source as TextLineReader.
 void ProjectController.removeProject(long parentID, long projectID)
          Remove specified project from the project hierarchy.
 void ProjectController.removeFile(long parentID, long fileID)
          Remove specified file from specified project.
 void ProjectController.rollbackToVersion(long fileID, long versionID, java.io.File newLatestVersion)
          Rollback specified file to specified version number.
 void ProjectController.setVersionComment(long fileID, int version, java.lang.String comment)
          Set the comment of the specified version.
 long ProjectController.getVersionFileSizeInBytes(long fileID, int versionNumber)
          Gets the size of the version file in bytes.
 void ProjectController.checkOutFile(long fileID, java.lang.String userName, java.lang.String checkOutLocation)
          Set status of specified file to checked out.
 void ProjectController.checkInFile(long fileID)
          Set status of specified file to checked in.
 long ProjectController.getUniqueIDFromPath(long parentID, java.lang.String path)
           
 FileNode ProjectController.getFileNode(long fileID)
          Allows "master control" to look at file info to verify check out, check in, file type, etc.
 FileNode ProjectController.getFileNode(long fileID, boolean readOnly)
          Allows "master control" to look at file info to verify check out, check in, file type, etc.
 void ProjectController.restoreRemovedNode(long parentID, int index)
           
 void ProjectController.restoreRemovedNode(long parentID, java.lang.String newName, int index)
          Restores a project or file node that was previously removed from the archive.
 void ProjectController.renameFile(long parentID, long fileID, java.lang.String newName)
           
 void ProjectController.renameProject(long parentID, long projectID, java.lang.String newName)
           
 void ProjectController.permanentlyDeleteRemovedNode(long projectID, int index)
          Permanently delete specified removed node.
 java.util.Vector ProjectController.getRemovedNodes(long projectID)
          Returns a Vector of NodeInfo objects, one for each node that has been removed (but not permanently deleted) from the parent project.
 void ProjectController.makeLabeledVersion(java.lang.String name, java.lang.String description, long parentProjectID)
          Create and save a new labeled version with the passed-in name and description and containing all of the latest versions that are children of parent.
protected  Project ProjectController.projectNodeToProject(ProjectNode ndProject)
           
protected  Label ProjectController.buildLabel(Label label, long parentProjectID, java.lang.String baseSJPath)
          This method recursively calls itself until it has put all of the latest versions of all the file nodes in parent (and in all ProjectNode children of parent) into label.
 ProjectChild ProjectNode.restoreRemovedChildNode(int index, java.lang.String newName, long key)
          Restores the specified removed node using a new name as the node name.
 void PreviousVersionSourceRetreiver.retreiveSource(java.io.File flTarget)
           
 

Uses of SecurityException in org.sourcejammer.project.model
 

Methods in org.sourcejammer.project.model that throw SecurityException
 ProjectNode NodeLibrary.getProjectNode(long nodeID)
          Retrieve or construct a ProjectNode based on it's node id.
 FileNode NodeLibrary.getFileNode(long nodeID)
          Retrieve or construct a FileNode based on it's node id.
 FileNode NodeLibrary.getFileNode(long nodeID, boolean readOnly)
          Retrieve or construct a FileNode based on it's node id.
 void NodeLibrary.storeVersionComment(FileNode ndFile, long fileKey, long versionID, java.lang.String comment)
           
 long NodeLibrary.lockNode(ControllerNode nd)
          Locks the node and returns the key.
 long NodeLibrary.lockNode(ControllerNode nd, long lTimeOutValue)
          Locks the node and returns the key used to lock it.
 void NodeLibrary.deleteNode(ControllerNode node)
           
 

Uses of SecurityException in org.sourcejammer.project.model.filesys
 

Methods in org.sourcejammer.project.model.filesys that throw SecurityException
static void Util.deleteNodeAndAllChildrenFromFileSys(java.lang.String rootPath, NodeFS node, NodeLibraryFS lib)
          Removes the node and all of its children from the file system.
static NodeAndShareParentPath XMLUtilFS.xmlToProject(org.w3c.dom.Document doc, long lKey, NodeLibraryFS lib)
          Sets only basic information of children.
static NodeAndShareParentPath XMLUtilFS.xmlToProject(org.w3c.dom.Document doc, ProjectNodeFS ndProject, long lKey, NodeLibraryFS lib)
          Builds ProjectNode.
static NodeAndShareParentPath XMLUtilFS.xmlToFileNode(org.w3c.dom.Document doc, long lKey)
           
static NodeAndShareParentPath XMLUtilFS.xmlToFileNode(org.w3c.dom.Document doc, FileNodeFS ndFile, long lKey)
          Build a FileNodeFS from the file node's XML doc.
 void FileNodeFS.lock(long key)
          Override the super class method to check if node is read-only.
 ProjectNode NodeLibraryFS.getProjectNode(long nodeID)
           
 FileNode NodeLibraryFS.getFileNode(long nodeID)
          Retrieves and locks a File node on the file system.
 FileNode NodeLibraryFS.getFileNode(long nodeID, boolean readOnly)
          Retrieve or construct a FileNode based on it's node id.
 long NodeLibraryFS.lockNode(ControllerNode nd)
          Locks the node and returns the key.
 long NodeLibraryFS.lockNode(ControllerNode nd, long lTimeOutValue)
          Locks the node and returns the key used to lock it.
 void NodeLibraryFS.deleteNode(ControllerNode node)
           
static Label ConversionTools.xmlToLabelVer1_0(org.w3c.dom.Document doc, java.lang.String fileName, NodeLibrary oLibrary)
           
 

Uses of SecurityException in org.sourcejammer.server.security
 

Subclasses of SecurityException in org.sourcejammer.server.security
 class CheckInException
          Title: SourceJammer v 0.1.0 Description: Copyright: Copyright (c) 2001 Company:
 class CheckOutException
          Title: SourceJammer v 0.1.0 Description: Copyright: Copyright (c) 2001 Company:
 class ObjectLockingException
          Title: SourceJammer 1.1 Description: Copyright: Copyright (c) 2001 Company: SourceJammer
 

Methods in org.sourcejammer.server.security that throw SecurityException
 void UserManager.changeUserPassword(User oUser, java.lang.String userName, java.lang.String newPassword)
          Change a user's password.
 


SourceJammer 1.2.0.1 May 20, 2002
Copyright (c) 2001, 2002 Robert MacGrogan