Package com._1c.g5.v8.dt.dcs.settings
Class DcsAvailableSettingsSourceDataSetInfoBase
java.lang.Object
com._1c.g5.v8.dt.dcs.settings.DcsAvailableSettingsSourceDataSetInfoBase
- All Implemented Interfaces:
IDcsAvailableSettingsSourceDataSetInfo
- Direct Known Subclasses:
DcsAvailableSettingsSourceDataSetInfoQueryObjectBase,DcsAvailableSettingsSourceDataSetInfoUnion
public class DcsAvailableSettingsSourceDataSetInfoBase
extends Object
implements IDcsAvailableSettingsSourceDataSetInfo
Базовый класс поставщика информации о наборе данных для настроек
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map<DcsAvailableSettingsSourceForSchema.FieldUse,DcsAvailableSettingsSourceForSchema.BuildedFieldsForDataPath> protected Map<DcsAvailableSettingsSourceForSchema.FieldUse,DcsAvailableSettingsSourceForSchema.CalcedChildBuildedFields> protected Map<DcsAvailableSettingsSourceForSchema.FieldUse,DcsAvailableSettingsSourceForSchema.InternationalDataPaths> protected Map<DcsAvailableSettingsSourceForSchema.FieldUse,DcsAvailableSettingsSourceForSchema.InternationalDataPaths> protected booleanprotected booleanprotected DataSetprotected Map<DcsAvailableSettingsSourceForSchema.FieldUse,Set<DcsPath>> protected final SettingsContextprotected DcsAvailableSettingsSourceForSchemaprotected booleanprotected Map<DcsAvailableSettingsSourceForSchema.FieldUse,Set<DcsPath>> -
Constructor Summary
ConstructorsConstructorDescriptionDcsAvailableSettingsSourceDataSetInfoBase(SettingsContext settingsContext) Constructs an instance -
Method Summary
Modifier and TypeMethodDescriptiondataSet()Получить набор данныхprotected voidfillBuildedFields(DcsAvailableSettingsSourceForSchema.FieldUse use, DcsPath parentFieldPathUnk) voidПринудительное запоминание полей схем данных, которые могут быть родительскими полямиvoidgetAvailableParameters(DcsAvailableSettingsSourceForSchema.DCSDataSetInfoAvailableParameterInfos availableParameters) Получить набор доступных параметровvoidgetAvailableUserFields(DcsAvailableSettingsSourceForSchema.FieldUse use, DcsPath dataPathUnk, DcsAvailableSettingsSourceForSchema.ASSDCSDataSetInfoAvailableFieldInfos availableFields) Получить набор доступных полейprotected voidgetDataSetAvailableUserFields(DcsAvailableSettingsSourceForSchema.FieldUse use, DcsPath dataPath, DcsAvailableSettingsSourceForSchema.ASSDCSDataSetInfoAvailableFieldInfos availableFields) protected booleangetFieldInfo(DcsAvailableSettingsSourceForSchema.FieldUse use, DcsPath fieldPathUnk, DcsAvailableSettingsSourceForSchema.ASSDCSDataSetInfoAvailableFieldInfo fieldInfo) protected DcsPathgetInternationalDataPath(DcsAvailableSettingsSourceForSchema.FieldUse use, DcsPath fieldPath, int alias) voidПолучить набор путей полей не первого уровняvoidinit(IV8Project v8project, String langCode, DataSet dataSet, DcsAvailableSettingsSourceForSchema settingsSource, Map<DcsPath, String> fieldTitles, boolean validate) InitializebooleanПолучить признак иерархичности набора данныхprotected voidprotected booleanmakeAvailableFieldInfo(DcsAvailableSettingsSourceForSchema.FieldUse use, DcsAvailableSettingsSourceForSchema.ASSDCSDataSetInfoAvailableFieldInfo info, DcsAvailableSettingsSourceForSchema.BuildedFields buildedFields, DcsAvailableSettingsSourceForSchema.ASSDCSDataSetInfoAvailableFieldInfo parentFieldInfo) protected voidmakeAvailableFieldInfoTitle(DcsAvailableSettingsSourceForSchema.FieldUse use, DcsAvailableSettingsSourceForSchema.ASSDCSDataSetInfoAvailableFieldInfo info, DcsAvailableSettingsSourceForSchema.BuildedFields buildedFields, DcsAvailableSettingsSourceForSchema.ASSDCSDataSetInfoAvailableFieldInfo parentFieldInfo) voidsetIsUpHierarchy(boolean upHierarchy) Установить признак иерархичности набора данныхstatic booleanshouldRemovePasswordFields(IV8Project v8project) Checks whether we should remove fields with password mode or not.
-
Field Details
-
schemeDataSet
-
calcedBuildedFields
protected Map<DcsAvailableSettingsSourceForSchema.FieldUse,DcsAvailableSettingsSourceForSchema.CalcedChildBuildedFields> calcedBuildedFields -
buildedFieldsForDataPaths
protected Map<DcsAvailableSettingsSourceForSchema.FieldUse,DcsAvailableSettingsSourceForSchema.BuildedFieldsForDataPath> buildedFieldsForDataPaths -
internationalDataPathsEn
protected Map<DcsAvailableSettingsSourceForSchema.FieldUse,DcsAvailableSettingsSourceForSchema.InternationalDataPaths> internationalDataPathsEn -
internationalDataPathsRu
protected Map<DcsAvailableSettingsSourceForSchema.FieldUse,DcsAvailableSettingsSourceForSchema.InternationalDataPaths> internationalDataPathsRu -
schemeNotFirstLevelFields
-
settingsSource
-
needAddParentTitle
protected boolean needAddParentTitle -
usedParents
-
fieldTitles
-
upHierarchy
protected boolean upHierarchy -
removePasswordFields
protected boolean removePasswordFields -
settingsContext
-
-
Constructor Details
-
DcsAvailableSettingsSourceDataSetInfoBase
Constructs an instance- Parameters:
settingsContext- The combined settings context. May not benull
-
-
Method Details
-
init
public void init(IV8Project v8project, String langCode, DataSet dataSet, DcsAvailableSettingsSourceForSchema settingsSource, Map<DcsPath, String> fieldTitles, boolean validate) throws DcsAvailableSettingsSourceExceptionDescription copied from interface:IDcsAvailableSettingsSourceDataSetInfoInitialize- Specified by:
initin interfaceIDcsAvailableSettingsSourceDataSetInfo- Parameters:
v8project- the V8 project, can't be nulllangCode- current language code, can't be nulldataSet- data set, can't be nullsettingsSource- settings source, can't be nullfieldTitles- titles of fields, can't be nullvalidate- whether need validate- Throws:
DcsAvailableSettingsSourceException
-
getAvailableUserFields
public void getAvailableUserFields(DcsAvailableSettingsSourceForSchema.FieldUse use, DcsPath dataPathUnk, DcsAvailableSettingsSourceForSchema.ASSDCSDataSetInfoAvailableFieldInfos availableFields) throws DcsAvailableSettingsSourceException Description copied from interface:IDcsAvailableSettingsSourceDataSetInfoПолучить набор доступных полей- Specified by:
getAvailableUserFieldsin interfaceIDcsAvailableSettingsSourceDataSetInfo- Parameters:
use- использованиеdataPathUnk- путь родителяavailableFields- доступные поля- Throws:
DcsAvailableSettingsSourceException
-
getAvailableParameters
public void getAvailableParameters(DcsAvailableSettingsSourceForSchema.DCSDataSetInfoAvailableParameterInfos availableParameters) Description copied from interface:IDcsAvailableSettingsSourceDataSetInfoПолучить набор доступных параметров- Specified by:
getAvailableParametersin interfaceIDcsAvailableSettingsSourceDataSetInfo- Parameters:
availableParameters- доступные параметры
-
isUpHierarchy
public boolean isUpHierarchy()Description copied from interface:IDcsAvailableSettingsSourceDataSetInfoПолучить признак иерархичности набора данных- Specified by:
isUpHierarchyin interfaceIDcsAvailableSettingsSourceDataSetInfo- Returns:
- признак
-
setIsUpHierarchy
public void setIsUpHierarchy(boolean upHierarchy) Description copied from interface:IDcsAvailableSettingsSourceDataSetInfoУстановить признак иерархичности набора данных- Specified by:
setIsUpHierarchyin interfaceIDcsAvailableSettingsSourceDataSetInfo- Parameters:
upHierarchy- признак
-
dataSet
Description copied from interface:IDcsAvailableSettingsSourceDataSetInfoПолучить набор данных- Specified by:
dataSetin interfaceIDcsAvailableSettingsSourceDataSetInfo- Returns:
- набор данных
-
getSchemaNotFirstLevelFields
public void getSchemaNotFirstLevelFields(DcsAvailableSettingsSourceForSchema.FieldUse use, Set<DcsPath> paths) Description copied from interface:IDcsAvailableSettingsSourceDataSetInfoПолучить набор путей полей не первого уровня- Specified by:
getSchemaNotFirstLevelFieldsin interfaceIDcsAvailableSettingsSourceDataSetInfo- Parameters:
use- использованиеpaths- пути
-
forceLoadUsedParents
Description copied from interface:IDcsAvailableSettingsSourceDataSetInfoПринудительное запоминание полей схем данных, которые могут быть родительскими полями- Specified by:
forceLoadUsedParentsin interfaceIDcsAvailableSettingsSourceDataSetInfo- Throws:
DcsAvailableSettingsSourceException- если не удалось загрузить информацию о родительских полях
-
getInternationalDataPath
protected DcsPath getInternationalDataPath(DcsAvailableSettingsSourceForSchema.FieldUse use, DcsPath fieldPath, int alias) throws DcsPathException, DcsAvailableSettingsSourceException -
getFieldInfo
protected boolean getFieldInfo(DcsAvailableSettingsSourceForSchema.FieldUse use, DcsPath fieldPathUnk, DcsAvailableSettingsSourceForSchema.ASSDCSDataSetInfoAvailableFieldInfo fieldInfo) throws DcsPathException, DcsAvailableSettingsSourceException -
fillBuildedFields
protected void fillBuildedFields(DcsAvailableSettingsSourceForSchema.FieldUse use, DcsPath parentFieldPathUnk) throws DcsPathException, DcsAvailableSettingsSourceException -
makeAvailableFieldInfo
protected boolean makeAvailableFieldInfo(DcsAvailableSettingsSourceForSchema.FieldUse use, DcsAvailableSettingsSourceForSchema.ASSDCSDataSetInfoAvailableFieldInfo info, DcsAvailableSettingsSourceForSchema.BuildedFields buildedFields, DcsAvailableSettingsSourceForSchema.ASSDCSDataSetInfoAvailableFieldInfo parentFieldInfo) throws DcsPathException - Throws:
DcsPathException
-
makeAvailableFieldInfoTitle
protected void makeAvailableFieldInfoTitle(DcsAvailableSettingsSourceForSchema.FieldUse use, DcsAvailableSettingsSourceForSchema.ASSDCSDataSetInfoAvailableFieldInfo info, DcsAvailableSettingsSourceForSchema.BuildedFields buildedFields, DcsAvailableSettingsSourceForSchema.ASSDCSDataSetInfoAvailableFieldInfo parentFieldInfo) throws DcsPathException - Throws:
DcsPathException
-
getDataSetAvailableUserFields
protected void getDataSetAvailableUserFields(DcsAvailableSettingsSourceForSchema.FieldUse use, DcsPath dataPath, DcsAvailableSettingsSourceForSchema.ASSDCSDataSetInfoAvailableFieldInfos availableFields) throws DcsAvailableSettingsSourceException -
loadUsedParents
-
shouldRemovePasswordFields
Checks whether we should remove fields with password mode or not.- Parameters:
v8project- the v8 project, can not benull- Returns:
- remove password fields flag
-