@Named public class DefaultEnableExternalJobSchedulerIntegrationService extends Object implements EnableExternalJobSchedulerIntegrationService
This service enables external job schedulers to connect to the SAP back-end and perform the following operations on application jobs: get a list of application job templates, instantiate a job from a job template without parameters and with start condition ‘immediate start’, read the status of a job, and cancel or deschedule a job
Reference: SAP API Business Hub
OData Service: | BC_EXT_APPJOB_MANAGEMENT |
API Version: | 2 |
Communication Scenario: | External Scheduler Integration (SAP_COM_0064) |
Constructor and Description |
---|
DefaultEnableExternalJobSchedulerIntegrationService() |
Modifier and Type | Method and Description |
---|---|
JobTemplateFluentHelper |
getAllJobTemplate()
Fetch multiple
JobTemplate entities. |
JobTemplateByKeyFluentHelper |
getJobTemplateByKey(String jobTemplateName,
String jobTemplateVersion)
Fetch a single
JobTemplate entity using key fields. |
JobAbortFluentHelper |
jobAbort(String jobRunCount,
String jobName)
Creates a fluent helper for the JobAbort OData function import.
|
JobCancelFluentHelper |
jobCancel(String jobRunCount,
String jobName)
Creates a fluent helper for the JobCancel OData function import.
|
JobScheduleFluentHelper |
jobSchedule(String jobUserID,
String jobUserName,
String jobText,
String jobTemplateName,
String jobParameterValues,
Boolean testModeInd,
String jobUser)
Creates a fluent helper for the JobSchedule OData function import.
|
JobStatusGetFluentHelper |
jobStatusGet(String jobName,
String jobRunCount)
Creates a fluent helper for the JobStatusGet OData function import.
|
public DefaultEnableExternalJobSchedulerIntegrationService()
public JobTemplateFluentHelper getAllJobTemplate()
EnableExternalJobSchedulerIntegrationService
JobTemplate
entities.getAllJobTemplate
in interface EnableExternalJobSchedulerIntegrationService
JobTemplate
entities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute
method on the fluent helper object.public JobTemplateByKeyFluentHelper getJobTemplateByKey(String jobTemplateName, String jobTemplateVersion)
EnableExternalJobSchedulerIntegrationService
JobTemplate
entity using key fields.getJobTemplateByKey
in interface EnableExternalJobSchedulerIntegrationService
JobTemplate
entity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute
method on the fluent helper object.public JobScheduleFluentHelper jobSchedule(String jobUserID, String jobUserName, String jobText, String jobTemplateName, String jobParameterValues, Boolean testModeInd, String jobUser)
EnableExternalJobSchedulerIntegrationService
Creates a fluent helper for the JobSchedule OData function import.
jobSchedule
in interface EnableExternalJobSchedulerIntegrationService
jobUserID
- Constraints: Nullable, Maximum length: 40jobUserName
- Constraints: Nullable, Maximum length: 12jobText
- Constraints: Not nullable, Maximum length: 120jobTemplateName
- Constraints: Not nullable, Maximum length: 40jobParameterValues
- Constraints: NullabletestModeInd
- IndicatorConstraints: Nullable
jobUser
- Constraints: Nullable, Maximum length: 40execute
method on the fluent helper object.public JobCancelFluentHelper jobCancel(String jobRunCount, String jobName)
EnableExternalJobSchedulerIntegrationService
Creates a fluent helper for the JobCancel OData function import.
jobCancel
in interface EnableExternalJobSchedulerIntegrationService
jobRunCount
- Constraints: Not nullable, Maximum length: 14jobName
- Constraints: Not nullable, Maximum length: 32execute
method on the fluent helper object.public JobAbortFluentHelper jobAbort(String jobRunCount, String jobName)
EnableExternalJobSchedulerIntegrationService
Creates a fluent helper for the JobAbort OData function import.
jobAbort
in interface EnableExternalJobSchedulerIntegrationService
jobRunCount
- Constraints: Not nullable, Maximum length: 14jobName
- Constraints: Not nullable, Maximum length: 32execute
method on the fluent helper object.public JobStatusGetFluentHelper jobStatusGet(String jobName, String jobRunCount)
EnableExternalJobSchedulerIntegrationService
Creates a fluent helper for the JobStatusGet OData function import.
jobStatusGet
in interface EnableExternalJobSchedulerIntegrationService
jobName
- Constraints: nonejobRunCount
- Constraints: noneexecute
method on the fluent helper object.Copyright © 2017 SAP SE. All rights reserved.