Uses of Class
org.opencms.search.documents.CmsDocumentDependency
Packages that use 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
Methods in org.opencms.search.documents that return CmsDocumentDependencyModifier and TypeMethodDescriptionstatic CmsDocumentDependencyCmsDocumentDependency.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 CmsDocumentDependencyCmsDocumentDependency.load(CmsObject cms, CmsPublishedResource pubRes) Loads or creates a dependency object for the given parameters.static CmsDocumentDependencyCmsDocumentDependency.load(CmsObject cms, CmsResource res) Loads or creates a dependency object for the given parameters.static CmsDocumentDependencyCmsDocumentDependency.load(CmsObject cms, CmsResource res, List<CmsResource> resources) Loads or creates a dependency object for the given parameters.protected static CmsDocumentDependencyCmsDocumentDependency.loadForTest(String rootPath) Creates a dependency object for the given root path, to be used only for test cases.Methods in org.opencms.search.documents that return types with arguments of type CmsDocumentDependencyModifier 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.Methods in org.opencms.search.documents with parameters of type CmsDocumentDependencyModifier and TypeMethodDescriptionvoidCmsDocumentDependency.addAttachment(CmsDocumentDependency dep) Adds another document attachment dependency to this document.voidCmsDocumentDependency.addDependency(CmsDocumentDependency dep) Adds another document dependency to this document.voidCmsDocumentDependency.addVariant(CmsDocumentDependency dep) Adds another language version document dependency to this document.voidCmsDocumentDependency.setMainDocument(CmsDocumentDependency mainDocument) Sets the main document in case this document is an attachment. -
Uses of CmsDocumentDependency in org.opencms.search.solr
Methods in org.opencms.search.solr with parameters of type CmsDocumentDependencyModifier and TypeMethodDescriptionvoidCmsSolrDocument.addDocumentDependency(CmsObject cms, CmsDocumentDependency resDeps) Adds the given document dependency to this document.