|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EntryAdaptor
Interface to be used by Directory implementations to perform arbitrary "fetch-time" adaptations on the entry fields and the readonly flag.
Method Summary | |
---|---|
DocumentModel |
adapt(Directory directory,
DocumentModel entry)
Apply an arbitrary transformation of the fetched entry. |
void |
setParameter(java.lang.String name,
java.lang.String value)
Allow the directory initialization process to configure the adaptor by providing String valued parameters. |
Method Detail |
---|
void setParameter(java.lang.String name, java.lang.String value)
DocumentModel adapt(Directory directory, DocumentModel entry) throws DirectoryException
directory
- the directory instance the entry is fetched fromentry
- the entry to transform
DirectoryException
- if the adapting process fails unexpectedly
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |