class FilterRepositoryImpl implements FilterRepository, Constants {

    public List<Map<String, Object>> getPoliciesFromDB(String targetTypes)
            throws DataException {
        String ruleIdQuery = "SELECT rule.policyId,policy.policyName FROM cf_RuleInstance rule LEFT JOIN cf_Policy policy ON rule.policyId = policy.policyId WHERE rule.status = 'ENABLED' AND targetType IN ("
                + targetTypes + ") GROUP BY rule.policyId";
        return rdsepository.getDataFromPacman(ruleIdQuery);
    }

}