public class FileContentCommand extends Object implements fr.toutatice.portail.cms.nuxeo.api.INuxeoCommand
INuxeoCommand| Modifier and Type | Field and Description |
|---|---|
static String |
PDF_CONTENT
PDF content flag (used in preview).
|
static String |
PDF_CONVERSION_ERROR
Error on PDF conversion (used in preview).
|
| Constructor and Description |
|---|
FileContentCommand(org.nuxeo.ecm.automation.client.model.Document document,
String fieldName) |
FileContentCommand(String docPath,
String fieldName) |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(org.nuxeo.ecm.automation.client.Session session) |
static org.nuxeo.ecm.automation.client.model.PropertyMap |
getFileMap(org.nuxeo.ecm.automation.client.model.Document nuxeoDocument,
String fieldName) |
String |
getId() |
String |
getTimestamp() |
void |
setStreamingSupport(boolean streamingSupport) |
void |
setTimestamp(String timestamp) |
public static final String PDF_CONTENT
public static final String PDF_CONVERSION_ERROR
public FileContentCommand(org.nuxeo.ecm.automation.client.model.Document document,
String fieldName)
public void setStreamingSupport(boolean streamingSupport)
public static org.nuxeo.ecm.automation.client.model.PropertyMap getFileMap(org.nuxeo.ecm.automation.client.model.Document nuxeoDocument,
String fieldName)
public Object execute(org.nuxeo.ecm.automation.client.Session session) throws Exception
execute in interface fr.toutatice.portail.cms.nuxeo.api.INuxeoCommandExceptionpublic String getTimestamp()
public void setTimestamp(String timestamp)
timestamp - the timestamp to setpublic String getId()
getId in interface fr.toutatice.portail.cms.nuxeo.api.INuxeoCommandCopyright © 2019. All rights reserved.