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 StringgroupIdFieldprotected booleanisGroupPredicateprotected Stringsuffix
-
Constructor Summary
Constructors Constructor Description QueryTenantAdder(String groupIdField, String suffix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Expressiontransform(Expression node)Predicatetransform(Predicate node)Referencetransform(Reference node)Literaltransform(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:
transformin interfaceQueryTransformer- Overrides:
transformin classIdentityQueryTransformer
-
transform
public Predicate transform(Predicate node)
- Specified by:
transformin interfaceQueryTransformer- Overrides:
transformin classIdentityQueryTransformer
-
transform
public Literal transform(StringLiteral node)
- Specified by:
transformin interfaceQueryTransformer- Overrides:
transformin classIdentityQueryTransformer
-
transform
public Reference transform(Reference node)
- Specified by:
transformin interfaceQueryTransformer- Overrides:
transformin classIdentityQueryTransformer
-
-