org.apache.portals.graffito.model.core
Interface Folder

All Superinterfaces:
CmsObject

public interface Folder
extends CmsObject

CMS Folder interface. A folder is a collection of CmsObject within a Server.

Version:
$Id: Folder.java,v 1.1 2004/12/22 21:16:10 christophe Exp $
Author:
David Sean Taylor

Field Summary
 
Fields inherited from interface org.apache.portals.graffito.model.core.CmsObject
URI_SEPARATOR
 
Method Summary
 java.util.List getContents()
          Get the folder contents.
 java.util.List getFolders()
          Get the folder subfolders.
 
Methods inherited from interface org.apache.portals.graffito.model.core.CmsObject
getCreationDate, getLastModified, getName, getParentFolder, getPath, getProperties, getProperty, getUri, setCreationDate, setLastModified, setName, setParentFolder, setProperties, setProperty, setUri
 

Method Detail

getContents

java.util.List getContents()
Get the folder contents.

Returns:
a List of content which are located into this folder.

getFolders

java.util.List getFolders()
Get the folder subfolders.

Returns:
a List of Folder which are located into this folder.


Copyright © 2004-2006 The Apache Software Foundation. All Rights Reserved.