Package com.centraview.email

Examples of com.centraview.email.Folder


              hashmap1 = (HashMap)iterator.next();
              allmesaage = ((Long)hashmap1.get("allMesages")).intValue();
              k++;
            }

            accountdetail.addFolder(new Folder(folderName, folderID, parentID, folderType , allmesaage ,unreadmessages ,parentName));
            accountdetail.setAccountid(accountID);
            accountdetail.setSignature(signature  );
            j = accountID;
          }
          else if(accountID != j)
          {
            //System.out.println("lastid" + j);
            folderlist.put(new Integer(j), accountdetail);
            //System.out.println("lastid");
            String s1 = (String)hashmap1.get("address");
            String s3 = (String)hashmap1.get("accountName");

            accountdetail = new AccountDetail(s1);
            accountdetail.setRights(str);
            int l1 = ((Long)hashmap1.get("folderid")).intValue();
            int j2 = ((Long)hashmap1.get("parent")).intValue();
            String s7 = (String)hashmap1.get("FolderName");
            String parentName = (String)hashmap1.get("parentname");
            String s9 = (String)hashmap1.get("ftype");

            int unreadmessages =((Long)hashmap1.get("unreadmessages")).intValue();

            int  allmesaage = ((Long)hashmap1.get("allMesages")).intValue();
            if ( allmesaage == -1 )
            {
              hashmap1 = (HashMap)iterator.next();
              allmesaage = ((Long)hashmap1.get("allMesages")).intValue();
              k++;
            }

            accountdetail.addFolder(new Folder(s7, l1, j2, s9 , allmesaage ,unreadmessages,parentName ));
            accountdetail.setAccountid(accountID);
            accountdetail.setSignature(signature  );
            j = accountID;
          }
          else
          {
            //System.out.println("same id ");
            int i1 = ((Long)hashmap1.get("folderid")).intValue();
            int j1 = ((Long)hashmap1.get("parent")).intValue();
            String s4 = (String)hashmap1.get("FolderName");
            String parentName = (String)hashmap1.get("parentname");
            String s5 = (String)hashmap1.get("ftype");

            // 1408
            String smtpserver = (String)hashmap1.get("smtpserver");

            int unreadmessages =((Long)hashmap1.get("unreadmessages")).intValue();

            int  allmesaage = ((Long)hashmap1.get("allMesages")).intValue();
            if ( allmesaage == -1 )
            {
              hashmap1 = (HashMap)iterator.next();
              allmesaage = ((Long)hashmap1.get("allMesages")).intValue();
              k++;
            }

            accountdetail.addFolder(new Folder(s4, i1, j1, s5 , allmesaage ,unreadmessages, parentName));
            accountdetail.setRights(str);
            accountdetail.setAccountid(accountID);
            accountdetail.setSignature(signature  );
            j = accountID;
          }
View Full Code Here

TOP

Related Classes of com.centraview.email.Folder

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.