Package com._1c.g5.v8.dt.dcs.ui.datasets
Class DataSetsWrapperUnion
java.lang.Object
com._1c.g5.v8.dt.dcs.dataset.DataSetWrapperBase<T>
com._1c.g5.v8.dt.dcs.ui.datasets.DataSetsWrapperBase<DataCompositionSchemaDataSetUnion>
com._1c.g5.v8.dt.dcs.ui.datasets.DataSetsWrapperUnion
- All Implemented Interfaces:
IDataSetWrapper
,IDataSetsWrapper
Wrapper for union data set
-
Nested Class Summary
Nested classes/interfaces inherited from interface com._1c.g5.v8.dt.dcs.dataset.IDataSetWrapper
IDataSetWrapper.FieldRestriction, IDataSetWrapper.FieldSynonym
-
Field Summary
Fields inherited from class com._1c.g5.v8.dt.dcs.ui.datasets.DataSetsWrapperBase
context, dataSetsPage, parent
Fields inherited from class com._1c.g5.v8.dt.dcs.dataset.DataSetWrapperBase
dataSet, fieldsTree, fieldsWrappers, fieldsWrappersByName, isDynamicList, synonyms, useRestrictions, visibilityRestrictions
-
Constructor Summary
ConstructorsConstructorDescriptionDataSetsWrapperUnion
(DataSets dataSetsPage, DataCompositionSchemaDataSetUnion dataSet) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
addChild
(IDataSetsWrapper dataSetWrapper, boolean moved) Add child data setvoid
init()
Initializevoid
notifyAddField
(IDataSetWrapper childDataSetWrapper, IDataSetFieldsWrapper childFieldWrapper, IDataSetWrapper.FieldSynonym synonym, IDataSetWrapper.FieldRestriction restriction) Notify about field addedvoid
Notify about fields changedvoid
notifyRemoveField
(IDataSetWrapper childDataSetWrapper, IDataSetFieldsWrapper childFieldWrapper) Notify about field removedvoid
notifyRemoveFieldRestriction
(IDataSetWrapper childDataSetWrapper, IDataSetFieldsWrapper childFieldWrapper) Notify about field restriction removedvoid
notifySetFieldRestriction
(IDataSetWrapper childDataSetWrapper, IDataSetFieldsWrapper childFieldWrapper) Notify about field restriction changedvoid
removeChild
(IDataSetsWrapper dataSetsWrapper) Remove child data setMethods inherited from class com._1c.g5.v8.dt.dcs.ui.datasets.DataSetsWrapperBase
addField, copyField, getCurrentAlias, getCurrentLanguageCode, getParent, notifyParentAddField, notifyParentRemoveFieldRestriction, notifyParentSetFieldRestriction, removeField, setFieldAttrUseRestiction, setFieldName, setFieldPath, setFieldTitle, setFieldUseRestiction, setParent
Methods inherited from class com._1c.g5.v8.dt.dcs.dataset.DataSetWrapperBase
addFieldWrapper, createFieldWrapper, createPath, fillDataSetFields, fillFieldsWrappers, getAncestorField, getChildFields, getField, getFieldName, getFieldParentPath, getFieldPath, getFieldsWrappers, getFieldSynonym, getFieldUseRestriction, getFieldVisibilityRestriction, moveField
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com._1c.g5.v8.dt.dcs.dataset.IDataSetWrapper
createPath, getAncestorField, getChildFields, getField, getFieldName, getFieldParentPath, getFieldPath, getFieldsWrappers, getFieldSynonym, getFieldUseRestriction, getFieldVisibilityRestriction, moveField
-
Constructor Details
-
DataSetsWrapperUnion
Constructor- Parameters:
dataSetsPage
- data sets page, can't be nulldataSet
- data set, can't be null
-
-
Method Details
-
init
public void init()Description copied from interface:IDataSetWrapper
Initialize- Specified by:
init
in interfaceIDataSetWrapper
- Overrides:
init
in classDataSetWrapperBase<DataCompositionSchemaDataSetUnion>
-
notifyAddField
public void notifyAddField(IDataSetWrapper childDataSetWrapper, IDataSetFieldsWrapper childFieldWrapper, IDataSetWrapper.FieldSynonym synonym, IDataSetWrapper.FieldRestriction restriction) Notify about field added- Parameters:
childDataSetWrapper
- notifier child data set, can't be nullchildFieldWrapper
- field wrapper, can't be nullsynonym
- field synonym, can't be nullrestriction
- field restriction, can't be null
-
notifyRemoveField
public void notifyRemoveField(IDataSetWrapper childDataSetWrapper, IDataSetFieldsWrapper childFieldWrapper) Notify about field removed- Parameters:
childDataSetWrapper
- notifier child data set, can't be nullchildFieldWrapper
- field wrapper, can't be null
-
notifySetFieldRestriction
public void notifySetFieldRestriction(IDataSetWrapper childDataSetWrapper, IDataSetFieldsWrapper childFieldWrapper) Notify about field restriction changed- Parameters:
childDataSetWrapper
- notifier child data set, can't be nullchildFieldWrapper
- field wrapper, can't be null
-
notifyRemoveFieldRestriction
public void notifyRemoveFieldRestriction(IDataSetWrapper childDataSetWrapper, IDataSetFieldsWrapper childFieldWrapper) Notify about field restriction removed- Parameters:
childDataSetWrapper
- notifier child data set, can't be nullchildFieldWrapper
- field wrapper, can't be null
-
notifyChangeFields
public void notifyChangeFields()Notify about fields changed -
addChild
Add child data set- Parameters:
dataSetWrapper
- child data set wrapper, can't be nullmoved
- whether data set moved
-
removeChild
Remove child data set- Parameters:
dataSetsWrapper
- child data set wrapper, can't be null
-