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
Fields Modifier and Type Field Description static SecurityPolicy.QueryTransformer
IDENTITY
Query transformer that does nothing.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
transform(NuxeoPrincipal principal, String query)
Transforms a query into another query that has the security policy applied.
-
-
-
Field Detail
-
IDENTITY
static final SecurityPolicy.QueryTransformer IDENTITY
Query transformer that does nothing.
-
-
Method Detail
-
transform
String transform(NuxeoPrincipal principal, String query)
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
-
-