A service layer/contract is a fixed interface to get and store data without knowing the underlying layer. It is possible to swap the way the data is stored without changing the service layer.
A service layer consists of three interface types:
getList: This returns a list of records based on the (optionally) provided search parameters
get: This loads the data from the database and returns a data interface for the ...