|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.jql.permission.IssueLiteralSanitiser
@NonInjectableComponent public class IssueLiteralSanitiser
Sanitise the issue keys or ids stored in QueryLiteral
s.
The strategy is to sanitise only those issues which both exist and the user does not have permission to browse.
The sanitised form of the operand replaces the key representation with the id representation.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.atlassian.jira.jql.permission.LiteralSanitiser |
---|
LiteralSanitiser.Result |
Constructor Summary | |
---|---|
IssueLiteralSanitiser(PermissionManager permissionManager,
JqlIssueSupport jqlIssueSupport,
com.opensymphony.user.User user)
|
Method Summary | |
---|---|
LiteralSanitiser.Result |
sanitiseLiterals(java.util.List<QueryLiteral> literals)
Issue keys are not guaranteed to be 1-1, so this method might actually return more QueryLiterals than what we started with. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IssueLiteralSanitiser(PermissionManager permissionManager, JqlIssueSupport jqlIssueSupport, com.opensymphony.user.User user)
Method Detail |
---|
public LiteralSanitiser.Result sanitiseLiterals(java.util.List<QueryLiteral> literals)
sanitiseLiterals
in interface LiteralSanitiser
literals
- the literals to sanitise; must not be null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |