com.jelastic.api.environment.Tracking Maven / Gradle / Ivy
The newest version!
package com.jelastic.api.environment;
import java.util.Map;
import java.util.HashMap;
import java.util.List;
import com.jelastic.api.AbstractService;
import com.jelastic.api.Callback;
import com.jelastic.api.client.annotation.JelasticModuleName;
import com.jelastic.api.core.utils.Transport;
import com.jelastic.api.development.response.interfaces.ArrayResponse;
import com.jelastic.api.environment.response.ObjectResponse;
import com.jelastic.api.administration.response.PagedArrayResponse;
/**
* @name Jelastic API Client
* @version 8.11.2
* @copyright Jelastic, Inc.
**/
@JelasticModuleName(name="jelastic")
public class Tracking extends AbstractService {
public static String SERVICE_PATH = "environment/tracking/";
private String serviceUrl = SERVER_URL + SERVICE_PATH;
private String appid = null;
private String session = null;
private String client_source = null;
public Tracking(){}
public Tracking(Map _params){
this((String)_params.get("appid"), (String)_params.get("session"), (String)_params.get("serviceUrl"));
String serverUrl = (String) _params.get("serverUrl");
if (serverUrl != null) setServerUrl(serverUrl);
}
public Tracking(String appid, String session, String serviceUrl){
if (appid != null) this.appid = appid;
if (session != null) this.session = session;
if (serviceUrl != null) this.serviceUrl = serviceUrl;
}
public Tracking(String appid, String session){
this(appid, session, null);
}
public Tracking(String appid){
this(appid, null, null);
}
public String getAppid(){
return appid;
}
public Tracking setAppid(String appid){
this.appid = appid;
return this;
}
public String getSession(){
return session;
}
public Tracking setSession(String session){
this.session = session;
return this;
}
public String getServiceUrl(){
return serviceUrl;
}
public Tracking setServiceUrl(String serviceUrl){
this.serviceUrl = serviceUrl;
return this;
}
public String getServerUrl(){
return serviceUrl;
}
public Tracking setServerUrl(String serverUrl){
this.serviceUrl = serverUrl + SERVICE_PATH;
return this;
}
public Tracking setClientSource(String client_source){
this.client_source = client_source;
return this;
}
public String getClientSource(){
return client_source ;
}
public ArrayResponse getCurrentActions(String appid, String session){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getcurrentactions", _params, ArrayResponse.class);
}
public ArrayResponse getCurrentActions(String appid, String session, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getcurrentactions", _params, headers, ArrayResponse.class);
}
public Tracking getCurrentActions(final String appid, final String session, final Callback callback){
new Thread(() -> {
ArrayResponse response = getCurrentActions(appid, session);
callback.fire(response);
}, "callback").start();
return this;
}
public Tracking getCurrentActions(final String appid, final String session, final Map headers, final Callback callback){
new Thread(() -> {
ArrayResponse response = getCurrentActions(appid, session);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayResponse getCurrentActions(String session){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getcurrentactions", _params, ArrayResponse.class);
}
public ArrayResponse getCurrentActions(String session, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getcurrentactions", _params, headers, ArrayResponse.class);
}
public Tracking getCurrentActions(final String session, final Callback callback){
new Thread(() -> {
ArrayResponse response = getCurrentActions(session);
callback.fire(response);
}, "callback").start();
return this;
}
public Tracking getCurrentActions(final String session, final Map headers, final Callback callback){
new Thread(() -> {
ArrayResponse response = getCurrentActions(session);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayResponse getCurrentActions(){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getcurrentactions", _params, ArrayResponse.class);
}
public Tracking getCurrentActions(final Callback callback){
new Thread(() -> {
ArrayResponse response = getCurrentActions();
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayResponse getCurrentActions(Map _params){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getcurrentactions", _params, ArrayResponse.class);
}
public ArrayResponse getCurrentActions(Map _params, Map headers){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getcurrentactions", _params, headers, ArrayResponse.class);
}
public ArrayResponse getUidActions(String appid, String session, int count, String starttime, String endtime, String actionTypes){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("count", count + "");
_params.put("starttime", starttime);
_params.put("endtime", endtime);
_params.put("actionTypes", actionTypes);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getuidactions", _params, ArrayResponse.class);
}
public ArrayResponse getUidActions(String appid, String session, int count, String starttime, String endtime, String actionTypes, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("count", count + "");
_params.put("starttime", starttime);
_params.put("endtime", endtime);
_params.put("actionTypes", actionTypes);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getuidactions", _params, headers, ArrayResponse.class);
}
public Tracking getUidActions(final String appid, final String session, final int count, final String starttime, final String endtime, final String actionTypes, final Callback callback){
new Thread(() -> {
ArrayResponse response = getUidActions(appid, session, count, starttime, endtime, actionTypes);
callback.fire(response);
}, "callback").start();
return this;
}
public Tracking getUidActions(final String appid, final String session, final int count, final String starttime, final String endtime, final String actionTypes, final Map headers, final Callback callback){
new Thread(() -> {
ArrayResponse response = getUidActions(appid, session, count, starttime, endtime, actionTypes);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayResponse getUidActions(String appid, String session, int count, String starttime, String endtime){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("count", count + "");
_params.put("starttime", starttime);
_params.put("endtime", endtime);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getuidactions", _params, ArrayResponse.class);
}
public ArrayResponse getUidActions(String appid, String session, int count, String starttime, String endtime, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("count", count + "");
_params.put("starttime", starttime);
_params.put("endtime", endtime);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getuidactions", _params, headers, ArrayResponse.class);
}
public Tracking getUidActions(final String appid, final String session, final int count, final String starttime, final String endtime, final Callback callback){
new Thread(() -> {
ArrayResponse response = getUidActions(appid, session, count, starttime, endtime);
callback.fire(response);
}, "callback").start();
return this;
}
public Tracking getUidActions(final String appid, final String session, final int count, final String starttime, final String endtime, final Map headers, final Callback callback){
new Thread(() -> {
ArrayResponse response = getUidActions(appid, session, count, starttime, endtime);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayResponse getUidActions(String appid, String session){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getuidactions", _params, ArrayResponse.class);
}
public ArrayResponse getUidActions(String appid, String session, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getuidactions", _params, headers, ArrayResponse.class);
}
public Tracking getUidActions(final String appid, final String session, final Callback callback){
new Thread(() -> {
ArrayResponse response = getUidActions(appid, session);
callback.fire(response);
}, "callback").start();
return this;
}
public Tracking getUidActions(final String appid, final String session, final Map headers, final Callback callback){
new Thread(() -> {
ArrayResponse response = getUidActions(appid, session);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayResponse getUidActions(String session, int count, String starttime, String endtime, String actionTypes){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("count", count + "");
_params.put("starttime", starttime);
_params.put("endtime", endtime);
_params.put("actionTypes", actionTypes);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getuidactions", _params, ArrayResponse.class);
}
public ArrayResponse getUidActions(String session, int count, String starttime, String endtime, String actionTypes, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("count", count + "");
_params.put("starttime", starttime);
_params.put("endtime", endtime);
_params.put("actionTypes", actionTypes);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getuidactions", _params, headers, ArrayResponse.class);
}
public Tracking getUidActions(final String session, final int count, final String starttime, final String endtime, final String actionTypes, final Callback callback){
new Thread(() -> {
ArrayResponse response = getUidActions(session, count, starttime, endtime, actionTypes);
callback.fire(response);
}, "callback").start();
return this;
}
public Tracking getUidActions(final String session, final int count, final String starttime, final String endtime, final String actionTypes, final Map headers, final Callback callback){
new Thread(() -> {
ArrayResponse response = getUidActions(session, count, starttime, endtime, actionTypes);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayResponse getUidActions(int count, String starttime, String endtime, String actionTypes){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("count", count + "");
_params.put("starttime", starttime);
_params.put("endtime", endtime);
_params.put("actionTypes", actionTypes);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getuidactions", _params, ArrayResponse.class);
}
public ArrayResponse getUidActions(int count, String starttime, String endtime, String actionTypes, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("count", count + "");
_params.put("starttime", starttime);
_params.put("endtime", endtime);
_params.put("actionTypes", actionTypes);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getuidactions", _params, headers, ArrayResponse.class);
}
public Tracking getUidActions(final int count, final String starttime, final String endtime, final String actionTypes, final Callback callback){
new Thread(() -> {
ArrayResponse response = getUidActions(count, starttime, endtime, actionTypes);
callback.fire(response);
}, "callback").start();
return this;
}
public Tracking getUidActions(final int count, final String starttime, final String endtime, final String actionTypes, final Map headers, final Callback callback){
new Thread(() -> {
ArrayResponse response = getUidActions(count, starttime, endtime, actionTypes);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayResponse getUidActions(String session, int count, String starttime, String endtime){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("count", count + "");
_params.put("starttime", starttime);
_params.put("endtime", endtime);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getuidactions", _params, ArrayResponse.class);
}
public ArrayResponse getUidActions(String session, int count, String starttime, String endtime, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("count", count + "");
_params.put("starttime", starttime);
_params.put("endtime", endtime);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getuidactions", _params, headers, ArrayResponse.class);
}
public Tracking getUidActions(final String session, final int count, final String starttime, final String endtime, final Callback callback){
new Thread(() -> {
ArrayResponse response = getUidActions(session, count, starttime, endtime);
callback.fire(response);
}, "callback").start();
return this;
}
public Tracking getUidActions(final String session, final int count, final String starttime, final String endtime, final Map headers, final Callback callback){
new Thread(() -> {
ArrayResponse response = getUidActions(session, count, starttime, endtime);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayResponse getUidActions(int count, String starttime, String endtime){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("count", count + "");
_params.put("starttime", starttime);
_params.put("endtime", endtime);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getuidactions", _params, ArrayResponse.class);
}
public ArrayResponse getUidActions(int count, String starttime, String endtime, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("count", count + "");
_params.put("starttime", starttime);
_params.put("endtime", endtime);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getuidactions", _params, headers, ArrayResponse.class);
}
public Tracking getUidActions(final int count, final String starttime, final String endtime, final Callback callback){
new Thread(() -> {
ArrayResponse response = getUidActions(count, starttime, endtime);
callback.fire(response);
}, "callback").start();
return this;
}
public Tracking getUidActions(final int count, final String starttime, final String endtime, final Map headers, final Callback callback){
new Thread(() -> {
ArrayResponse response = getUidActions(count, starttime, endtime);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayResponse getUidActions(String session){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getuidactions", _params, ArrayResponse.class);
}
public ArrayResponse getUidActions(String session, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getuidactions", _params, headers, ArrayResponse.class);
}
public Tracking getUidActions(final String session, final Callback callback){
new Thread(() -> {
ArrayResponse response = getUidActions(session);
callback.fire(response);
}, "callback").start();
return this;
}
public Tracking getUidActions(final String session, final Map headers, final Callback callback){
new Thread(() -> {
ArrayResponse response = getUidActions(session);
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayResponse getUidActions(){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getuidactions", _params, ArrayResponse.class);
}
public Tracking getUidActions(final Callback callback){
new Thread(() -> {
ArrayResponse response = getUidActions();
callback.fire(response);
}, "callback").start();
return this;
}
public ArrayResponse getUidActions(Map _params){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getuidactions", _params, ArrayResponse.class);
}
public ArrayResponse getUidActions(Map _params, Map headers){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (ArrayResponse) _call(appid, serviceUrl + "rest/getuidactions", _params, headers, ArrayResponse.class);
}
public ObjectResponse getServerUTCTime(String appid){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("client_source", client_source);
return (ObjectResponse) _call(appid, serviceUrl + "rest/getserverutctime", _params, ObjectResponse.class);
}
public ObjectResponse getServerUTCTime(String appid, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("client_source", client_source);
return (ObjectResponse) _call(appid, serviceUrl + "rest/getserverutctime", _params, headers, ObjectResponse.class);
}
public Tracking getServerUTCTime(final String appid, final Callback callback){
new Thread(() -> {
ObjectResponse response = getServerUTCTime(appid);
callback.fire(response);
}, "callback").start();
return this;
}
public Tracking getServerUTCTime(final String appid, final Map headers, final Callback callback){
new Thread(() -> {
ObjectResponse response = getServerUTCTime(appid);
callback.fire(response);
}, "callback").start();
return this;
}
public ObjectResponse getServerUTCTime(){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("client_source", client_source);
return (ObjectResponse) _call(appid, serviceUrl + "rest/getserverutctime", _params, ObjectResponse.class);
}
public Tracking getServerUTCTime(final Callback callback){
new Thread(() -> {
ObjectResponse response = getServerUTCTime();
callback.fire(response);
}, "callback").start();
return this;
}
public ObjectResponse getServerUTCTime(Map _params){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (ObjectResponse) _call(appid, serviceUrl + "rest/getserverutctime", _params, ObjectResponse.class);
}
public ObjectResponse getServerUTCTime(Map _params, Map headers){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (ObjectResponse) _call(appid, serviceUrl + "rest/getserverutctime", _params, headers, ObjectResponse.class);
}
public ObjectResponse getAction(String appid, String session, int id){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (ObjectResponse) _call(appid, serviceUrl + "rest/getaction", _params, ObjectResponse.class);
}
public ObjectResponse getAction(String appid, String session, int id, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (ObjectResponse) _call(appid, serviceUrl + "rest/getaction", _params, headers, ObjectResponse.class);
}
public Tracking getAction(final String appid, final String session, final int id, final Callback callback){
new Thread(() -> {
ObjectResponse response = getAction(appid, session, id);
callback.fire(response);
}, "callback").start();
return this;
}
public Tracking getAction(final String appid, final String session, final int id, final Map headers, final Callback callback){
new Thread(() -> {
ObjectResponse response = getAction(appid, session, id);
callback.fire(response);
}, "callback").start();
return this;
}
public ObjectResponse getAction(String appid, String session){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("client_source", client_source);
return (ObjectResponse) _call(appid, serviceUrl + "rest/getaction", _params, ObjectResponse.class);
}
public ObjectResponse getAction(String appid, String session, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("client_source", client_source);
return (ObjectResponse) _call(appid, serviceUrl + "rest/getaction", _params, headers, ObjectResponse.class);
}
public Tracking getAction(final String appid, final String session, final Callback callback){
new Thread(() -> {
ObjectResponse response = getAction(appid, session);
callback.fire(response);
}, "callback").start();
return this;
}
public Tracking getAction(final String appid, final String session, final Map headers, final Callback callback){
new Thread(() -> {
ObjectResponse response = getAction(appid, session);
callback.fire(response);
}, "callback").start();
return this;
}
public ObjectResponse getAction(String session, int id){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (ObjectResponse) _call(appid, serviceUrl + "rest/getaction", _params, ObjectResponse.class);
}
public ObjectResponse getAction(String session, int id, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (ObjectResponse) _call(appid, serviceUrl + "rest/getaction", _params, headers, ObjectResponse.class);
}
public Tracking getAction(final String session, final int id, final Callback callback){
new Thread(() -> {
ObjectResponse response = getAction(session, id);
callback.fire(response);
}, "callback").start();
return this;
}
public Tracking getAction(final String session, final int id, final Map headers, final Callback callback){
new Thread(() -> {
ObjectResponse response = getAction(session, id);
callback.fire(response);
}, "callback").start();
return this;
}
public ObjectResponse getAction(int id){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (ObjectResponse) _call(appid, serviceUrl + "rest/getaction", _params, ObjectResponse.class);
}
public ObjectResponse getAction(int id, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("id", id + "");
_params.put("client_source", client_source);
return (ObjectResponse) _call(appid, serviceUrl + "rest/getaction", _params, headers, ObjectResponse.class);
}
public Tracking getAction(final int id, final Callback callback){
new Thread(() -> {
ObjectResponse response = getAction(id);
callback.fire(response);
}, "callback").start();
return this;
}
public Tracking getAction(final int id, final Map headers, final Callback callback){
new Thread(() -> {
ObjectResponse response = getAction(id);
callback.fire(response);
}, "callback").start();
return this;
}
public ObjectResponse getAction(String session){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("client_source", client_source);
return (ObjectResponse) _call(appid, serviceUrl + "rest/getaction", _params, ObjectResponse.class);
}
public ObjectResponse getAction(String session, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("client_source", client_source);
return (ObjectResponse) _call(appid, serviceUrl + "rest/getaction", _params, headers, ObjectResponse.class);
}
public Tracking getAction(final String session, final Callback callback){
new Thread(() -> {
ObjectResponse response = getAction(session);
callback.fire(response);
}, "callback").start();
return this;
}
public Tracking getAction(final String session, final Map headers, final Callback callback){
new Thread(() -> {
ObjectResponse response = getAction(session);
callback.fire(response);
}, "callback").start();
return this;
}
public ObjectResponse getAction(){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("client_source", client_source);
return (ObjectResponse) _call(appid, serviceUrl + "rest/getaction", _params, ObjectResponse.class);
}
public Tracking getAction(final Callback callback){
new Thread(() -> {
ObjectResponse response = getAction();
callback.fire(response);
}, "callback").start();
return this;
}
public ObjectResponse getAction(Map _params){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (ObjectResponse) _call(appid, serviceUrl + "rest/getaction", _params, ObjectResponse.class);
}
public ObjectResponse getAction(Map _params, Map headers){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (ObjectResponse) _call(appid, serviceUrl + "rest/getaction", _params, headers, ObjectResponse.class);
}
public PagedArrayResponse searchActions(String appid, String session, String search){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("search", search);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/searchactions", _params, PagedArrayResponse.class);
}
public PagedArrayResponse searchActions(String appid, String session, String search, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("search", search);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/searchactions", _params, headers, PagedArrayResponse.class);
}
public Tracking searchActions(final String appid, final String session, final String search, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = searchActions(appid, session, search);
callback.fire(response);
}, "callback").start();
return this;
}
public Tracking searchActions(final String appid, final String session, final String search, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = searchActions(appid, session, search);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse searchActions(String session, String search){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("search", search);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/searchactions", _params, PagedArrayResponse.class);
}
public PagedArrayResponse searchActions(String session, String search, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("search", search);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/searchactions", _params, headers, PagedArrayResponse.class);
}
public Tracking searchActions(final String session, final String search, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = searchActions(session, search);
callback.fire(response);
}, "callback").start();
return this;
}
public Tracking searchActions(final String session, final String search, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = searchActions(session, search);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse searchActions(String search){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("search", search);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/searchactions", _params, PagedArrayResponse.class);
}
public PagedArrayResponse searchActions(String search, Map headers){
Map _params = new HashMap();
_params.put("appid", appid);
_params.put("session", session);
_params.put("search", search);
_params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/searchactions", _params, headers, PagedArrayResponse.class);
}
public Tracking searchActions(final String search, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = searchActions(search);
callback.fire(response);
}, "callback").start();
return this;
}
public Tracking searchActions(final String search, final Map headers, final Callback callback){
new Thread(() -> {
PagedArrayResponse response = searchActions(search);
callback.fire(response);
}, "callback").start();
return this;
}
public PagedArrayResponse searchActions(Map _params){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/searchactions", _params, PagedArrayResponse.class);
}
public PagedArrayResponse searchActions(Map _params, Map headers){
if (!_params.containsKey("appid")) _params.put("appid", appid);
if (!_params.containsKey("session")) _params.put("session", session);
if (!_params.containsKey("client_source")) _params.put("client_source", client_source);
return (PagedArrayResponse) _call(appid, serviceUrl + "rest/searchactions", _params, headers, PagedArrayResponse.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy