|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClauseSanitisingJqlFunction
An additional interface which can be implemented by JqlFunction
classes in order to indicate to the JqlOperandResolver
that their arguments
are able to be sanitised if necessary.
This was not added to the JqlFunction
interface as the default
behaviour is not to care about sanitising, and we didn't want to bloat the plugin point.
JqlFunction
,
JqlOperandResolver.sanitiseFunctionOperand(com.opensymphony.user.User, com.atlassian.query.operand.FunctionOperand)
Method Summary | |
---|---|
FunctionOperand |
sanitiseOperand(com.atlassian.crowd.embedded.api.User searcher,
FunctionOperand operand)
Sanitise a function operand for the specified user, so that information is not leaked. |
Method Detail |
---|
@NotNull FunctionOperand sanitiseOperand(com.atlassian.crowd.embedded.api.User searcher, @NotNull FunctionOperand operand)
searcher
- the user performing the searchoperand
- the operand to sanitise; will only be sanitised if valid
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |