public abstract class PostMimeTypeWorker extends Object
| Constructor and Description |
|---|
PostMimeTypeWorker() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
execute(String mimeType,
DataWorkerData data,
Authorizations authorizations) |
void |
executeAndCleanup(String mimeType,
DataWorkerData data,
Authorizations authorizations) |
protected Graph |
getGraph() |
protected File |
getLocalFileForRaw(Element element) |
protected User |
getUser() |
WebQueueRepository |
getWebQueueRepository() |
protected WorkQueueRepository |
getWorkQueueRepository() |
void |
prepare(DataWorkerPrepareData workerPrepareData) |
Element |
refresh(Element element,
Authorizations authorizations) |
void |
setGraph(Graph graph) |
void |
setWebQueueRepository(WebQueueRepository webQueueRepository) |
void |
setWorkQueueRepository(WorkQueueRepository workQueueRepository) |
public void prepare(DataWorkerPrepareData workerPrepareData) throws Exception
Exceptionpublic Element refresh(Element element, Authorizations authorizations)
protected abstract void execute(String mimeType, DataWorkerData data, Authorizations authorizations) throws Exception
Exceptionpublic void executeAndCleanup(String mimeType, DataWorkerData data, Authorizations authorizations) throws Exception
Exceptionprotected File getLocalFileForRaw(Element element) throws IOException
IOExceptionprotected User getUser()
@Inject public final void setGraph(Graph graph)
protected Graph getGraph()
@Inject public final void setWorkQueueRepository(WorkQueueRepository workQueueRepository)
@Inject public void setWebQueueRepository(WebQueueRepository webQueueRepository)
public WebQueueRepository getWebQueueRepository()
protected WorkQueueRepository getWorkQueueRepository()
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.