Class LocationManagement

    • Constructor Summary

      Constructors 
      Constructor Description
      LocationManagement​(java.lang.String serverName, java.lang.String serverPlatformURLRoot)
      Create a new client with no authentication embedded in the HTTP request.
      LocationManagement​(java.lang.String serverName, java.lang.String serverPlatformURLRoot, java.lang.String userId, java.lang.String password)
      Create a new client that passes userId and password in each HTTP request.
      LocationManagement​(java.lang.String serverName, java.lang.String serverPlatformURLRoot, java.lang.String userId, java.lang.String password, AuditLog auditLog)
      Create a new client that passes userId and password in each HTTP request.
      LocationManagement​(java.lang.String serverName, java.lang.String serverPlatformURLRoot, CommunityProfileRESTClient restClient, int maxPageSize)
      Create a new client that passes userId and password in each HTTP request.
      LocationManagement​(java.lang.String serverName, java.lang.String serverPlatformURLRoot, AuditLog auditLog)
      Create a new client with no authentication embedded in the HTTP request.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clearAdjacentLocation​(java.lang.String userId, java.lang.String externalSourceGUID, java.lang.String externalSourceName, java.lang.String locationOneGUID, java.lang.String locationTwoGUID)
      Remove a peer-to-peer relationship between two locations.
      void clearAssetLocation​(java.lang.String userId, java.lang.String externalSourceGUID, java.lang.String externalSourceName, java.lang.String assetGUID, java.lang.String locationGUID)
      Remove an asset location relationship between an asset and a location.
      void clearLocationAsDigital​(java.lang.String userId, java.lang.String externalSourceGUID, java.lang.String externalSourceName, java.lang.String locationGUID)
      Remove the digital/cyber location designation from the location.
      void clearLocationAsFixedPhysical​(java.lang.String userId, java.lang.String externalSourceGUID, java.lang.String externalSourceName, java.lang.String locationGUID)
      Remove the fixed physical location designation from the location.
      void clearLocationAsSecure​(java.lang.String userId, java.lang.String externalSourceGUID, java.lang.String externalSourceName, java.lang.String locationGUID)
      Remove the secure location designation from the location.
      void clearNestedLocation​(java.lang.String userId, java.lang.String externalSourceGUID, java.lang.String externalSourceName, java.lang.String parentLocationGUID, java.lang.String childLocationGUID)
      Remove a parent-child relationship between two locations.
      void clearProfileLocation​(java.lang.String userId, java.lang.String externalSourceGUID, java.lang.String externalSourceName, java.lang.String actorProfileGUID, java.lang.String locationGUID)
      Remove a profile location relationship between an actor profile and a location.
      java.lang.String createLocation​(java.lang.String userId, java.lang.String externalSourceGUID, java.lang.String externalSourceName, LocationProperties locationProperties)
      Create a new metadata element to represent a location.
      java.lang.String createLocationFromTemplate​(java.lang.String userId, java.lang.String externalSourceGUID, java.lang.String externalSourceName, java.lang.String templateGUID, TemplateProperties templateProperties)
      Create a new metadata element to represent a location using an existing metadata element as a template.
      java.util.List<LocationElement> findLocations​(java.lang.String userId, java.lang.String searchString, int startFrom, int pageSize)
      Retrieve the list of location metadata elements that contain the search string.
      java.util.List<LocationElement> getAdjacentLocations​(java.lang.String userId, java.lang.String locationGUID, int startFrom, int pageSize)
      Retrieve the list of adjacent location metadata elements linked to locationGUID.
      java.util.List<LocationElement> getGroupingLocations​(java.lang.String userId, java.lang.String locationGUID, int startFrom, int pageSize)
      Retrieve the list of location metadata elements that has the location identifier with locationGUID nested inside it.
      java.util.List<LocationElement> getKnownLocationsForAsset​(java.lang.String userId, java.lang.String assetGUID, int startFrom, int pageSize)
      Retrieve the list of location metadata elements linked to assetGUID.
      LocationElement getLocationByGUID​(java.lang.String userId, java.lang.String locationGUID)
      Retrieve the location metadata element with the supplied unique identifier.
      java.util.List<LocationElement> getLocations​(java.lang.String userId, int startFrom, int pageSize)
      Retrieve the list of location metadata elements.
      java.util.List<LocationElement> getLocationsByName​(java.lang.String userId, java.lang.String name, int startFrom, int pageSize)
      Retrieve the list of location metadata elements with a matching qualified name, identifier or display name.
      java.util.List<LocationElement> getLocationsByProfile​(java.lang.String userId, java.lang.String actorProfileGUID, int startFrom, int pageSize)
      Retrieve the list of location metadata elements with linked to the actorProfileGUID.
      java.util.List<LocationElement> getNestedLocations​(java.lang.String userId, java.lang.String locationGUID, int startFrom, int pageSize)
      Retrieve the list of nested location metadata elements linked to locationGUID.
      void removeLocation​(java.lang.String userId, java.lang.String externalSourceGUID, java.lang.String externalSourceName, java.lang.String locationGUID)
      Remove the metadata element representing a location.
      void setLocationAsDigital​(java.lang.String userId, java.lang.String externalSourceGUID, java.lang.String externalSourceName, java.lang.String locationGUID, DigitalLocationProperties properties)
      Classify the location to indicate that it represents a digital/cyber location.
      void setLocationAsFixedPhysical​(java.lang.String userId, java.lang.String externalSourceGUID, java.lang.String externalSourceName, java.lang.String locationGUID, FixedLocationProperties properties)
      Classify the location to indicate that it represents a fixed physical location.
      void setLocationAsSecure​(java.lang.String userId, java.lang.String externalSourceGUID, java.lang.String externalSourceName, java.lang.String locationGUID, SecureLocationProperties properties)
      Classify the location to indicate that it represents a secure location.
      void setupAdjacentLocation​(java.lang.String userId, java.lang.String externalSourceGUID, java.lang.String externalSourceName, java.lang.String locationOneGUID, java.lang.String locationTwoGUID, AdjacentLocationProperties properties)
      Create a peer-to-peer relationship between two locations.
      void setupAssetLocation​(java.lang.String userId, java.lang.String externalSourceGUID, java.lang.String externalSourceName, java.lang.String assetGUID, java.lang.String locationGUID, AssetLocationProperties properties)
      Create an asset location relationship between an asset and a location.
      void setupNestedLocation​(java.lang.String userId, java.lang.String externalSourceGUID, java.lang.String externalSourceName, java.lang.String parentLocationGUID, java.lang.String childLocationGUID, NestedLocationProperties properties)
      Create a parent-child relationship between two locations.
      void setupProfileLocation​(java.lang.String userId, java.lang.String externalSourceGUID, java.lang.String externalSourceName, java.lang.String actorProfileGUID, java.lang.String locationGUID, ProfileLocationProperties properties)
      Create a profile location relationship between an actor profile and a location.
      void updateLocation​(java.lang.String userId, java.lang.String externalSourceGUID, java.lang.String externalSourceName, java.lang.String locationGUID, boolean isMergeUpdate, LocationProperties locationProperties)
      Update the metadata element representing a location.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait