Package com.iggroup.oss.sample.domain

Examples of com.iggroup.oss.sample.domain.SampleReference


         if (ref >= availRef) {
            availRef = ref + 1;
         }
      }

      return new SampleReference(availRef).toString();
   }
View Full Code Here


    LOGGER.info("getSampleByReference " + reference);

    // since @Valid doesn't work properly until Spring 3.1
    // Note: could use SampleReference as a RequestParam but then the
    // interface is a little clunky
    validate(new SampleReference(reference));

    return service.getSampleByReference(reference);

  }
View Full Code Here

  @ResponseStatus(value = HttpStatus.NO_CONTENT)
  public void deleteSample(@PathVariable String reference) {

    LOGGER.info("deleteSample " + reference);

    validate(new SampleReference(reference));

    service.deleteSample(reference);

  }
View Full Code Here

TOP

Related Classes of com.iggroup.oss.sample.domain.SampleReference

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.