Package com._1c.g5.aef2.models
Interface IModel
-
- All Superinterfaces:
IValidable
- All Known Subinterfaces:
IAbstractMobileApplicationUrlsModel<T>
,IAddInModel
,IAddressingAttributeModel
,IAddressingAttributesCollectionModel
,IAdjustableBooleanModel
,IAttribute<O,P>
,IBaseBmHandlerNameModel
,IBmCommonAttributeDataSeparationModel
,IBorderValueModel
,ICharacteristicsDescriptionDataPathModel<T>
,ICharacteristicsDescriptionFieldModel<T>
,ICharacteristicsDescriptionModel
,IChartAxisModel
,IChartColorPaletteDescriptionDetailedModel
,IChartColorPaletteDescriptionModel
,IChartReferenceBandGridModel
,IChartReferenceLineGridModel
,IChartScaleDetailedModel
,IChartScaleModel
,IChoiceParameterLinksModel<T,U>
,IChoiceParametersModel
,ICodeModel<O>
,IColorModel
,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
,com._1c.g5.v8.dt.form.internal.ui.properties.models.IFormValue<TValue,TSelection>
,IGraphicalSchemeLineModel
,IGraphicalSchemeValue<TValue,TSelection>
,IGridModel<T>
,IHandlerCollectionModel
,IHandlerCollectionModel
,IHandlerModel<T>
,IHandlerModel<T>
,IHandlerModel
,IIntervalBoundModelValue
,IList<E>
,IManagingModel
,IMap<K,V>
,IMdChoiceParameterLinksModel
,IMdObjectModel
,IMdPictureModel
,IMdTypedObjectModel
,IMdTypeLinkModel
,IMobileApplicationUrlsModel
,IModelApiAwareModel
,IMultilanguageFormattedTextModel
,IMultilanguageModel
,INavigatorTreeDialogActionBarModel<T>
,IOpenMdHelpModel
,IPictureModel
,IPredefinedAccountModel
,IPredefinedCalculationTypeModel
,IPredefinedCharacteristicTypeModel
,IPredefinedItemModel
,IRadioGroupModel<T>
,IRequiredPermissionsModel
,ISelectionModel
,ISingleLanguageFormattedTextModel
,ISingleLanguageModel
,ISourceUrlModel<T>
,ITimeScaleLevelsLinkModel
,ITreeModel
,ITrendlineArrayGridModel
,ITypeDescriptionDialogModel
,ITypeDescriptionExtensionModel
,ITypeDescriptionModel
,ITypeLinkModel<T,U>
,IUnsettablePropertyFieldModel<T,O>
,IUsedMobileApplicationFunctionalitiesModel
,IValue<T>
,IValueModel
,IViewModelList<E>
,IViewModelModel
,IViewModelValue<T>
- All Known Implementing Classes:
AbstractBmChoiceParametersModel
,AbstractDefinitionModel
,AbstractDependentProjectWizard.DependentWizardModel
,AbstractDtDynamicTreeModel
,AbstractDtGranularEditorManagingModel
,AbstractEmfChoiceParametersModel
,AbstractProjectWizard.WizardModel
,AbstractTypeDescriptionDialogModel
,AbstractTypeDescriptionModel
,AddInModel
,AddressingAttributeModel
,AddressingAttributesCollectionModel
,AttributesNavigatorTreeModel
,BmAdjustableBooleanModel
,BmBorderNoneToNullValue
,BmBorderValue
,BmCharacteristicsDescriptionDataPathModel
,BmCharacteristicsDescriptionFieldModel
,BmCharacteristicsDescriptionSelectionModel
,BmCharacteristicsDescriptionValueModel
,BmChoiceParameterLinksModel
,BmCodeModel
,BmColorModel
,BmCommonAttributeDataSeparationModel
,BmCommonModuleEnvironmentModel
,BmConfigurationCompatibilityModeModel
,BmConfigurationUsePurposesModel
,BmDocumentNumeratorValue
,BmEventSubscribtionSourceModel
,BmEventSubscriptionEventsModel
,BmEventSubscriptionHandlerNameModel
,BmFilteringTreeToSingleItemSelectionModel
,BmFontSelectionModel
,BmGraphicalSchemeLineModel
,BmHandlerModel
,BmInformationRegisterWriteModeModel
,BmInlineTaskValue
,BmList
,BmListIRequiredPermissionsModel
,BmListMobileApplicationUrlsModel
,BmListSelectionModel
,BmMap
,BmMdObjectNameModel
,BmMdTypeLinkModel
,BmMultilanguageFormatModel
,BmMultilanguageFormattedTextModel
,BmMultilanguageModel
,BmOpenMdHelpModel
,BmPictureModel
,BmPredefinedItemNameModel
,BmSkipNullValue
,BmStyleItemTypeModel
,BmTimeScaleLevelsLinkModel
,BmTreeToListSelectionModel
,BmTreeToSingleItemSelectionModel
,BmTypeDescriptionModel
,BmUnsettablePropertyFieldModel
,BmValue
,BmValueModel
,BmValueSelectionModel
,BmValueUsedMobileApplicationFunctionalitiesModel
,BmVersionedValue
,CharacteristicsDescriptionModel
,ChartColorPaletteDescriptionDetailedModel
,ChartScaleDetailedModel
,CommandActionModel
,CommonAttributeAutoUsePropertyStateModel
,CommonAttributeContentModel
,CommonAttributeDataSeparationPropertyStateModel
,CommonPictureContentEditModel
,CommonPictureContentGridModel
,CompoundModel
,ConfigurationStandaloneContentExchangeSettingsDialogModel
,ConfigurationStandaloneContentExchangeSettingsDialogModel.ExchangePlanModel
,ConfigurationStandaloneContentModel
,ConfigurationWizardModel
,CubeObjectsNavigatorTreeModel
,DataExchangeModel
,DcsChartReferenceBandGridModel
,DcsChartReferenceLineGridModel
,DefinitionModel
,DtGranularEditorPageDefinitionModel
,EditableModel
,EmfBorderValue
,EmfCharacteristicsDescriptionDataPathModel
,EmfCharacteristicsDescriptionFieldModel
,EmfCharacteristicsDescriptionSelectionModel
,EmfCharacteristicsDescriptionValueModel
,EmfChartColorPaletteDescriptionModel
,EmfChartLineModel
,EmfChartScaleModelValue
,EmfChoiceParameterLinksModel
,EmfCodeModel
,EmfColorModel
,EmfCustomColorPaletteModel
,EmfFontSelectionModel
,EmfIntervalBoundModelValue
,EmfLabelAreaModelValue
,EmfList
,EmfListSelectionModel
,EmfMap
,EmfMdTypeLinkModel
,EmfMultilanguageFormattedTextModel
,EmfMultilanguageModel
,EmfPictureModel
,EmfSingleLanguageFormattedTextModel
,EmfSingleLanguageModel
,EmfStyleItemTypeModel
,EmfTreeToListSelectionModel
,EmfTreeToSingleItemSelectionModel
,EmfTypeDescriptionModel
,EmfUnsettablePropertyFieldModel
,EmfValue
,EmfValueModel
,EmfValueSelectionModel
,EmfVersionedValue
,EmptyModel
,EventHandlerCollectionModel
,EventHandlerCollectionModel
,EventHandlerModel
,EventHandlerModel
,ExchangePlanContentModel
,ExtendedConfigurationObjectPropertyStateModel
,ExtendedConfigurationObjectSelectionModel
,ExternalDataSourceObjectsNavigatorTreeModel
,FormPropertyStateModel
,FormWizard.FormModel
,GraphicalSchemeCaseValue
,GraphicalSchemeItemValue
,IBaseBmHandlerNameModel.BaseBmHandlerNameModel
,IMultilanguageFormattedTextModel.MultilanguageFormattedTextWorkingCopy
,ISingleLanguageFormattedTextModel.SingleLanguageFormattedTextWorkingCopy
,ListModel
,ListWorkingCopy
,MapModel
,MapWorkingCopy
,MdObjectModel
,MdPictureModel
,MdPropertyPaletteModel
,MdTypedObjectModel
,Model
,NavigatorTableModel
,NavigatorTreeDialogActionBarBmList
,NavigatorTreeDialogActionBarBmValue
,NavigatorTreeDialogActionBarEmfList
,NavigatorTreeDialogActionBarEmfValue
,NavigatorTreeDialogModel
,NavigatorTreeModel
,PackageDataModel
,PojoList
,PojoMap
,PojoValue
,PredefinedAccountModel
,PredefinedCalculationTypeModel
,PredefinedCharacteristicTypeModel
,PredefinedDataModel
,PredefinedItemModel
,PredefinedItemTypeDescriptionModel
,PredefinedItemWizardTypeDescriptionModel
,PropertyPaletteModel
,PropertyStateModel
,SimpleGroupValue
,StandardObjectChoiceParameterLinksModel
,StandardObjectChoiceParametersModel
,StandardObjectMultilanguageModel
,StandardObjectsNavigatorTreeModel
,StandardObjectSwitchingSourceList
,StandardObjectSwitchingSourceModel
,StandardObjectSwitchingSourceValue
,StandardObjectTypeLinkModel
,StandardObjectValueModel
,StandardObjectValueSelectionModel
,TrendlineArrayGridModel
,TypeDescriptionModel
,UnfilledParentValueModel
,Value
,ValueWorkingCopy
,ViewModelList
,ViewModelValue
public interface IModel extends IValidable
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addModelListener(IModelListener listener)
Adds the model listener.void
commit()
Commits the changes to the data model.IModel
createWorkingCopy()
void
discard()
Discards the changes stored in the model buffer since lastcommit()
operation.void
dispose()
Disposes this model.IChange
getChange()
IComponent<?>
getComponent()
boolean
isOnline()
void
removeModelListener(IModelListener listener)
Removes the model listener.void
setComponent(IComponent<?> component)
Associate this model with the component.-
Methods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate, validate
-
-
-
-
Method Detail
-
isOnline
boolean isOnline()
- Returns:
true
if this model is online,false
otherwise.
-
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
null
if working copies is not supported by the model.
-
getComponent
IComponent<?> getComponent()
- Returns:
- the component associated with the model or
null
if no association established.
-
setComponent
void setComponent(IComponent<?> component)
Associate this model with the component.- Parameters:
component
- the component to associate with.
-
addModelListener
void addModelListener(IModelListener listener)
Adds the model listener.- Parameters:
listener
- the listener to add.
-
removeModelListener
void removeModelListener(IModelListener listener)
Removes the model listener.- Parameters:
listener
- the listener to remove.
-
dispose
void dispose()
Disposes this model.
-
-