All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.muratkaragozgil.netmera4j.Netmera Maven / Gradle / Ivy

There is a newer version: 1.6
Show newest version
package com.github.muratkaragozgil.netmera4j;

import com.github.muratkaragozgil.netmera4j.callback.NetmeraCallBack;
import com.github.muratkaragozgil.netmera4j.request.device.*;
import com.github.muratkaragozgil.netmera4j.request.event.FireEventsRequest;
import com.github.muratkaragozgil.netmera4j.request.notification.*;
import com.github.muratkaragozgil.netmera4j.response.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.List;

/**
 * @author Murat Karagözgil
 */
public interface Netmera {

    Logger logger = LoggerFactory.getLogger(Netmera.class);

    void sendRequest(AddNewDevicesRequest addNewDevicesRequest, NetmeraCallBack callBack);

    void sendRequest(DisablePushRequestWithExternalId disablePushRequestWithExternalId, NetmeraCallBack callBack);

    void sendRequest(DisablePushRequestWithToken disablePushRequestWithToken, NetmeraCallBack callBack);

    void sendRequest(EnablePushRequestWithExternalId enablePushRequestWithExternalId, NetmeraCallBack callBack);

    void sendRequest(EnablePushRequestWithToken enablePushRequestWithToken, NetmeraCallBack callBack);

    void sendRequest(AddTagToUsersRequest addTagToUsersRequest, NetmeraCallBack callBack);

    void sendRequest(RemoveTagFromUsersRequest removeTagFromUsersRequest, NetmeraCallBack callBack);

    void sendRequest(SetCategoryPreferenceRequest setCategoryPreferenceRequest, NetmeraCallBack callBack);

    void sendRequest(AddProfileAttributeRequest addProfileAttributeRequest, NetmeraCallBack callBack);

    void sendRequest(UnsetProfileAttributesRequest unsetProfileAttributesRequest, NetmeraCallBack callBack);

    void sendRequest(GetProfileAttributesRequest getProfileAttributesRequest, NetmeraCallBack callBack);

    void sendRequest(PushProfileAttributesToUserRequest pushProfileAttributesToUserRequest, NetmeraCallBack callBack);

    void sendRequest(PullProfileAttributesFromUserRequest pullProfileAttributesFromUserRequest, NetmeraCallBack callBack);

    void sendRequest(DeleteProfileAttributeFromAllUsersRequest deleteProfileAttributeFromAllUsersRequest, NetmeraCallBack callBack);

    void sendRequest(GetUserDevicesRequest getUserDevices, NetmeraCallBack callBack);

    void sendRequest(GetDeviceTokensRequest getDeviceTokensRequest, NetmeraCallBack callBack);

    void sendRequest(GetDeviceTokensResponse getDeviceTokensResponse, NetmeraCallBack callBack);

    // Notification Requests
    void sendRequest(SendBulkNotificationRequest sendBulkNotificationRequest, NetmeraCallBack callBack);

    void sendRequest(SendTransactionalNotificationRequest sendTransactionalNotificationRequest, NetmeraCallBack callBack);

    void sendRequest(List sendBulkNotificationRequests, NetmeraCallBack callBack);

    void sendRequest(CreateTransactionalNotificationRequest createTransactionalNotificationRequest, NetmeraCallBack callBack);

    void sendRequest(GetPushStatsRequest getPushStatsRequest, NetmeraCallBack callBack);

    void sendRequest(GetPushStatsInDateRangeRequest getPushStatsInDateRangeRequest, NetmeraCallBack callBack);

    void sendRequest(GetPushResultsRequest getPushResultsRequest, NetmeraCallBack callBack);

    void sendRequest(GetPushResultResponse getPushResultResponse, NetmeraCallBack callBack);

    void sendRequest(CreateGeofenceRequest createGeofenceRequest, NetmeraCallBack callBack);

    void sendRequest(FireEventsRequest fireEventsRequest, NetmeraCallBack callBack);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy