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>
public class ChangeDocumentNumeratorInDocumentTask extends BmBasicTask1<Document>
Sets theDocumentNumerator
to theDocument
ChangesDocument
number properties in according with selectedDocumentNumerator
.
-
-
Constructor Summary
Constructors Constructor Description ChangeDocumentNumeratorInDocumentTask(Document document, DocumentNumerator numerator)
Instantiates a newChangeDocumentNumeratorInDocumentTask
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.-
Methods inherited from class com._1c.g5.v8.bm.integration.BmBasicTask1
execute
-
Methods inherited from class com._1c.g5.v8.bm.integration.BmBasicTask
execute, getTransaction
-
Methods inherited from class com._1c.g5.v8.bm.integration.AbstractBmTask
getId, getName, getServiceId
-
-
-
-
Constructor Detail
-
ChangeDocumentNumeratorInDocumentTask
public ChangeDocumentNumeratorInDocumentTask(Document document, DocumentNumerator numerator)
Instantiates a newChangeDocumentNumeratorInDocumentTask
- Parameters:
document
- is theDocument
numerator
- is theDocumentNumerator
-
-
Method Detail
-
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:
execute
in classBmBasicTask1<Document>
-
-