Skip navigation links

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

E17060-04


oracle.odi.domain.topology.finder
Interface IOdiContextualAgentMappingFinder

All Superinterfaces:
IFinder

public interface IOdiContextualAgentMappingFinder
extends IFinder

Finder interface for OdiContextualAgentMapping instances.

Since:
11.1.1.3.0

Method Summary
 java.util.Collection<OdiContextualAgentMapping> findByContext(java.lang.String pContextCode)
          Finds all OdiContextualAgentMappings that are defined within the given context code.
 java.util.Collection<OdiContextualAgentMapping> findByLogicalAgent(java.lang.String pLogicalAgentName)
          Finds all OdiContextualAgentMappings that are defined for the given logical agent name.
 OdiContextualAgentMapping findByLogicalAgent(java.lang.String pLogicalAgentName, java.lang.String pContextCode)
          Finds an OdiContextualAgentMapping that is defined for the given context code and logical schema name.
 java.util.Collection<OdiContextualAgentMapping> findByPhysicalAgent(java.lang.Number pPhysicalAgentId)
          Finds all OdiContextualAgentMappings that are defined for the given physical agent ID.

 

Methods inherited from interface oracle.odi.domain.finder.IFinder
findAll, findById, findByIds

 

Method Detail

findByContext

java.util.Collection<OdiContextualAgentMapping> findByContext(java.lang.String pContextCode)
Finds all OdiContextualAgentMappings that are defined within the given context code.

Note that if no OdiContext exists with the given code, this method will return a collection with no elements. It will not fail.

Parameters:
pContextCode - context's code
Returns:
collection of defined OdiContextualAgentMappings

findByLogicalAgent

java.util.Collection<OdiContextualAgentMapping> findByLogicalAgent(java.lang.String pLogicalAgentName)
Finds all OdiContextualAgentMappings that are defined for the given logical agent name.

Note that if no OdiLogicalAgent exists with the given name, this method will return a collection with no elements. It will not fail.

Parameters:
pLogicalAgentName - logical agent's name
Returns:
collection of defined OdiContextualAgentMappings

findByLogicalAgent

OdiContextualAgentMapping findByLogicalAgent(java.lang.String pLogicalAgentName,
                                             java.lang.String pContextCode)
Finds an OdiContextualAgentMapping that is defined for the given context code and logical schema name. This is a convenient method to find an OdiContextualAgentMapping using context code and logical schema name, in place of true ID (i.e. contextId, logicalAgentId).

Note that if no OdiLogicalAgent exists with the given name and/or no OdiContext exists with the given code this method will return null. It will not fail.

Parameters:
pLogicalAgentName - logical agent's name
pContextCode - context's code
Returns:
OdiContextualAgentMapping instance

findByPhysicalAgent

java.util.Collection<OdiContextualAgentMapping> findByPhysicalAgent(java.lang.Number pPhysicalAgentId)
Finds all OdiContextualAgentMappings that are defined for the given physical agent ID.

Note that if no OdiPhysicalAgent exists with the given ID, this method will return a collection with no elements. It will not fail.

Parameters:
pPhysicalAgentId - physical agent's ID
Returns:
collection of defined OdiContextualAgentMappings

Skip navigation links

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

E17060-04


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