Class FindAllParameterizedCommandByCommand
- java.lang.Object
-
- com._1c.g5.v8.dt.form.mapping.parameterized.query.FindAllParameterizedCommandByCommand
-
- All Implemented Interfaces:
IQuery<List<ParameterizedCommand>,ParameterizedCommandMapping>
public class FindAllParameterizedCommandByCommand extends Object implements IQuery<List<ParameterizedCommand>,ParameterizedCommandMapping>
The query for select all parameterized command form the various attributes path by command. This query divides element data path and usual data path by search the related command.- See Also:
FormParameterizedCommandMapping
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FindAllParameterizedCommandByCommand.Type
Type of Data Path owner.
-
Constructor Summary
Constructors Constructor Description FindAllParameterizedCommandByCommand(Command pattern, FindAllParameterizedCommandByCommand.Type type)
Creates an new query.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ParameterizedCommand>
select(ParameterizedCommandMapping root, Map<Object,? extends List<IMappingModel<? extends org.eclipse.emf.ecore.EObject>>> mapping)
The method selects data fromMapping
.
-
-
-
Constructor Detail
-
FindAllParameterizedCommandByCommand
public FindAllParameterizedCommandByCommand(Command pattern, FindAllParameterizedCommandByCommand.Type type)
Creates an new query.- Parameters:
pattern
- the related command for search parameterized command.type
- the type of data path which using for the searching algorithm.
-
-
Method Detail
-
select
public List<ParameterizedCommand> select(ParameterizedCommandMapping root, Map<Object,? extends List<IMappingModel<? extends org.eclipse.emf.ecore.EObject>>> mapping)
The method selects data fromMapping
. Data can get from mapping root model(IMappingRoot
) or map of relation between domain model and basic mapping model (TBasicModel
).- Specified by:
select
in interfaceIQuery<List<ParameterizedCommand>,ParameterizedCommandMapping>
- Parameters:
root
- - is root mapping object.mapping
- - is map of relation (domain model - basic mapping model)- Returns:
- the result of query.
-
-