public class RemovedCollectionWork extends RemovedAbstractWork
Work.Progress, Work.State
Modifier and Type | Field and Description |
---|---|
static String |
CATEGORY |
protected static String |
TITLE |
offset
callerThread, completionTime, docId, docIds, id, isTree, loginContext, originatingUsername, progress, RANDOM, repositoryName, schedulePath, schedulingTime, session, startTime, state, status, suspended, suspending
Modifier | Constructor and Description |
---|---|
|
RemovedCollectionWork() |
protected |
RemovedCollectionWork(long offset) |
Modifier and Type | Method and Description |
---|---|
String |
getCategory()
Gets the category for this work.
|
protected String |
getQuery() |
String |
getTitle()
Gets a human-readable name for this work instance.
|
protected void |
updateDocument(DocumentModel collectionMember) |
getId, work
cleanUp, closeSession, commitOrRollbackTransaction, equals, getCompletionTime, getDocument, getDocuments, 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 static final String CATEGORY
protected static final String TITLE
public RemovedCollectionWork()
protected RemovedCollectionWork(long offset)
public String getTitle()
Work
public String getCategory()
Work
Used to choose an execution queue.
getCategory
in interface Work
getCategory
in class AbstractWork
null
for the defaultprotected String getQuery()
getQuery
in class RemovedAbstractWork
protected void updateDocument(DocumentModel collectionMember)
updateDocument
in class RemovedAbstractWork
Copyright © 2018 Nuxeo. All rights reserved.