<reponame>fossabot/assistance-platform-client-android
package de.tudarmstadt.informatik.tk.assistance.presenter;

import android.content.Context;

import de.tudarmstadt.informatik.tk.assistance.view.CommonView;
import retrofit2.adapter.rxjava.HttpException;

/**
 * @author <NAME> (<EMAIL>)
 * @date 01.12.2015
 */
public interface CommonPresenter {

    Context getContext();

    void setView(CommonView view);

    void initView();

    /**
     * Starting harvesting service if not running
     */
    void startHarvester();

    /**
     * Stopping harvesting service if not running
     */
    void stopHarvester();

    void doDefaultErrorProcessing(HttpException error);

    void presentEMailAlreadyExists();
}
