public class BulkEditServiceImpl extends DefaultComponent implements BulkEditService
BulkEditService.| Modifier and Type | Field and Description |
|---|---|
static VersioningOption |
DEFAULT_VERSIONING_OPTION |
static String |
VERSIONING_EP |
BULK_EDIT_PREFIX, CONTEXT_DATA| Constructor and Description |
|---|
BulkEditServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
void |
unregisterContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
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. |
activate, applicationStarted, deactivate, getAdapter, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, unregisterExtensionpublic static final String VERSIONING_EP
public static final VersioningOption DEFAULT_VERSIONING_OPTION
public void updateDocuments(CoreSession session, DocumentModel sourceDoc, List<DocumentModel> targetDocs) throws ClientException
BulkEditServicesourceDoc) from sourceDoc to all the
targetDocs.updateDocuments in interface BulkEditServicesession - the CoreSession to usesourceDoc - the doc where to get the properties to copytargetDocs - the docs where to set the propertiesClientExceptionpublic void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution in class DefaultComponentpublic void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
unregisterContribution in class DefaultComponentCopyright © 2015 Nuxeo SA. All rights reserved.