Blue Mind
Release 1.0

net.bluemind.core.common.directory
Class DirectoryItemsParser

java.lang.Object
  extended by net.bluemind.core.common.items.AbstractItemsParser
      extended by net.bluemind.core.common.directory.DirectoryItemsParser

public class DirectoryItemsParser
extends AbstractItemsParser

Provide parser for DirectoryEntry and DirectoryQuery


Constructor Summary
DirectoryItemsParser()
           
 
Method Summary
 DirectoryEntry parseDirectoryEntry(org.w3c.dom.Element e)
          Parse DirectoryEntry from DOM element
 DirectoryEntry parseDirectoryEntry(java.lang.String parameter)
          Parse DirectoryEntry from String
 DirectoryQuery parseDirectoryQuery(org.w3c.dom.Element e)
          Parse DirectoryQuery from DOM element
 DirectoryQuery parseDirectoryQuery(java.lang.String parameter)
          Parse DirectoryQuery from String
 ResultList<DirectoryEntry> parseListDirectoryEntry(org.w3c.dom.Element root)
          Parse DirectoryEntry ResultList from DOM element
 java.util.Collection<DirectoryEntry> parseListDirectoryEntry(java.lang.String parameter)
          Parse DirectoryEntry Collection from String
 boolean parseMailboxAvailability(org.w3c.dom.Element element)
          Parse mailbox availability from DOM element
 
Methods inherited from class net.bluemind.core.common.items.AbstractItemsParser
b, ba, d, da, i, ia, parseArrayOfInt, parseArrayOfString, parseChangeResults, parseCustomProps, parseEmails, parseMap, readAccessControlledEntityAttribute, readEntityAttributes, readQueryAttributes, readResultListAttributes, s, sa
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryItemsParser

public DirectoryItemsParser()
Method Detail

parseDirectoryEntry

public DirectoryEntry parseDirectoryEntry(org.w3c.dom.Element e)
Parse DirectoryEntry from DOM element

Parameters:
e - DOM element
Returns:
DirectoryEntry parsed

parseDirectoryEntry

public DirectoryEntry parseDirectoryEntry(java.lang.String parameter)
                                   throws ServerFault
Parse DirectoryEntry from String

Parameters:
parameter - String describing a DirectoryEntry
Returns:
DirectoryEntry parsed
Throws:
ServerFault

parseListDirectoryEntry

public java.util.Collection<DirectoryEntry> parseListDirectoryEntry(java.lang.String parameter)
                                                             throws ServerFault
Parse DirectoryEntry Collection from String

Parameters:
parameter - String describing a DirectoryEntry
Returns:
DirectoryEntry Collection parsed
Throws:
ServerFault

parseListDirectoryEntry

public ResultList<DirectoryEntry> parseListDirectoryEntry(org.w3c.dom.Element root)
Parse DirectoryEntry ResultList from DOM element

Parameters:
root - DOM element describing a DirectoryEntry
Returns:
DirectoryEntry ResultList parsed

parseDirectoryQuery

public DirectoryQuery parseDirectoryQuery(java.lang.String parameter)
                                   throws ServerFault
Parse DirectoryQuery from String

Parameters:
parameter - String describing a DirectoryQuery
Returns:
parsed DirectoryQuery
Throws:
ServerFault

parseDirectoryQuery

public DirectoryQuery parseDirectoryQuery(org.w3c.dom.Element e)
Parse DirectoryQuery from DOM element

Parameters:
parameter - DOM element describing a DirectoryQuery
Returns:
parsed DirectoryQuery
Throws:
ServerFault

parseMailboxAvailability

public boolean parseMailboxAvailability(org.w3c.dom.Element element)
Parse mailbox availability from DOM element

Parameters:
element - DOM element to parse
Returns:
true if mailbox is available, false otherwise

Blue Mind
Release 1.0