org.nuxeo.core.resources.model
Interface IContainer
- All Known Subinterfaces:
- IResourceTreeRoot, ISite, ISiteContainer, ISiteFolder
- All Known Implementing Classes:
- ResourceTreeRoot, Site, SiteFolder
public interface IContainer
A container may contains any number of site resources
- Author:
- Bogdan Stefanescu
|
Method Summary |
ISiteResource[] |
children(org.eclipse.core.runtime.IProgressMonitor monitor)
Get an array with existing children in this container |
ISiteResource |
findChild(java.lang.String path)
Find the child given its relative path to this container
The returned child is existing |
EMPTY_CHILDREN
static final ISiteResource[] EMPTY_CHILDREN
findChild
ISiteResource findChild(java.lang.String path)
throws org.eclipse.core.runtime.CoreException
- Find the child given its relative path to this container
The returned child is existing
- Parameters:
path - the relative path
- Returns:
- the child if found otherwise null
- Throws:
org.eclipse.core.runtime.CoreException
children
ISiteResource[] children(org.eclipse.core.runtime.IProgressMonitor monitor)
throws org.eclipse.core.runtime.CoreException
- Get an array with existing children in this container
- Parameters:
monitor - the progress monitor to use or null if not required
- Returns:
- an array with existing child resources or an empty array if no children are found
- Throws:
org.eclipse.core.runtime.CoreException