public interface IOdiContextualAgentMappingFinder extends IFinder
OdiContextualAgentMapping instances.| Modifier and Type | Method and Description |
|---|---|
java.util.Collection |
findByContext(java.lang.String pContextCode)
Finds all
OdiContextualAgentMappings that are defined within the
given context code. |
java.util.Collection |
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 |
findByPhysicalAgent(java.lang.Number pPhysicalAgentId)
Finds all
OdiContextualAgentMappings that are defined for the given
physical agent ID. |
findAll, findByGlobalId, findById, findByIds, findRepositoryEntityByIdjava.util.Collection findByContext(java.lang.String pContextCode)
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.
pContextCode - context's codeOdiContextualAgentMappingsjava.util.Collection findByLogicalAgent(java.lang.String pLogicalAgentName)
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.
pLogicalAgentName - logical agent's nameOdiContextualAgentMappingsOdiContextualAgentMapping findByLogicalAgent(java.lang.String pLogicalAgentName, java.lang.String pContextCode)
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.
pLogicalAgentName - logical agent's namepContextCode - context's codeOdiContextualAgentMapping instancejava.util.Collection findByPhysicalAgent(java.lang.Number pPhysicalAgentId)
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.
pPhysicalAgentId - physical agent's IDOdiContextualAgentMappings