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 Link icon

    • getUsername Link icon

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

      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 Link icon

      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 Link icon

      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