org.nuxeo.ecm.directory
Class DirectoryFactoryProxy
java.lang.Object
org.nuxeo.ecm.directory.DirectoryFactoryProxy
- All Implemented Interfaces:
- DirectoryFactory
public class DirectoryFactoryProxy
- extends Object
- implements DirectoryFactory
- Author:
- George Lefter
DirectoryFactoryProxy
public DirectoryFactoryProxy(String componentName)
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
Copyright © 2011 Nuxeo SAS. All Rights Reserved.