public interface ICommandBusiness
Modifier and Type | Method and Description |
---|---|
java.util.Collection<DeviceJPA> |
checkStatus()
Check status.
|
java.lang.Boolean |
deleteCommand(java.lang.Integer id)
Delete command.
|
java.util.Collection<CommandJPA> |
listCommands()
List commands.
|
java.lang.Boolean |
requestBatteyLevel(java.lang.Integer deviceId)
Request battey level.
|
java.lang.Boolean |
requestGsmSignal(java.lang.Integer deviceId)
Request gsm signal.
|
java.lang.Boolean |
requestStatus(java.lang.Integer deviceId)
Request status.
|
java.lang.Boolean |
startSendPositions(java.lang.Integer deviceId)
Start send positions.
|
java.lang.Boolean |
stopSendPositions(java.lang.Integer deviceId)
Stop send positions.
|
java.lang.Boolean startSendPositions(java.lang.Integer deviceId) throws java.lang.Exception
deviceId
- the device idjava.lang.Exception
- the exceptionjava.lang.Boolean stopSendPositions(java.lang.Integer deviceId) throws java.lang.Exception
deviceId
- the device idjava.lang.Exception
- the exceptionjava.lang.Boolean requestBatteyLevel(java.lang.Integer deviceId) throws java.lang.Exception
deviceId
- the device idjava.lang.Exception
- the exceptionjava.lang.Boolean requestGsmSignal(java.lang.Integer deviceId) throws java.lang.Exception
deviceId
- the device idjava.lang.Exception
- the exceptionjava.util.Collection<CommandJPA> listCommands() throws java.lang.Exception
java.lang.Exception
- the exceptionjava.lang.Boolean deleteCommand(java.lang.Integer id) throws java.lang.Exception
id
- the idjava.lang.Exception
- the exceptionjava.util.Collection<DeviceJPA> checkStatus() throws java.lang.Exception
java.lang.Exception
- the exceptionjava.lang.Boolean requestStatus(java.lang.Integer deviceId) throws java.lang.Exception
deviceId
- the device idjava.lang.Exception
- the exception