public class RemoveItemsJobPerformable extends AbstractJobPerformable<RemoveItemsCronJobModel>
flexibleSearchService, modelService, sessionService| Constructor and Description |
|---|
RemoveItemsJobPerformable() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isUpdateProgressNeeded(long timestamp)
Returs true if update progress in needed
|
PerformResult |
perform(RemoveItemsCronJobModel cronJob)
The execution body for a
ServicelayerJob. |
void |
setMediaService(MediaService mediaService) |
void |
setPermissionCheckingService(PermissionCheckingService permissionCheckingService) |
clearAbortRequestedIfNeeded, isAbortable, isPerformable, setFlexibleSearchService, setModelService, setSessionServicepublic void setPermissionCheckingService(PermissionCheckingService permissionCheckingService)
public void setMediaService(MediaService mediaService)
public PerformResult perform(RemoveItemsCronJobModel cronJob)
JobPerformableServicelayerJob. Implement here your execution logic. It can be called
synchronous or asynchronous. So be aware of thread-safety. Method will return a result object saying if the
execution has reached end and if it was successful.perform in interface JobPerformable<RemoveItemsCronJobModel>perform in class AbstractJobPerformable<RemoveItemsCronJobModel>cronJob - the related CronJob in whose context the execution will be performed.PerformResult that indicates whether the execution was successfully executed
or not and has finished or not.protected boolean isUpdateProgressNeeded(long timestamp)
Copyright © 2018 SAP SE. All Rights Reserved.