ZTActivityRepository

interface ZTActivityRepository

ZTActivityFileManager

Author

Alexandre Lemoult <a.lemoult@zhortech.com>

Functions

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

Inheritors

ZTActivityRepositoryImpl
Link copied to clipboard