Modifier and Type | Method and Description |
---|---|
static AppProperties.RESOURCE_TYPE |
AppProperties.RESOURCE_TYPE.fromString(String text) |
static AppProperties.RESOURCE_TYPE |
AppProperties.RESOURCE_TYPE.get(int id) |
static AppProperties.RESOURCE_TYPE |
AppProperties.RESOURCE_TYPE.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AppProperties.RESOURCE_TYPE[] |
AppProperties.RESOURCE_TYPE.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
UidTag |
UidTagApi.get(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
ResourceCountModel |
MetricApi.getResourceCount(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
MetricsHandler.getResourceCount(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
javax.ws.rs.core.Response |
MetricsHandler.getTopology(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId,
Boolean realtime) |
Modifier and Type | Method and Description |
---|---|
AppProperties.RESOURCE_TYPE |
ResourceTypeDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser parser,
com.fasterxml.jackson.databind.DeserializationContext context) |
Modifier and Type | Method and Description |
---|---|
void |
ResourceTypeSerializer.serialize(AppProperties.RESOURCE_TYPE type,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
Modifier and Type | Method and Description |
---|---|
void |
TopologyKinds.update(AppProperties.RESOURCE_TYPE type) |
Modifier and Type | Method and Description |
---|---|
static boolean |
AuthUtils.hasAccess(javax.ws.rs.core.SecurityContext securityContext,
AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
static boolean |
AuthUtils.hasAccess(User user,
AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
static void |
AuthUtils.updateQueryFilter(Map<String,Object> filters,
AppProperties.RESOURCE_TYPE rType,
AllowedResources allowedResources) |
static void |
AuthUtils.updateQueryFilter(javax.ws.rs.core.SecurityContext securityContext,
Map<String,Object> filters,
AppProperties.RESOURCE_TYPE rType) |
Modifier and Type | Method and Description |
---|---|
static void |
DeleteResourceUtils.deleteResource(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
static void |
ResourcesLogsUtils.deleteResourcesLog(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
static void |
ResourcesLogsUtils.recordSensorsResourcesLog(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId,
ResourcesLogsUtils.LOG_LEVEL logLevel,
McMessageUtils.MESSAGE_TYPE messageType,
boolean isTxMessage,
String message) |
Modifier and Type | Method and Description |
---|---|
long |
ResourcesGroupMapDaoImpl.countOf(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
long |
ResourcesGroupMapDao.countOf(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
void |
ResourcesGroupMapDaoImpl.delete(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
void |
UidTagDaoImpl.delete(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
void |
ResourceDaoImpl.delete(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
void |
UidTagDao.delete(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
void |
ResourcesGroupMapDao.delete(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
void |
ResourceDao.delete(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
void |
ResourcesLogsDao.deleteAll(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
void |
ResourcesLogsDaoImpl.deleteAll(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
void |
ResourcesLogsDao.deleteAll(AppProperties.RESOURCE_TYPE resourceType,
Long timestamp) |
void |
ResourcesLogsDaoImpl.deleteAll(AppProperties.RESOURCE_TYPE resourceType,
Long timestamp) |
void |
ResourceDaoImpl.disable(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
void |
ResourceDao.disable(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
void |
ResourceDaoImpl.enable(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
void |
ResourceDao.enable(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
UidTag |
UidTagDaoImpl.get(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
Resource |
ResourceDaoImpl.get(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
UidTag |
UidTagDao.get(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
Resource |
ResourceDao.get(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
List<ResourcesGroupMap> |
ResourcesGroupMapDaoImpl.getAll(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
List<Resource> |
ResourceDaoImpl.getAll(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
List<RuleDefinitionTable> |
RuleDefinitionDao.getAll(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
List<ResourcesLogs> |
ResourcesLogsDao.getAll(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
List<ResourcesGroupMap> |
ResourcesGroupMapDao.getAll(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
List<Resource> |
ResourceDao.getAll(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
List<RuleDefinitionTable> |
RuleDefinitionDaoImpl.getAll(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
List<ResourcesLogs> |
ResourcesLogsDaoImpl.getAll(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
List<Resource> |
ResourceDaoImpl.getAll(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId,
Boolean enabled) |
List<Resource> |
ResourceDao.getAll(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId,
Boolean enabled) |
Modifier and Type | Method and Description |
---|---|
AppProperties.RESOURCE_TYPE |
ResourceCountModel.getResourceType() |
AppProperties.RESOURCE_TYPE |
ResourceModel.getResourceType() |
Constructor and Description |
---|
ResourceCountModel(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
ResourceModel(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
ResourceModel(AppProperties.RESOURCE_TYPE resourceType,
Object resource) |
Modifier and Type | Method and Description |
---|---|
void |
OperationSendPayload.sendPayload(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId,
String payload) |
Modifier and Type | Method and Description |
---|---|
protected String |
McRuleAbstract.getResourceUnit(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
protected String |
McRuleAbstract.getResourceValue(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
Constructor and Description |
---|
McRuleEngine(AppProperties.RESOURCE_TYPE resourceType,
Integer resourceId) |
Copyright © 2015–2019. All rights reserved.