These methods allow the client query the repository about the iBeacon configuration.

BeaconManager:getUUIDs

 URL

/atg/commerce/locations/BeaconManagerActor/UUIDs

Method

/atg/projects/store/mobile/ibeacon/BeaconManager:getUUIDs

Inputs

None

Output

String[]

Description

This method returns the set of iBeacon UUIDs for the client app to range. This is read from the BeaconManager configuration and is intended to be configured by implementers with the company UUIDs.

BeaconManager:getBeaconById

URL

/atg/commerce/locations/BeaconManagerActor/beaconById

Method

/atg/projects/store/mobile/ibeacon/BeaconManager:getBeaconById

Inputs

id:String

Output

RepositoryItem

Description

Given a repositoryId, it returns an iBeacon repository item. The item contains properties to get the display name of the beacon, the alerts to be shown when the range is entered or exited, and the ATG store repository item associated with the beacon.

BeaconManager:getBeacons

URL

/atg/commerce/locations/BeaconManagerActor/beacons

Method

/atg/projects/store/mobile/ibeacon/BeaconManager:getBeacons

Inputs

uuid:String, major:String, minor:String

Output

RepositoryItem[]

Description

Given a UUID and optional major and minor string, query the repository for an iBeacon items that match. This is the main method used by the client to get the logical iBeacon representation for the physical iBeacons encountered by the device.

BeaconManager:getStoreForBeacon

 URL

/atg/commerce/locations/BeaconManagerActor/storeForBeacon

Method

/atg/projects/store/mobile/ibeacon/BeaconManager:getStoreForBeacon

Inputs

deviceUID: String, uuid:String, major:String, minor:String

Output

RepositoryItem[]

Description

Given a UUID and optional major and minor string, queries the repository for any iBeacon items that match and if a match is found, get the ATG store repository item from the first iBeacon item in the result set.


Copyright © 1997, 2018 Oracle and/or its affiliates. All rights reserved. Legal Notices