mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-21 23:18:49 -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:
parent
4a918cd22e
commit
2a1f78ed52
@ -392,7 +392,7 @@ public abstract class EWSMethod extends PostMethod {
|
|||||||
protected void writeSoapBody(Writer writer) throws IOException {
|
protected void writeSoapBody(Writer writer) throws IOException {
|
||||||
startChanges(writer);
|
startChanges(writer);
|
||||||
writeShape(writer);
|
writeShape(writer);
|
||||||
writeIndexedPageItemView(writer);
|
writeIndexedPageView(writer);
|
||||||
writeRestriction(writer);
|
writeRestriction(writer);
|
||||||
writeSortOrder(writer);
|
writeSortOrder(writer);
|
||||||
writeParentFolderId(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) {
|
if (maxCount > 0) {
|
||||||
writer.write("<m:IndexedPageItemView MaxEntriesReturned=\"");
|
writer.write("<m:IndexedPage"+itemType+"View MaxEntriesReturned=\"");
|
||||||
writer.write(String.valueOf(maxCount));
|
writer.write(String.valueOf(maxCount));
|
||||||
writer.write("\" Offset=\"");
|
writer.write("\" Offset=\"");
|
||||||
writer.write(String.valueOf(offset));
|
writer.write(String.valueOf(offset));
|
||||||
|
Loading…
Reference in New Issue
Block a user