public interface BulkEditService
Modifier and Type | Field and Description |
---|---|
static String |
BULK_EDIT_PREFIX |
static String |
CONTEXT_DATA |
Modifier and Type | Method and Description |
---|---|
void |
updateDocuments(CoreSession session,
DocumentModel sourceDoc,
List<DocumentModel> targetDocs)
Copy all the marked properties (stored in the ContextData of
sourceDoc ) from sourceDoc to all the
targetDocs . |
static final String BULK_EDIT_PREFIX
static final String CONTEXT_DATA
void updateDocuments(CoreSession session, DocumentModel sourceDoc, List<DocumentModel> targetDocs)
sourceDoc
) from sourceDoc
to all the
targetDocs
.session
- the CoreSession
to usesourceDoc
- the doc where to get the properties to copytargetDocs
- the docs where to set the propertiesCopyright © 2015 Nuxeo SA. All rights reserved.