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
public class DataSetsWrapperUnion extends DataSetsWrapperBase<DataCompositionSchemaDataSetUnion>
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, restrictions, synonyms
-
-
Constructor Summary
Constructors Constructor Description DataSetsWrapperUnion(DataSets dataSetsPage, DataCompositionSchemaDataSetUnion dataSet)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChild(IDataSetsWrapper dataSetWrapper, boolean moved)Add child data setvoidinit()InitializevoidnotifyAddField(IDataSetWrapper childDataSetWrapper, IDataSetFieldsWrapper childFieldWrapper, IDataSetWrapper.FieldSynonym synonym, IDataSetWrapper.FieldRestriction restriction)Notify about field addedvoidnotifyChangeFields()Notify about fields changedvoidnotifyRemoveField(IDataSetWrapper childDataSetWrapper, IDataSetFieldsWrapper childFieldWrapper)Notify about field removedvoidnotifyRemoveFieldRestriction(IDataSetWrapper childDataSetWrapper, IDataSetFieldsWrapper childFieldWrapper)Notify about field restriction removedvoidnotifySetFieldRestriction(IDataSetWrapper childDataSetWrapper, IDataSetFieldsWrapper childFieldWrapper)Notify about field restriction changedvoidremoveChild(IDataSetsWrapper dataSetsWrapper)Remove child data set-
Methods 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, getFieldRestriction, getFieldsWrappers, getFieldSynonym, 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, getFieldRestriction, getFieldsWrappers, getFieldSynonym, moveField
-
-
-
-
Constructor Detail
-
DataSetsWrapperUnion
public DataSetsWrapperUnion(DataSets dataSetsPage, DataCompositionSchemaDataSetUnion dataSet)
Constructor- Parameters:
dataSetsPage- data sets page, can't be nulldataSet- data set, can't be null
-
-
Method Detail
-
init
public void init()
Description copied from interface:IDataSetWrapperInitialize- Specified by:
initin interfaceIDataSetWrapper- Overrides:
initin 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
public void addChild(IDataSetsWrapper dataSetWrapper, boolean moved)
Add child data set- Parameters:
dataSetWrapper- child data set wrapper, can't be nullmoved- whether data set moved
-
removeChild
public void removeChild(IDataSetsWrapper dataSetsWrapper)
Remove child data set- Parameters:
dataSetsWrapper- child data set wrapper, can't be null
-
-