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.Converter
public String getAsString(javax.faces.context.FacesContext arg0, javax.faces.component.UIComponent component, Object value)
getAsString
in interface javax.faces.convert.Converter
Copyright © 2018 Nuxeo. All rights reserved.