Blue Mind
Release 1.0

net.bluemind.core.common.items
Class AbstractItemsWriter

java.lang.Object
  extended by net.bluemind.core.common.items.AbstractItemsWriter
Direct Known Subclasses:
AclWriter, BackupItemsWriter, BookItemsWriter, CalendarItemsWriter, DeviceItemsWriter, DirectoryItemsWriter, DistributionListItemsWriter, DocItemsWriter, GroupItemsWriter, InfoItemsWriter, JobItemsWriter, MailItemsWriter, MailshareItemsWriter, PrintCalendarItemsWriter, RBACItemsWriter, ResourceItemsWriter, SettingItemsWriter, SieveFilterItemsWriter, SystemItemsWriter, TodoItemsWriter, UiItemsWriter, UserItemsWriter

public abstract class AbstractItemsWriter
extends java.lang.Object

Serializes calendar related items to XML


Field Summary
protected  Logger logger
           
 
Constructor Summary
AbstractItemsWriter()
           
 
Method Summary
protected  void addEmails(org.w3c.dom.Element root, IHasEmails hasEmails)
           
protected  void appendChangeResults(org.w3c.dom.Element root, java.util.List<ChangeResult> lcr)
           
protected  void attribute(org.w3c.dom.Element e, java.lang.String name, java.lang.Boolean value)
           
protected  void attribute(org.w3c.dom.Element e, java.lang.String name, java.lang.Integer value)
           
protected  void attribute(org.w3c.dom.Element e, java.lang.String name, java.lang.String value)
           
protected  void createIfNotNull(org.w3c.dom.Element e, java.lang.String nodeName, java.lang.Boolean value)
           
protected  void createIfNotNull(org.w3c.dom.Element e, java.lang.String nodeName, java.lang.Integer value)
           
protected  void createIfNotNull(org.w3c.dom.Element e, java.lang.String nodeName, java.lang.String value)
           
protected  void writeAccessControlledEntityAttributes(org.w3c.dom.Element e, IAccessControlledEntity iae)
           
protected  void writeCustomProps(org.w3c.dom.Element e, java.util.Collection<? extends Customization> props, java.util.Map<? extends Customization,java.lang.String> cps)
           
protected  void writeEntityAttributes(org.w3c.dom.Element e, IEntity ie)
           
 void writeMap(java.util.Map<java.lang.String,java.lang.String> map, org.w3c.dom.Element parent, java.lang.String node, boolean asAttribute)
           
protected  void writeQueryAttributes(org.w3c.dom.Element e, Query query)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected Logger logger
Constructor Detail

AbstractItemsWriter

public AbstractItemsWriter()
Method Detail

createIfNotNull

protected void createIfNotNull(org.w3c.dom.Element e,
                               java.lang.String nodeName,
                               java.lang.String value)

attribute

protected void attribute(org.w3c.dom.Element e,
                         java.lang.String name,
                         java.lang.String value)

createIfNotNull

protected void createIfNotNull(org.w3c.dom.Element e,
                               java.lang.String nodeName,
                               java.lang.Integer value)

attribute

protected void attribute(org.w3c.dom.Element e,
                         java.lang.String name,
                         java.lang.Integer value)

createIfNotNull

protected void createIfNotNull(org.w3c.dom.Element e,
                               java.lang.String nodeName,
                               java.lang.Boolean value)

attribute

protected void attribute(org.w3c.dom.Element e,
                         java.lang.String name,
                         java.lang.Boolean value)

writeEntityAttributes

protected void writeEntityAttributes(org.w3c.dom.Element e,
                                     IEntity ie)

writeCustomProps

protected void writeCustomProps(org.w3c.dom.Element e,
                                java.util.Collection<? extends Customization> props,
                                java.util.Map<? extends Customization,java.lang.String> cps)

writeAccessControlledEntityAttributes

protected void writeAccessControlledEntityAttributes(org.w3c.dom.Element e,
                                                     IAccessControlledEntity iae)

writeMap

public void writeMap(java.util.Map<java.lang.String,java.lang.String> map,
                     org.w3c.dom.Element parent,
                     java.lang.String node,
                     boolean asAttribute)

addEmails

protected void addEmails(org.w3c.dom.Element root,
                         IHasEmails hasEmails)

writeQueryAttributes

protected void writeQueryAttributes(org.w3c.dom.Element e,
                                    Query query)

appendChangeResults

protected void appendChangeResults(org.w3c.dom.Element root,
                                   java.util.List<ChangeResult> lcr)

Blue Mind
Release 1.0