Package com._1c.g5.v8.dt.form.service
Class DynamicListAttributeService
- java.lang.Object
-
- com._1c.g5.v8.dt.form.service.DynamicListAttributeService
-
public class DynamicListAttributeService extends Object
The service for a dynamic list attribute
-
-
Constructor Summary
Constructors Constructor Description DynamicListAttributeService()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
createQueryText(DbViewDef dbView, ScriptVariant lang)
Gets query text byDbViewDef
.static Set<DbViewDef>
findPotentialMainTables(QuerySchema schema)
The method search a potential main tables in aQuerySchema
modelstatic Set<DbViewDef>
findPotentialMainTables(QuerySchemaSelectQuery query)
The method search a potential main tables in aQuerySchemaSelectQuery
modelstatic Collection<DbViewFieldDef>
getSelectFields(DbViewDef dbView)
GetsDbViewFieldDef
fromDbViewDef
, skips fields with nameDbViewTerms.PRESENTATION
andDbViewTerms.DATA_VERSION
-
-
-
Method Detail
-
findPotentialMainTables
public static Set<DbViewDef> findPotentialMainTables(QuerySchema schema)
The method search a potential main tables in aQuerySchema
model
-
findPotentialMainTables
public static Set<DbViewDef> findPotentialMainTables(QuerySchemaSelectQuery query)
The method search a potential main tables in aQuerySchemaSelectQuery
model
-
createQueryText
public static String createQueryText(DbViewDef dbView, ScriptVariant lang)
Gets query text byDbViewDef
. The query has next structure:- Parameters:
dbView
-DbViewDef
for creating query text, can benull
lang
- currentScriptVariant
got generating query, can't benull
- Returns:
- query text by
DbViewDef
, nevernull
. IfdbView
is null of doesn't have name empty string will be returned
-
getSelectFields
public static Collection<DbViewFieldDef> getSelectFields(DbViewDef dbView)
GetsDbViewFieldDef
fromDbViewDef
, skips fields with nameDbViewTerms.PRESENTATION
andDbViewTerms.DATA_VERSION
- Parameters:
dbView
-DbViewDef
for getting fields, can't benull
- Returns:
- collection of
DbViewFieldDef
fromDbViewDef
, nevernull
-
-