|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Title: $FileName: ArchiveContext.java$
Method Summary | |
org.sourcejammer.project.view.Project |
buildFileList(long[] fileIDs)
Constructs a file list (in the form of a Project) from the list of file ids passed in. |
long |
checkSession(org.sourcejammer.project.view.SJRequest request)
Checks user's login status. |
long |
checkSessionAdminRequired(org.sourcejammer.project.view.SJRequest request)
Checks user's login status. |
long |
checkSessionAllowAnon(org.sourcejammer.project.view.SJRequest request)
Checks user's login status. |
long |
checkSessionArchUserRequired(org.sourcejammer.project.view.SJRequest request)
Checks user's login status. |
long |
checkSessionControllerRequired(org.sourcejammer.project.view.SJRequest request)
Checks users login status. |
java.lang.String |
getArchiveName()
Returns the name of the archive. |
java.lang.String |
getComment(long versionID)
Returns comment for the specified file version as a String. |
ROFile |
getFile(long fileID)
Returns the read-only view object for the file with the specified ID. |
java.lang.String |
getPathToProject(long projectID)
Get the full path to a project in the following format: /full/path/to/project |
ROProject |
getProject(long projectID)
Returns the read-only view object for the project with the specified ID. |
Method Detail |
public ROFile getFile(long fileID) throws FileAccessException, FileDoesNotExistException, SecurityException
FileAccessException
FileDoesNotExistException
SecurityException
public java.lang.String getPathToProject(long projectID) throws SecurityException, ProjectDoesNotExistException, FileAccessException
SecurityException
ProjectDoesNotExistException
FileAccessException
public ROProject getProject(long projectID) throws FileAccessException, ProjectDoesNotExistException, SecurityException
FileAccessException
ProjectDoesNotExistException
SecurityException
public org.sourcejammer.project.view.Project buildFileList(long[] fileIDs) throws SecurityException, FileAccessException, FileDoesNotExistException
SecurityException
FileAccessException
FileDoesNotExistException
public java.lang.String getArchiveName()
public long checkSession(org.sourcejammer.project.view.SJRequest request) throws UserDoesNotExistException, InvalidPasswordException, SecurityException
UserDoesNotExistException
InvalidPasswordException
SecurityException
public long checkSessionAdminRequired(org.sourcejammer.project.view.SJRequest request) throws UserDoesNotExistException, InvalidPasswordException, SecurityException
UserDoesNotExistException
InvalidPasswordException
SecurityException
public long checkSessionAllowAnon(org.sourcejammer.project.view.SJRequest request) throws UserDoesNotExistException, InvalidPasswordException, SecurityException
UserDoesNotExistException
InvalidPasswordException
SecurityException
public long checkSessionArchUserRequired(org.sourcejammer.project.view.SJRequest request) throws UserDoesNotExistException, InvalidPasswordException, SecurityException
UserDoesNotExistException
InvalidPasswordException
SecurityException
public long checkSessionControllerRequired(org.sourcejammer.project.view.SJRequest request) throws UserDoesNotExistException, InvalidPasswordException, SecurityException
UserDoesNotExistException
InvalidPasswordException
SecurityException
public java.lang.String getComment(long versionID) throws FileAccessException, NoSuchVersionException
FileAccessException
NoSuchVersionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |