public abstract class AbstractRenditionRestHelper extends Object implements Serializable
This class is shared with Template rendering system.
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
documentManager |
protected org.jboss.seam.faces.FacesMessages |
facesMessages |
protected static org.apache.commons.logging.Log |
log |
protected Map<String,String> |
messages |
protected NavigationContext |
navigationContext |
Constructor and Description |
---|
AbstractRenditionRestHelper() |
Modifier and Type | Method and Description |
---|---|
void |
render(DocumentView docView) |
protected abstract Blob |
renderAsBlob(DocumentModel doc,
String renditionName) |
protected static final org.apache.commons.logging.Log log
@In(create=true, required=false) protected transient CoreSession documentManager
@In(create=true) protected transient NavigationContext navigationContext
@In(create=true, required=false) protected org.jboss.seam.faces.FacesMessages facesMessages
public AbstractRenditionRestHelper()
protected abstract Blob renderAsBlob(DocumentModel doc, String renditionName) throws Exception
Exception
@Begin(id="#{conversationIdGenerator.nextMainConversationId}", join=true) public void render(DocumentView docView) throws Exception
Exception
Copyright © 2018 Nuxeo. All rights reserved.