1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-21 06:58:51 -05:00

EWS: Adjust paged search for folders

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2320 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2014-09-05 15:13:18 +00:00
parent 4a918cd22e
commit 2a1f78ed52

View File

@ -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));