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

E17060-01

oracle.odi.domain.runtime.ess
Interface IJobRequestRepository

All Known Implementing Classes:
JobRequestRepositoryImpl

public interface IJobRequestRepository

Domain repository of runtime Job requests.


Method Summary
 oracle.as.scheduler.RequestDetail getJobRequestForId(long pJobRequestId)
          Returns the request detail for id value.
 java.util.Collection<oracle.as.scheduler.RequestDetail> getJobRequestForJobDefinitionId(oracle.as.scheduler.MetadataObjectId pJobId)
          Returns the job request for job definition id value.
 void removeJobRequest(oracle.as.scheduler.RequestDetail pJobRequest)
          removes a job request.
 void setParameter(long pJobRequestId, java.lang.String pParameterName, java.lang.Object pParameter)
          Specifies the parameter value.
 

Method Detail

getJobRequestForId

oracle.as.scheduler.RequestDetail getJobRequestForId(long pJobRequestId)
                                                     throws JobRequestNotFoundException
Returns the request detail for id value.

Parameters:
pJobRequestId - a long
Returns:
request detail
Throws:
JobRequestNotFoundException - cannot find the job request

getJobRequestForJobDefinitionId

java.util.Collection<oracle.as.scheduler.RequestDetail> getJobRequestForJobDefinitionId(oracle.as.scheduler.MetadataObjectId pJobId)
Returns the job request for job definition id value.

Parameters:
pJobId - a MetadataObjectId object
Returns:
job definition

removeJobRequest

void removeJobRequest(oracle.as.scheduler.RequestDetail pJobRequest)
                      throws IllegalJobRequestStateException
removes a job request.

Parameters:
pJobRequest - job request detail
Throws:
IllegalJobRequestStateException - job request cannot be removed

setParameter

void setParameter(long pJobRequestId,
                  java.lang.String pParameterName,
                  java.lang.Object pParameter)
                  throws JobRequestNotFoundException
Specifies the parameter value.

Parameters:
pJobRequestId - job request id
pParameterName - parameter name
pParameter - parameter value
Throws:
JobRequestNotFoundException - cannot find the job request

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.