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 folders, creates a new PortalUserContent object.
Public Methods
boolean equals(Object obj)
List<PortalFolder> getFolders()
Returns the user's folders.
List<PortalItem> getItems()
Returns the user's items.
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 folders, creates a new PortalUserContent object.

Parameters
items List: the items
folders List: the folders

Public Methods

public boolean equals (Object obj)

Parameters
obj Object
Returns
boolean

public List<PortalFolder> getFolders ()

Returns the user's folders.

Returns
List<PortalFolder> The user's folders

public List<PortalItem> getItems ()

Returns the user's items.

Returns
List<PortalItem> The user's items

public int hashCode ()

Returns
int

public String toString ()

Returns
String