public interface EntryAdaptor
Modifier and Type | Method and Description |
---|---|
DocumentModel |
adapt(Directory directory,
DocumentModel entry)
Apply an arbitrary transformation of the fetched entry.
|
void |
setParameter(String name,
String value)
Allow the directory initialization process to configure the adaptor by
providing String valued parameters.
|
void setParameter(String name, String value)
DocumentModel adapt(Directory directory, DocumentModel entry) throws DirectoryException
directory
- the directory instance the entry is fetched fromentry
- the entry to transformDirectoryException
- if the adapting process fails unexpectedlyCopyright © 2013 Nuxeo SA. All Rights Reserved.