public class

PortalUserContent

extends Object
java.lang.Object
   ↳ com.esri.core.portal.PortalUserContent

Class Overview

Class that holds the PortalUser's content as a List of PortalItems and PortalFolders.

Summary

Public Constructors
PortalUserContent(List<PortalItem> items, List<PortalFolder> folders)
Given the user's items and folder, creates a new PortalUserContent object.
Public Methods
boolean equals(Object obj)
List<PortalFolder> getFolders()
Returns the user's folders.
List<PortalItem> getItems()
Returns the items in the user's root folder.
int hashCode()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public PortalUserContent (List<PortalItem> items, List<PortalFolder> folders)

Given the user's items and folder, creates a new PortalUserContent object.

Parameters
items the items
folders the folders

Public Methods

public boolean equals (Object obj)

public List<PortalFolder> getFolders ()

Returns the user's folders.

Returns
  • The user's folders

public List<PortalItem> getItems ()

Returns the items in the user's root folder.

Returns
  • The items in the user's root folder

public int hashCode ()

public String toString ()