@Component @Scope(value="prototype") public class FileContentStreamCommand extends Object implements NuxeoCommand
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 |
|---|
FileContentStreamCommand(String docUuid) |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(Session session)
Execute a nuxeo command
|
String |
getId()
Get an id for command (for logging)
|
public static final String PDF_CONTENT
public static final String PDF_CONVERSION_ERROR
public FileContentStreamCommand(String docUuid)
public Object execute(Session session) throws RepositoryException
execute in interface NuxeoCommandRepositoryExceptionpublic String getId()
NuxeoCommandgetId in interface NuxeoCommandCopyright © 2022. All rights reserved.