com.openexchange.mail.json.writer
Class FolderWriter.MailFolderFieldWriter

java.lang.Object
  extended by com.openexchange.mail.json.writer.FolderWriter.MailFolderFieldWriter
Enclosing class:
FolderWriter

public abstract static class FolderWriter.MailFolderFieldWriter
extends java.lang.Object


Constructor Summary
FolderWriter.MailFolderFieldWriter()
           
 
Method Summary
 void writeField(org.json.JSONValue jsonContainer, int accountId, MailFolder folder, boolean withKey)
           
 void writeField(org.json.JSONValue jsonContainer, int accountId, MailFolder folder, boolean withKey, java.lang.String name, int hasSubfolders)
           
abstract  void writeField(org.json.JSONValue jsonContainer, int accountId, MailFolder folder, boolean withKey, java.lang.String name, int hasSubfolders, java.lang.String fullName, int module, boolean all)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FolderWriter.MailFolderFieldWriter

public FolderWriter.MailFolderFieldWriter()
Method Detail

writeField

public void writeField(org.json.JSONValue jsonContainer,
                       int accountId,
                       MailFolder folder,
                       boolean withKey)
                throws MailException
Throws:
MailException

writeField

public void writeField(org.json.JSONValue jsonContainer,
                       int accountId,
                       MailFolder folder,
                       boolean withKey,
                       java.lang.String name,
                       int hasSubfolders)
                throws MailException
Throws:
MailException

writeField

public abstract void writeField(org.json.JSONValue jsonContainer,
                                int accountId,
                                MailFolder folder,
                                boolean withKey,
                                java.lang.String name,
                                int hasSubfolders,
                                java.lang.String fullName,
                                int module,
                                boolean all)
                         throws MailException
Throws:
MailException