Class FormParameterManagementService
- java.lang.Object
-
- com._1c.g5.v8.dt.form.service.parameter.FormParameterManagementService
-
public class FormParameterManagementService extends Object
The service of management for a form parameter. Any manipulations has to happen to parameters of a form through this service.
-
-
Constructor Summary
Constructors Constructor Description FormParameterManagementService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addParameter(Form form, FormParameter parameter)
Adds a parameter to the form.void
deleteParameter(FormParameter parameter)
Remove the form parameter from a form which contains it.void
replaceFormExtensionParameter(IBmTransaction transaction, FormParameter srcParameter, Form form)
Replaces borrowed parameter in extension form to base (inherited) parameter
-
-
-
Method Detail
-
addParameter
public void addParameter(Form form, FormParameter parameter)
Adds a parameter to the form. In time addition the unique name is set to the parameter.- Parameters:
form
- the form in which is added new parameterparameter
- it is the added form parameter
-
replaceFormExtensionParameter
public void replaceFormExtensionParameter(IBmTransaction transaction, FormParameter srcParameter, Form form)
Replaces borrowed parameter in extension form to base (inherited) parameter- Parameters:
transaction
- bm transaction, cannot benull
srcParameter
- source parameter to be replaced, cannot benull
form
- model, cannot benull
-
deleteParameter
public void deleteParameter(FormParameter parameter)
Remove the form parameter from a form which contains it.- Parameters:
parameter
- the removal parameter
-
-