public class WritePolicyEntryAdaptor extends Object implements EntryAdaptor
In any case, if the readonly flag of the adapted entry is already set to true, this value is kept unchanged.
| Modifier and Type | Field and Description | 
|---|---|
protected String | 
fieldName  | 
static org.apache.commons.logging.Log | 
log  | 
protected Pattern | 
pattern  | 
| Constructor and Description | 
|---|
WritePolicyEntryAdaptor()  | 
| 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. 
 | 
public static final org.apache.commons.logging.Log log
public WritePolicyEntryAdaptor()
public DocumentModel adapt(Directory directory, DocumentModel entry)
EntryAdaptoradapt in interface EntryAdaptordirectory - the directory instance the entry is fetched fromentry - the entry to transformpublic void setParameter(String name, String value)
EntryAdaptorsetParameter in interface EntryAdaptorCopyright © 2019 Nuxeo. All rights reserved.