public static CriterionSatisfaction createUnvalidated(String code,
String criterionTypeName, String criterionName, Resource resource,
LocalDate startDate, LocalDate finishDate)
throws InstanceNotFoundException {
ICriterionTypeDAO criterionTypeDAO =
Registry.getCriterionTypeDAO();
/* Get CriterionType. */
CriterionType criterionType = criterionTypeDAO.findUniqueByName(
criterionTypeName);
/* Get Criterion. */
Criterion criterion = criterionType.getCriterion(
criterionName);