com.atlassian.fisheye.plugin.web.helpers
Interface Helper


public interface Helper

Interface providing access to helper classes.


Method Summary
 ChangesetDataFE getChangeset()
           
 CommentData getComment()
           
 GlobalHelper getGlobal()
           
 ProjectData getProject()
           
 ProjectService getProjectService()
           
 RepositoryHelper getRepository()
           
 RepositoryService getRepositoryService()
           
 javax.servlet.http.HttpServletRequest getRequest()
           
 ReviewData getReview()
           
 ReviewItemData getReviewItem()
           
 ReviewService getReviewService()
           
 FileRevisionData getRevision()
           
 RevisionDataService getRevisionDataService()
           
 java.lang.String urlEncode(java.lang.String s)
           
 

Method Detail

urlEncode

java.lang.String urlEncode(java.lang.String s)
Parameters:
s - a String that is yet to be URL encoded
Returns:
a URL encoded String

getRequest

javax.servlet.http.HttpServletRequest getRequest()
Returns:
the current HttpServletRequest

getGlobal

GlobalHelper getGlobal()
Returns:
the GlobalHelper object which contains global context data. This is always available.

getRepository

RepositoryHelper getRepository()
Returns:
the RepositoryHelper object for the current context, or null if there is no repository specific to this context

getChangeset

ChangesetDataFE getChangeset()
Returns:
the ChangesetData object for the context changeset, or null if there is no changeset specific to this location

getRevision

FileRevisionData getRevision()
Returns:
the FileRevisionData object for the context revision, or null if there is no revision specific to this location

getProject

ProjectData getProject()
Returns:
the ProjectData object for the context Crucible project, or null if there is no project specific to this location

getReview

ReviewData getReview()
Returns:
the ReviewData object for this location, or null if there is no review specific to this location

getReviewItem

ReviewItemData getReviewItem()
Returns:
the ReviewItemData ovject for this context, or null if there is no review item is specific to this context

getComment

CommentData getComment()
Returns:
the CommentData object for this context, or null if there is no comment specific to this context

getProjectService

ProjectService getProjectService()
Returns:
the ProjectService, which can be used in implementations of Conditions, for instance

getReviewService

ReviewService getReviewService()
Returns:
the ReviewService, which can be used in implementations of Conditions, for instance

getRevisionDataService

RevisionDataService getRevisionDataService()
Returns:
the RevisionDataService, which can be used in implementations of Conditions, for instance

getRepositoryService

RepositoryService getRepositoryService()
Returns:
the RepositoryService, which can be used in implementations of Conditions, for instance