use of com.cloud.network.security.SecurityGroupRulesVO in project cloudstack by apache.
the class SecurityGroupRulesDaoImpl method listSecurityGroupRules.
@Override
public List<SecurityGroupRulesVO> listSecurityGroupRules(long accountId, String groupName) {
Filter searchFilter = new Filter(SecurityGroupRulesVO.class, "id", true, null, null);
SearchCriteria<SecurityGroupRulesVO> sc = AccountGroupNameSearch.create();
sc.setParameters("accountId", accountId);
sc.setParameters("name", groupName);
return listBy(sc, searchFilter);
}
use of com.cloud.network.security.SecurityGroupRulesVO in project cloudstack by apache.
the class SecurityGroupRulesDaoImpl method listSecurityRulesByGroupId.
@Override
public List<SecurityGroupRulesVO> listSecurityRulesByGroupId(long groupId) {
Filter searchFilter = new Filter(SecurityGroupRulesVO.class, "id", true, null, null);
SearchCriteria<SecurityGroupRulesVO> sc = GroupSearch.create();
sc.setParameters("groupId", groupId);
return listBy(sc, searchFilter);
}
use of com.cloud.network.security.SecurityGroupRulesVO in project cloudstack by apache.
the class SecurityGroupRulesDaoImpl method listSecurityGroupRules.
@Override
public List<SecurityGroupRulesVO> listSecurityGroupRules(long accountId) {
Filter searchFilter = new Filter(SecurityGroupRulesVO.class, "id", true, null, null);
SearchCriteria<SecurityGroupRulesVO> sc = AccountSearch.create();
sc.setParameters("accountId", accountId);
return listBy(sc, searchFilter);
}
Aggregations