public interface IGlobalObjectHelper
Modifier and Type | Method and Description |
---|---|
java.util.Collection |
findAllPropertyDefinitions(java.lang.String ownerClassName,
java.lang.String name)
Finds all property definitions (global or not) with the specified owner class and name.
|
IKnowledgeModule |
findComponentKM(IProcedureUser procUser,
IKnowledgeModule.ProcessingType direction,
java.lang.String integrationType)
Finds a KM by integration type.
|
IKnowledgeModule |
findDefaultKM(IProcedureUser procUser,
IKnowledgeModule.KMType type,
IKnowledgeModule.ProcessingType direction)
Finds a default KM by integration type.
|
java.util.List |
findGlobalPersistentObjects(java.lang.Class type,
java.lang.String key)
Finds global persistent objects with the specified key.
|
IKnowledgeModule |
findKM(IKnowledgeModule.KMType type,
java.lang.String name)
Finds a global KM by type and name.
|
java.util.List |
findMapComponentsByType(java.lang.String componentTypeName)
Finds all map components that are associated with the specified component type.
|
java.util.List |
findMatchingCheckKMs(IProcedureUser procUser)
Returns a list of all check KMs that can be assigned to the specified procedure owner object.
|
java.util.List |
findMatchingKMs(IProcedureUser procUser,
IKnowledgeModule.ProcessingType direction)
Returns a list of all KMs that can be assigned to the specified procedure owner object.
|
java.util.List |
findProperties(java.lang.Object repositoryInstanceObject,
IPropertyDefinition propDef)
Finds all properties that were created by the specified property definition.
|
IPropertyDefinition |
findPropertyDefinition(java.lang.String ownerClassName,
java.lang.String name)
Finds a global property definition with the specified owner class and name.
|
java.util.List |
getAllContexts()
Gets all global context objects in the repository.
|
java.util.List |
getAllLocations()
Gets a list of all logical schema locations available in the repository.
|
java.util.List |
getAllMappingDataTypes()
Gets all mapping data types.
|
java.util.List |
getGlobalComponentKMs()
Gets a list of all global mapping-related KMs that implement IKnowledgeModule interface.
|
java.util.List |
getGlobalKMs(IKnowledgeModule.KMType kmtype)
Gets a list of all global KMs of the specified type.
|
java.util.List |
GetGlobalSequences()
Gets a list of global sequences.
|
java.util.List |
getGlobalUserFunctions()
Gets a list of all globally defined user functions, that are not owned by a specific
project.
|
java.util.List |
getGlobalVariables()
Gets a list of global variables.
|
ILogicalSchema |
getLogicalSchema(java.lang.String name)
Gets the logical schema location by name.
|
boolean |
isMatchingKM(IProcedureUser procUser,
IKnowledgeModule km,
IKnowledgeModule.ProcessingType direction,
boolean validate)
Returns true if the specified KM is a match for the specified procedure owner.
|
java.util.List getGlobalComponentKMs() throws AdapterException
AdapterException
java.util.List getGlobalKMs(IKnowledgeModule.KMType kmtype) throws AdapterException
kmtype
- type of the KM, such as IKM, LKM, etc.AdapterException
java.util.List findMatchingKMs(IProcedureUser procUser, IKnowledgeModule.ProcessingType direction) throws AdapterException
procUser
- procedure ownerdirection
- processing type of the KM (SOURCE, TARGET, BOTH, NONE)AdapterException
boolean isMatchingKM(IProcedureUser procUser, IKnowledgeModule km, IKnowledgeModule.ProcessingType direction, boolean validate) throws AdapterException
procUser
- procedure ownerkm
- specified KM to match withvalidate
- if true, switches on stricter checking for validation. This assumes that all
the KMs have been assigned and validates the choices for generation. If false, then we will
return true for some options that may be incompatible with other KM choices, but are OK to
include on the domain list of available KMs.true
if KM is a match, false
otherwiseAdapterException
java.util.List findMatchingCheckKMs(IProcedureUser procUser) throws AdapterException
procUser
- procedure ownerAdapterException
IKnowledgeModule findKM(IKnowledgeModule.KMType type, java.lang.String name)
type
- type of the KM ("COMPONENT KM", "IKM", "LKM", etc.).
If null, then all types will be searched for a KM with a matching name.name
- name of the KM.AdapterException
IKnowledgeModule findComponentKM(IProcedureUser procUser, IKnowledgeModule.ProcessingType direction, java.lang.String integrationType) throws AdapterException
procUser
- procedure ownerdirection
- processing type of the KM (SOURCE, TARGET, BOTH, NONE)integrationType
- integration type of the KMAdapterException
IKnowledgeModule findDefaultKM(IProcedureUser procUser, IKnowledgeModule.KMType type, IKnowledgeModule.ProcessingType direction) throws AdapterException
procUser
- procedure ownertype
- type of the KM ("COMPONENT KM", "IKM", "LKM", etc.)direction
- processing type of the KM (SOURCE, TARGET, BOTH, NONE)AdapterException
java.util.List getAllContexts() throws AdapterException
AdapterException
java.util.List getAllLocations() throws AdapterException
AdapterException
ILogicalSchema getLogicalSchema(java.lang.String name) throws AdapterException
name
- specific logical schema nameAdapterException
java.util.List getGlobalUserFunctions() throws AdapterException
AdapterException
java.util.List getGlobalVariables() throws AdapterException
AdapterException
java.util.List GetGlobalSequences() throws AdapterException
AdapterException
IPropertyDefinition findPropertyDefinition(java.lang.String ownerClassName, java.lang.String name) throws AdapterException
ownerClassName
- owner class name of the global property definitionname
- name of the property definitionAdapterException
java.util.Collection findAllPropertyDefinitions(java.lang.String ownerClassName, java.lang.String name) throws AdapterException
ownerClassName
- owner class name of the property definitionname
- name of the property definitionAdapterException
java.util.List findProperties(java.lang.Object repositoryInstanceObject, IPropertyDefinition propDef) throws AdapterException
repositoryInstanceObject
- repository-specific transaction manager objectpropDef
- property definition to be matched.AdapterException
java.util.List findGlobalPersistentObjects(java.lang.Class type, java.lang.String key) throws AdapterException
type
- type of objectkey
- string key for the object, can be null.AdapterException
java.util.List findMapComponentsByType(java.lang.String componentTypeName) throws AdapterException
componentTypeName
- name of component typeAdapterException
java.util.List getAllMappingDataTypes() throws AdapterException
AdapterException