|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.nuxeo.ecm.directory.sql.SQLDirectoryProxy
public class SQLDirectoryProxy
Lazy directory initialization.
Constructor Summary | |
---|---|
SQLDirectoryProxy(SQLDirectoryDescriptor descriptor)
|
Method Summary | |
---|---|
DirectoryCache |
getCache()
Gets the cache instance of the directory |
SQLDirectoryDescriptor |
getDescriptor()
|
SQLDirectory |
getDirectory()
|
String |
getIdField()
Gets the id field of the schema for this directory. |
IdGenerator |
getIdGenerator()
Gets the ID generator used when creating new entries in this directory. |
String |
getName()
Gets the unique name of the directory, used for registering. |
String |
getParentDirectory()
Gets the name of the parent directory. |
String |
getPasswordField()
Gets the password field of the schema for this directory. |
Reference |
getReference(String referenceFieldName)
Lookup a Reference by field name. |
Collection<Reference> |
getReferences()
Lookup all References defined on the directory. |
String |
getSchema()
Gets the schema name used by this directory. |
Session |
getSession()
Creates a session for accessing entries in this directory. |
void |
invalidateDirectoryCache()
Invalidates the cache instance of the directory |
void |
shutdown()
Shuts down the directory. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SQLDirectoryProxy(SQLDirectoryDescriptor descriptor)
Method Detail |
---|
public SQLDirectory getDirectory() throws DirectoryException
DirectoryException
public IdGenerator getIdGenerator() throws DirectoryException
Directory
getIdGenerator
in interface Directory
DirectoryException
public String getName() throws DirectoryException
Directory
getName
in interface Directory
DirectoryException
public String getSchema() throws DirectoryException
Directory
getSchema
in interface Directory
DirectoryException
public String getParentDirectory() throws DirectoryException
Directory
getParentDirectory
in interface Directory
DirectoryException
public String getIdField() throws DirectoryException
Directory
getIdField
in interface Directory
DirectoryException
public String getPasswordField() throws DirectoryException
Directory
getPasswordField
in interface Directory
DirectoryException
public Session getSession() throws DirectoryException
Directory
getSession
in interface Directory
DirectoryException
- if a session cannot be createdpublic void shutdown() throws DirectoryException
Directory
shutdown
in interface Directory
DirectoryException
public Reference getReference(String referenceFieldName) throws DirectoryException
Directory
getReference
in interface Directory
DirectoryException
public Collection<Reference> getReferences() throws DirectoryException
Directory
getReferences
in interface Directory
DirectoryException
public SQLDirectoryDescriptor getDescriptor()
public DirectoryCache getCache() throws DirectoryException
Directory
getCache
in interface Directory
DirectoryException
public void invalidateDirectoryCache() throws DirectoryException
Directory
invalidateDirectoryCache
in interface Directory
DirectoryException
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |