public class AutomationRenditionBuilder extends AbstractRenditionBuilderWork
Work.Progress, Work.StateCATEGORY, docRef, key, log, renditionNameentryKey, KEY_SUFFIX, STORE_NAMEcallerThread, completionTime, docId, docIds, FAILURE_EXCEPTION, FAILURE_MSG, id, isTree, loginContext, originatingUsername, progress, RANDOM, repositoryName, schedulePath, schedulingTime, session, startTime, state, status, suspended, suspending, WORK_FAILED_EVENT, WORK_INSTANCE| Constructor and Description |
|---|
AutomationRenditionBuilder(String key,
DocumentModel doc,
RenditionDefinition def) |
| Modifier and Type | Method and Description |
|---|---|
protected List<Blob> |
doComputeRendition(CoreSession session,
DocumentModel doc,
RenditionDefinition def)
Does the actual Rendition Computation : this code will be called from inside an Asynchronous Work
|
buildId, cleanUp, getCategory, getSourceDocumentModificationDate, getTitle, getTransientStoreName, isCoalescing, isIdempotent, workcomputeEntryKey, computeEntryKey, containsBlobHolder, getBlobHolder, getEntryKey, getStore, putBlobHolder, putBlobHolder, removeBlobHolderbuildWorkFailureEventProps, closeSession, commitOrRollbackTransaction, equals, getCompletionTime, getDocument, getDocuments, getId, getOriginatingUsername, getPartitionKey, getProgress, getRetryCount, getSchedulePath, getSchedulingTime, getStartTime, getStatus, getWorkInstanceState, hashCode, initSession, initSession, isDocumentTree, isSuspending, isWorkInstanceSuspended, newDocumentLocation, openSystemSession, openUserSession, run, runWorkWithTransaction, setCompletionTime, setDocument, setDocument, setDocuments, setOriginatingUsername, setProgress, setSchedulePath, setStartTime, setStatus, setWorkInstanceState, setWorkInstanceSuspending, startTransaction, suspended, toString, workFailedpublic AutomationRenditionBuilder(String key, DocumentModel doc, RenditionDefinition def)
protected List<Blob> doComputeRendition(CoreSession session, DocumentModel doc, RenditionDefinition def)
AbstractRenditionBuilderWorkdoComputeRendition in class AbstractRenditionBuilderWorkCopyright © 2019 Nuxeo. All rights reserved.