Class DefaultUserMultiTenantManagement.QueryTenantAdder
- java.lang.Object
-
- org.nuxeo.ecm.core.query.sql.model.IdentityQueryTransformer
-
- org.nuxeo.ecm.platform.usermanager.DefaultUserMultiTenantManagement.QueryTenantAdder
-
- All Implemented Interfaces:
QueryTransformer
- Enclosing class:
- DefaultUserMultiTenantManagement
public static class DefaultUserMultiTenantManagement.QueryTenantAdder extends IdentityQueryTransformer
Changes group equality or difference matches to take into account a suffix.Throws for any more complex query on groups.
- Since:
- 10.3
-
-
Field Summary
Fields Modifier and Type Field Description protected String
groupIdField
protected boolean
isGroupPredicate
protected String
suffix
-
Constructor Summary
Constructors Constructor Description QueryTenantAdder(String groupIdField, String suffix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Expression
transform(Expression node)
Predicate
transform(Predicate node)
Reference
transform(Reference node)
Literal
transform(StringLiteral node)
-
Methods inherited from class org.nuxeo.ecm.core.query.sql.model.IdentityQueryTransformer
transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transformLimit, transformOffset
-
-
-
-
Method Detail
-
transform
public Expression transform(Expression node)
- Specified by:
transform
in interfaceQueryTransformer
- Overrides:
transform
in classIdentityQueryTransformer
-
transform
public Predicate transform(Predicate node)
- Specified by:
transform
in interfaceQueryTransformer
- Overrides:
transform
in classIdentityQueryTransformer
-
transform
public Literal transform(StringLiteral node)
- Specified by:
transform
in interfaceQueryTransformer
- Overrides:
transform
in classIdentityQueryTransformer
-
transform
public Reference transform(Reference node)
- Specified by:
transform
in interfaceQueryTransformer
- Overrides:
transform
in classIdentityQueryTransformer
-
-