Class ValidatedPocServiceImpl
java.lang.Object
info.ejava.examples.db.validation.contacts.svc.ValidatedPocServiceImpl
- All Implemented Interfaces:
PocService
This version of PocService enables validation on the Java method calls.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatePOC
(PersonPocDTO poc) Creates a new point of contact for a person.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface info.ejava.examples.db.validation.contacts.svc.PocService
deleteAllPOCs, deletePOC, findPOCsMatchingAll, getPOC, positiveOrZero, updatePOC
-
Field Details
-
impl
-
-
Constructor Details
-
ValidatedPocServiceImpl
public ValidatedPocServiceImpl()
-
-
Method Details
-
createPOC
Description copied from interface:PocService
Creates a new point of contact for a person.- Specified by:
createPOC
in interfacePocService
- Parameters:
poc
- person contact info- Returns:
- personDTO created, with ID
-