Blue Mind
Release 1.0

net.bluemind.core.common.book
Class BookItemsWriter

java.lang.Object
  extended by net.bluemind.core.common.items.AbstractItemsWriter
      extended by net.bluemind.core.common.book.BookItemsWriter

public class BookItemsWriter
extends AbstractItemsWriter

Serializes address book items to XML


Field Summary
 
Fields inherited from class net.bluemind.core.common.items.AbstractItemsWriter
logger
 
Constructor Summary
BookItemsWriter()
           
 
Method Summary
 void appendContact(org.w3c.dom.Element root, Contact contact)
           
 void appendContact(org.w3c.dom.Element root, Contact contact, java.lang.String operationId)
           
 void appendContactQuery(org.w3c.dom.Element root, ContactQuery cq)
           
 void appendFolder(org.w3c.dom.Element root, Folder folder)
           
 void appendFolder(org.w3c.dom.Element root, Folder folder, java.lang.String operationId)
           
 java.lang.String getClientChangesString(ClientContactChanges clientChanges)
           
 java.lang.String getClientFolderChangesString(ClientFolderChanges clientChanges)
           
 java.lang.String getContactAsString(Contact contact)
           
 java.lang.String getContactQueryAsString(ContactQuery cq)
           
 java.lang.String getFolderAsString(Folder f)
           
 java.lang.String getFolderQueryAsString(FolderQuery fq)
           
 java.lang.String scopeString(SyncScope scope)
           
 org.w3c.dom.Document writeChanges(ContactChanges cc)
           
 org.w3c.dom.Document writeClientChanges(ClientContactChanges cc)
           
 org.w3c.dom.Document writeClientFolderChanges(ClientFolderChanges cc)
           
 org.w3c.dom.Document writeFolderChanges(FolderChanges fc)
           
 
Methods inherited from class net.bluemind.core.common.items.AbstractItemsWriter
addEmails, appendChangeResults, attribute, attribute, attribute, createIfNotNull, createIfNotNull, createIfNotNull, writeAccessControlledEntityAttributes, writeCustomProps, writeEntityAttributes, writeMap, writeQueryAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookItemsWriter

public BookItemsWriter()
Method Detail

appendContact

public void appendContact(org.w3c.dom.Element root,
                          Contact contact)

appendContact

public void appendContact(org.w3c.dom.Element root,
                          Contact contact,
                          java.lang.String operationId)

writeChanges

public org.w3c.dom.Document writeChanges(ContactChanges cc)

writeClientChanges

public org.w3c.dom.Document writeClientChanges(ClientContactChanges cc)

getContactAsString

public java.lang.String getContactAsString(Contact contact)

appendContactQuery

public void appendContactQuery(org.w3c.dom.Element root,
                               ContactQuery cq)

getContactQueryAsString

public java.lang.String getContactQueryAsString(ContactQuery cq)

writeFolderChanges

public org.w3c.dom.Document writeFolderChanges(FolderChanges fc)

appendFolder

public void appendFolder(org.w3c.dom.Element root,
                         Folder folder)

appendFolder

public void appendFolder(org.w3c.dom.Element root,
                         Folder folder,
                         java.lang.String operationId)

getFolderAsString

public java.lang.String getFolderAsString(Folder f)

getClientChangesString

public java.lang.String getClientChangesString(ClientContactChanges clientChanges)

getClientFolderChangesString

public java.lang.String getClientFolderChangesString(ClientFolderChanges clientChanges)

writeClientFolderChanges

public org.w3c.dom.Document writeClientFolderChanges(ClientFolderChanges cc)

getFolderQueryAsString

public java.lang.String getFolderQueryAsString(FolderQuery fq)

scopeString

public java.lang.String scopeString(SyncScope scope)

Blue Mind
Release 1.0