Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.query.test
Class NoFile2SecurityPolicy.NoFileTransformer

java.lang.Object
  extended by org.nuxeo.ecm.core.query.test.NoFile2SecurityPolicy.NoFileTransformer
All Implemented Interfaces:
java.io.Serializable, SQLQuery.Transformer
Enclosing class:
NoFile2SecurityPolicy

public static class NoFile2SecurityPolicy.NoFileTransformer
extends java.lang.Object
implements SQLQuery.Transformer

Transformer that adds AND ecm:primaryType <> 'File' to the query.

See Also:
Serialized Form

Field Summary
static Predicate NO_FILE
           
 
Fields inherited from interface org.nuxeo.ecm.core.query.sql.model.SQLQuery.Transformer
IDENTITY
 
Constructor Summary
NoFile2SecurityPolicy.NoFileTransformer()
           
 
Method Summary
 SQLQuery transform(java.security.Principal principal, SQLQuery query)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_FILE

public static final Predicate NO_FILE
Constructor Detail

NoFile2SecurityPolicy.NoFileTransformer

public NoFile2SecurityPolicy.NoFileTransformer()
Method Detail

transform

public SQLQuery transform(java.security.Principal principal,
                          SQLQuery query)
Specified by:
transform in interface SQLQuery.Transformer

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.