public class DocumentModelConvertor extends Object implements javax.faces.convert.Converter
| Constructor and Description |
|---|
DocumentModelConvertor(CoreSession session) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAsObject(javax.faces.context.FacesContext arg0,
javax.faces.component.UIComponent component,
String value)
Returns given value (does not do any reverse conversion)
|
String |
getAsString(javax.faces.context.FacesContext arg0,
javax.faces.component.UIComponent component,
Object value)
Returns the document title using the docId passed as value
|
public DocumentModelConvertor(CoreSession session)
public Object getAsObject(javax.faces.context.FacesContext arg0, javax.faces.component.UIComponent component, String value)
getAsObject in interface javax.faces.convert.Converterpublic String getAsString(javax.faces.context.FacesContext arg0, javax.faces.component.UIComponent component, Object value)
getAsString in interface javax.faces.convert.ConverterCopyright © 2016 Nuxeo SA. All rights reserved.