Package com._1c.g5.v8.dt.md.api
Class ChangeDocumentNumeratorInDocumentTask
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<Document>
com._1c.g5.v8.dt.md.api.ChangeDocumentNumeratorInDocumentTask
- All Implemented Interfaces:
IBmTask<org.eclipse.core.runtime.IStatus>
Sets the
DocumentNumerator to the Document
Changes Document number properties in according
with selected DocumentNumerator.-
Constructor Summary
ConstructorsConstructorDescriptionChangeDocumentNumeratorInDocumentTask(Document document, DocumentNumerator numerator) Instantiates a newChangeDocumentNumeratorInDocumentTask -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.core.runtime.IStatusSets the numerator in the given document and Document.numberType, Document.numberLength, Document.numberAllowedLength, Document.numberPeriodicity, Document.checkUnique in according with numerator.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
-
ChangeDocumentNumeratorInDocumentTask
Instantiates a newChangeDocumentNumeratorInDocumentTask- Parameters:
document- is theDocumentnumerator- is theDocumentNumerator
-
-
Method Details
-
execute
public org.eclipse.core.runtime.IStatus execute(Document document, org.eclipse.core.runtime.IProgressMonitor monitor) Sets the numerator in the given document and Document.numberType, Document.numberLength, Document.numberAllowedLength, Document.numberPeriodicity, Document.checkUnique in according with numerator.- Specified by:
executein classBmBasicTask1<Document>
-