Listing the children of the root folder
After we have the information about the repository via the getRepositoryInfos
service, we would typically want to access some folders and files in it. First, you would usually access the children of the top-level folder (also called root folder) in the repository, and this can be done via the getChildren
service. This folder is called /Company Home
in the Alfresco world.
The getChildren
request returns a list of all the folders and files contained in a particular folder. This call has to be supported by the repository, but there are other navigation-related service calls too that might or might not be supported. The getDescendants
call will return all the children of a folder to a specified depth. The getFolderTree
call will return a complete folder tree to a specified depth (note that only folder objects are returned).
The repository information's call will return information on the navigation service calls that are supported besides the getChildren...