Book Image

Alfresco CMIS

By : Martin Bergljung
Book Image

Alfresco CMIS

By: Martin Bergljung

Overview of this book

Table of Contents (14 chapters)
Alfresco CMIS
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Optional parameters when listing the children of a folder


The getChildren service call allows us to specify a number of optional parameters at request time. To control the number of content items that are being returned, one can use the following parameters in the request URL:

  • maxItems: This is the maximum number of items to return in a response. The default is repository-specific and Alfresco will, for example, return all content items if you do not specify this parameter.

  • skipCount: This is the number of potential results that the repository will skip/page over before returning any results. This defaults to zero.

These paging input parameters work in parallel with the following output parameters in the response:

  • hasMoreItems: This parameter will be true if the repository contains additional items after those contained in the response, otherwise it will be false. If true, a request with a larger skipCount or larger maxItems will return additional results (unless the contents of the repository...