public static class DBSTransactionState.UpdateReadAclsWork extends BatchProcessorWork
Work.Progress, Work.State
callerThread, completionTime, docId, docIds, id, isTree, loginContext, originatingUsername, progress, RANDOM, repositoryName, schedulePath, schedulingTime, session, startTime, state, status, suspended, suspending
Constructor and Description |
---|
UpdateReadAclsWork(String repositoryName,
List<String> docIds,
String originatingUsername) |
Modifier and Type | Method and Description |
---|---|
int |
getBatchSize()
The batch size to use.
|
String |
getCategory()
Gets the category for this work.
|
String |
getTitle()
Gets a human-readable name for this work instance.
|
void |
processBatch(List<String> docIds) |
getRetryCount, work
cleanUp, closeSession, commitOrRollbackTransaction, equals, getCompletionTime, getDocument, getDocuments, getId, getOriginatingUsername, getPartitionKey, getProgress, 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 UpdateReadAclsWork(String repositoryName, List<String> docIds, String originatingUsername)
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 defaultpublic int getBatchSize()
BatchProcessorWork
getBatchSize
in class BatchProcessorWork
public void processBatch(List<String> docIds)
processBatch
in class BatchProcessorWork
Copyright © 2018 Nuxeo. All rights reserved.