程序包 | 说明 |
---|---|
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 |
限定符和类型 | 方法和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
void |
CmsSolrDocument.addDocumentDependency(CmsObject cms,
CmsDocumentDependency resDeps)
Adds the given document dependency to this document.
|