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 boolean
protected boolean
protected DataSet
protected Map<DcsAvailableSettingsSourceForSchema.FieldUse,
Set<DcsPath>> protected final SettingsContext
protected DcsAvailableSettingsSourceForSchema
protected boolean
protected Map<DcsAvailableSettingsSourceForSchema.FieldUse,
Set<DcsPath>> -
Constructor Summary
ConstructorsConstructorDescriptionDcsAvailableSettingsSourceDataSetInfoBase
(SettingsContext settingsContext) Constructs an instance -
Method Summary
Modifier and TypeMethodDescriptiondataSet()
Получить набор данныхprotected void
fillBuildedFields
(DcsAvailableSettingsSourceForSchema.FieldUse use, DcsPath parentFieldPathUnk) void
Принудительное запоминание полей схем данных, которые могут быть родительскими полямиvoid
getAvailableParameters
(DcsAvailableSettingsSourceForSchema.DCSDataSetInfoAvailableParameterInfos availableParameters) Получить набор доступных параметровvoid
getAvailableUserFields
(DcsAvailableSettingsSourceForSchema.FieldUse use, DcsPath dataPathUnk, DcsAvailableSettingsSourceForSchema.ASSDCSDataSetInfoAvailableFieldInfos availableFields) Получить набор доступных полейprotected void
getDataSetAvailableUserFields
(DcsAvailableSettingsSourceForSchema.FieldUse use, DcsPath dataPath, DcsAvailableSettingsSourceForSchema.ASSDCSDataSetInfoAvailableFieldInfos availableFields) protected boolean
getFieldInfo
(DcsAvailableSettingsSourceForSchema.FieldUse use, DcsPath fieldPathUnk, DcsAvailableSettingsSourceForSchema.ASSDCSDataSetInfoAvailableFieldInfo fieldInfo) protected DcsPath
getInternationalDataPath
(DcsAvailableSettingsSourceForSchema.FieldUse use, DcsPath fieldPath, int alias) void
Получить набор путей полей не первого уровняvoid
init
(IV8Project v8project, String langCode, DataSet dataSet, DcsAvailableSettingsSourceForSchema settingsSource, Map<DcsPath, String> fieldTitles, boolean validate) Initializeboolean
Получить признак иерархичности набора данныхprotected void
protected boolean
makeAvailableFieldInfo
(DcsAvailableSettingsSourceForSchema.FieldUse use, DcsAvailableSettingsSourceForSchema.ASSDCSDataSetInfoAvailableFieldInfo info, DcsAvailableSettingsSourceForSchema.BuildedFields buildedFields, DcsAvailableSettingsSourceForSchema.ASSDCSDataSetInfoAvailableFieldInfo parentFieldInfo) protected void
makeAvailableFieldInfoTitle
(DcsAvailableSettingsSourceForSchema.FieldUse use, DcsAvailableSettingsSourceForSchema.ASSDCSDataSetInfoAvailableFieldInfo info, DcsAvailableSettingsSourceForSchema.BuildedFields buildedFields, DcsAvailableSettingsSourceForSchema.ASSDCSDataSetInfoAvailableFieldInfo parentFieldInfo) void
setIsUpHierarchy
(boolean upHierarchy) Установить признак иерархичности набора данныхstatic boolean
shouldRemovePasswordFields
(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:IDcsAvailableSettingsSourceDataSetInfo
Initialize- Specified by:
init
in 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:
getAvailableUserFields
in interfaceIDcsAvailableSettingsSourceDataSetInfo
- Parameters:
use
- использованиеdataPathUnk
- путь родителяavailableFields
- доступные поля- Throws:
DcsAvailableSettingsSourceException
-
getAvailableParameters
public void getAvailableParameters(DcsAvailableSettingsSourceForSchema.DCSDataSetInfoAvailableParameterInfos availableParameters) Description copied from interface:IDcsAvailableSettingsSourceDataSetInfo
Получить набор доступных параметров- Specified by:
getAvailableParameters
in interfaceIDcsAvailableSettingsSourceDataSetInfo
- Parameters:
availableParameters
- доступные параметры
-
isUpHierarchy
public boolean isUpHierarchy()Description copied from interface:IDcsAvailableSettingsSourceDataSetInfo
Получить признак иерархичности набора данных- Specified by:
isUpHierarchy
in interfaceIDcsAvailableSettingsSourceDataSetInfo
- Returns:
- признак
-
setIsUpHierarchy
public void setIsUpHierarchy(boolean upHierarchy) Description copied from interface:IDcsAvailableSettingsSourceDataSetInfo
Установить признак иерархичности набора данных- Specified by:
setIsUpHierarchy
in interfaceIDcsAvailableSettingsSourceDataSetInfo
- Parameters:
upHierarchy
- признак
-
dataSet
Description copied from interface:IDcsAvailableSettingsSourceDataSetInfo
Получить набор данных- Specified by:
dataSet
in interfaceIDcsAvailableSettingsSourceDataSetInfo
- Returns:
- набор данных
-
getSchemaNotFirstLevelFields
public void getSchemaNotFirstLevelFields(DcsAvailableSettingsSourceForSchema.FieldUse use, Set<DcsPath> paths) Description copied from interface:IDcsAvailableSettingsSourceDataSetInfo
Получить набор путей полей не первого уровня- Specified by:
getSchemaNotFirstLevelFields
in interfaceIDcsAvailableSettingsSourceDataSetInfo
- Parameters:
use
- использованиеpaths
- пути
-
forceLoadUsedParents
Description copied from interface:IDcsAvailableSettingsSourceDataSetInfo
Принудительное запоминание полей схем данных, которые могут быть родительскими полями- Specified by:
forceLoadUsedParents
in 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
-