Package org.openremote.manager.app
Class ConfigurationResourceImpl
java.lang.Object
org.openremote.container.web.WebResource
org.openremote.manager.web.ManagerWebResource
org.openremote.manager.app.ConfigurationResourceImpl
- All Implemented Interfaces:
org.openremote.container.security.AuthContext,org.openremote.model.manager.ConfigurationResource
public class ConfigurationResourceImpl
extends ManagerWebResource
implements org.openremote.model.manager.ConfigurationResource
-
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
ConstructorsConstructorDescriptionConfigurationResourceImpl(org.openremote.container.timer.TimerService timerService, ManagerIdentityService identityService, ConfigurationService configurationService) -
Method Summary
Modifier and TypeMethodDescriptionfileUpload(org.openremote.model.http.RequestParams requestParams, String path, org.openremote.model.file.FileInfo fileInfo) org.openremote.model.manager.ManagerAppConfiggetManagerConfigImage(String fileName) org.openremote.model.manager.ManagerAppConfigupdate(org.openremote.model.http.RequestParams requestParams, org.openremote.model.manager.ManagerAppConfig managerConfiguration) 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
-
configurationService
-
-
Constructor Details
-
ConfigurationResourceImpl
public ConfigurationResourceImpl(org.openremote.container.timer.TimerService timerService, ManagerIdentityService identityService, ConfigurationService configurationService)
-
-
Method Details
-
update
public org.openremote.model.manager.ManagerAppConfig update(org.openremote.model.http.RequestParams requestParams, org.openremote.model.manager.ManagerAppConfig managerConfiguration) - Specified by:
updatein interfaceorg.openremote.model.manager.ConfigurationResource
-
fileUpload
public String fileUpload(org.openremote.model.http.RequestParams requestParams, String path, org.openremote.model.file.FileInfo fileInfo) - Specified by:
fileUploadin interfaceorg.openremote.model.manager.ConfigurationResource
-
getManagerConfig
public org.openremote.model.manager.ManagerAppConfig getManagerConfig()- Specified by:
getManagerConfigin interfaceorg.openremote.model.manager.ConfigurationResource
-
getManagerConfigImage
- Specified by:
getManagerConfigImagein interfaceorg.openremote.model.manager.ConfigurationResource
-