Commit ab781756 authored by Mickaël Guessant's avatar Mickaël Guessant

EWS: Adjust paged search for folders

git-svn-id: https://svn.code.sf.net/p/davmail/code/trunk@2320 3d1905a2-6b24-0410-a738-b14d5a86fcbd
parent 71513ef6
......@@ -392,7 +392,7 @@ public abstract class EWSMethod extends PostMethod {
protected void writeSoapBody(Writer writer) throws IOException {
startChanges(writer);
writeShape(writer);
writeIndexedPageItemView(writer);
writeIndexedPageView(writer);
writeRestriction(writer);
writeSortOrder(writer);
writeParentFolderId(writer);
......@@ -410,9 +410,9 @@ public abstract class EWSMethod extends PostMethod {
}
protected void writeIndexedPageItemView(Writer writer) throws IOException {
protected void writeIndexedPageView(Writer writer) throws IOException {
if (maxCount > 0) {
writer.write("<m:IndexedPageItemView MaxEntriesReturned=\"");
writer.write("<m:IndexedPage"+itemType+"View MaxEntriesReturned=\"");
writer.write(String.valueOf(maxCount));
writer.write("\" Offset=\"");
writer.write(String.valueOf(offset));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment