Class BeaconsController
java.lang.Object
org.pipservices3.beacons.service.logic.BeaconsController
- All Implemented Interfaces:
IBeaconsController,org.pipservices3.commons.commands.ICommandable,org.pipservices3.commons.config.IConfigurable,org.pipservices3.commons.refer.IReferenceable
public class BeaconsController
extends Object
implements IBeaconsController, org.pipservices3.commons.config.IConfigurable, org.pipservices3.commons.refer.IReferenceable, org.pipservices3.commons.commands.ICommandable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncalculatePosition(String correlationId, String siteId, List<String> udis) voidconfigure(org.pipservices3.commons.config.ConfigParams config) org.pipservices3.beacons.data.version1.BeaconV1createBeacon(String correlationId, org.pipservices3.beacons.data.version1.BeaconV1 beacon) org.pipservices3.beacons.data.version1.BeaconV1deleteBeaconById(String correlationId, String beaconId) org.pipservices3.beacons.data.version1.BeaconV1getBeaconById(String correlationId, String beaconId) org.pipservices3.beacons.data.version1.BeaconV1getBeaconByUdi(String correlationId, String beaconId) org.pipservices3.commons.data.DataPage<org.pipservices3.beacons.data.version1.BeaconV1>getBeacons(String correlationId, org.pipservices3.commons.data.FilterParams filter, org.pipservices3.commons.data.PagingParams paging) org.pipservices3.commons.commands.CommandSetvoidsetReferences(org.pipservices3.commons.refer.IReferences references) org.pipservices3.beacons.data.version1.BeaconV1updateBeacon(String correlationId, org.pipservices3.beacons.data.version1.BeaconV1 beacon)
-
Constructor Details
-
BeaconsController
public BeaconsController()
-
-
Method Details
-
configure
public void configure(org.pipservices3.commons.config.ConfigParams config) - Specified by:
configurein interfaceorg.pipservices3.commons.config.IConfigurable
-
setReferences
public void setReferences(org.pipservices3.commons.refer.IReferences references) throws org.pipservices3.commons.refer.ReferenceException - Specified by:
setReferencesin interfaceorg.pipservices3.commons.refer.IReferenceable- Throws:
org.pipservices3.commons.refer.ReferenceException
-
getCommandSet
public org.pipservices3.commons.commands.CommandSet getCommandSet()- Specified by:
getCommandSetin interfaceorg.pipservices3.commons.commands.ICommandable
-
getBeacons
public org.pipservices3.commons.data.DataPage<org.pipservices3.beacons.data.version1.BeaconV1> getBeacons(String correlationId, org.pipservices3.commons.data.FilterParams filter, org.pipservices3.commons.data.PagingParams paging) - Specified by:
getBeaconsin interfaceIBeaconsController
-
getBeaconById
public org.pipservices3.beacons.data.version1.BeaconV1 getBeaconById(String correlationId, String beaconId) - Specified by:
getBeaconByIdin interfaceIBeaconsController
-
getBeaconByUdi
public org.pipservices3.beacons.data.version1.BeaconV1 getBeaconByUdi(String correlationId, String beaconId) - Specified by:
getBeaconByUdiin interfaceIBeaconsController
-
calculatePosition
- Specified by:
calculatePositionin interfaceIBeaconsController
-
createBeacon
public org.pipservices3.beacons.data.version1.BeaconV1 createBeacon(String correlationId, org.pipservices3.beacons.data.version1.BeaconV1 beacon) - Specified by:
createBeaconin interfaceIBeaconsController
-
updateBeacon
public org.pipservices3.beacons.data.version1.BeaconV1 updateBeacon(String correlationId, org.pipservices3.beacons.data.version1.BeaconV1 beacon) - Specified by:
updateBeaconin interfaceIBeaconsController
-
deleteBeaconById
public org.pipservices3.beacons.data.version1.BeaconV1 deleteBeaconById(String correlationId, String beaconId) - Specified by:
deleteBeaconByIdin interfaceIBeaconsController
-