Difference between revisions of "GeoFence library"

From Gcube Wiki
Jump to: navigation, search
Line 1: Line 1:
 
 
  
 
*GeoFence()
 
*GeoFence()
 
<pre>
 
<pre>
 
Parameters:
 
Parameters:
No parameter, the default endpoint of Geofence instance is located in the config.properties file.
+
    No input parameter, the default endpoint of Geofence instance is located in the config.properties file.
 
Returns:
 
Returns:
 
     GeoFence object.
 
     GeoFence object.

Revision as of 15:44, 21 November 2017

  • GeoFence()
Parameters:
    No input parameter, the default endpoint of Geofence instance is located in the config.properties file.
Returns:
    GeoFence object.
  • GeoFence(geofenceRestUrl)
Parameters:
    geofenceRestUrl - GeoFence endpoint.
Returns:
    GeoFence object.

User section

  • getUserById(String id)
Parameters:
    id - It's the userId of user you are looking for.
Returns:
    GSUser object.
  • getUserByUsername(String userName)
Parameters:
    userName - It's the name of user you are looking for.
Returns:
    GSUser object.

Group section