Package com._1c.g5.v8.dt.md.api
Class DocumentJournalRegisteredDocumentsTask
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.BmBasicTask2Collection<P1,P2>
com._1c.g5.v8.dt.md.api.AbstractMdObjectCollectionTask<DocumentJournal,Document>
com._1c.g5.v8.dt.md.api.DocumentJournalRegisteredDocumentsTask
- All Implemented Interfaces:
IBmTask<org.eclipse.core.runtime.IStatus>
public abstract class DocumentJournalRegisteredDocumentsTask
extends AbstractMdObjectCollectionTask<DocumentJournal,Document>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDocumentJournalRegisteredDocumentsTask(DocumentJournal journal, Collection<Document> documents, String template) Initialize fields of theIBmTask -
Method Summary
Modifier and TypeMethodDescriptionstatic IBmTask<?>createAddTask(DocumentJournal journal, Collection<Document> documents) Creates a newIBmTaskthat adds the given collection of documents to the journal.static IBmTask<?>createRemoveTask(DocumentJournal journal, Collection<Document> documents) Creates a newIBmTaskthat removes the given collection of documents from the journal.Methods inherited from class com._1c.g5.v8.dt.md.api.AbstractMdObjectCollectionTask
doExecute, execute, getNameMethods inherited from class com._1c.g5.v8.bm.integration.BmBasicTask2Collection
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
-
DocumentJournalRegisteredDocumentsTask
protected DocumentJournalRegisteredDocumentsTask(DocumentJournal journal, Collection<Document> documents, String template) Initialize fields of theIBmTask- Parameters:
journal- is theDocumentJournalobjects- is the collection ofDocumentobjectstemplate- is the template
-
-
Method Details
-
createAddTask
Creates a newIBmTaskthat adds the given collection of documents to the journal.- Parameters:
document- is theDocumentjournals- is the collection ofDocumentJournalobjects.- Returns:
- the created task
-
createRemoveTask
Creates a newIBmTaskthat removes the given collection of documents from the journal.- Parameters:
document- is theDocumentjournals- is the collection ofDocumentJournalobjects.- Returns:
- the created task
-