A B C D E F G H I J L M P R S T U 

S

save(BorderRouterEntity) - Method in class com.twl.xg.dao.BorderRouterRepository
Save the input border router in database; Throws NullPointerException if the input borderRouterEntity is null;
save(SensorDataEntity) - Method in class com.twl.xg.dao.SensorDataRepository
Save the input sensor data entity in database.
save(SensorEntity) - Method in class com.twl.xg.dao.SensorRepository
Save the input sensorEntity in database.
saveAllCurrentDataFromSensor() - Method in class com.twl.xg.service.AbstractAccessSensorService
Fetch and save the current data set of each sensor in database.
saveBorderRouter(String[][]) - Method in class com.twl.xg.controller.SettingController
This handler sets up border router IP addresses for the server.
saveBorderRouter(String, String) - Method in class com.twl.xg.service.AbstractAccessBorderRouterService
Save the input border router in database.
saveDataForSensor(SensorEntity) - Method in class com.twl.xg.test.db.TestHibernate
Generate data entries for the input sensor, store the data in database
saveDataFromSensor(String) - Method in class com.twl.xg.service.AbstractAccessSensorService
Fetch current data from the input sensor IP, store the data into database.
saveOrUpdate(PropertyEntity) - Method in class com.twl.xg.dao.PropertyRepository
Store the input PropertyEntity instance in database.
saveSensorforBorderRouter(BorderRouterEntity) - Method in class com.twl.xg.test.db.TestHibernate
Generate dummy sensor for the input borderRouter, store them in database
saveSensorsForBorderRouterIp(String) - Method in class com.twl.xg.service.AbstractAccessBorderRouterService
Save the sensors connected to the input border router in database.
scheduleAtFixedRate(Runnable, long) - Method in class com.twl.xg.taskScheduler.CustomTaskScheduler
Schedule a repeated task.
sensor - Variable in class com.twl.xg.domain.SensorWrapper
 
sensorBySensorIp - Variable in class com.twl.xg.domain.SensorDataEntity
 
SensorDataEntity - Class in com.twl.xg.domain
Object model class for sensor data.
SensorDataEntity() - Constructor for class com.twl.xg.domain.SensorDataEntity
 
sensorDataRepository - Variable in class com.twl.xg.service.AbstractAccessSensorService
 
sensorDataRepository - Variable in class com.twl.xg.service.DataFetchingAndMappingService
 
sensorDataRepository - Variable in class com.twl.xg.test.dao.TestSensorDataRepository
 
sensorDataRepository - Variable in class com.twl.xg.test.service.TestDataFetchingAndMappingService
 
SensorDataRepository - Class in com.twl.xg.dao
This is the repository class for sensor data entity.
SensorDataRepository() - Constructor for class com.twl.xg.dao.SensorDataRepository
 
SensorEntity - Class in com.twl.xg.domain
Object model for sensor.
SensorEntity() - Constructor for class com.twl.xg.domain.SensorEntity
 
sensorIp - Variable in class com.twl.xg.domain.SensorDataEntity
 
sensorIp - Variable in class com.twl.xg.domain.SensorEntity
 
sensorName - Variable in class com.twl.xg.domain.SensorEntity
 
sensorRepository - Variable in class com.twl.xg.service.AbstractAccessBorderRouterService
 
sensorRepository - Variable in class com.twl.xg.service.AbstractAccessSensorService
 
sensorRepository - Variable in class com.twl.xg.service.DataFetchingAndMappingService
 
sensorRepository - Variable in class com.twl.xg.test.dao.TestSensorRepository
 
SensorRepository - Class in com.twl.xg.dao
Persistence layer for sensor entity, defines basic operations in database.
SensorRepository() - Constructor for class com.twl.xg.dao.SensorRepository
 
SensorWrapper - Class in com.twl.xg.domain
Use this class as a JSON model, an instance of SensorWrapper contains an SensorEntity and a list of SensorDataEntity.
SensorWrapper(SensorEntity) - Constructor for class com.twl.xg.domain.SensorWrapper
 
sensorWrapperList - Variable in class com.twl.xg.domain.BorderRouterWrapper
 
ServletInitializer - Class in com.twl.xg.config
This is a ServletInitializer class, Servlet3.0+ container (tomcat here) will pick up this class and run it automatically.
ServletInitializer() - Constructor for class com.twl.xg.config.ServletInitializer
 
sessionFactory - Variable in class com.twl.xg.dao.BorderRouterRepository
 
sessionFactory - Variable in class com.twl.xg.dao.PropertyRepository
 
sessionFactory - Variable in class com.twl.xg.dao.SensorDataRepository
 
sessionFactory - Variable in class com.twl.xg.dao.SensorRepository
 
sessionFactory - Variable in class com.twl.xg.test.dao.TestBorderRouterRepository
 
sessionFactory - Variable in class com.twl.xg.test.dao.TestSensorDataRepository
 
sessionFactory - Variable in class com.twl.xg.test.dao.TestSensorRepository
 
sessionFactory - Variable in class com.twl.xg.test.db.TestHibernate
 
sessionFactory - Variable in class com.twl.xg.test.service.TestDataFetchingAndMappingService
 
sessionFactory - Variable in class com.twl.xg.test.service.TestMockAccessSensorService
 
sessionFactory() - Method in class com.twl.xg.config.HibernateConfig
Define LocalSessionFactoryBean, it bootstraps the SessionFactory from annotation scanning.
setBorderRouterByBorderRouterIp(BorderRouterEntity) - Method in class com.twl.xg.domain.SensorEntity
 
setBorderRouterIp(String) - Method in class com.twl.xg.domain.BorderRouterEntity
 
setBorderRouterName(String) - Method in class com.twl.xg.domain.BorderRouterEntity
 
setBorderRouterPage() - Method in class com.twl.xg.controller.PageController
Send border router setting view to browser.
setDataJson(String) - Method in class com.twl.xg.domain.SensorDataEntity
 
setDataList(List<SensorDataEntity>) - Method in class com.twl.xg.domain.SensorWrapper
 
setDataTypes(String[]) - Method in class com.twl.xg.controller.SettingController
This handler accept request to set all data types the user want to query.
setDataTypes(String[]) - Method in class com.twl.xg.service.DataFetchingAndMappingService
Update dataTypeList according to the input array.
setId(int) - Method in class com.twl.xg.domain.SensorDataEntity
 
setProperty(String, String) - Method in class com.twl.xg.service.PropertyService
Save or update property by the input name and value.
setPropertyName(String) - Method in class com.twl.xg.domain.PropertyEntity
 
setPropertyValue(String) - Method in class com.twl.xg.domain.PropertyEntity
 
setSensorBySensorIp(SensorEntity) - Method in class com.twl.xg.domain.SensorDataEntity
 
setSensorIp(String) - Method in class com.twl.xg.domain.SensorDataEntity
 
setSensorIp(String) - Method in class com.twl.xg.domain.SensorEntity
 
setSensorName(String) - Method in class com.twl.xg.domain.SensorEntity
 
setSensorName(String[][]) - Method in class com.twl.xg.controller.SettingController
Set name for each sensor.
setSensorNamePage() - Method in class com.twl.xg.controller.PageController
Send set_sensor_name view to browser.
setSensorWrapperList(List<SensorWrapper>) - Method in class com.twl.xg.domain.BorderRouterWrapper
 
setTimeStamp(Date) - Method in class com.twl.xg.domain.SensorDataEntity
 
SettingController - Class in com.twl.xg.controller
This controller accept URL pattern: /setting/**.
SettingController() - Constructor for class com.twl.xg.controller.SettingController
 
SettingController.RunnableTask - Class in com.twl.xg.controller
This is a nested inner class for creating scheduled task to fetching data periodically.
size - Variable in class com.twl.xg.domain.BorderRouterWrapper
 
size - Variable in class com.twl.xg.domain.DataPackage
 
size() - Method in class com.twl.xg.dao.BorderRouterRepository
Get the number of borderRouter entries in database.
size() - Method in class com.twl.xg.dao.SensorDataRepository
Get the total number of sensor data entries in database.
size() - Method in class com.twl.xg.dao.SensorRepository
Get the total number of entries of sensor.
startSavingData(int) - Method in class com.twl.xg.controller.SettingController
Start the task that periodically saves data.
stopSavingData() - Method in class com.twl.xg.controller.SettingController
Stop the task that periodically saves data if it exists.
stopScheduledTask() - Method in class com.twl.xg.taskScheduler.CustomTaskScheduler
Cancel the scheduled task if it exists.
A B C D E F G H I J L M P R S T U 
Skip navigation links