|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 searchpublic QueryCreationContextImpl(com.atlassian.crowd.embedded.api.User user, boolean securityOverriden)
user
- the user performing the searchsecurityOverriden
- true if you want to override security; false otherwiseMethod Detail |
---|
public com.atlassian.crowd.embedded.api.User getUser()
QueryCreationContext
getUser
in interface QueryCreationContext
public com.atlassian.crowd.embedded.api.User getQueryUser()
QueryCreationContext
getQueryUser
in interface QueryCreationContext
public boolean isSecurityOverriden()
isSecurityOverriden
in interface QueryCreationContext
QueryCreationContext.getQueryUser()
will be ignored. If false, the user will be used to do permission checks.public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |