public class ApplicationService extends EvrythngServiceBase
| Modifier and Type | Field and Description |
|---|---|
static String |
PATH_APPLICATION |
static String |
PATH_APPLICATION_LEGACY |
static String |
PATH_APPLICATION_OAUTH_CLIENT |
static String |
PATH_APPLICATION_OAUTH_CLIENTS |
static String |
PATH_APPLICATIONS |
static String |
PATH_APPLICATIONS_LEGACY |
static String |
QP_SOCIAL_NETWORK_APP_ID |
static String |
QP_SOCIAL_NETWORK_NAME |
| Constructor and Description |
|---|
ApplicationService(ApiManager apiManager) |
absoluteUri, delete, deleteMultiple, encodeBase64, get, getConfig, iterator, mqttUrl, onBuilderCreated, post, post, postAsynchronously, postMultipart, postMultipart, put, put, putMultipart, putMultipart, putMultiple, urlEncodePathPartpublic static final String QP_SOCIAL_NETWORK_NAME
public static final String QP_SOCIAL_NETWORK_APP_ID
public static final String PATH_APPLICATIONS
public static final String PATH_APPLICATION
public static final String PATH_APPLICATIONS_LEGACY
public static final String PATH_APPLICATION_LEGACY
public static final String PATH_APPLICATION_OAUTH_CLIENTS
public static final String PATH_APPLICATION_OAUTH_CLIENT
public ApplicationService(ApiManager apiManager)
public EvrythngApiBuilder.Builder<Application> applicationCreator(String projectId, Application app) throws EvrythngClientException
Application
projectId - project idapp - : App to create. Customer and Description are mandatory.EvrythngClientExceptionpublic EvrythngApiBuilder.Builder<List<Application>> applicationsReader(String projectId) throws EvrythngClientException
Application.
projectId - project idEvrythngApiBuilder.BuilderEvrythngClientExceptionpublic EvrythngApiBuilder.Builder<Application> applicationReader(String projectId, String appId) throws EvrythngClientException
Application.
GET "/projects/%s/applications/%s"/:appId
projectId - project idappId - app idEvrythngApiBuilder.BuilderEvrythngClientExceptionpublic EvrythngApiBuilder.Builder<Application> applicationUpdater(String projectId, String appId, Application app) throws EvrythngClientException
Application.
PUT "/projects/%s/applications/%s"/:appId
projectId - project idappId - app idapp - : input for field update. Will currently update the fields description, customer, and social networks.EvrythngClientExceptionpublic EvrythngApiBuilder.Builder<Boolean> applicationDeleter(String projectId, String appId) throws EvrythngClientException
Application. All application users are also removed from the system.projectId - project idappId - app idEvrythngApiBuilder.BuilderEvrythngClientExceptionpublic EvrythngApiBuilder.Builder<List<Application>> applicationsReader(String projectId, String socialNetworkName, String socialNetworkAppId) throws EvrythngClientException
Applications. All application users are also removed from the system.projectId - project idsocialNetworkName - social network namesocialNetworkAppId - social network app idEvrythngApiBuilder.BuilderEvrythngClientExceptionpublic EvrythngApiBuilder.Builder<List<Application>> applicationsReader() throws EvrythngClientException
Application from project scope.
GET "/applications"
EvrythngApiBuilder.BuilderEvrythngClientExceptionpublic EvrythngApiBuilder.Builder<Application> applicationReader(String appId) throws EvrythngClientException
Application from project scope.
GET "/applications/%s"/:appId
appId - app idEvrythngApiBuilder.BuilderEvrythngClientExceptionpublic EvrythngApiBuilder.Builder<OAuthClient> oauthClientCreator(String projectId, String appId, OAuthClient oauthClient) throws EvrythngClientException
OAuthClient for the application
projectId - project idappId: - application idoauthClient - OAuth client to createEvrythngApiBuilder.BuilderEvrythngClientExceptionpublic EvrythngApiBuilder.Builder<List<OAuthClient>> oauthClientsReader(String projectId, String appId) throws EvrythngClientException
OAuthClient registered for the application.
projectId - project idappId - app idEvrythngApiBuilder.BuilderEvrythngClientExceptionpublic EvrythngApiBuilder.Builder<OAuthClient> oauthClientReader(String projectId, String appId, String clientId) throws EvrythngClientException
OAuthClient.
projectId - project idappId - app idclientId - OAuth client idEvrythngApiBuilder.BuilderEvrythngClientExceptionpublic EvrythngApiBuilder.Builder<OAuthClient> oauthClientUpdater(String projectId, String appId, String clientId, OAuthClient oauthClient) throws EvrythngClientException
projectId - project idappId - app idclientId - OAuth client idoauthClient - OAuth client for updateEvrythngApiBuilder.BuilderEvrythngClientExceptionpublic EvrythngApiBuilder.Builder<Boolean> oauthClientDeleter(String projectId, String appId, String clientId) throws EvrythngClientException
OAuthClient.projectId - project idappId - app idclientId - OAuth client idEvrythngApiBuilder.BuilderEvrythngClientExceptionCopyright © 2016 EVRYTHNG Ltd London / Zurich. All rights reserved.