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.

Since:
1.0

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
clone, finalize, 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 - the items
folders - the folders
Since:
1.0
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
Since:
1.0

getFolders

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

Returns:
The user's folders
Since:
1.0

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.