Enum PortalItemRelationship
- java.lang.Object
- 
- java.lang.Enum<PortalItemRelationship>
- 
- com.esri.arcgisruntime.portal.PortalItemRelationship
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<PortalItemRelationship>
 
 public enum PortalItemRelationship extends Enum<PortalItemRelationship> An enumeration ofPortalItemrelationship types.- Since:
- 100.11.0
 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description API_KEY_TO_ITEMRelates an API key to an item on the ArcGIS for Developers item pages.AREA_TO_CUSTOM_PACKAGERelates a Map Area to a custom Map Package, Tile Package, SQLite Geodatabase, or Vector Tile Package.AREA_TO_PACKAGERelates a Map Area to a Map Package, Tile Package, SQLite Geodatabase, or Vector Tile Package.ITEM_TO_ATTACHMENTRelates an item to an attachment.ITEM_TO_REPORTRelates an item to a report.LISTED_TO_PROVISIONEDRelates a listed item to a provisioned item.MAP_TO_APP_CONFIGRelates a Web Map to an Application Configuration.MAP_TO_AREARelates a Web Map to a Map Area.MAP_TO_FEATURE_COLLECTIONRelates a map with a feature collection.MAP_TO_SERVICERelates a map with a service.MOBILE_APP_TO_CODERelates a mobile application with a code attachment.SERVICE_TO_DATARelates a derived service and its source data.SERVICE_TO_LAYERRelates a Feature Service to a Feature Layer.SERVICE_TO_ROUTERelates a Feature Service containing all the routes and the Route Layer representing each route.SERVICE_TO_SERVICERelates a source service and a derived service.SERVICE_TO_STYLERelates a Vector Tile service or style to a Vector Tile service or style.SOLUTION_TO_ITEMRelates a Solution to items created as part of the Solution.STYLE_TO_STYLERelates a Vector Tile service to a style.SURVEY_ADD_IN_TO_DATARelates a Survey123 Add In to data related to the add in.SURVEY_TO_DATARelates a survey to its data.SURVEY_TO_SERVICERelates a survey to a Feature Service.THEME_TO_STORYRelates a StoryMap Theme to the StoryMaps that use the theme.TRACK_VIEW_TO_MAPRelates a Track View with a Web Map that was created in the Tracker web app.WEB_STYLE_TO_DESKTOP_STYLERelates a Web Style to the Desktop Style that is used to publish the Web Style.WMA_TO_CODERelates a Web Mapping Application with a code attachment.WORKFORCE_MAP_TO_FEATURE_SERVICERelates a Web Map to a Workforce Feature Service.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()Returns a string representing the item relationship.static PortalItemRelationshipvalueOf(String name)Returns the enum constant of this type with the specified name.static PortalItemRelationship[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
MAP_TO_SERVICEpublic static final PortalItemRelationship MAP_TO_SERVICE Relates a map with a service.- Since:
- 100.11.0
 
 - 
WMA_TO_CODEpublic 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_COLLECTIONpublic static final PortalItemRelationship MAP_TO_FEATURE_COLLECTION Relates a map with a feature collection.- Since:
- 100.11.0
 
 - 
MOBILE_APP_TO_CODEpublic 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_DATApublic 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_SERVICEpublic 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_CONFIGpublic 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_ATTACHMENTpublic 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_REPORTpublic static final PortalItemRelationship ITEM_TO_REPORT Relates an item to a report.- Since:
- 100.11.0
 
 - 
LISTED_TO_PROVISIONEDpublic 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_STYLEpublic 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_STYLEpublic 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_SERVICEpublic 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_DATApublic 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_ROUTEpublic 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_PACKAGEpublic 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_AREApublic 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_LAYERpublic 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_PACKAGEpublic 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_MAPpublic 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_DATApublic 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_SERVICEpublic 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_STORYpublic 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_STYLEpublic 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_ITEMpublic 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_ITEMpublic 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 Detail- 
valuespublic static PortalItemRelationship[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PortalItemRelationship c : PortalItemRelationship.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static PortalItemRelationship valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
- NullPointerException- if the argument is null
 
 - 
toStringpublic String toString() Returns a string representing the item relationship.- Overrides:
- toStringin class- Enum<PortalItemRelationship>
- Returns:
- a string representing the item relationship
- Since:
- 100.11.0
 
 
- 
 
-