InternalLb: fixed searchCriteria constructor in ApplicationLoadBalancerDaoImpl

This commit is contained in:
Alena Prokharchyk 2013-04-11 14:23:55 -07:00
parent 3795048fcc
commit 1db240c2b6
1 changed files with 3 additions and 3 deletions

View File

@ -63,9 +63,9 @@ public class ApplicationLoadBalancerRuleDaoImpl extends GenericDaoBase<Applicati
CountBy.done();
NotRevokedSearch = createSearchBuilder();
NotRevokedSearch.and("sourceIp", AllFieldsSearch.entity().getSourceIp(), SearchCriteria.Op.EQ);
NotRevokedSearch.and("sourceIpNetworkId", AllFieldsSearch.entity().getSourceIpNetworkId(), SearchCriteria.Op.EQ);
NotRevokedSearch.and("state", AllFieldsSearch.entity().getState(), SearchCriteria.Op.NEQ);
NotRevokedSearch.and("sourceIp", NotRevokedSearch.entity().getSourceIp(), SearchCriteria.Op.EQ);
NotRevokedSearch.and("sourceIpNetworkId", NotRevokedSearch.entity().getSourceIpNetworkId(), SearchCriteria.Op.EQ);
NotRevokedSearch.and("state", NotRevokedSearch.entity().getState(), SearchCriteria.Op.NEQ);
NotRevokedSearch.done();
}