getFolders returns a list of immediate child folders for the
specified folder, with paging if required. Note, this could potentially be a long
list.
public List<Folder> getFolders(Folder folder)
public List<Folder> getFolders(Folder folder)
returns a list of immediate child folders of the given context folder. Note, this could
potentially be a long list.
Parameters
- Folder folder
- A folder object for which the child folders will be returned.
Returns
Returns a List<Folder> representing a list of immediate child folders.
Exception
Throws an SkyVaultServiceException if the operation cannot be completed.
Example
public PagingResult<Folder> getFolders(Folder folder, ListingContext listingContext)
public PagingResult<Folder> getFolders(Folder folder,
ListingContext listingContext) returns a list of immediate child folders of the
specified folder. Note, this could potentially be a long list.
Parameters
- Folder folder
- A folder object for which the child folders will be returned.
- ListingContext listingContext
- The listing context to use to control paging of results. See ListingContext for further information.
Returns
Returns a PagingResult<Folder> representing a paged collection of immediate child folders.
Exception
Throws an SkyVaultServiceException if the operation cannot be completed.