The folder service is for listing, creating and alteration of folders.
To navigate the tree structure use tree.fetchNode
array folder.fetchAll( integer|null $parentId )
Lists all the folders owned by the logged in customer. If the parent is not specified or null then it will return all root folders for the system. If a parent is provided then all folders relating to that parent will be returned.
Returns an indexed array of folders. See #find