public class NoFile2SecurityPolicy extends NoFileSecurityPolicy
Modifier and Type | Class and Description |
---|---|
static class |
NoFile2SecurityPolicy.NoFileTransformer
Transformer that adds
AND ecm:primaryType <> 'File' to the query. |
SecurityPolicy.IdentityQueryTransformer, SecurityPolicy.QueryTransformer
Modifier and Type | Field and Description |
---|---|
static SQLQuery.Transformer |
NO_FILE_TRANSFORMER |
Constructor and Description |
---|
NoFile2SecurityPolicy() |
Modifier and Type | Method and Description |
---|---|
SQLQuery.Transformer |
getQueryTransformer()
Legacy method for compatibility, use
AbstractSecurityPolicy.getQueryTransformer(String) instead |
boolean |
isExpressibleInQuery()
Legacy method for compatibility, use
AbstractSecurityPolicy.isExpressibleInQuery(String) instead |
checkPermission, isRestrictingPermission
getQueryTransformer, getQueryTransformer, isExpressibleInQuery, isExpressibleInQuery
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getQueryTransformer, getQueryTransformer, isExpressibleInQuery, isExpressibleInQuery
public static final SQLQuery.Transformer NO_FILE_TRANSFORMER
public boolean isExpressibleInQuery()
AbstractSecurityPolicy
AbstractSecurityPolicy.isExpressibleInQuery(String)
insteadisExpressibleInQuery
in class NoFileSecurityPolicy
public SQLQuery.Transformer getQueryTransformer()
AbstractSecurityPolicy
AbstractSecurityPolicy.getQueryTransformer(String)
insteadgetQueryTransformer
in class NoFileSecurityPolicy
Copyright © 2015 Nuxeo SA. All rights reserved.