public class CleanupDynamicProcessDefinitionsStrategy extends java.lang.Object implements MaintenanceCleanupStrategy<DynamicProcessDefinitionModel,CleanupDynamicProcessDefinitionsCronJobModel>
| Constructor and Description |
|---|
CleanupDynamicProcessDefinitionsStrategy() |
| Modifier and Type | Method and Description |
|---|---|
FlexibleSearchQuery |
createFetchQuery(CleanupDynamicProcessDefinitionsCronJobModel cronJob)
Implement and return a
FlexibleSearchQuery object here which searches for the items to be removed. |
void |
process(java.util.List<DynamicProcessDefinitionModel> elements)
Based on the given
FlexibleSearchQuery of MaintenanceCleanupStrategy.createFetchQuery(CronJobModel) the job pages through
the results and with each sublist (contains the concrete instances of the items) of the large result this method
is called. |
void |
setModelService(ModelService modelService) |
public CleanupDynamicProcessDefinitionsStrategy()
public void setModelService(ModelService modelService)
public FlexibleSearchQuery createFetchQuery(CleanupDynamicProcessDefinitionsCronJobModel cronJob)
MaintenanceCleanupStrategyFlexibleSearchQuery object here which searches for the items to be removed.createFetchQuery in interface MaintenanceCleanupStrategy<DynamicProcessDefinitionModel,CleanupDynamicProcessDefinitionsCronJobModel>public void process(java.util.List<DynamicProcessDefinitionModel> elements)
MaintenanceCleanupStrategyFlexibleSearchQuery of MaintenanceCleanupStrategy.createFetchQuery(CronJobModel) the job pages through
the results and with each sublist (contains the concrete instances of the items) of the large result this method
is called. Implement here the remove logic for each item element.process in interface MaintenanceCleanupStrategy<DynamicProcessDefinitionModel,CleanupDynamicProcessDefinitionsCronJobModel>Copyright © 2018 SAP SE. All Rights Reserved.