com.atlassian.jira.bc
Interface JiraServiceContext

All Known Implementing Classes:
JiraServiceContextImpl

@PublicApi
public interface JiraServiceContext

This is a context that provides information to calls to the JIRA service layer.


Method Summary
 ErrorCollection getErrorCollection()
          Gets an error collection.
 I18nHelper getI18nBean()
          Get an I18nHelper for localising text.
 com.atlassian.crowd.embedded.api.User getLoggedInUser()
          Returns the User who has invoked the JIRA service method.
 

Method Detail

getErrorCollection

ErrorCollection getErrorCollection()
Gets an error collection. This should be used to report any human-readable errors that occur in a JIRA service method call.

Returns:
errorCollection

getLoggedInUser

com.atlassian.crowd.embedded.api.User getLoggedInUser()
Returns the User who has invoked the JIRA service method.

Returns:
user who is performing the operation (can be null).

getI18nBean

I18nHelper getI18nBean()
Get an I18nHelper for localising text.

Returns:
an I18nHelper for localising text.
Since:
v3.13


Copyright © 2002-2013 Atlassian. All Rights Reserved.