Package org.openremote.manager.asset
Class AssetModelResourceImpl
java.lang.Object
org.openremote.container.web.WebResource
org.openremote.manager.web.ManagerWebResource
org.openremote.manager.asset.AssetModelResourceImpl
- All Implemented Interfaces:
org.openremote.container.security.AuthContext,org.openremote.model.asset.AssetModelResource
public class AssetModelResourceImpl
extends ManagerWebResource
implements org.openremote.model.asset.AssetModelResource
-
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
ConstructorsConstructorDescriptionAssetModelResourceImpl(org.openremote.container.timer.TimerService timerService, ManagerIdentityService identityService, AssetModelService assetModelService) -
Method Summary
Modifier and TypeMethodDescriptionorg.openremote.model.asset.AssetDescriptor<?>[]getAssetDescriptors(org.openremote.model.http.RequestParams requestParams, String parentId, String parentType) org.openremote.model.asset.AssetTypeInfogetAssetInfo(org.openremote.model.http.RequestParams requestParams, String parentId, String assetType) org.openremote.model.asset.AssetTypeInfo[]getAssetInfos(org.openremote.model.http.RequestParams requestParams, String parentId, String parentType) getMetaItemDescriptors(org.openremote.model.http.RequestParams requestParams, String parentId) getValueDescriptors(org.openremote.model.http.RequestParams requestParams, String parentId) 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
-
assetModelService
-
-
Constructor Details
-
AssetModelResourceImpl
public AssetModelResourceImpl(org.openremote.container.timer.TimerService timerService, ManagerIdentityService identityService, AssetModelService assetModelService)
-
-
Method Details
-
getAssetInfos
public org.openremote.model.asset.AssetTypeInfo[] getAssetInfos(org.openremote.model.http.RequestParams requestParams, String parentId, String parentType) - Specified by:
getAssetInfosin interfaceorg.openremote.model.asset.AssetModelResource
-
getAssetInfo
public org.openremote.model.asset.AssetTypeInfo getAssetInfo(org.openremote.model.http.RequestParams requestParams, String parentId, String assetType) - Specified by:
getAssetInfoin interfaceorg.openremote.model.asset.AssetModelResource
-
getAssetDescriptors
public org.openremote.model.asset.AssetDescriptor<?>[] getAssetDescriptors(org.openremote.model.http.RequestParams requestParams, String parentId, String parentType) - Specified by:
getAssetDescriptorsin interfaceorg.openremote.model.asset.AssetModelResource
-
getValueDescriptors
public Map<String,org.openremote.model.value.ValueDescriptor<?>> getValueDescriptors(org.openremote.model.http.RequestParams requestParams, String parentId) - Specified by:
getValueDescriptorsin interfaceorg.openremote.model.asset.AssetModelResource
-
getMetaItemDescriptors
public Map<String,org.openremote.model.value.MetaItemDescriptor<?>> getMetaItemDescriptors(org.openremote.model.http.RequestParams requestParams, String parentId) - Specified by:
getMetaItemDescriptorsin interfaceorg.openremote.model.asset.AssetModelResource
-