Class ExtInfoManagementService
- java.lang.Object
-
- com._1c.g5.v8.dt.form.service.common.impl.ExtInfoManagementService
-
- All Implemented Interfaces:
IExtInfoManagementService
public class ExtInfoManagementService extends Object implements IExtInfoManagementService
The default implementation ofIExtInfoManagementService
-
-
Constructor Summary
Constructors Constructor Description ExtInfoManagementService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
attachExtInfoObjectToTransaction(IBmTransaction transaction, FormAttribute attribute, Version version)
AttachesExtInfo
object of the attribute to the given transaction.void
cloneExtInfo(IBmTransaction transaction, FormAttribute sourceAttribute, FormAttribute destinationAttribute, TypeDescription type, Version version)
Clones ext info from oneFormAttribute
to another.void
detachExtInfoObjectFromTransaction(IBmTransaction transaction, FormAttribute attribute)
DetachesExtInfo
object of the attribute from the given transaction.void
resetExtInfo(Form form, Version version)
Reset theFormExtInfo
.void
setExtInfo(IBmTransaction transaction, FormAttribute attribute, TypeDescription type, Version version)
Change theFormAttributeExtInfo
.void
setExtInfo(Addition addition, ManagedFormAdditionType type, Version version)
Change theAdditionExtInfo
.void
setExtInfo(Decoration decoration, ManagedFormDecorationType type, Version version)
Change theDecorationExtInfo
.void
setExtInfo(FormField field, ManagedFormFieldType type, Version version)
Change theFieldExtInfo
.void
setExtInfo(FormGroup group, ManagedFormGroupType type, Version version)
Change theGroupExtInfo
.void
setExtInfo(Form form, FormAttribute mainAttribute, Version version)
Change theFormExtInfo
.void
setExtInfo(Table table, AbstractDataPath path, Form form, Version version)
Change theTableExtInfo
.
-
-
-
Method Detail
-
setExtInfo
public void setExtInfo(FormField field, ManagedFormFieldType type, Version version)
Description copied from interface:IExtInfoManagementService
Change theFieldExtInfo
.- Specified by:
setExtInfo
in interfaceIExtInfoManagementService
- Parameters:
field
- field for which changing ext info, cannot benull
type
- type form item, cannot benull
version
- the current runtime version, cannot benull
-
setExtInfo
public void setExtInfo(Decoration decoration, ManagedFormDecorationType type, Version version)
Description copied from interface:IExtInfoManagementService
Change theDecorationExtInfo
.- Specified by:
setExtInfo
in interfaceIExtInfoManagementService
- Parameters:
decoration
- decoration for which changing ext info, cannot benull
type
- the type decoration item, cannot benull
version
- the current runtime version, cannot benull
-
setExtInfo
public void setExtInfo(FormGroup group, ManagedFormGroupType type, Version version)
Description copied from interface:IExtInfoManagementService
Change theGroupExtInfo
.- Specified by:
setExtInfo
in interfaceIExtInfoManagementService
- Parameters:
group
- group for which changing ext info, cannot benull
type
- the type of group, cannot benull
version
- the current runtime version, cannot benull
-
setExtInfo
public void setExtInfo(Table table, AbstractDataPath path, Form form, Version version)
Description copied from interface:IExtInfoManagementService
Change theTableExtInfo
.- Specified by:
setExtInfo
in interfaceIExtInfoManagementService
- Parameters:
table
- the table for which to change ext info, cannot benull
path
- the path for correspondingPropertyInfo
, cannot benull
form
- the form containing the table, cannot benull
version
- the current runtime version, cannot benull
-
setExtInfo
public void setExtInfo(Addition addition, ManagedFormAdditionType type, Version version)
Description copied from interface:IExtInfoManagementService
Change theAdditionExtInfo
.- Specified by:
setExtInfo
in interfaceIExtInfoManagementService
- Parameters:
addition
- addition for which changing ext info, cannot benull
type
- the type addition item, cannot benull
version
- the current runtime version, cannot benull
-
setExtInfo
public void setExtInfo(Form form, FormAttribute mainAttribute, Version version)
Description copied from interface:IExtInfoManagementService
Change theFormExtInfo
.- Specified by:
setExtInfo
in interfaceIExtInfoManagementService
- Parameters:
form
- the form for which changing ext info, cannot benull
mainAttribute
- the main attribute which participates at a choice of the necessaryExtInfo
, cannot benull
version
- the current runtime version, cannot benull
-
resetExtInfo
public void resetExtInfo(Form form, Version version)
Description copied from interface:IExtInfoManagementService
Reset theFormExtInfo
.- Specified by:
resetExtInfo
in interfaceIExtInfoManagementService
- Parameters:
form
- the form for which changing ext info, cannot benull
version
- the current runtime version, cannot benull
-
setExtInfo
public void setExtInfo(IBmTransaction transaction, FormAttribute attribute, TypeDescription type, Version version)
Description copied from interface:IExtInfoManagementService
Change theFormAttributeExtInfo
.- Specified by:
setExtInfo
in interfaceIExtInfoManagementService
- Parameters:
transaction
- the transaction in which to change ext info, cannot benull
attribute
- the attribute for which to change ext info, cannot benull
type
- which participates at a choice of the necessaryExtInfo
, cannot benull
version
- the current runtime version, cannot benull
-
attachExtInfoObjectToTransaction
public void attachExtInfoObjectToTransaction(IBmTransaction transaction, FormAttribute attribute, Version version)
Description copied from interface:IExtInfoManagementService
AttachesExtInfo
object of the attribute to the given transaction.- Specified by:
attachExtInfoObjectToTransaction
in interfaceIExtInfoManagementService
- Parameters:
transaction
- the transaction to perform changes in, cannot benull
attribute
- the attribute whichExtInfo
object to attach, cannot benull
version
- the current runtime version, cannot benull
-
cloneExtInfo
public void cloneExtInfo(IBmTransaction transaction, FormAttribute sourceAttribute, FormAttribute destinationAttribute, TypeDescription type, Version version)
Description copied from interface:IExtInfoManagementService
Clones ext info from oneFormAttribute
to another.- Specified by:
cloneExtInfo
in interfaceIExtInfoManagementService
- Parameters:
transaction
- the transaction in which to change ext info, cannot benull
sourceAttribute
- the main attribute to clone, cannot benull
destinationAttribute
- the cloned attribute, cannot benull
type
- which participates at a choice of the necessaryExtInfo
, cannot benull
version
- the current runtime version, cannot benull
-
detachExtInfoObjectFromTransaction
public void detachExtInfoObjectFromTransaction(IBmTransaction transaction, FormAttribute attribute)
Description copied from interface:IExtInfoManagementService
DetachesExtInfo
object of the attribute from the given transaction.- Specified by:
detachExtInfoObjectFromTransaction
in interfaceIExtInfoManagementService
- Parameters:
transaction
- the transaction to perform changes in, cannot benull
attribute
- the attribute whichExtInfo
object to detach, cannot benull
-
-