Blue Mind
Release 1.0

net.bluemind.core.common.directory
Class DirectoryItemsWriter

java.lang.Object
  extended by net.bluemind.core.common.items.AbstractItemsWriter
      extended by net.bluemind.core.common.directory.DirectoryItemsWriter

public class DirectoryItemsWriter
extends AbstractItemsWriter

Provide writer for DirectoryEntry and DirectoryQuery


Field Summary
 
Fields inherited from class net.bluemind.core.common.items.AbstractItemsWriter
logger
 
Constructor Summary
DirectoryItemsWriter()
           
 
Method Summary
 void appendDirectoryEntry(org.w3c.dom.Element root, DirectoryEntry entry)
          Append DirectoryEntry to DOM element
 void appendDirectoryQuery(org.w3c.dom.Element root, DirectoryQuery dq)
          Append a DirectoryQuery to a DOM element
 java.lang.String getDirectoryEntriesAsString(java.util.Collection<DirectoryEntry> entries)
          Convert a Collection of DirectoryEntry to a String
 java.lang.String getDirectoryEntryAsString(DirectoryEntry entry)
          Convert a DirectoryEntry to a String
 java.lang.String getDirectoryQueryAsString(DirectoryQuery dq)
          Convert DirectoryQuery to a String
 
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

DirectoryItemsWriter

public DirectoryItemsWriter()
Method Detail

appendDirectoryEntry

public void appendDirectoryEntry(org.w3c.dom.Element root,
                                 DirectoryEntry entry)
Append DirectoryEntry to DOM element

Parameters:
root - DOM element
entry - DirectoryEntry to append

getDirectoryEntryAsString

public java.lang.String getDirectoryEntryAsString(DirectoryEntry entry)
Convert a DirectoryEntry to a String

Parameters:
entry - DirectoryEntry to convert
Returns:
result String

getDirectoryEntriesAsString

public java.lang.String getDirectoryEntriesAsString(java.util.Collection<DirectoryEntry> entries)
Convert a Collection of DirectoryEntry to a String

Parameters:
entries - DirectoryEntry Collection
Returns:
result String

appendDirectoryQuery

public void appendDirectoryQuery(org.w3c.dom.Element root,
                                 DirectoryQuery dq)
Append a DirectoryQuery to a DOM element

Parameters:
root - DOM element
dq - DirectoryQuery to append

getDirectoryQueryAsString

public java.lang.String getDirectoryQueryAsString(DirectoryQuery dq)
Convert DirectoryQuery to a String

Parameters:
dq - DirectoryQuery to convert
Returns:
result String

Blue Mind
Release 1.0