public interface CustomFieldClauseSanitiserHandler
Used to indicate that a particular custom field requires its clauses to be sanitised by a
ClauseSanitiser
. The mechanism for registering the sanitiser is through the
ClausePermissionHandler
, which is constructed by the
SearchableField.createAssociatedSearchHandler()
method.
Thus, when implementing a CustomFieldSearcherClauseHandler
,
ensure that it also implements this interface if it has special sanitisation requirements. Otherwise, the default
NoOpClauseSanitiser
will be used. This searcher clause handler should then
be constructed inside the CustomFieldSearcher
.
ClauseSanitiser
Modifier and Type | Method and Description |
---|---|
ClauseSanitiser |
getClauseSanitiser() |
ClauseSanitiser getClauseSanitiser()
Copyright © 2002-2015 Atlassian. All Rights Reserved.