-
Notifications
You must be signed in to change notification settings - Fork 0
4. DAOHandlersProvider
shturec edited this page Feb 17, 2017
·
5 revisions
Module: arestme/data_service
The
-
logger
The logger instance for this DAOHandlersProvider instance
-
oHttpController
arestme/data_service/DataService ObjectThis is a back reference to the
DataService
instance that is using thisDAOHandlersProvider
. It is used mainly for utility functions such assendError
. -
dao
ObjectThis is a daoism/DAO-like object on which this DAOHandlersProvider instance is built. The functions from this object will be invoked accordingly for the different handlers. The HandlersProvider#getHandlers functions will use roughly the following dao functions:
- create -> insert,
- update -> update,
- remove -> remove,
- query -> list,
- get -> find,
- count -> count,
- associationList -> expand,
- associationCreate -> insert*
-
getHandlers
- see the HanldersProvider description forgetHandlers