public class ArtifactSearcherImpl extends Object implements ArtifactSearcher
Modifier and Type | Field and Description |
---|---|
protected static int |
MAX_RESULTS |
Constructor and Description |
---|
ArtifactSearcherImpl() |
Modifier and Type | Method and Description |
---|---|
List<NuxeoArtifact> |
filterArtifact(CoreSession session,
String distribId,
String type,
String fulltext) |
protected NuxeoArtifact |
mapDoc2Artifact(DocumentModel doc) |
protected NuxeoArtifact |
resolveInTree(CoreSession session,
String distribId,
DocumentationItem matchingDocumentationItem,
String searchedType) |
protected NuxeoArtifact |
resolveInTree(CoreSession session,
String distribId,
NuxeoArtifact matchingArtifact,
String searchedType) |
List<NuxeoArtifact> |
searchArtifact(CoreSession session,
String distribId,
String fulltext) |
List<DocumentationItem> |
searchDocumentation(CoreSession session,
String distribId,
String fulltext,
String targetType) |
protected static final int MAX_RESULTS
public ArtifactSearcherImpl()
protected NuxeoArtifact mapDoc2Artifact(DocumentModel doc)
public List<NuxeoArtifact> searchArtifact(CoreSession session, String distribId, String fulltext)
searchArtifact
in interface ArtifactSearcher
public List<DocumentationItem> searchDocumentation(CoreSession session, String distribId, String fulltext, String targetType)
searchDocumentation
in interface ArtifactSearcher
public List<NuxeoArtifact> filterArtifact(CoreSession session, String distribId, String type, String fulltext)
filterArtifact
in interface ArtifactSearcher
protected NuxeoArtifact resolveInTree(CoreSession session, String distribId, NuxeoArtifact matchingArtifact, String searchedType)
protected NuxeoArtifact resolveInTree(CoreSession session, String distribId, DocumentationItem matchingDocumentationItem, String searchedType)
Copyright © 2018 Nuxeo. All rights reserved.