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 Details

    • BeaconsController

      public BeaconsController()
  • Method Details

    • configure

      public void configure(org.pipservices3.commons.config.ConfigParams config)
      Specified by:
      configure in interface org.pipservices3.commons.config.IConfigurable
    • setReferences

      public void setReferences(org.pipservices3.commons.refer.IReferences references) throws org.pipservices3.commons.refer.ReferenceException
      Specified by:
      setReferences in interface org.pipservices3.commons.refer.IReferenceable
      Throws:
      org.pipservices3.commons.refer.ReferenceException
    • getCommandSet

      public org.pipservices3.commons.commands.CommandSet getCommandSet()
      Specified by:
      getCommandSet in interface org.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:
      getBeacons in interface IBeaconsController
    • getBeaconById

      public org.pipservices3.beacons.data.version1.BeaconV1 getBeaconById(String correlationId, String beaconId)
      Specified by:
      getBeaconById in interface IBeaconsController
    • getBeaconByUdi

      public org.pipservices3.beacons.data.version1.BeaconV1 getBeaconByUdi(String correlationId, String beaconId)
      Specified by:
      getBeaconByUdi in interface IBeaconsController
    • calculatePosition

      public Map<String,?> calculatePosition(String correlationId, String siteId, List<String> udis)
      Specified by:
      calculatePosition in interface IBeaconsController
    • createBeacon

      public org.pipservices3.beacons.data.version1.BeaconV1 createBeacon(String correlationId, org.pipservices3.beacons.data.version1.BeaconV1 beacon)
      Specified by:
      createBeacon in interface IBeaconsController
    • updateBeacon

      public org.pipservices3.beacons.data.version1.BeaconV1 updateBeacon(String correlationId, org.pipservices3.beacons.data.version1.BeaconV1 beacon)
      Specified by:
      updateBeacon in interface IBeaconsController
    • deleteBeaconById

      public org.pipservices3.beacons.data.version1.BeaconV1 deleteBeaconById(String correlationId, String beaconId)
      Specified by:
      deleteBeaconById in interface IBeaconsController