@ExceptionHandler
 @GET
 @Path("/findAllSuppliers")
 @Produces("application/json")
 public List<Supplier> findAllSuppliers() {
   logger.info("inside @class SuppliersRestImpl @method SupplierRestImpl entry.");
   return supplierService.findAllSuppliers();
 }
 @DELETE
 @ExceptionHandler
 @Path("/delete/{id}")
 public String deleteSupplier(@PathParam("id") long id) {
   logger.info("inside @class SuppliersRestImpl @method deleteSupplier entry.");
   Authentication authentication = (Authentication) getSession().getAttribute("authentication");
   return supplierService.deleteSupplier(authentication, id);
 }
 @ExceptionHandler
 @GET
 @Path("/search")
 @Produces("application/json")
 public List<Supplier> search(
     @DefaultValue("id") @QueryParam("orderBy") String orderBy,
     @DefaultValue("asc") @QueryParam("orderType") String orderType,
     @DefaultValue("0") @QueryParam("lowerLimit") Integer lowerLimit,
     @DefaultValue("100") @QueryParam("upperLimit") Integer upperLimit) {
   logger.info("inside @class UserRestImpl @method search entry.");
   return supplierService.search(context, lowerLimit, upperLimit, orderBy, orderType);
 }