getChildren returns a list of immediate child nodes of the
given context folder, with paging if required.
public List<Node> getChildren(Folder folder)
public List<Node> getChildren(Folder folder) returns
a list of immediate child nodes of the given context folder. By default, this list contains
a maximum of 50 elements.
Parameters
- Folder folder
- A folder object for which the children will be listed.
Returns
Returns a List<Node> representing a list of immediate child nodes.
Exception
Throws an SkyVaultServiceException if the operation cannot be completed.
Example
public PagingResult<Node> getChildren(Folder folder, ListingContext lcontext)
public PagingResult<Node> getChildren(Folder folder,
ListingContext lcontext) returns a list of immediate child nodes of the given
context folder.
Parameters
- Folder folder
- A folder object for which the children will be listed.
- ListingContext listingContext
- The listing context to use to control paging of results. See ListingContext for further information.
Returns
Returns a PagingResult<Node> representing a list of immediate child nodes, including both folders and documents.
Exception
Throws an SkyVaultServiceException if the operation cannot be completed.