Interface ResourceCollection
- 
- All Superinterfaces:
 AmetysObject,ExplorerNode,TraversableAmetysObject
- All Known Subinterfaces:
 ModifiableResourceCollection
- All Known Implementing Classes:
 CMISResourcesCollection,CMISRootResourcesCollection,JCRResourcesCollection
public interface ResourceCollection extends TraversableAmetysObject, ExplorerNode
Common interface for modifiable resource collection 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description StringgetResourcePath()Deprecated.Use the getExplorerPath methodbooleanhasChildResources()Returns true if this explorer node contains resources.- 
Methods inherited from interface org.ametys.plugins.repository.AmetysObject
equals, getId, getName, getParent, getParentPath, getPath, hashCode 
- 
Methods inherited from interface org.ametys.plugins.explorer.ExplorerNode
getApplicationId, getDescription, getExplorerPath, getIconCls, hasChildExplorerNodes 
- 
Methods inherited from interface org.ametys.plugins.repository.TraversableAmetysObject
getChild, getChildAt, getChildPosition, getChildren, hasChild 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getResourcePath
@Deprecated String getResourcePath() throws AmetysRepositoryException
Deprecated.Use the getExplorerPath methodReturns the path of this resource collection in its hierarchy (which is a subset of the whole repository).
If this collection is the root collection, "" is returned.- Returns:
 - the path of this collection in its hierarchy.
 - Throws:
 AmetysRepositoryException- if an error occurs.
 
- 
hasChildResources
boolean hasChildResources() throws AmetysRepositoryException
Returns true if this explorer node contains resources.- Returns:
 - true if this explorer node contains resources.
 - Throws:
 AmetysRepositoryException- if an error occurs.
 
 - 
 
 -