com.esri.core.portal
Class PortalUserContent

java.lang.Object
  extended by com.esri.core.portal.PortalUserContent

public class PortalUserContent
extends Object

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


Constructor Summary
PortalUserContent(List<PortalItem> items, List<PortalFolder> folders)
          Given the user's items and folder, creates a new PortalUserContent object.
 
Method Summary
 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()
          
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PortalUserContent

public PortalUserContent(List<PortalItem> items,
                         List<PortalFolder> folders)
Given the user's items and folder, creates a new PortalUserContent object.

Parameters:
items -
folders -
Method Detail

getItems

public List<PortalItem> getItems()
Returns the items in the user's root folder.

Returns:
The items in the user's root folder

getFolders

public List<PortalFolder> getFolders()
Returns the user's folders.

Returns:
The user's folders

hashCode

public int hashCode()

Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.