Package com._1c.g5.aef2.scenes
Interface ComponentSearch.IIdentifierHost
-
- All Known Implementing Classes:
CommonAttributeContentTreeComponent
,ConfigurationStandaloneContentComponent
,DefinitionDrivenComponent
,DocumentEditorPostingPageComponent
,DtGranularEditorPageSectionComponent
,EventHandlerCollectionComponent
,ExchangePlanContentComponent
,ExtendedTypeDescriptionComponent
,NavigatorTreeComponent
,SectionDefinitionComponent
,StandardObjectsTreeComponent
,TypeDescriptionComponent
,TypeDescriptionDialogComponent
- Enclosing class:
- ComponentSearch
public static interface ComponentSearch.IIdentifierHost
An entity capable of returning components by identifiers and providing identifiers for components.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IComponent<?>
getComponent(Object id)
Returns a component with the specified identifier ornull
if no component with such identifier is known to the host.Object
getId(IComponent<?> component)
Returns an identifier for the specified component ornull
if not applicable
-
-
-
Method Detail
-
getComponent
IComponent<?> getComponent(Object id)
Returns a component with the specified identifier ornull
if no component with such identifier is known to the host.- Parameters:
id
- the identifier- Returns:
- a component with the specified identifier or
null
if not found
-
getId
Object getId(IComponent<?> component)
Returns an identifier for the specified component ornull
if not applicable- Parameters:
component
- the component to obtain the identifier for- Returns:
- an identifier for the specified component or
null
if not applicable
-
-