public class AutomationRenditionBuilder extends AbstractRenditionBuilderWork
Work.Progress, Work.State
CATEGORY, docRef, key, log, renditionName, repositoryName
entryKey, KEY_SUFFIX, STORE_NAME
callerThread, completionTime, docId, docIds, id, isTree, loginContext, originatingUsername, progress, RANDOM, schedulePath, schedulingTime, session, startTime, state, status, suspended, suspending
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, work
computeEntryKey, computeEntryKey, containsBlobHolder, getBlobHolder, getEntryKey, getStore, putBlobHolder, putBlobHolder, removeBlobHolder
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
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.