Class NoFile2SecurityPolicy.NoFileTransformer
- java.lang.Object
-
- org.nuxeo.ecm.core.storage.sql.security.NoFile2SecurityPolicy.NoFileTransformer
-
- All Implemented Interfaces:
SQLQuery.Transformer
- Enclosing class:
- NoFile2SecurityPolicy
public static class NoFile2SecurityPolicy.NoFileTransformer extends Object implements SQLQuery.Transformer
Transformer that addsAND ecm:primaryType <> 'File'
to the query.
-
-
Field Summary
Fields Modifier and Type Field Description static Predicate
NO_FILE
-
Fields inherited from interface org.nuxeo.ecm.core.query.sql.model.SQLQuery.Transformer
IDENTITY
-
-
Constructor Summary
Constructors Constructor Description NoFileTransformer()
-
-
-
Constructor Detail
-
NoFileTransformer
public NoFileTransformer()
-
-
Method Detail
-
transform
public SQLQuery transform(NuxeoPrincipal principal, SQLQuery query)
- Specified by:
transform
in interfaceSQLQuery.Transformer
-
-