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
Constructors Modifier Constructor Description protected
DocumentJournalRegisteredDocumentsTask(DocumentJournal journal, Collection<Document> documents, String template)
Initialize fields of theIBmTask
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IBmTask<?>
createAddTask(DocumentJournal journal, Collection<Document> documents)
Creates a newIBmTask
that adds the given collection of documents to the journal.static IBmTask<?>
createRemoveTask(DocumentJournal journal, Collection<Document> documents)
Creates a newIBmTask
that removes the given collection of documents from the journal.-
Methods inherited from class com._1c.g5.v8.dt.md.api.AbstractMdObjectCollectionTask
doExecute, execute, getName
-
Methods inherited from class com._1c.g5.v8.bm.integration.BmBasicTask2Collection
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
-
DocumentJournalRegisteredDocumentsTask
protected DocumentJournalRegisteredDocumentsTask(DocumentJournal journal, Collection<Document> documents, String template)
Initialize fields of theIBmTask
- Parameters:
journal
- is theDocumentJournal
objects
- is the collection ofDocument
objectstemplate
- is the template
-
-
Method Detail
-
createAddTask
public static IBmTask<?> createAddTask(DocumentJournal journal, Collection<Document> documents)
Creates a newIBmTask
that adds the given collection of documents to the journal.- Parameters:
document
- is theDocument
journals
- is the collection ofDocumentJournal
objects.- Returns:
- the created task
-
createRemoveTask
public static IBmTask<?> createRemoveTask(DocumentJournal journal, Collection<Document> documents)
Creates a newIBmTask
that removes the given collection of documents from the journal.- Parameters:
document
- is theDocument
journals
- is the collection ofDocumentJournal
objects.- Returns:
- the created task
-
-