wt.ixb.util
Class IXBAdministrativeDomainHelper

java.lang.Object
  extended bywt.ixb.util.IXBAdministrativeDomainHelper

public class IXBAdministrativeDomainHelper
extends Object

Domain helper classes that fills in the limitations of the OOTB admin helper. StandardAdministrativeDomainManager, does not return nested domains correctly.


Constructor Summary
IXBAdministrativeDomainHelper()
          Creates new AdministrativeDomainHelper
 
Method Summary
static AdministrativeDomain getDomain(String name)
          Returns the first StandardAdministrativeDomainManager object with the specified name.
static AdministrativeDomain getDomain(String name, boolean caseSensitive)
          Returns the first AdminstrativeDomain object with the specified name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IXBAdministrativeDomainHelper

public IXBAdministrativeDomainHelper()
Creates new AdministrativeDomainHelper

Method Detail

getDomain

public static AdministrativeDomain getDomain(String name)
Returns the first StandardAdministrativeDomainManager object with the specified name.

This is case insensitive search.

Parameters:
name -
Returns:

getDomain

public static AdministrativeDomain getDomain(String name,
                                             boolean caseSensitive)
Returns the first AdminstrativeDomain object with the specified name. The OOTB AdminHelper getDomain function only returned top-level domains not sub-domains.

Parameters:
name -
caseSensitive -
Returns: