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

E17060-01

oracle.odi.domain.runtime.ess.support
Class ScheduleDefinitionRepositoryImpl

java.lang.Object
  extended by oracle.odi.domain.runtime.ess.support.ScheduleDefinitionRepositoryImpl
All Implemented Interfaces:
IScheduleDefinitionRepository

public final class ScheduleDefinitionRepositoryImpl
extends java.lang.Object
implements IScheduleDefinitionRepository

Default IScheduleDefinitionRepository implementation, storing / querying ESS metadata according connection information from provided OdiEnterpriseScheduler.

This implementation makes every methods participate in surrounding ODI transaction, if one exists, using transaction synchronization mechanism.


Constructor Summary
ScheduleDefinitionRepositoryImpl(OdiInstance pOdiInstance, OdiEnterpriseScheduler pEnterpriseScheduler)
          Constructs a SchedulingServiceImpl object.
 
Method Summary
 void addScheduleDefinition(oracle.as.scheduler.Schedule pSchedule)
          Add the given schedule instance to this repository.
 void deleteScheduleDefinition(oracle.as.scheduler.MetadataObjectId pScheduleMetadataObjectId)
          Delete the given schedule instance to this repository.
 java.util.Collection<oracle.as.scheduler.Schedule> getAllScheduleDefinitions()
          Returns all schedule definitions value.
 oracle.as.scheduler.Schedule getScheduleDefinitionForName(java.lang.String pScheduleName)
          Obtains unmodifiable schedule with the given name from this repository.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScheduleDefinitionRepositoryImpl

public ScheduleDefinitionRepositoryImpl(OdiInstance pOdiInstance,
                                        OdiEnterpriseScheduler pEnterpriseScheduler)
Constructs a SchedulingServiceImpl object.

Parameters:
pOdiInstance - an OdiInstance object
pEnterpriseScheduler - an OdiEnterpriseScheduler object
Method Detail

addScheduleDefinition

public void addScheduleDefinition(oracle.as.scheduler.Schedule pSchedule)
                           throws DuplicateScheduleDefinitionException
Description copied from interface: IScheduleDefinitionRepository
Add the given schedule instance to this repository.

Specified by:
addScheduleDefinition in interface IScheduleDefinitionRepository
Parameters:
pSchedule - ther schedule
Throws:
DuplicateScheduleDefinitionException - if a schedule with the same name already exist in this repository.

deleteScheduleDefinition

public void deleteScheduleDefinition(oracle.as.scheduler.MetadataObjectId pScheduleMetadataObjectId)
                              throws ScheduleDefinitionNotFoundException
Description copied from interface: IScheduleDefinitionRepository
Delete the given schedule instance to this repository.

Specified by:
deleteScheduleDefinition in interface IScheduleDefinitionRepository
Parameters:
pScheduleMetadataObjectId - schedule metadata object id
Throws:
ScheduleDefinitionNotFoundException - if a schedule not found in this repository.

getAllScheduleDefinitions

public java.util.Collection<oracle.as.scheduler.Schedule> getAllScheduleDefinitions()
Returns all schedule definitions value.

Specified by:
getAllScheduleDefinitions in interface IScheduleDefinitionRepository
Returns:
a Collection object representing the all schedule definitions value

getScheduleDefinitionForName

public oracle.as.scheduler.Schedule getScheduleDefinitionForName(java.lang.String pScheduleName)
                                                          throws ScheduleDefinitionNotFoundException
Description copied from interface: IScheduleDefinitionRepository
Obtains unmodifiable schedule with the given name from this repository.

Specified by:
getScheduleDefinitionForName in interface IScheduleDefinitionRepository
Parameters:
pScheduleName - a String
Returns:
a Schedule object
Throws:
ScheduleDefinitionNotFoundException - ...

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.