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 Details

    • getUsername

      public String getUsername()
      Gets the username of the user that owns the content.
      Returns:
      the username
      Since:
      100.0.0
    • getCurrentFolder

      public 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
    • getItems

      public 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
    • getFolders

      public 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