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, parentFields 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 TypeMethodDescriptionvoidaddChild(IDataSetsWrapper dataSetWrapper, boolean moved) Add child data setvoidinit()InitializevoidnotifyAddField(IDataSetWrapper childDataSetWrapper, IDataSetFieldsWrapper childFieldWrapper, IDataSetWrapper.FieldSynonym synonym, IDataSetWrapper.FieldRestriction restriction) Notify about field addedvoidNotify 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 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, setParentMethods 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, moveFieldMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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: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
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
-