|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryCreationContext
A parameter object that encapsulates the context required when creating queries in the JQL way.
The user specified by getQueryUser()
represents the user that is performing the search, and thus the user to use
when performing security checks in query factories, JQL functions and resolving fields/handlers from clause names.
These security checks will be ignored when the isSecurityOverriden()
is set to true
. This is
necessary when creating queries in the context of administration searches, where you need to ensure that all the
results in the system are returned, regardless of who is performing the search.
Method Summary | |
---|---|
com.atlassian.crowd.embedded.api.User |
getQueryUser()
Get the User. |
User |
getUser()
Get the User. |
boolean |
isSecurityOverriden()
|
Method Detail |
---|
User getUser()
com.atlassian.crowd.embedded.api.User getQueryUser()
boolean isSecurityOverriden()
getQueryUser()
will be ignored. If false, the user will be used to do permission checks.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |