@Override
 public List<Application> getAllApplicationsByDate(String minDate, String maxDate) {
   LOGGER.info("getAllApplicationsBydate from: " + minDate + " To: " + maxDate);
   return applicationDao.getApplicationsBySetDate(getDate(minDate), getDate(maxDate));
 }
 @Override
 public List<Application> getAllApplications() {
   LOGGER.info("getAllApplications");
   return applicationDao.getAllApplications();
 }
 @Override
 public Application getApplicationById(Integer applicationId) {
   LOGGER.info("SERVICE: get application by id=" + applicationId.toString());
   Assert.notNull(applicationId, "Id should not be null!");
   return applicationDao.getApplicationById(applicationId);
 }
 @Override
 public void updateApplication(Integer applicationId, String updatedDate) {
   LOGGER.info("SERVICE: updateApplication by id=" + applicationId.toString());
   Assert.notNull(applicationId, "Id should not be null");
   applicationDao.updateApplication(applicationId, getDate(updatedDate));
 }
 @Override
 public void deleteApplication(Integer applicationId) {
   LOGGER.info("SERVICE: delete application by id=" + applicationId.toString());
   Assert.notNull(applicationId, "Id should not be null!");
   applicationDao.deleteApplication(applicationId);
 }
 @Override
 public Integer addApplication(Application application) {
   LOGGER.info("SERVICE: addApplication");
   Assert.isNull(application.getApplicationId(), "Id should be null!");
   return applicationDao.addApplication(application);
 }