package kr.co.hanwha.hifive.data.source.contract;

import android.content.Context;
import android.support.annotation.NonNull;

import kr.co.hanwha.hifive.base.BaseDataSource;
import kr.co.hanwha.hifive.data.model.MainHomeAssignedRoot;
import kr.co.hanwha.hifive.data.model.MainHomeRequestRoot;
import kr.co.hanwha.hifive.network.hanwha.HanwhaNetworkCallback;

public interface TaskListDataSource extends BaseDataSource {
    /**
     * MAIN - HOME : TASK 목록 - 나의 업무 목록 조회
     *
     * @param context  Context
     * @param callback 콜백
     */
    void requestTasksGetMainAssigned(@NonNull Context context, int selectMemberId, @NonNull HanwhaNetworkCallback<MainHomeAssignedRoot> callback);

    /**
     * MAIN - HOME : TASK 목록 - 요청한 업무 목록 조회
     *
     * @param context  Context
     * @param callback 콜백
     */
    void requestTasksGetMainRequest(@NonNull Context context, int selectMemberId, @NonNull HanwhaNetworkCallback<MainHomeRequestRoot> callback);

}
