Enum Class PortalItemRelationship

java.lang.Object
java.lang.Enum<PortalItemRelationship>
com.esri.arcgisruntime.portal.PortalItemRelationship
All Implemented Interfaces:
Serializable, Comparable<PortalItemRelationship>, Constable

public enum PortalItemRelationship extends Enum<PortalItemRelationship>
An enumeration of PortalItem relationship types.
Since:
100.11.0
  • Enum Constant Details

    • MAP_TO_SERVICE

      public static final PortalItemRelationship MAP_TO_SERVICE
      Relates a map with a service.
      Since:
      100.11.0
    • WMA_TO_CODE

      public static final PortalItemRelationship WMA_TO_CODE
      Relates a Web Mapping Application with a code attachment.

      All related items are treated as one item when shared or deleted, and the destination item inherits all sharing permissions of the origin item.

      Since:
      100.11.0
    • MAP_TO_FEATURE_COLLECTION

      public static final PortalItemRelationship MAP_TO_FEATURE_COLLECTION
      Relates a map with a feature collection.
      Since:
      100.11.0
    • MOBILE_APP_TO_CODE

      public static final PortalItemRelationship MOBILE_APP_TO_CODE
      Relates a mobile application with a code attachment.

      All related items are treated as one item when shared or deleted, and the destination item inherits all sharing permissions of the origin item.

      Since:
      100.11.0
    • SERVICE_TO_DATA

      public static final PortalItemRelationship SERVICE_TO_DATA
      Relates a derived service and its source data.

      The derived service is the origin of the relationship, and the source data is the destination of the relationship. The source data can be a service. This relationship can be queried in both directions.

      The creator of the relationship must own all related items.

      Since:
      100.11.0
    • SERVICE_TO_SERVICE

      public static final PortalItemRelationship SERVICE_TO_SERVICE
      Relates a source service and a derived service.

      The source service is the origin of the relationship, and the derived service is the destination of the relationship. This relationship can be queried in both directions.

      The creator of the relationship must own all related items.

      Since:
      100.11.0
    • MAP_TO_APP_CONFIG

      public static final PortalItemRelationship MAP_TO_APP_CONFIG
      Relates a Web Map to an Application Configuration.

      The creator of the relationship must own all related items, all related items are treated as one item when shared or deleted, and the destination item inherits all sharing permissions of the origin item.

      Since:
      100.11.0
    • ITEM_TO_ATTACHMENT

      public static final PortalItemRelationship ITEM_TO_ATTACHMENT
      Relates an item to an attachment.

      The creator of the relationship must own all related items, and all related items are treated as one item when shared or deleted.

      Since:
      100.11.0
    • ITEM_TO_REPORT

      public static final PortalItemRelationship ITEM_TO_REPORT
      Relates an item to a report.
      Since:
      100.11.0
    • LISTED_TO_PROVISIONED

      public static final PortalItemRelationship LISTED_TO_PROVISIONED
      Relates a listed item to a provisioned item.

      Both the source (parent) and destination (child) items must be listed: the parent publicly and the child privately.

      Additionally, the creator of the relationship must own all related items, and the all related items are treated as one item when deleted.

      Since:
      100.11.0
    • STYLE_TO_STYLE

      public static final PortalItemRelationship STYLE_TO_STYLE
      Relates a Vector Tile service to a style.

      The creator of the relationship must own the destination item.

      Since:
      100.11.0
    • SERVICE_TO_STYLE

      public static final PortalItemRelationship SERVICE_TO_STYLE
      Relates a Vector Tile service or style to a Vector Tile service or style.

      The creator of the relationship must own the destination item.

      Since:
      100.11.0
    • SURVEY_TO_SERVICE

      public static final PortalItemRelationship SURVEY_TO_SERVICE
      Relates a survey to a Feature Service.

      The creator of the relationship must own the origin item.

      Since:
      100.11.0
    • SURVEY_TO_DATA

      public static final PortalItemRelationship SURVEY_TO_DATA
      Relates a survey to its data.

      The creator of the relationship must own the origin item.

      Since:
      100.11.0
    • SERVICE_TO_ROUTE

      public static final PortalItemRelationship SERVICE_TO_ROUTE
      Relates a Feature Service containing all the routes and the Route Layer representing each route.

      The creator of the relationship must own all related items, and all related items are treated as one item when deleted.

      Since:
      100.11.0
    • AREA_TO_PACKAGE

      public static final PortalItemRelationship AREA_TO_PACKAGE
      Relates a Map Area to a Map Package, Tile Package, SQLite Geodatabase, or Vector Tile Package.

      The creator of the relationship must own all related items, and all related items are treated as one item when shared or deleted.

      Since:
      100.11.0
    • MAP_TO_AREA

      public static final PortalItemRelationship MAP_TO_AREA
      Relates a Web Map to a Map Area.

      The creator of the relationship must own all related items.

      Since:
      100.11.0
    • SERVICE_TO_LAYER

      public static final PortalItemRelationship SERVICE_TO_LAYER
      Relates a Feature Service to a Feature Layer.

      The creator of the relationship must own all related items, and all related items are treated as one item when shared or deleted.

      Since:
      100.11.0
    • AREA_TO_CUSTOM_PACKAGE

      public static final PortalItemRelationship AREA_TO_CUSTOM_PACKAGE
      Relates a Map Area to a custom Map Package, Tile Package, SQLite Geodatabase, or Vector Tile Package.

      The creator of the relationship must own all related items.

      Since:
      100.11.0
    • TRACK_VIEW_TO_MAP

      public static final PortalItemRelationship TRACK_VIEW_TO_MAP
      Relates a Track View with a Web Map that was created in the Tracker web app.
      Since:
      100.11.0
    • SURVEY_ADD_IN_TO_DATA

      public static final PortalItemRelationship SURVEY_ADD_IN_TO_DATA
      Relates a Survey123 Add In to data related to the add in.

      The creator of the relationship must own the origin item.

      Since:
      100.11.0
    • WORKFORCE_MAP_TO_FEATURE_SERVICE

      public static final PortalItemRelationship WORKFORCE_MAP_TO_FEATURE_SERVICE
      Relates a Web Map to a Workforce Feature Service.

      The creator of the relationship must own all related items.

      This relationship is only applicable to ArcGIS Online organizations.

      Since:
      100.11.0
    • THEME_TO_STORY

      public static final PortalItemRelationship THEME_TO_STORY
      Relates a StoryMap Theme to the StoryMaps that use the theme.

      A theme can be used by many stories, but a story uses only one theme.

      This relationship can be queried in either direction, and is only applicable to ArcGIS Online organizations.

      Since:
      100.11.0
    • WEB_STYLE_TO_DESKTOP_STYLE

      public static final PortalItemRelationship WEB_STYLE_TO_DESKTOP_STYLE
      Relates a Web Style to the Desktop Style that is used to publish the Web Style.

      The creator of the relationship must own all related items.

      This relationship is only applicable to ArcGIS Online organiziations.

      Since:
      100.11.0
    • SOLUTION_TO_ITEM

      public static final PortalItemRelationship SOLUTION_TO_ITEM
      Relates a Solution to items created as part of the Solution.

      This relationship is only applicable to ArcGIS Online organizations.

      Since:
      100.11.0
    • API_KEY_TO_ITEM

      public static final PortalItemRelationship API_KEY_TO_ITEM
      Relates an API key to an item on the ArcGIS for Developers item pages.

      The creator of the relationship must own all related items.

      This relationship is only applicable to ArcGIS Online organiziations.

      Since:
      100.11.0
  • Method Details

    • values

      public static PortalItemRelationship[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PortalItemRelationship valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Returns a string representing the item relationship.
      Overrides:
      toString in class Enum<PortalItemRelationship>
      Returns:
      a string representing the item relationship
      Since:
      100.11.0