Package org.nuxeo.ecm.core.security
Interface SecurityPolicy.QueryTransformer
- All Known Implementing Classes:
SecurityPolicy.IdentityQueryTransformer
- Enclosing interface:
- SecurityPolicy
public static interface SecurityPolicy.QueryTransformer
Interface for a class that can transform a string-based query into another. Not used for NXQL.
- Since:
- 5.7.2
-
Field Summary
Modifier and TypeFieldDescriptionstatic final SecurityPolicy.QueryTransformer
Query transformer that does nothing. -
Method Summary
Modifier and TypeMethodDescriptiontransform
(NuxeoPrincipal principal, String query) Transforms a query into another query that has the security policy applied.
-
Field Details
-
IDENTITY
Query transformer that does nothing.
-
-
Method Details
-
transform
Transforms a query into another query that has the security policy applied.- Parameters:
principal
- the principal making the queryquery
- the query- Returns:
- the query with security policy applied
- Since:
- 5.7.2
-