You are here

getDocuments

getDocuments returns immediate child documents for the specified folder.

public List<Document> getDocuments(Folder folder)

public List<Document> getDocuments(Folder folder) returns immediate child documents for the specified folder.

Parameters

Folder folder
The folder for which to return child documents.

Returns

Returns a List<Document> of documents for the specified folder.

Exception

Throws an SkyVaultServiceException if the operation cannot be completed.

Example

        
        
      

public PagingResult<Document> getDocuments(Folder folder, ListingContext listingContext)

public PagingResult<Document> getDocuments(Folder folder, ListingContext listingContext) returns immediate child documents for the specified folder.

Parameters

Folder folder
The folder for which to return child documents.
ListingContext listingContext
The listing context to use to control paging of results. See ListingContext for further information.

Returns

Returns a PagingResult<Document> object representing a collection of child documents for the specified folder.

Exception

Throws an SkyVaultServiceException if the operation cannot be completed.

Example