Package com._1c.g5.v8.dt.md.api
Class ChangeInformationRegisterWriteModeTask
java.lang.Object
com._1c.g5.v8.bm.integration.AbstractBmTask<org.eclipse.core.runtime.IStatus>
com._1c.g5.v8.bm.integration.BmBasicTask
com._1c.g5.v8.bm.integration.BmBasicTask1<InformationRegister>
com._1c.g5.v8.dt.md.api.ChangeInformationRegisterWriteModeTask
- All Implemented Interfaces:
IBmTask<org.eclipse.core.runtime.IStatus>
An
IBmTask implementation for changing InformationRegister write mode.-
Constructor Summary
ConstructorsConstructorDescriptionChangeInformationRegisterWriteModeTask(InformationRegister informationRegister, RegisterWriteMode mode) Creates newChangeInformationRegisterWriteModeTask. -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.core.runtime.IStatusexecute(InformationRegister informationRegister, org.eclipse.core.runtime.IProgressMonitor monitor) Changes write mode of the given informationRegister.Methods inherited from class com._1c.g5.v8.bm.integration.BmBasicTask1
executeMethods inherited from class com._1c.g5.v8.bm.integration.BmBasicTask
execute, getTransactionMethods inherited from class com._1c.g5.v8.bm.integration.AbstractBmTask
getId, getName, getServiceId
-
Constructor Details
-
ChangeInformationRegisterWriteModeTask
public ChangeInformationRegisterWriteModeTask(InformationRegister informationRegister, RegisterWriteMode mode) Creates newChangeInformationRegisterWriteModeTask.- Parameters:
informationRegister- is theInformationRegister, can not benullmode- is theRegisterWriteMode, can not benull
-
-
Method Details
-
execute
public org.eclipse.core.runtime.IStatus execute(InformationRegister informationRegister, org.eclipse.core.runtime.IProgressMonitor monitor) Changes write mode of the given informationRegister. If write mode not equals 'recorder position' periodicity must be set to 'day', default record form must be unset.- Specified by:
executein classBmBasicTask1<InformationRegister>
-