Package com.esri.arcgisruntime.portal
Class PortalUserContent
- java.lang.Object
- 
- com.esri.arcgisruntime.portal.PortalUserContent
 
- 
 public final class PortalUserContent extends Object Represents user content in a folder. This can include portal items and subfolders.- Since:
- 100.0.0
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description PortalFoldergetCurrentFolder()Gets the folder in which this content is located.List<PortalFolder>getFolders()Gets the subfolders in the current folder.List<PortalItem>getItems()Gets the items in the current folder.StringgetUsername()Gets the username of the user that owns the content.
 
- 
- 
- 
Method Detail- 
getUsernamepublic String getUsername() Gets the username of the user that owns the content.- Returns:
- the username
- Since:
- 100.0.0
 
 - 
getCurrentFolderpublic PortalFolder getCurrentFolder() Gets the folder in which this content is located.- Returns:
- the folder in which this content is located, or null if this content is located in the root folder
- Since:
- 100.0.0
 
 - 
getItemspublic List<PortalItem> getItems() Gets the items in the current folder.- Returns:
- an unmodifiable list of items in the current folder. This will throw an UnsupportedOperationException if an attempt is made to modify it.
- Since:
- 100.0.0
 
 - 
getFolderspublic List<PortalFolder> getFolders() Gets the subfolders in the current folder.- Returns:
- an unmodifiable list of subfolders in the current folder. This will throw an UnsupportedOperationException if an attempt is made to modify it.
- Since:
- 100.0.0
 
 
- 
 
-