예제 #1
0
 @Override
 public void handleDelete(ActionParameters params) throws ActionException {
   log.debug("handleDelete");
   long id = getId(params);
   if (id > -1) {
     try {
       userService.deleteUser(id);
     } catch (ServiceException se) {
       throw new ActionException(se.getMessage(), se);
     }
   } else {
     throw new ActionException("Parameter 'id' not found.");
   }
 }