|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.sourcejammer.project.view.PluginArchiveContext
Title: $FileName: PluginArchiveContext.java$
Field Summary | |
private Archive |
archive
|
Constructor Summary | |
PluginArchiveContext(Archive archive)
|
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private Archive archive
Constructor Detail |
public PluginArchiveContext(Archive archive)
Method Detail |
public ROFile getFile(long fileID) throws FileAccessException, FileDoesNotExistException, SecurityException
ArchiveContext
getFile
in interface ArchiveContext
FileAccessException
FileDoesNotExistException
SecurityException
ArchiveContext.getFile(long)
public java.lang.String getPathToProject(long projectID) throws SecurityException, ProjectDoesNotExistException, FileAccessException
ArchiveContext
getPathToProject
in interface ArchiveContext
SecurityException
ProjectDoesNotExistException
FileAccessException
public ROProject getProject(long projectID) throws FileAccessException, ProjectDoesNotExistException, SecurityException
ArchiveContext
getProject
in interface ArchiveContext
FileAccessException
ProjectDoesNotExistException
SecurityException
ArchiveContext.getProject(long)
public org.sourcejammer.project.view.Project buildFileList(long[] fileIDs) throws SecurityException, FileAccessException, FileDoesNotExistException
ArchiveContext
buildFileList
in interface ArchiveContext
SecurityException
FileAccessException
FileDoesNotExistException
ArchiveContext.buildFileList(long[])
public java.lang.String getArchiveName()
ArchiveContext
getArchiveName
in interface ArchiveContext
ArchiveContext.getArchiveName()
public long checkSession(org.sourcejammer.project.view.SJRequest request) throws UserDoesNotExistException, InvalidPasswordException, SecurityException
ArchiveContext
checkSession
in interface ArchiveContext
UserDoesNotExistException
InvalidPasswordException
SecurityException
ArchiveContext.checkSession(SJRequest)
public long checkSessionAdminRequired(org.sourcejammer.project.view.SJRequest request) throws UserDoesNotExistException, InvalidPasswordException, SecurityException
ArchiveContext
checkSessionAdminRequired
in interface ArchiveContext
UserDoesNotExistException
InvalidPasswordException
SecurityException
ArchiveContext.checkSessionAdminRequired(SJRequest)
public long checkSessionAllowAnon(org.sourcejammer.project.view.SJRequest request) throws UserDoesNotExistException, InvalidPasswordException, SecurityException
ArchiveContext
checkSessionAllowAnon
in interface ArchiveContext
UserDoesNotExistException
InvalidPasswordException
SecurityException
ArchiveContext.checkSessionAllowAnon(SJRequest)
public long checkSessionArchUserRequired(org.sourcejammer.project.view.SJRequest request) throws UserDoesNotExistException, InvalidPasswordException, SecurityException
ArchiveContext
checkSessionArchUserRequired
in interface ArchiveContext
UserDoesNotExistException
InvalidPasswordException
SecurityException
ArchiveContext.checkSessionArchUserRequired(SJRequest)
public long checkSessionControllerRequired(org.sourcejammer.project.view.SJRequest request) throws UserDoesNotExistException, InvalidPasswordException, SecurityException
ArchiveContext
checkSessionControllerRequired
in interface ArchiveContext
UserDoesNotExistException
InvalidPasswordException
SecurityException
ArchiveContext.checkSessionControllerRequired(SJRequest)
public java.lang.String getComment(long versionID) throws FileAccessException, NoSuchVersionException
ArchiveContext
getComment
in interface ArchiveContext
FileAccessException
NoSuchVersionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |