Class ValidatedPocServiceImpl

java.lang.Object
info.ejava.examples.db.validation.contacts.svc.ValidatedPocServiceImpl
All Implemented Interfaces:
PocService

@Validated public class ValidatedPocServiceImpl extends Object implements PocService
This version of PocService enables validation on the Java method calls.
  • Field Details

  • Constructor Details

    • ValidatedPocServiceImpl

      public ValidatedPocServiceImpl()
  • Method Details

    • createPOC

      public PersonPocDTO createPOC(PersonPocDTO poc)
      Description copied from interface: PocService
      Creates a new point of contact for a person.
      Specified by:
      createPOC in interface PocService
      Parameters:
      poc - person contact info
      Returns:
      personDTO created, with ID