Package com._1c.g5.aef2.models
Interface IModel
- All Superinterfaces:
IValidable
- All Known Subinterfaces:
IAbstractMobileApplicationUrlsModel<T>,IAddInModel,IAddressingAttributeModel,IAddressingAttributesCollectionModel,IAdjustableBooleanModel,IAggregatesModel,IAllowedIncomingShareRequestTypesModel,IApplicationEditorComponentModel,IAttribute<O,,P> IBaseBmHandlerNameModel,IBmCommonAttributeDataSeparationModel,IBorderValueModel,ICharacteristicsDescriptionDataPathModel<T>,ICharacteristicsDescriptionFieldModel<T>,ICharacteristicsDescriptionModel,ICharacteristicsTableModel,IChartAxisModel,IChartColorPaletteDescriptionDetailedModel,IChartColorPaletteDescriptionModel,IChartLineModel,IChartPointModel,IChartReferenceBandGridModel,IChartReferenceBandsModelValue,IChartReferenceLineGridModel,IChartReferenceLinesModelValue,IChartScaleDetailedModel,IChartScaleModel,IChartSeriesModel,IChoiceParameterLinksModel<T,,U> IChoiceParametersModel,ICodeModel<O>,IColorModel,ICommandChooserModel,ICommonPictureContentEditModel,ICommonPictureContentGridModel,ICompoundModel,ICustomColorPaletteModel,IDefinitionModel,IDtGranularEditorManagingModel,IDynamicTableModel,IDynamicTreeModel<T>,IDynamicTreeModelWithAtribiteAndOwner<T>,IEmfAttribute<O>,IEmfListAttribute<T,,O> IEmfListSelectionModel<T,,O> IEmfMapAttribute<K,,V, O> IEmfSelectionModel<O>,IEmfTreeSelectionModel<O>,IEmfTreeToListSelectionModel<T,,O> IEmfTreeToSingleItemSelectionModel<T,,O> IEmfValueAttribute<T,,O> IEmfValueSelectionModel<T,,O> IEventSubscriptionEventsModel,IEventSubscriptionHandlerNameModel,IFontSelectionModel,IFormAttributeModel,IFormChoiceListGridModel,IFormChoiceListModel,IFormChoiceParameterLinksModel,IFormCommandSetModel,IFormConditionalAppearanceModel,IFormDataPathModel,IFormDynamicListQueryModel,IFormGroupListModel,IFormList<T>,IFormMap<K,,V> IFormMobileCommandsSetGridModel,IFormMobileCommandsSetModel,IFormPagesRepresentationModelValue,IFormTableNameModel,IFormTableNameValueModel,IFormTypeLinkModel,IFormValue<TValue,,TSelection> IGanttChartBackgroundIntervalsModel,IGanttChartSettingsModel,IGanttChartSettingsWorkingModel,IGanttChartTimeScaleLevelModel,IGaugeChartQualityBandsGridModel,IGaugeChartQualityBandsModelValue,IGeographicalCoordinatesSelectionModel,IGraphicalSchemeLineModel,IGraphicalSchemeValue<TValue,,TSelection> IGridModel<T>,IHandlerCollectionModel,IHandlerCollectionModel,IHandlerExtensionModel<T>,IHandlerModel<T>,IHandlerModel<T>,IHandlerModel,IIntervalBoundModelValue,ILabelAreaDetailedModel,ILabelAreaModel,IList<E>,IManagingModel,IMap<K,,V> IMdChoiceParameterLinksModel,IMdObjectModel,IMdPictureModel,IMdTypedObjectModel,IMdTypeLinkModel,IMobileApplicationUrlsModel,IModelApiAwareModel,IMultilanguageFormattedTextModel,IMultilanguageModel,INavigatorTreeDialogActionBarModel<T>,INullableChartLineModel,IOpenMdHelpModel,IPictureModel,IPlannerDimensionsLinkModel,IPlannerDimensionsModel,IPredefinedAccountAccountingFlagsModel,IPredefinedAccountExtDimensionTypesModel,IPredefinedAccountModel,IPredefinedAccountModel,IPredefinedAccountPartModel<T>,IPredefinedCalculationTypeCalculationBaseModel,IPredefinedCalculationTypeModel,IPredefinedCalculationTypeModel,IPredefinedCharacteristicTypeModel,IPredefinedItemModel,IRadioGroupModel<T>,IRealPiePointModelValue,IRealStockSeriesModelValue,IRequiredPermissionsModel,ISearchStringLocationModelValue,ISelectionModel,ISingleLanguageFormattedTextModel,ISingleLanguageModel,ISourceUrlModel<T>,ISpreadsheetLineModel,ISpreadSheetScrollBarUseModel,IStringKeyAndValuesModel,IStyleItemModel<T>,IStyleModel,ISuppressionSettingsLinkModel,ITimeScaleLabelSelectionModel,ITimeScaleLabelsModel,ITimeScaleLevelsLinkModel,ITimeScaleLevelsModel,ITreeModel,ITrendlineArrayGridModel,ITrendlineArrayModelValue,ITypeDescriptionDialogModel,ITypeDescriptionExtensionModel,ITypeDescriptionModel,ITypeLinkModel<T,,U> IUnsettablePropertyFieldModel<T,,O> IUsedMobileApplicationFunctionalitiesModel,IUserSettingsGroupModel,IValue<T>,IValueModel,IViewModelList<E>,IViewModelModel,IViewModelValue<T>
- All Known Implementing Classes:
AbstractBmChoiceParametersModel,AbstractDefinitionModel,AbstractDependentProjectWizard.DependentWizardModel,AbstractDtDynamicTreeModel,AbstractDtGranularEditorManagingModel,AbstractDynamicTableModel,AbstractEmfChoiceParametersModel,AbstractInfobaseApplicationEditorModel,AbstractProjectWizard.WizardModel,AbstractTypeDescriptionDialogModel,AbstractTypeDescriptionModel,AddInModel,AddressingAttributeModel,AddressingAttributesCollectionModel,AdoptedCommonAttributeContentModel,AdoptedExchangePlanContentModel,AdoptedPredefinedDataModel,AggregatesModel,ApplicationEditorComponentModel,AttributesNavigatorTreeModel,BinaryDataModel,BmAdditionSourceModel,BmAdjustableBooleanGroupModel,BmAdjustableBooleanModel,BmBorderNoneToNullValue,BmBorderValue,BmButtonDefaultModel,BmCharacteristicsDescriptionDataPathModel,BmCharacteristicsDescriptionFieldModel,BmCharacteristicsDescriptionSelectionModel,BmCharacteristicsDescriptionValueModel,BmCharacteristicsTableModel,BmChartAxisModel,BmChartColorPaletteDescriptionModel,BmChartLineModel,BmChartPointModel,BmChartReferenceBandsModelValue,BmChartReferenceLinesModelValue,BmChartScaleModelValue,BmChartSeriesModel,BmChoiceParameterLinksModel,BmCodeModel,BmColorModel,BmCommonAttributeDataSeparationModel,BmCommonModuleEnvironmentModel,BmConfigurationCompatibilityModeModel,BmConfigurationUsePurposesModel,BmDocumentButtonParameterListModel,BmDocumentJournalButtonParameterListModel,BmDocumentNumeratorValue,BmEnableContentChangeModel,BmEventSubscribtionSourceModel,BmEventSubscriptionEventsModel,BmEventSubscriptionHandlerNameModel,BmFilteringTreeToSingleItemSelectionModel,BmFontSelectionGroupModel,BmFontSelectionModel,BmFormAttributeModel,BmFormButtonDataPathModel,BmFormCheckBoxKindModelValue,BmFormChoiceListGridModel,BmFormCommandSetModel,BmFormConditionalAppearanceModel,BmFormDataPathModel,BmFormDynamicListModel,BmFormGroupListModel,BmFormItemTypeModel,BmFormMobileCommandsSetGridModel,BmFormPagesRepresentationModelValue,BmFormTableNameModel,BmFormTableNameValueModel,BmFunctionalOptionsListModel,BmGanttChartBackgroundIntervalsModel,BmGanttChartSettingsModel,BmGanttChartTimeScaleLevelModel,BmGaugeChartQualityBandsModelValue,BmGraphicalSchemeLineModel,BmHandlerModel,BmInformationRegisterWriteModeModel,BmInlineTaskValue,BmIntervalBoundModelValue,BmList,BmListAllowedIncomingShareRequestTypesModel,BmListIRequiredPermissionsModel,BmListMobileApplicationUrlsModel,BmListSelectionModel,BmListStringKeyAndValuesModel,BmMap,BmMdObjectNameModel,BmMdTypeLinkModel,BmMultilanguageFormatModel,BmMultilanguageFormattedTextModel,BmMultilanguageModel,BmNamedElementNameModel,BmNullableChartLineModel,BmOpenMdHelpModel,BmPictureModel,BmPlannerDimensionsLinkModel,BmPredefinedItemNameModel,BmRealPiePointModelValue,BmRealPointCountValue,BmRealSeriesCountValue,BmRealStockSeriesModelValue,BmSearchStringLocationModelValue,BmSkipNullValue,BmSourceUrlModel,BmSpreadsheetDataFormModel,BmStyleItemTypeModel,BmStyleModel,BmTimeScaleLabelSelectionModel,BmTimeScaleLevelsLinkModel,BmTreeToListSelectionModel,BmTreeToSingleItemSelectionModel,BmTrendlineArrayModelValue,BmTypeDescriptionModel,BmUnsettablePropertyFieldModel,BmUserSettingsGroupModel,BmValue,BmValueModel,BmValueSelectionModel,BmValueUsedMobileApplicationFunctionalitiesModel,BmVersionedValue,BmVersionedValueGroupBehavior,BorderStyleItemModel,CatalogEditorOwnersPageModel,ChangeDistributionSettingsDialogModel,ChangeUserModeDialogModel,CharacteristicsDescriptionModel,ChartColorPaletteDescriptionDetailedModel,ChartReferenceBandGridModel,ChartReferenceLineGridModel,ChartScaleDetailedModel,ColorsGroupModel,ColorStyleItemModel,CommandActionExtensionCollectionModel,CommandActionExtensionModel,CommandActionModel,CommonAttributeAutoUsePropertyStateModel,CommonAttributeContentModel,CommonAttributeDataSeparationPropertyStateModel,CommonAttributesDataModel,CommonPictureContentEditModel,CommonPictureContentGridModel,CommonPictureContentTypeModel,CompoundModel,ConfigurationStandaloneContentExchangeSettingsDialogModel,ConfigurationStandaloneContentExchangeSettingsDialogModel.ExchangePlanModel,ConfigurationStandaloneContentModel,ConfigurationWizardModel,CubeObjectsNavigatorTreeModel,DataExchangeModel,DataSeparatorSettingsModel,DcsChartReferenceBandGridModel,DcsChartReferenceLineGridModel,DefinitionModel,DistributionDistributeNavigatorTreeModel,DistributionSupportNavigatorTreeModel,DocumentEditorJournalsPageModel,DocumentEditorSequencesPageModel,DocumentRegisterRecordsModel,DtGranularEditorFunctionalOptionsMdObjectContentModel,DtGranularEditorFunctionalOptionsPageModel,DtGranularEditorGenerationBasedOnModel,DtGranularEditorGenerationBasisForModel,DtGranularEditorPageDefinitionModel,DtGranularEditorRecordersPageModel,DtGranularEditorSubsystemsPageModel,EditableModel,EmfBasedGroupValue,EmfBorderValue,EmfCharacteristicsDescriptionDataPathModel,EmfCharacteristicsDescriptionFieldModel,EmfCharacteristicsDescriptionSelectionModel,EmfCharacteristicsDescriptionValueModel,EmfChartColorPaletteDescriptionModel,EmfChartLineModel,EmfChartScaleModelValue,EmfChoiceParameterLinksModel,EmfCodeModel,EmfColorModel,EmfCustomColorPaletteModel,EmfFontSelectionModel,EmfIntervalBoundModelValue,EmfLabelAreaModelValue,EmfList,EmfListSelectionModel,EmfMap,EmfMdTypeLinkModel,EmfMoxelMultilanguageTextModel,EmfMoxelSpreadsheetLineModel,EmfMultilanguageFormattedTextModel,EmfMultilanguageModel,EmfNullableChartLineModel,EmfPictureModel,EmfSingleLanguageFormattedTextModel,EmfSingleLanguageModel,EmfStyleItemTypeModel,EmfTimeScaleLabelSelectionModel,EmfTimeScaleLevelMultilanguageModel,EmfTreeToListSelectionModel,EmfTreeToSingleItemSelectionModel,EmfTypeDescriptionModel,EmfUnsettablePropertyFieldModel,EmfValue,EmfValueModel,EmfValueSelectionModel,EmfVersionedValue,EmptyModel,EventHandlerCollectionModel,EventHandlerCollectionModel,EventHandlerExtensionCollectionModel,EventHandlerExtensionModel,EventHandlerModel,EventHandlerModel,ExchangePlanContentModel,ExtendedConfigurationObjectPropertyStateModel,ExtendedConfigurationObjectSelectionModel,ExtensionWizard.ConfigurationExtensionWizardModel,ExternalDataSourceObjectsNavigatorTreeModel,FilterCriterionEditorContentPageModel,FontStyleItemModel,FormBmChoiceListModel,FormBmChoiceParameterLinksModel,FormBmColorModel,FormBmCommandChooserModel,FormBmList,FormBmMobileCommandsSetModel,FormBmTypeLinkModel,FormBmValue,FormPropertyStateModel,FormTableNameValueGroupModel,FormWizard.FormModel,FunctionalOptionEditorContentPageModel,FunctionalOptionsListGroupModel,FunctionalOptionsParameterUseModel,GaugeChartQualityBandsGridModel,GeographicalCoordinatesSelectionModel,GraphicalSchemeCaseValue,GraphicalSchemeItemValue,HttpServicesModel,IBaseBmHandlerNameModel.BaseBmHandlerNameModel,IMultilanguageFormattedTextModel.MultilanguageFormattedTextWorkingCopy,InfobaseAccessSettingsModel,InfobaseDebugPortModel,InfobaseProxyPasswordModel,InfobasePublicationsModel,InfobaseSettingsModel,InfobaseSynchronizationSettingsModel,InfobaseTypeModel,ISingleLanguageFormattedTextModel.SingleLanguageFormattedTextWorkingCopy,LabelAreaDetailedModel,LabelAreaModel,ListModel,ListWorkingCopy,MapModel,MapWorkingCopy,MdObjectModel,MdPictureModel,MdPropertyPaletteModel,MdTypedObjectModel,MergeSupportRuleSettingsDialogModel,MobileApplicationPublicationDebugEnablementModel,Model,NavigatorTableModel,NavigatorTreeDialogActionBarBmList,NavigatorTreeDialogActionBarBmValue,NavigatorTreeDialogActionBarEmfList,NavigatorTreeDialogActionBarEmfValue,NavigatorTreeDialogModel,NavigatorTreeModel,OpenIdUseAsProviderModel,OpenIdUseAuthModel,PackageDataModel,PathTransformerValue,PlannerDimensionsModel,PojoList,PojoMap,PojoValue,PredefinedAccountAccountingFlagsModel,PredefinedAccountExtDimensionTypesModel,PredefinedAccountModel,PredefinedAccountModel,PredefinedCalculationTypeCalculationBaseModel,PredefinedCalculationTypeModel,PredefinedCalculationTypeModel,PredefinedCharacteristicTypeModel,PredefinedDataModel,PredefinedItemModel,PredefinedItemTypeDescriptionModel,PredefinedItemWizardTypeDescriptionModel,PromptConfirmationOnRestructureModel,PropertyPaletteModel,PropertyStateModel,PublicationLinkModel,ReturnToModel,SignOfUnfilledParentModel,SimpleGroupValue,SpreadSheetScrollBarUseModel,StandardObjectChoiceParameterLinksModel,StandardObjectChoiceParametersModel,StandardObjectMultilanguageModel,StandardObjectsNavigatorTreeModel,StandardObjectSwitchingSourceList,StandardObjectSwitchingSourceModel,StandardObjectSwitchingSourceValue,StandardObjectTypeLinkModel,StandardObjectValueModel,StandardObjectValueSelectionModel,StringTransformerValue,StyleItemModel,SubsystemEditorContentPageModel,SupportLanguagesDialogModel,SupportRuleSettingsDialogModel,TimeScaleLabelsModel,TimeScaleLevelsModel,TrendlineArrayGridModel,TypeDescriptionExtensionModel,TypeDescriptionModel,UnfilledParentValueModel,UsedFunctionalityFlagTreeModel,Value,ValueWorkingCopy,ViewModelList,ViewModelValue,WebServerTypeModel,WebServiceDataModel,WebServicesModel,WsDefinitionsDataModel,XdtoObjectTextRefactoringModel
Defines the AEF model contract. Models are used to create an editing
wrapper around the real data model. Models are aimed to provide:
- Isolated buffered data editing with controllable commit time.
- Abstraction of single-model and multi-model editing.
- Lightweight data model abstraction.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddModelListener(IModelListener listener) Adds the model listener.voidcommit()Commits the changes to the data model.voiddiscard()Discards the changes stored in the model buffer since lastcommit()operation.voiddispose()Disposes this model.IComponent<?>booleanisOnline()voidremoveModelListener(IModelListener listener) Removes the model listener.voidsetComponent(IComponent<?> component) Associate this model with the component.Methods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate, validate
-
Method Details
-
isOnline
boolean isOnline()- Returns:
trueif this model is online,falseotherwise.
-
commit
void commit()Commits the changes to the data model. -
discard
void discard()Discards the changes stored in the model buffer since lastcommit()operation. -
getChange
IChange getChange()- Returns:
- change describing the modifications done to the model.
-
createWorkingCopy
IModel createWorkingCopy()- Returns:
- the model working copy or
nullif working copies is not supported by the model.
-
getComponent
IComponent<?> getComponent()- Returns:
- the component associated with the model or
nullif no association established.
-
setComponent
Associate this model with the component.- Parameters:
component- the component to associate with.
-
addModelListener
Adds the model listener.- Parameters:
listener- the listener to add.
-
removeModelListener
Removes the model listener.- Parameters:
listener- the listener to remove.
-
dispose
void dispose()Disposes this model.
-