Package microsoft.exchange.webservices.data

Examples of microsoft.exchange.webservices.data.FindFoldersResults


    final SearchFilter searchFilter2 = new SearchFilter.IsEqualTo(FolderSchema.DisplayName, "allitems");
    final SearchFilter.SearchFilterCollection searchFilterCollection = new SearchFilter.SearchFilterCollection(LogicalOperator.And);
    searchFilterCollection.add(searchFilter1);
    searchFilterCollection.add(searchFilter2);

    final FindFoldersResults findFoldersResults = service.findFolders(
        rootFolderId, searchFilterCollection, folderView);

    if (findFoldersResults.getFolders().size() == 0) {
      return null;
    }
    return findFoldersResults.getFolders().iterator().next();
  }
View Full Code Here

TOP

Related Classes of microsoft.exchange.webservices.data.FindFoldersResults

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.