|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.bc.JiraServiceContextImpl
public class JiraServiceContextImpl
Default implementation of the JiraServiceContext.
Constructor Summary | |
---|---|
JiraServiceContextImpl(User user)
Instantiates this class with given user and new empty error collection |
|
JiraServiceContextImpl(User user,
ErrorCollection errorCollection)
Instantiates this class with user and error collection |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
ErrorCollection |
getErrorCollection()
Returns error collection, never null |
I18nHelper |
getI18nBean()
Get an I18nHelper for localising text. |
User |
getUser()
Returns user, can be null |
int |
hashCode()
|
String |
toString()
Prints username and error collection |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JiraServiceContextImpl(User user, ErrorCollection errorCollection) throws IllegalArgumentException
user
- usererrorCollection
- error collection
IllegalArgumentException
- if error collection is nullpublic JiraServiceContextImpl(User user)
user
- userMethod Detail |
---|
public ErrorCollection getErrorCollection()
getErrorCollection
in interface JiraServiceContext
public User getUser()
getUser
in interface JiraServiceContext
public I18nHelper getI18nBean()
JiraServiceContext
getI18nBean
in interface JiraServiceContext
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |