public class IndexingAdapterService extends DefaultComponent implements IndexingAdapter
Modifier and Type | Field and Description |
---|---|
static String |
BLOB_FORMAT_XP |
static String |
INTUITION_ADAPTER_XP |
protected List<IndexingAdapter> |
mergedAdapters |
protected List<IndexingAdapterDescriptor> |
registeredAdapters |
protected boolean |
useDownloadUrl |
lastModified
Constructor and Description |
---|
IndexingAdapterService() |
Modifier and Type | Method and Description |
---|---|
WsACE[] |
adaptDocumentACL(CoreSession session,
String uuid,
WsACE[] aces) |
DocumentBlob[] |
adaptDocumentBlobs(CoreSession session,
String uuid,
DocumentBlob[] blobs) |
DocumentDescriptor |
adaptDocumentDescriptor(CoreSession session,
String uuid,
DocumentDescriptor dd) |
WsACE[] |
adaptDocumentLocalACL(CoreSession session,
String uuid,
WsACE[] aces) |
DocumentProperty[] |
adaptDocumentNoBlobProperties(CoreSession session,
String uuid,
DocumentProperty[] properties) |
DocumentProperty[] |
adaptDocumentProperties(CoreSession session,
String uuid,
DocumentProperty[] properties) |
protected List<IndexingAdapter> |
getMergedAdapters() |
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
void |
unregisterContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
boolean |
useDownloadUrlForBlob() |
activate, applicationStarted, deactivate, getAdapter, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, setModifiedNow, unregisterExtension
public static final String INTUITION_ADAPTER_XP
public static final String BLOB_FORMAT_XP
protected final List<IndexingAdapterDescriptor> registeredAdapters
protected final List<IndexingAdapter> mergedAdapters
protected boolean useDownloadUrl
public IndexingAdapterService()
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution
in class DefaultComponent
public void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
unregisterContribution
in class DefaultComponent
public DocumentDescriptor adaptDocumentDescriptor(CoreSession session, String uuid, DocumentDescriptor dd)
adaptDocumentDescriptor
in interface IndexingAdapter
public WsACE[] adaptDocumentACL(CoreSession session, String uuid, WsACE[] aces)
adaptDocumentACL
in interface IndexingAdapter
public WsACE[] adaptDocumentLocalACL(CoreSession session, String uuid, WsACE[] aces)
adaptDocumentLocalACL
in interface IndexingAdapter
public DocumentBlob[] adaptDocumentBlobs(CoreSession session, String uuid, DocumentBlob[] blobs)
adaptDocumentBlobs
in interface IndexingAdapter
public DocumentProperty[] adaptDocumentNoBlobProperties(CoreSession session, String uuid, DocumentProperty[] properties)
adaptDocumentNoBlobProperties
in interface IndexingAdapter
public DocumentProperty[] adaptDocumentProperties(CoreSession session, String uuid, DocumentProperty[] properties)
adaptDocumentProperties
in interface IndexingAdapter
protected List<IndexingAdapter> getMergedAdapters()
public boolean useDownloadUrlForBlob()
useDownloadUrlForBlob
in interface IndexingAdapter
Copyright © 2015 Nuxeo SA. All rights reserved.