Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.directory
Class DirectoryFactoryProxy

java.lang.Object
  extended by org.nuxeo.ecm.directory.DirectoryFactoryProxy
All Implemented Interfaces:
DirectoryFactory

public class DirectoryFactoryProxy
extends Object
implements DirectoryFactory

Author:
George Lefter

Constructor Summary
DirectoryFactoryProxy(String componentName)
           
 
Method Summary
 List<Directory> getDirectories()
           
 Directory getDirectory(String name)
          Returns the directory with the given name.
 String getName()
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryFactoryProxy

public DirectoryFactoryProxy(String componentName)
Method Detail

getDirectory

public Directory getDirectory(String name)
                       throws DirectoryException
Description copied from interface: DirectoryFactory
Returns the directory with the given name.

Specified by:
getDirectory in interface DirectoryFactory
Parameters:
name - the name of the directory
Returns:
the directory with the given name
Throws:
DirectoryException

getName

public String getName()
Specified by:
getName in interface DirectoryFactory

shutdown

public void shutdown()
              throws DirectoryException
Specified by:
shutdown in interface DirectoryFactory
Throws:
DirectoryException

getDirectories

public List<Directory> getDirectories()
                               throws DirectoryException
Specified by:
getDirectories in interface DirectoryFactory
Returns:
a list with all the directories managed by this factory
Throws:
DirectoryException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.