|
SourceJammer 1.3.0 November 20, 2002 Copyright (c) 2001, 2002 Robert MacGrogan |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
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. |
void |
Archive.copyFile(long fileID,
long parentProjectID,
long newParentProjectID,
java.lang.String userName)
Copies the specified file from one project to another. |
void |
Archive.moveProject(long projectID,
long parentProjectID,
long newParentProjectID,
java.lang.String newProjectName)
|
void |
Archive.copyProject(long projectID,
long parentProjectID,
long newParentProjectID,
java.lang.String userName,
java.lang.String newProjectName)
Copies the specified project and all children from one project to another. |
void |
Archive.moveFile(long fileID,
long parentProjectID,
long newParentProjectID)
Moves the specified file from one project to another. |
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.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,
java.lang.String userName)
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. |
Label |
Archive.getLabelContentList(long labelID,
int versionNumber)
Returns the Label object (which contains the sourcejammer path and version number for each object in the labeled version) with the specified name. |
void |
Archive.rebuildLabel(long labelID,
java.lang.String description,
long parentProjectID,
java.lang.String userName)
|
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 java.lang.String |
ControllerUtil.getPathFromProject(ProjectNode project,
NodeLibrary library)
public static NodeName buildNodeNameObject(ControllerNode node){ if (node instanceof VersionNode){ throw new BadMethodArgumentException("Cannot call buildNodeNameObject() for VersionNode."); } NodeName oNameObject = new NodeName(); oNameObject.setName(node.getNodeName()); ControllerNode oParentNode = node.getParent(); if (oParentNode != null){ //Note reflexive call to this same method below. |
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. |
void |
ProjectController.copyFile(long fileID,
long parentProjectID,
long newParentProjectID,
java.lang.String userName)
Copies the specified file from one project to another. |
void |
ProjectController.moveFile(long fileID,
long parentProjectID,
long newParentProjectID)
Moves the specified file from one project to another. |
void |
ProjectController.moveProject(long projectID,
long parentProjectID,
long newParentProjectID,
java.lang.String newProjectName)
Moves the specified project from one project to another. |
void |
ProjectController.copyProject(long projectID,
long parentProjectID,
long newParentProjectID,
java.lang.String userName,
java.lang.String newProjectName)
|
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.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,
java.lang.String userName)
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 |
ProjectController.rebuildLabel(long labelID,
java.lang.String description,
long parentProjectID,
java.lang.String userName)
|
Label |
ProjectController.getLabelContentList(long labelID,
int versionNumber)
Returns the Label object (which contains the sourcejammer path and version number for each object in the labeled version) with the specified name. |
protected Project |
ProjectController.projectNodeToProject(ProjectNode ndProject)
|
protected Label |
ProjectController.buildLabel(Label label,
long parentProjectID,
java.lang.String baseSJPath,
long skipFile)
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)
|
static void |
Conversion.runConversionOneThree()
Converts server from version 1.2 to version 1.3. |
Uses of SecurityException in org.sourcejammer.project.model.filesys |
Methods in org.sourcejammer.project.model.filesys that throw SecurityException | |
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)
|
void |
FileNodeFS.lock(long key)
Override the super class method to check if node is read-only. |
static Label |
ConversionTools.xmlToLabelVer1_0(org.w3c.dom.Document doc,
java.lang.String fileName,
NodeLibrary oLibrary)
|
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. |
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.3.0 November 20, 2002 Copyright (c) 2001, 2002 Robert MacGrogan |
|||||||||
PREV NEXT | FRAMES NO FRAMES |