com.esri.core.internal.catalog
Class Folder

java.lang.Object
  extended by com.esri.core.internal.catalog.Folder

public class Folder
extends Object

This class represents a folder associated with a User's profile, maintained in arcgis.com. Content created by users can be stored and organized within folders on arcgis.com. Folders can be at most one level deep and existing under the "root" folder. Only signed in users can view their folders and the contents within. The Folder is also used to organize items stored and retrieved from an ArcGIS Mobile content server.


Method Summary
 Date getCreatedDate()
          Returns the date on which this folder was created
 String getFolderName()
          Returns the name of the folder
 List<Item> getItems()
          Returns all Items stored in this folder.
 boolean isRootFolder()
          Tells if this folder is the root folder
protected  void setCreatedDate(Date date)
          Internal method
protected  void setFolderName(String folderName)
          Internal method
protected  void setId(String id)
          Internal method
protected  void setItems(List<Item> items)
          Internal method
protected  void setUsername(String uname)
          Internal method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFolderName

public String getFolderName()
Returns the name of the folder

Returns:
the folder name

isRootFolder

public boolean isRootFolder()
Tells if this folder is the root folder

Returns:
true if this is a root folder, else returns false.

getCreatedDate

public Date getCreatedDate()
Returns the date on which this folder was created

Returns:
the created Date

setUsername

protected void setUsername(String uname)
Internal method

Parameters:
uname -

setFolderName

protected void setFolderName(String folderName)
Internal method

Parameters:
folderName -

setItems

protected void setItems(List<Item> items)
Internal method

Parameters:
items -

setId

protected void setId(String id)
Internal method

Parameters:
id -

getItems

public List<Item> getItems()
                    throws CatalogException
Returns all Items stored in this folder.

Returns:
a list of Items
Throws:
CatalogException

setCreatedDate

protected void setCreatedDate(Date date)
Internal method

Parameters:
date -


Copyright © 2012. All Rights Reserved.