|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Folder
A Folder represents a structural item holding Asset
s. Depending on the provider, this can be
directly mapped to the concept of folders/directories (JCR, FileSystems, ...); for others
this might map to the concept of albums, playlists, sets, etc...
Method Summary | |
---|---|
Iterator<Item> |
getChildren()
Returns an iterator over the direct elements under this folder; returns both Asset s and Folder s. |
Item |
getItem(String name)
Returns the item directly under this folder with the given name. |
boolean |
isRoot()
Returns true if this folder is the root folder of this provider. |
Methods inherited from interface info.magnolia.dam.api.Item |
---|
getAssetProvider, getItemKey, getName, getParent, getPath, isAsset, isFolder |
Method Detail |
---|
Iterator<Item> getChildren()
Asset
s and Folder
s.
For more refined results, use AssetProvider.list(AssetQuery)
.
Item getItem(String name)
boolean isRoot()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |