|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.jql.query.QueryCreationContextImpl
public class QueryCreationContextImpl
Default implementation of QueryCreationContext.
| Constructor Summary | |
|---|---|
QueryCreationContextImpl(com.atlassian.crowd.embedded.api.User user)
Use this constructor unless you know you need to override security. |
|
QueryCreationContextImpl(com.atlassian.crowd.embedded.api.User user,
boolean securityOverriden)
Use this constructor if you need to override security. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
com.atlassian.crowd.embedded.api.User |
getQueryUser()
Get the User. |
com.atlassian.crowd.embedded.api.User |
getUser()
Get the User. |
int |
hashCode()
|
boolean |
isSecurityOverriden()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueryCreationContextImpl(com.atlassian.crowd.embedded.api.User user)
user - the user performing the search
public QueryCreationContextImpl(com.atlassian.crowd.embedded.api.User user,
boolean securityOverriden)
user - the user performing the searchsecurityOverriden - true if you want to override security; false otherwise| Method Detail |
|---|
public com.atlassian.crowd.embedded.api.User getUser()
QueryCreationContext
getUser in interface QueryCreationContextpublic com.atlassian.crowd.embedded.api.User getQueryUser()
QueryCreationContext
getQueryUser in interface QueryCreationContextpublic boolean isSecurityOverriden()
isSecurityOverriden in interface QueryCreationContextQueryCreationContext.getQueryUser() will be ignored. If false, the user will be used to do permission checks.public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||