public class GenerateOrgUnitPathsJob extends AbstractJobPerformable<CronJobModel>
JobPerformable that generates path values for all OrgUnit instances in the system.flexibleSearchService, modelService, sessionService| Constructor and Description |
|---|
GenerateOrgUnitPathsJob(java.lang.Class<? extends OrgUnitModel> type)
Constructor setting the type to generate unit paths for
|
| Modifier and Type | Method and Description |
|---|---|
protected ConfigurationService |
getConfigurationService() |
protected OrgUnitHierarchyService |
getOrgUnitHierarchyService() |
PerformResult |
perform(CronJobModel cronJob)
The execution body for a
ServicelayerJob. |
void |
setConfigurationService(ConfigurationService configurationService) |
void |
setOrgUnitHierarchyService(OrgUnitHierarchyService orgUnitHierarchyService) |
clearAbortRequestedIfNeeded, isAbortable, isPerformable, setFlexibleSearchService, setModelService, setSessionServicepublic GenerateOrgUnitPathsJob(java.lang.Class<? extends OrgUnitModel> type)
type - the type to generate path values forpublic PerformResult perform(CronJobModel 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<CronJobModel>perform in class AbstractJobPerformable<CronJobModel>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 OrgUnitHierarchyService getOrgUnitHierarchyService()
public void setOrgUnitHierarchyService(OrgUnitHierarchyService orgUnitHierarchyService)
protected ConfigurationService getConfigurationService()
public void setConfigurationService(ConfigurationService configurationService)
Copyright © 2018 SAP SE. All Rights Reserved.