package kr.co.hanwha.hifive.screen.task.contract;

import android.support.annotation.NonNull;
import android.support.annotation.Nullable;

import kr.co.hanwha.hifive.base.BasePresenter;
import kr.co.hanwha.hifive.base.BaseView;
import kr.co.hanwha.hifive.data.model.CampaignData;
import kr.co.hanwha.hifive.data.model.ProjectCampaignData;

/**
 * Created by sanghoonkwon on 2018. 2. 21..
 */

public interface AddTaskSelectCampaignContract {

    interface View extends BaseView<Presenter> {
    }

    interface Presenter extends BasePresenter {
        /**
         * 전체 캠페인 목록 조회
         */
        void initData();

        /**
         * 선택 상태 변경
         *
         * @param data 멤버 정보
         */
        void updateObjectSelect(@NonNull CampaignData data);

        /**
         * 선택 완료
         */
        void doCompleted();

        /**
         * 검색
         *
         * @param keyword 검색어
         */
        void doSearchKeyword(@Nullable String keyword);
    }
}
