Uses of Class
org.opencms.search.documents.CmsDocumentDependency
-
Packages that use CmsDocumentDependency Package Description org.opencms.search.documents Handles indexing different sorts of document and resource type from the OpenCms VFS for the full text search.org.opencms.search.solr The package contains the Solr search integration. -
-
Uses of CmsDocumentDependency in org.opencms.search.documents
Methods in org.opencms.search.documents that return CmsDocumentDependency Modifier and Type Method Description static CmsDocumentDependency
CmsDocumentDependency. fromDependencyString(java.lang.String input, java.lang.String rootPath)
Creates a dependency object from a String representation.CmsDocumentDependency
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, java.util.List<CmsResource> resources)
Loads or creates a dependency object for the given parameters.protected static CmsDocumentDependency
CmsDocumentDependency. loadForTest(java.lang.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 CmsDocumentDependency Modifier and Type Method Description java.util.List<CmsDocumentDependency>
CmsDocumentDependency. getAttachments()
Returns the attachments.java.util.List<CmsDocumentDependency>
CmsDocumentDependency. getDependencies()
Returns the list of resources the main resource depends on, including the main resource itself.java.util.List<CmsDocumentDependency>
CmsDocumentDependency. getVariants()
Returns the variants.Methods in org.opencms.search.documents with parameters of type CmsDocumentDependency Modifier and Type Method Description void
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
Methods in org.opencms.search.solr with parameters of type CmsDocumentDependency Modifier and Type Method Description void
CmsSolrDocument. addDocumentDependency(CmsObject cms, CmsDocumentDependency resDeps)
Adds the given document dependency to this document.
-