public class AutomationRenditionBuilder extends AbstractRenditionBuilderWork
Work.Progress, Work.State
CATEGORY, docRef, key, log, renditionName, repositoryName
entryKey, KEY_SUFFIX, STORE_NAME
callerThread, completionTime, docId, docIds, FAILURE_EXCEPTION, FAILURE_MSG, id, isTree, loginContext, originatingUsername, progress, RANDOM, 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, work
computeEntryKey, computeEntryKey, containsBlobHolder, getBlobHolder, getEntryKey, getStore, putBlobHolder, putBlobHolder, removeBlobHolder
buildWorkFailureEventProps, 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, workFailed
public AutomationRenditionBuilder(String key, DocumentModel doc, RenditionDefinition def)
protected List<Blob> doComputeRendition(CoreSession session, DocumentModel doc, RenditionDefinition def)
AbstractRenditionBuilderWork
doComputeRendition
in class AbstractRenditionBuilderWork
Copyright © 2018 Nuxeo. All rights reserved.