Contact Repository Cache
Component Detail
Data Layer
low complexity
Shared Component
mobile
0
Dependencies
1
Dependents
1
Entities
0
Integrations
Description
Read-only local cache of contact records enabling offline contact search within the wizard contact step. Synchronizes from the server on app launch and background refresh. Shared with all features requiring contact lookups, such as notes and assignments.
contact-repository-cache
Responsibilities
- Provide offline-capable contact search by name and id
- Maintain a locally synchronized copy of the user's contact list
- Expose fuzzy-search for contact step typeahead
- Return contact details for prefilling wizard fields
- Refresh cache on background sync events
Interfaces
searchContacts(String query)
getContactById(String id)
getAllContacts()
refreshCache()
getCacheAge()
getContactCount()