Class ConfigurationStandaloneContentExchangeSettingsDialogModel
- java.lang.Object
-
- com._1c.g5.aef2.validators.Validable
-
- com._1c.g5.aef2.models.Model
-
- com._1c.g5.aef2.models.EditableModel
-
- com._1c.g5.v8.dt.md.ui.editor.aef.descriptor.configuration.ConfigurationStandaloneContentExchangeSettingsDialogModel
-
- All Implemented Interfaces:
IEditableModel
,IModel
,IValidable
public class ConfigurationStandaloneContentExchangeSettingsDialogModel extends EditableModel
Exchange settings dialog model.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ConfigurationStandaloneContentExchangeSettingsDialogModel.ExchangePlanModel
Creates exchange plan settings dialog component model.
-
Constructor Summary
Constructors Constructor Description ConfigurationStandaloneContentExchangeSettingsDialogModel(StandaloneContentDataExchangeSettings settingsWorkingCopy, IV8Project v8Project, IFilteredNavigatorContentProvider filteredNavigatorContentProvider)
Creates new model.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
commit()
Commits the changes to the data model.void
dispose()
Disposes this model.IChange
getChange()
protected IValue<Boolean>
getExchangeOnChangeDataModel()
Returns exchange on change data model.protected IValue<Integer>
getExchangePeriodModel()
Returns exchange period model.protected MdObject
getExchangePlan()
Returns exchange plan.protected ConfigurationStandaloneContentExchangeSettingsDialogModel.ExchangePlanModel
getExchangePlanModel()
Returns exchange plan model.protected IValue<Integer>
getInactiveNodesCleanupTimeoutModel()
Returns inactive nodes cleanup timeout model.protected IValue<Integer>
getTransactionCountModel()
Returns transaction count model.boolean
isOpenExchangePlanEditorAfterOk()
Returns if needs open exchange plan editor after dialog OK pressed.void
setOpenExchangePlanEditorAfterOk()
Sets if needs open exchange plan editor after dialog OK pressed.-
Methods inherited from class com._1c.g5.aef2.models.EditableModel
isEditable, setEditable
-
Methods inherited from class com._1c.g5.aef2.models.Model
addModelListener, beginExternalUpdate, checkOffline, checkOnline, createWorkingCopy, discard, endExternalUpdate, getComponent, getCurrentChangeOrigin, getRunnableQueue, isOnline, notifyModelChanged, notifyModelCommitted, removeModelListener, setComponent, setOnline, toString
-
Methods inherited from class com._1c.g5.aef2.validators.Validable
addValidator, getValidatorTarget, removeValidator, validate, validate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate, validate
-
-
-
-
Constructor Detail
-
ConfigurationStandaloneContentExchangeSettingsDialogModel
public ConfigurationStandaloneContentExchangeSettingsDialogModel(StandaloneContentDataExchangeSettings settingsWorkingCopy, IV8Project v8Project, IFilteredNavigatorContentProvider filteredNavigatorContentProvider)
Creates new model.- Parameters:
settings
- the exchange settings,cannot be null
v8Project
- the v8 project,cannot be null
filteredNavigatorContentProvider
- the filtered navigator content provider,cannot be null
-
-
Method Detail
-
commit
public void commit()
Description copied from interface:IModel
Commits the changes to the data model.
-
dispose
public void dispose()
Description copied from interface:IModel
Disposes this model.
-
getChange
public IChange getChange()
- Returns:
- change describing the modifications done to the model.
-
setOpenExchangePlanEditorAfterOk
public void setOpenExchangePlanEditorAfterOk()
Sets if needs open exchange plan editor after dialog OK pressed.
-
isOpenExchangePlanEditorAfterOk
public boolean isOpenExchangePlanEditorAfterOk()
Returns if needs open exchange plan editor after dialog OK pressed.- Returns:
true
if needs open,false
otherwise.
-
getExchangeOnChangeDataModel
protected IValue<Boolean> getExchangeOnChangeDataModel()
Returns exchange on change data model.- Returns:
- the exchange on change data model, cannot be
null
-
getExchangePeriodModel
protected IValue<Integer> getExchangePeriodModel()
Returns exchange period model.- Returns:
- the exchange period model, cannot be
null
-
getExchangePlanModel
protected ConfigurationStandaloneContentExchangeSettingsDialogModel.ExchangePlanModel getExchangePlanModel()
Returns exchange plan model.- Returns:
- the exchange plan model, cannot be
null
-
getExchangePlan
protected MdObject getExchangePlan()
Returns exchange plan.- Returns:
- the exchange plan, can be
null
-
getInactiveNodesCleanupTimeoutModel
protected IValue<Integer> getInactiveNodesCleanupTimeoutModel()
Returns inactive nodes cleanup timeout model.- Returns:
- the inactive nodes cleanup timeout model, cannot be
null
-
-