示例#1
0
 @Override
 public String releasePermitByName(String name, int num) {
   boolean result = permitManager.releasePermitByName(name, num);
   return result ? "Permits released" : "Permit doesnt exist";
 }
示例#2
0
 @Override
 public List<String> getAllNamedPermits() {
   return permitManager.getPermitNames();
 }