Package com.sandrini.sandelivery.model

Examples of com.sandrini.sandelivery.model.Service


    return getSession().createQuery("from Service order by description")
        .list();
  }

  public void deleteService(Long serviceId) {
    Service service = getService(serviceId);
    if (service != null) {
      getSession().delete(service);
    }
  }
View Full Code Here


      return null;
    }
  }

  public void createService(String description, String image) {
    Service service = new Service();
    service.setDescription(description);
    service.setImage(image);
    serviceDAO.createService(service);
  }
View Full Code Here

TOP

Related Classes of com.sandrini.sandelivery.model.Service

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.