Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.3.0)

E17060-01

oracle.odi.domain.runtime.ess
Interface ISchedulingService

All Known Implementing Classes:
SchedulingServiceImpl

public interface ISchedulingService

Scheduling domain service related to ESS runtime.

Allow for job request submission and job request cancellation.


Method Summary
 void cancelJobRequest(long pRequestId, boolean pDeleteRequest)
          Submit an cancel an ESS Job.
 long submitJobRequest(oracle.as.scheduler.MetadataObjectId pJobDefinitionId, oracle.as.scheduler.MetadataObjectId pScheduleId, java.util.Calendar pStart, java.util.Calendar pEnd)
          Submit an ESS Job for execution.
 long submitJobRequest(oracle.as.scheduler.MetadataObjectId pJobDefinitionId, oracle.as.scheduler.MetadataObjectId pScheduleId, java.util.Calendar pStart, java.util.Calendar pEnd, java.lang.String pLogicalAgentName, java.lang.String pContextCode, java.lang.String pWorkRepositoryName, java.lang.String pLogLevel, StartupParameters pVariables)
          Submit an ESS Job for execution.
 

Method Detail

cancelJobRequest

void cancelJobRequest(long pRequestId,
                      boolean pDeleteRequest)
                      throws JobRequestCancellationException
Submit an cancel an ESS Job.

Parameters:
pRequestId - the ESS requestId
pDeleteRequest - pDeleteRequest
Throws:
JobRequestCancellationException - for any problem cancelling the job

submitJobRequest

long submitJobRequest(oracle.as.scheduler.MetadataObjectId pJobDefinitionId,
                      oracle.as.scheduler.MetadataObjectId pScheduleId,
                      java.util.Calendar pStart,
                      java.util.Calendar pEnd)
                      throws JobRequestSubmissionException
Submit an ESS Job for execution.

Parameters:
pJobDefinitionId - the ESS job name
pScheduleId - the ODI scenario to be executed
pStart - time to start the schedule
pEnd - time to end the schedule
Returns:
ess job id
Throws:
JobRequestSubmissionException - for any problem submitting the job
See Also:
#submitJobRequest(pJobDefinitionId, pScheduleId, pStart, pEnd, pLogicalAgentName, pContextCode, pWorkRepositoryName, pLogLevel, pVariables)

submitJobRequest

long submitJobRequest(oracle.as.scheduler.MetadataObjectId pJobDefinitionId,
                      oracle.as.scheduler.MetadataObjectId pScheduleId,
                      java.util.Calendar pStart,
                      java.util.Calendar pEnd,
                      java.lang.String pLogicalAgentName,
                      java.lang.String pContextCode,
                      java.lang.String pWorkRepositoryName,
                      java.lang.String pLogLevel,
                      StartupParameters pVariables)
                      throws JobRequestSubmissionException
Submit an ESS Job for execution.

Parameters:
pJobDefinitionId - the ESS jobDefinitionId
pScheduleId - the ESS scheduleId
pStart - time to start the schedule
pEnd - time to end the schedule
pLogicalAgentName - the ESS job name. If set, context code must also be set. Ignored if null
pContextCode - the ODI context code. Ignored if null
pWorkRepositoryName - work repository name. Ignored if null
pLogLevel - logging level. Ignored if null
pVariables - startup variables. Ignored if null
Returns:
ess requestId
Throws:
JobRequestSubmissionException - for any problem submitting the job

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.3.0)

E17060-01

Copyright © 2010, Oracle and/or its affiliates. All rights reserved.