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
    Query transformer that does nothing.
  • Method Summary

    Modifier and Type
    Method
    Description
    transform(NuxeoPrincipal principal, String query)
    Transforms a query into another query that has the security policy applied.
  • Field Details

  • Method Details

    • 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 query
      query - the query
      Returns:
      the query with security policy applied
      Since:
      5.7.2