示例#1
0
    @Override
    public Void call(ApiCaller ac, Deserializer parms) throws PerunException {
      ac.stateChangingCheck();

      ac.getServicesManager()
          .deleteServicesPackage(
              ac.getSession(), ac.getServicesPackageById(parms.readInt("servicesPackage")));
      return null;
    }
示例#2
0
 @Override
 public List<Service> call(ApiCaller ac, Deserializer parms) throws PerunException {
   return ac.getServicesManager()
       .getServicesFromServicesPackage(
           ac.getSession(), ac.getServicesPackageById(parms.readInt("servicesPackage")));
 }
示例#3
0
 @Override
 public ServicesPackage call(ApiCaller ac, Deserializer parms) throws PerunException {
   return ac.getServicesPackageById(parms.readInt("servicesPackageId"));
 }