@Override
public VulnerabilityFilter retrieveByVulnerabilityAndType(
int sourceGenericVulnerabilityId, VulnerabilityFilter filter) {
VulnerabilityFilter returnFilter = null;
if (filter != null) {
Criteria criteria = getBaseCriteria()
.add(Restrictions.eq("sourceGenericVulnerability.id", sourceGenericVulnerabilityId));
if (filter.getOrganization() != null) {