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

E17060-01

oracle.odi.domain.project.finder
Interface IOdiKMFinder<KMType extends OdiKM<?>>

All Superinterfaces:
IFinder
All Known Subinterfaces:
IOdiCKMFinder, IOdiIKMFinder, IOdiJKMFinder, IOdiLKMFinder, IOdiRKMFinder

public interface IOdiKMFinder<KMType extends OdiKM<?>>
extends IFinder

Root finder interface for Knowledge Modules.

IOdiKMFinder interface is the root finder interface for KMs and provides methods to get KMs from design time repository according to some different kind of criteria, commons to every KM types. Therefore, IOdiKMFinder provides a method to get KMs that are defined as default KM for their pair of technology (source and target).

Since:
11.1.1.3.0

Method Summary
 java.util.Collection<KMType> findByDefaultTechnologiesPair(java.lang.String pProjectCode, java.lang.String pSourceTechnologyCode, java.lang.String pTargetTechnologyCode)
          Find from design time repository and given ODI Project, an unmodifiable collection of OdiKMs that have the following default source and target technologies.
 java.util.Collection<KMType> findByName(java.lang.String pName)
          Find the OdiKMs matching the specified name.
 java.util.Collection<KMType> findByName(java.lang.String pName, java.lang.String pProjectCode)
          Return OdiKMs matching the specified name present in the specified project.
 java.util.Collection<KMType> findByProject(java.lang.String pProjectCode)
          Get all OdiKMs of this type in the given project.
 
Methods inherited from interface oracle.odi.domain.finder.IFinder
findAll, findById, findByIds
 

Method Detail

findByDefaultTechnologiesPair

java.util.Collection<KMType> findByDefaultTechnologiesPair(java.lang.String pProjectCode,
                                                           java.lang.String pSourceTechnologyCode,
                                                           java.lang.String pTargetTechnologyCode)
Find from design time repository and given ODI Project, an unmodifiable collection of OdiKMs that have the following default source and target technologies. Note that source and target technologies can be null (as supported by KMs).

Parameters:
pProjectCode - Code of project
pSourceTechnologyCode - Technology cod of source
pTargetTechnologyCode - Technology code of target
Returns:
Collection of KMs
Throws:
java.lang.IllegalArgumentException - if projectCode is null or empty.

findByName

java.util.Collection<KMType> findByName(java.lang.String pName)
Find the OdiKMs matching the specified name.

Parameters:
pName - Name of KM
Returns:
Collection of KMs
Throws:
java.lang.IllegalArgumentException - if pName is null or empty.

findByName

java.util.Collection<KMType> findByName(java.lang.String pName,
                                        java.lang.String pProjectCode)
Return OdiKMs matching the specified name present in the specified project.

Parameters:
pName - Name of KM
pProjectCode - Code of project
Returns:
Collection of KMs
Throws:
java.lang.IllegalArgumentException - if pName or pProjectCode is null or empty.

findByProject

java.util.Collection<KMType> findByProject(java.lang.String pProjectCode)
Get all OdiKMs of this type in the given project.

Parameters:
pProjectCode - Code of project
Returns:
Collection of KMs

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.