use of org.codelibs.fess.es.config.cbean.ca.FileConfigToRoleCA in project fess by codelibs.
the class BsFileConfigToRoleCA method setFileConfigId_Missing.
public void setFileConfigId_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsFileConfigToRoleCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "fileConfigId");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FileConfigToRoleCA ca = new FileConfigToRoleCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.FileConfigToRoleCA in project fess by codelibs.
the class BsFileConfigToRoleCA method filter.
// ===================================================================================
// Aggregation Set
// =========
public void filter(String name, EsAbstractConditionQuery.OperatorCall<BsFileConfigToRoleCQ> queryLambda, ConditionOptionCall<FilterAggregationBuilder> opLambda, OperatorCall<BsFileConfigToRoleCA> aggsLambda) {
FileConfigToRoleCQ cq = new FileConfigToRoleCQ();
if (queryLambda != null) {
queryLambda.callback(cq);
}
FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FileConfigToRoleCA ca = new FileConfigToRoleCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.FileConfigToRoleCA in project fess by codelibs.
the class BsFileConfigToRoleCA method setRoleTypeId_IpRange.
public void setRoleTypeId_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsFileConfigToRoleCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "roleTypeId");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FileConfigToRoleCA ca = new FileConfigToRoleCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.FileConfigToRoleCA in project fess by codelibs.
the class BsFileConfigToRoleCA method setRoleTypeId_Terms.
public void setRoleTypeId_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsFileConfigToRoleCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "roleTypeId");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FileConfigToRoleCA ca = new FileConfigToRoleCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.FileConfigToRoleCA in project fess by codelibs.
the class BsFileConfigToRoleCA method setRoleTypeId_Missing.
public void setRoleTypeId_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsFileConfigToRoleCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "roleTypeId");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FileConfigToRoleCA ca = new FileConfigToRoleCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations