package org.deke.risk.riskahead.helper;

/**
 *
 * (C) Copyright 2016 RiskAhead (http://www.riskahead.net)
 * Developer & Contributor: Dennis Thießen (dennis.thiessen@riskahead.net)
 * Date of Release: 10.02.2016
 *
 */
public class AppConfig {
    /** GENERAL **/
    public final static String APP_PNAME = "org.deke.risk.riskahead";


    /** URLs **/
    public final static String URL_ENCRYPTED = "https://www.riskahead.de/helper/rest/";
    public final static String URL_DEFAULT = "http://www.riskahead.de/helper/rest/";

    public final static String URL_ABOUT = "http://www.riskahead.de/en/about/";
    public final static String URL_CONTACT = "http://www.riskahead.de/en/contact/";

    /** INTENT MESSAGES **/
    public final static String EXTRA_MESSAGE = "org.deke.risk.riskahead.MESSAGE";
    public final static String EXTRA_MAP_TYPE = "org.deke.risk.riskahead.MESSAGE_MAP_TYPE";

    public final static String INTENT_MAP_GETNOTIFY = "notifyloc";
    public final static String INTENT_MAP_GETINCLOC = "incidentloc";

    public final static String INTENT_LOGIN = "login";
    public final static String INTENT_REGISTER = "register";
    public final static String INTENT_SOCIALMEDIALOGIN = "socialmedialogin";
    public final static String INTENT_LOGOUT = "org.deke.risk.riskahead.ACTION_LOGOUT";

    /** HANDLER INTERVALS **/
    public final static int UPDATE_COUNT_INTERVAL = 1000 * 30; //30 seconds

    /** VOTETYPE **/
    public final static int VOTETYPE_UPVOTE = 1;
    public final static int VOTETYPE_DOWNVOTE = 2;

    /** REST WEBSERVICE **/
    public final static String REST_LOGIN = "login";
    public final static String REST_LOGIN_SOCIAL = "sociallogin";
    public final static String REST_LOGIN_EXISTS= "checkifuserexists";
    public final static String REST_REGISTER = "register";
    public final static String REST_RESENDACTIVATIONMAIL = "resendactivationusermail";
    public final static String REST_REQUESTPWRESET = "requestpwreset";
    public final static String REST_GET_NUMOFINCIDENTS = "getincidentcount";
    public final static String REST_GET_INCIDENTS_FROMBOUND = "getincidentsfrombound";
    public final static String REST_GET_INCIDENTS_FROMBOUND_FORHEATMAP = "getincidentsforheatmapfrombound";
    public final static String REST_GET_INCIDENTS_FROMUSERID = "getincidentsfromuserid";
    public final static String REST_GET_INCIDENTS_FROMINCIDENTID = "getincidentfromincidentid";
    public final static String REST_ADD_INCIDENT_WITHPOSITION = "addincidentwithposition";
    public final static String REST_UPDATE_USER = "updateuser";
    public final static String REST_GET_USERSTATS = "getuserstats";
    public final static String REST_GET_INCIDENTS_FROMAREATIME = "getincidentsinareaandtime";
    public final static String REST_GET_TOP10 = "gettop10";
    public final static String REST_ADD_VOTE = "addvote";
    public final static String REST_DELETE_VOTE = "deletevote";
    public final static String REST_SEND_FEEDBACK = "sendfeedback";
    public final static String REST_DEACTIVATE_INCIDENT = "deactivateincident";

    public static final String REST_CHECK_MAINTENANCE = "checkformaintenance";
    public static final String REST_CHECK_VERSION= "checkifversionvalid";
}
