Interface CustomerService
-
- All Known Implementing Classes:
DefaultCustomerService
public interface CustomerServiceProvides methods for retrieving customers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CustomerModelgetCustomerByCustomerId(java.lang.String customerId)Gets the customer by customerIdbooleanisUUID(java.lang.String id)Verifies if given id is in UUID format
-
-
-
Method Detail
-
isUUID
boolean isUUID(java.lang.String id)
Verifies if given id is in UUID format- Parameters:
id- the id- Returns:
trueif UUID format
-
getCustomerByCustomerId
CustomerModel getCustomerByCustomerId(java.lang.String customerId)
Gets the customer by customerId- Parameters:
customerId- the customerID in UUID format of the customer- Returns:
- the found customer
-
-