Uses of Class
org.opencms.search.documents.CmsDocumentDependency
Package
Description
Handles indexing different sorts of document and resource type from the OpenCms VFS for the full text search.
The package contains the Solr search integration.
-
Uses of CmsDocumentDependency in org.opencms.search.documents
Modifier and TypeMethodDescriptionstatic CmsDocumentDependency
CmsDocumentDependency.fromDependencyString
(String input, String rootPath) Creates a dependency object from a String representation.CmsDocumentDependency.getMainDocument()
Returns the main document in case this document is an attachment.static CmsDocumentDependency
CmsDocumentDependency.load
(CmsObject cms, CmsPublishedResource pubRes) Loads or creates a dependency object for the given parameters.static CmsDocumentDependency
CmsDocumentDependency.load
(CmsObject cms, CmsResource res) Loads or creates a dependency object for the given parameters.static CmsDocumentDependency
CmsDocumentDependency.load
(CmsObject cms, CmsResource res, List<CmsResource> resources) Loads or creates a dependency object for the given parameters.protected static CmsDocumentDependency
CmsDocumentDependency.loadForTest
(String rootPath) Creates a dependency object for the given root path, to be used only for test cases.Modifier and TypeMethodDescriptionCmsDocumentDependency.getAttachments()
Returns the attachments.CmsDocumentDependency.getDependencies()
Returns the list of resources the main resource depends on, including the main resource itself.CmsDocumentDependency.getVariants()
Returns the variants.Modifier and TypeMethodDescriptionvoid
CmsDocumentDependency.addAttachment
(CmsDocumentDependency dep) Adds another document attachment dependency to this document.void
CmsDocumentDependency.addDependency
(CmsDocumentDependency dep) Adds another document dependency to this document.void
CmsDocumentDependency.addVariant
(CmsDocumentDependency dep) Adds another language version document dependency to this document.void
CmsDocumentDependency.setMainDocument
(CmsDocumentDependency mainDocument) Sets the main document in case this document is an attachment. -
Uses of CmsDocumentDependency in org.opencms.search.solr
Modifier and TypeMethodDescriptionvoid
CmsSolrDocument.addDocumentDependency
(CmsObject cms, CmsDocumentDependency resDeps) Adds the given document dependency to this document.