Local Data Source Impl
class LocalDataSourceImpl @Inject constructor(resumeDao: ResumeDao, localMapper: LocalMapper) : LocalDataSource
Content copied to clipboard
separation of concern for single source of data for local database.
See also
contract to implement for this class.
to map the data from and to between domain and data layer for local database.
Constructors
Link copied to clipboard
@Inject
Content copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun getEducationByResumeId(resumeId: Int): List<Education>
Content copied to clipboard
Link copied to clipboard
open suspend override fun getProjectsByResumeId(resumeId: Int): List<Project>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun getSkillsByResumeId(resumeId: Int): List<Skill>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun insertOrUpdateEducations(resumeId: Int, educations: List<Education>): Int?
Content copied to clipboard
Link copied to clipboard
open suspend override fun insertOrUpdateProjects(resumeId: Int, projects: List<Project>): Int?
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun insertOrUpdateSkills(resumeId: Int, skills: List<Skill>): Int?
Content copied to clipboard
Link copied to clipboard
open suspend override fun insertOrUpdateWorks(resumeId: Int, works: List<Work>): Int?
Content copied to clipboard