com.github.muratkaragozgil.netmera4j.Netmera Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of netmera4j Show documentation
Show all versions of netmera4j Show documentation
A pleasant and complete Java wrapper for the Netmera Rest Api!
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);
}