|
SourceJammer 1.3.0 November 20, 2002 Copyright (c) 2001, 2002 Robert MacGrogan |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ProjectDoesNotExistException | |
org.sourcejammer.project.controller | |
org.sourcejammer.project.model | |
org.sourcejammer.project.model.filesys |
Uses of ProjectDoesNotExistException in org.sourcejammer.project.controller |
Methods in org.sourcejammer.project.controller that throw ProjectDoesNotExistException | |
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. |
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. |
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). |
Delta |
Archive.getFileVersionDelta(long versionID)
Get specified delta object for file. |
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. |
java.lang.String |
Archive.getVersionComment(long versionID)
Get the comment for 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. |
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)
|
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.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)
|
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. |
Project |
ProjectController.getProject(long projectID)
Get Project object (info about project). |
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. |
java.lang.String |
ProjectController.getVersionComment(long versionID)
Get the comment for the specified version. |
long |
ProjectController.getUniqueIDFromPath(long parentID,
java.lang.String path)
|
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. |
void |
PreviousVersionSourceRetreiver.retreiveSource(java.io.File flTarget)
|
Uses of ProjectDoesNotExistException in org.sourcejammer.project.model |
Methods in org.sourcejammer.project.model that throw ProjectDoesNotExistException | |
ProjectNode |
NodeLibrary.getProjectNode(long nodeID)
Retrieve or construct a ProjectNode based on it's node id. |
static void |
Conversion.runConversionOneThree()
Converts server from version 1.2 to version 1.3. |
Uses of ProjectDoesNotExistException in org.sourcejammer.project.model.filesys |
Methods in org.sourcejammer.project.model.filesys that throw ProjectDoesNotExistException | |
ProjectNode |
NodeLibraryFS.getProjectNode(long nodeID)
|
static Label |
ConversionTools.xmlToLabelVer1_0(org.w3c.dom.Document doc,
java.lang.String fileName,
NodeLibrary oLibrary)
|
|
SourceJammer 1.3.0 November 20, 2002 Copyright (c) 2001, 2002 Robert MacGrogan |
|||||||||
PREV NEXT | FRAMES NO FRAMES |