|
||||||||||
| 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 ArchiveContextFileAccessException
FileDoesNotExistException
SecurityExceptionArchiveContext.getFile(long)
public java.lang.String getPathToProject(long projectID)
throws SecurityException,
ProjectDoesNotExistException,
FileAccessException
ArchiveContext
getPathToProject in interface ArchiveContextSecurityException
ProjectDoesNotExistException
FileAccessException
public ROProject getProject(long projectID)
throws FileAccessException,
ProjectDoesNotExistException,
SecurityException
ArchiveContext
getProject in interface ArchiveContextFileAccessException
ProjectDoesNotExistException
SecurityExceptionArchiveContext.getProject(long)
public org.sourcejammer.project.view.Project buildFileList(long[] fileIDs)
throws SecurityException,
FileAccessException,
FileDoesNotExistException
ArchiveContext
buildFileList in interface ArchiveContextSecurityException
FileAccessException
FileDoesNotExistExceptionArchiveContext.buildFileList(long[])public java.lang.String getArchiveName()
ArchiveContext
getArchiveName in interface ArchiveContextArchiveContext.getArchiveName()
public long checkSession(org.sourcejammer.project.view.SJRequest request)
throws UserDoesNotExistException,
InvalidPasswordException,
SecurityException
ArchiveContext
checkSession in interface ArchiveContextUserDoesNotExistException
InvalidPasswordException
SecurityExceptionArchiveContext.checkSession(SJRequest)
public long checkSessionAdminRequired(org.sourcejammer.project.view.SJRequest request)
throws UserDoesNotExistException,
InvalidPasswordException,
SecurityException
ArchiveContext
checkSessionAdminRequired in interface ArchiveContextUserDoesNotExistException
InvalidPasswordException
SecurityExceptionArchiveContext.checkSessionAdminRequired(SJRequest)
public long checkSessionAllowAnon(org.sourcejammer.project.view.SJRequest request)
throws UserDoesNotExistException,
InvalidPasswordException,
SecurityException
ArchiveContext
checkSessionAllowAnon in interface ArchiveContextUserDoesNotExistException
InvalidPasswordException
SecurityExceptionArchiveContext.checkSessionAllowAnon(SJRequest)
public long checkSessionArchUserRequired(org.sourcejammer.project.view.SJRequest request)
throws UserDoesNotExistException,
InvalidPasswordException,
SecurityException
ArchiveContext
checkSessionArchUserRequired in interface ArchiveContextUserDoesNotExistException
InvalidPasswordException
SecurityExceptionArchiveContext.checkSessionArchUserRequired(SJRequest)
public long checkSessionControllerRequired(org.sourcejammer.project.view.SJRequest request)
throws UserDoesNotExistException,
InvalidPasswordException,
SecurityException
ArchiveContext
checkSessionControllerRequired in interface ArchiveContextUserDoesNotExistException
InvalidPasswordException
SecurityExceptionArchiveContext.checkSessionControllerRequired(SJRequest)
public java.lang.String getComment(long versionID)
throws FileAccessException,
NoSuchVersionException
ArchiveContext
getComment in interface ArchiveContextFileAccessException
NoSuchVersionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||