Class AutomationRenditionBuilder
java.lang.Object
org.nuxeo.ecm.core.work.AbstractWork
org.nuxeo.ecm.core.transientstore.work.TransientStoreWork
org.nuxeo.ecm.platform.rendition.lazy.AbstractRenditionBuilderWork
org.nuxeo.ecm.platform.rendition.lazy.AutomationRenditionBuilder
- All Implemented Interfaces:
Serializable,Work
- Since:
- 7.2
- Author:
- Tiry
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.nuxeo.ecm.core.work.api.Work
Work.Progress, Work.State -
Field Summary
Fields inherited from class org.nuxeo.ecm.platform.rendition.lazy.AbstractRenditionBuilderWork
CATEGORY, docRef, key, renditionNameFields inherited from class org.nuxeo.ecm.core.transientstore.work.TransientStoreWork
entryKey, KEY_SUFFIX, STORE_NAMEFields inherited from class org.nuxeo.ecm.core.work.AbstractWork
callerThread, completionTime, docId, docIds, FAILURE_EXCEPTION, FAILURE_MSG, GLOBAL_DLQ_COUNT_REGISTRY_NAME, id, isTree, loginContext, originatingUsername, progress, RANDOM, repositoryName, schedulePath, schedulingTime, session, startTime, state, status, suspended, suspending, traceContext, WORK_FAILED_EVENT, WORK_INSTANCE -
Constructor Summary
ConstructorsConstructorDescriptionAutomationRenditionBuilder(String key, DocumentModel doc, RenditionDefinition def) -
Method Summary
Modifier and TypeMethodDescriptiondoComputeRendition(CoreSession session, DocumentModel doc, RenditionDefinition def) Does the actual Rendition Computation: this code will be called from inside an Asynchronous WorkMethods inherited from class org.nuxeo.ecm.platform.rendition.lazy.AbstractRenditionBuilderWork
buildId, cleanUp, getCategory, getSourceDocumentModificationDate, getTitle, getTransientStoreName, isCoalescing, isIdempotent, storeAnErrorRendition, workMethods inherited from class org.nuxeo.ecm.core.transientstore.work.TransientStoreWork
computeEntryKey, computeEntryKey, containsBlobHolder, getBlobHolder, getEntryKey, getStore, putBlobHolder, putBlobHolder, removeBlobHolderMethods inherited from class org.nuxeo.ecm.core.work.AbstractWork
appendWorkToDeadLetterQueue, buildWorkFailureEventProps, closeSession, commitOrRollbackTransaction, equals, getCompletionTime, getDocument, getDocuments, getId, getOriginatingUsername, getPartitionKey, getProgress, getRetryCount, getSchedulePath, getSchedulingTime, getSpanFromContext, getStartTime, getStatus, getWorkInstanceState, hashCode, isDocumentTree, isSuspending, isWorkInstanceSuspended, newDocumentLocation, openSystemSession, openUserSession, run, runWorkWithTransaction, setCompletionTime, setDocument, setDocument, setDocuments, setOriginatingUsername, setProgress, setSchedulePath, setStartTime, setStatus, setWorkInstanceState, setWorkInstanceSuspending, startTransaction, suspended, toString, workFailedMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.nuxeo.ecm.core.work.api.Work
isGroupJoin, onGroupJoinCompletion
-
Constructor Details
-
AutomationRenditionBuilder
-
-
Method Details
-
doComputeRendition
protected List<Blob> doComputeRendition(CoreSession session, DocumentModel doc, RenditionDefinition def) Description copied from class:AbstractRenditionBuilderWorkDoes the actual Rendition Computation: this code will be called from inside an Asynchronous Work- Specified by:
doComputeRenditionin classAbstractRenditionBuilderWork
-