use of org.codelibs.fess.es.config.cbean.ca.FileAuthenticationCA in project fess by codelibs.
the class BsFileAuthenticationCA method setUsername_SignificantTerms.
public void setUsername_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsFileAuthenticationCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "username");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FileAuthenticationCA ca = new FileAuthenticationCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.FileAuthenticationCA in project fess by codelibs.
the class BsFileAuthenticationCA method setParameters_IpRange.
public void setParameters_IpRange(String name, ConditionOptionCall<IpRangeAggregationBuilder> opLambda, OperatorCall<BsFileAuthenticationCA> aggsLambda) {
IpRangeAggregationBuilder builder = regIpRangeA(name, "parameters");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FileAuthenticationCA ca = new FileAuthenticationCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.FileAuthenticationCA in project fess by codelibs.
the class BsFileAuthenticationCA method setCreatedBy_Missing.
public void setCreatedBy_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsFileAuthenticationCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "createdBy");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FileAuthenticationCA ca = new FileAuthenticationCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.FileAuthenticationCA in project fess by codelibs.
the class BsFileAuthenticationCA method setParameters_SignificantTerms.
public void setParameters_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsFileAuthenticationCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "parameters");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FileAuthenticationCA ca = new FileAuthenticationCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.FileAuthenticationCA in project fess by codelibs.
the class BsFileAuthenticationCA method setFileConfigId_Terms.
public void setFileConfigId_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsFileAuthenticationCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "fileConfigId");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FileAuthenticationCA ca = new FileAuthenticationCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations