Class FormParameterizedCommandMapping
- java.lang.Object
-
- com._1c.g5.v8.dt.form.mapping.core.Mapping<ParameterizedCommandMapping,Form>
-
- com._1c.g5.v8.dt.form.mapping.parameterized.FormParameterizedCommandMapping
-
public class FormParameterizedCommandMapping extends Mapping<ParameterizedCommandMapping,Form>
The mapping for form parameterized command.
-
-
Constructor Summary
Constructors Constructor Description FormParameterizedCommandMapping(Form input)
Deprecated.FormParameterizedCommandMapping(Supplier<Form> inputSupplier)
Initializes a new instance of class.FormParameterizedCommandMapping(Supplier<Form> inputSupplier, ICommandInterfaceAccessor cmiAccessor, IBmModelManager modelManager, ICommandNameService nameService)
Initializes a new instance of class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clearRoot(ParameterizedCommandMapping model)
The method clear root mapping model.protected ParameterizedCommandMapping
createRoot()
The method creates a new root projection model.protected void
fillModel(ParameterizedCommandMapping mapping, Form form)
Methods fill projection model.void
handleEvent(AbstractEvent event)
The event processing.-
Methods inherited from class com._1c.g5.v8.dt.form.mapping.core.Mapping
addRelation, buildRootModel, clearAllRelation, createComparer, dispose, fullUpdate, get, getCompletedRoot, getRelatedModel, getRootClass, getRootModel, isDisposed, pushEvent, removeRelation, removeRelation, setController
-
-
-
-
Constructor Detail
-
FormParameterizedCommandMapping
public FormParameterizedCommandMapping(Supplier<Form> inputSupplier, ICommandInterfaceAccessor cmiAccessor, IBmModelManager modelManager, ICommandNameService nameService)
Initializes a new instance of class.- Parameters:
inputSupplier
- the form supplier as mapping input, can't benull
cmiAccessor
- the accessor to the command interface, can't benull
modelManager
- the BM model manager, can't benull
nameService
- the service forming names of a commands, can't benull
-
FormParameterizedCommandMapping
@Deprecated public FormParameterizedCommandMapping(Form input)
Deprecated.Initializes a new instance of class.- Parameters:
input
- The form.
-
-
Method Detail
-
handleEvent
public void handleEvent(AbstractEvent event)
Description copied from class:Mapping
The event processing. To the help of this method there is an evolution of a projection model.- Specified by:
handleEvent
in classMapping<ParameterizedCommandMapping,Form>
- Parameters:
event
- the event for processing, can't benull
-
createRoot
protected ParameterizedCommandMapping createRoot()
Description copied from class:Mapping
The method creates a new root projection model.- Specified by:
createRoot
in classMapping<ParameterizedCommandMapping,Form>
- Returns:
- the root model of mapping, never
null
-
fillModel
protected void fillModel(ParameterizedCommandMapping mapping, Form form)
Description copied from class:Mapping
Methods fill projection model.- Specified by:
fillModel
in classMapping<ParameterizedCommandMapping,Form>
- Parameters:
mapping
- the root projection model for filling, can't benull
form
- the root domain model, can't benull
-
clearRoot
protected void clearRoot(ParameterizedCommandMapping model)
Description copied from class:Mapping
The method clear root mapping model.- Specified by:
clearRoot
in classMapping<ParameterizedCommandMapping,Form>
- Parameters:
model
- the root mapping model, can't benull
-
-