Examples of JXCdoInfoStores


Examples of org.jxchange.client.cdo121.JXCdoInfoStores

          new JIVariant(false), new JIVariant(true), new JIVariant(
              false), new JIVariant(false), new JIString(
              ICredentialBag.logoncred_profileinfo).Variant);

           // get the info stores
              JXCdoInfoStores ifss = new JXCdoInfoStores(jxCdoSession,jxCdoSession.GetInfoStores());
              int count = ifss.GetCount().getObjectAsInt();
              System.out.println("There are " + count + " Info Stores");

              for(int i=1; i<=count; i++){
                  JXCdoInfoStore ifs = new JXCdoInfoStore(jxCdoSession,ifss.Item(new JIVariant(new Integer(i).intValue())));
                  System.out.println("\t Info Store " + i + ": " + ifs.GetName());
              }

              // get the mailbox root folder
              // it is usually the second item in the list of info stores
              JXCdoInfoStore ifs = new JXCdoInfoStore(jxCdoSession,ifss.Item(new JIVariant(new Integer(2).intValue())));
              JXCdoFolder root = new  JXCdoFolder(jxCdoSession,ifs.GetRootFolder());

              // build a tree based on the mailbox folders structure
              listFolders(jxCdoSession,root);
             
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.