Package org.openremote.manager.gateway
Class GatewayClientResourceImpl
java.lang.Object
org.openremote.container.web.WebResource
org.openremote.manager.web.ManagerWebResource
org.openremote.manager.gateway.GatewayClientResourceImpl
- All Implemented Interfaces:
org.openremote.container.security.AuthContext,org.openremote.model.gateway.GatewayClientResource
public class GatewayClientResourceImpl
extends ManagerWebResource
implements org.openremote.model.gateway.GatewayClientResource
-
Field Summary
FieldsFields inherited from class org.openremote.manager.web.ManagerWebResource
identityService, timerServiceFields inherited from class org.openremote.container.web.WebResource
application, httpHeaders, request, response, securityContext, uriInfo -
Constructor Summary
ConstructorsConstructorDescriptionGatewayClientResourceImpl(org.openremote.container.timer.TimerService timerService, ManagerIdentityService identityService, GatewayClientService gatewayClientService) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteConnection(org.openremote.model.http.RequestParams requestParams, String realm) voiddeleteConnections(org.openremote.model.http.RequestParams requestParams, List<String> realms) org.openremote.model.gateway.GatewayConnectiongetConnection(org.openremote.model.http.RequestParams requestParams, String realm) List<org.openremote.model.gateway.GatewayConnection> getConnections(org.openremote.model.http.RequestParams requestParams) org.openremote.model.asset.agent.ConnectionStatusgetConnectionStatus(org.openremote.model.http.RequestParams requestParams, String realm) voidsetConnection(org.openremote.model.http.RequestParams requestParams, String realm, org.openremote.model.gateway.GatewayConnection connection) Methods inherited from class org.openremote.manager.web.ManagerWebResource
getAuthenticatedRealm, getRequestRealm, isRealmActiveAndAccessible, isRealmActiveAndAccessible, isRestrictedUserMethods inherited from class org.openremote.container.web.WebResource
getApplication, getAuthContext, getAuthenticatedRealmName, getClientId, getClientRemoteAddress, getContainer, getRequestRealmName, getUserId, getUsername, hasRealmRole, hasResourceRole, isAuthenticatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openremote.container.security.AuthContext
hasResourceRoleOrIsSuperUser, isRealmAccessibleByUser, isSuperUser
-
Field Details
-
gatewayClientService
-
-
Constructor Details
-
GatewayClientResourceImpl
public GatewayClientResourceImpl(org.openremote.container.timer.TimerService timerService, ManagerIdentityService identityService, GatewayClientService gatewayClientService)
-
-
Method Details
-
getConnection
public org.openremote.model.gateway.GatewayConnection getConnection(org.openremote.model.http.RequestParams requestParams, String realm) - Specified by:
getConnectionin interfaceorg.openremote.model.gateway.GatewayClientResource
-
getConnectionStatus
public org.openremote.model.asset.agent.ConnectionStatus getConnectionStatus(org.openremote.model.http.RequestParams requestParams, String realm) - Specified by:
getConnectionStatusin interfaceorg.openremote.model.gateway.GatewayClientResource
-
getConnections
public List<org.openremote.model.gateway.GatewayConnection> getConnections(org.openremote.model.http.RequestParams requestParams) - Specified by:
getConnectionsin interfaceorg.openremote.model.gateway.GatewayClientResource
-
setConnection
public void setConnection(org.openremote.model.http.RequestParams requestParams, String realm, org.openremote.model.gateway.GatewayConnection connection) - Specified by:
setConnectionin interfaceorg.openremote.model.gateway.GatewayClientResource
-
deleteConnection
- Specified by:
deleteConnectionin interfaceorg.openremote.model.gateway.GatewayClientResource
-
deleteConnections
public void deleteConnections(org.openremote.model.http.RequestParams requestParams, List<String> realms) - Specified by:
deleteConnectionsin interfaceorg.openremote.model.gateway.GatewayClientResource
-