ItEr43S09ImplantacionAplicacionItEr42S13: Removing no longer needed query method
This commit is contained in:
parent
b211bd7a61
commit
7bbb1d827d
2 changed files with 0 additions and 17 deletions
|
|
@ -55,7 +55,4 @@ public interface IResourceAllocationDAO extends
|
|||
Map<Criterion, List<GenericResourceAllocation>> findGenericAllocationsByCriterionFor(
|
||||
List<Task> task);
|
||||
|
||||
List<Criterion> findCriterionByResourceAllocation(
|
||||
ResourceAllocation allocation);
|
||||
|
||||
}
|
||||
|
|
@ -123,20 +123,6 @@ public class ResourceAllocationDAO extends
|
|||
return stripAllocationsWithoutAssignations(byCriterion(results));
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
public List<Criterion> findCriterionByResourceAllocation(
|
||||
ResourceAllocation allocation) {
|
||||
List<Criterion> results = getSession()
|
||||
.createQuery(
|
||||
"select criterion "
|
||||
+ "from GenericResourceAllocation as generic "
|
||||
+ "join generic.criterions as criterion where generic in(:allocation)")
|
||||
.setParameter("allocation", allocation)
|
||||
.list();
|
||||
return results;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
public Map<Criterion, List<GenericResourceAllocation>> findGenericAllocationsByCriterionFor(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue