ZTActivityRepositoryImpl

class ZTActivityRepositoryImpl(activityDao: ZTActivityDao) : ZTActivityRepository

ZTActivityFileManagerImpl

Author

Alexandre Lemoult <a.lemoult@zhortech.com>

Constructors

ZTActivityRepositoryImpl
Link copied to clipboard
fun ZTActivityRepositoryImpl(activityDao: ZTActivityDao)

Functions

deleteActivity
Link copied to clipboard
open override fun deleteActivity(activity: ZTActivity): Completable
getActivity
Link copied to clipboard
open override fun getActivity(activityId: String): Single<ZTActivity?>
getPendingActivities
Link copied to clipboard
open override fun getPendingActivities(): Single<List<ZTActivity>>
getPendingActivitiesCount
Link copied to clipboard
open override fun getPendingActivitiesCount(): Single<Int>
saveActivity
Link copied to clipboard
open override fun saveActivity(activity: ZTActivity): Single<ZTActivity>
saveActivityData
Link copied to clipboard
open override fun saveActivityData(activityData: ZTActivityData): Completable
saveActivityDataList
Link copied to clipboard
open override fun saveActivityDataList(dataList: List<ZTActivityData>): Completable
saveSegment
Link copied to clipboard
open override fun saveSegment(segment: ZTSegment): Completable
saveSegments
Link copied to clipboard
open override fun saveSegments(segments: List<ZTSegment>): Completable