Uses of Class
org.opencms.db.CmsPublishedResource
Package
Description
Contains the ade configuration classes.
Classes for handling formatter configurations.
Contains classes used for reading and caching inheritance groups.
Low-level database connection and access functionality.
Generic (ANSI-SQL) implementation of the OpenCms database connector.
This important package provides the methods to access the OpenCms VFS repository with the permissions
of an authenticated user.
Provides low-level JSP integration funtionality for OpenCms,
also implements the FlexCache, a declarative parameter-based cache.
Contains functions to monitor the OpenCms system status.
Implements the main full text search and indexing functions available in OpenCms.
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.
Contains the functionality for the static HTML page export.
-
Uses of CmsPublishedResource in org.opencms.ade.configuration
Modifier and TypeMethodDescriptionprotected void
CmsGlobalConfigurationCacheEventHandler.offlineCacheRemove
(CmsPublishedResource resource) Removes a resource from the offline caches.protected void
CmsGlobalConfigurationCacheEventHandler.offlineCacheUpdate
(CmsPublishedResource resource) Updates a resource in the offline caches.protected void
CmsGlobalConfigurationCacheEventHandler.onlineCacheRemove
(CmsPublishedResource resource) Removes a resource from the online caches.protected void
CmsGlobalConfigurationCacheEventHandler.onlineCacheUpdate
(CmsPublishedResource resource) Updates a resource in the online caches.void
CmsDetailNameCache.remove
(CmsPublishedResource pubRes) void
I_CmsGlobalConfigurationCache.remove
(CmsPublishedResource pubRes) Removes a published resource from the cache.void
CmsDetailNameCache.update
(CmsPublishedResource pubRes) void
I_CmsGlobalConfigurationCache.update
(CmsPublishedResource pubRes) Updates the cache entry for the given published resource. -
Uses of CmsPublishedResource in org.opencms.ade.configuration.formatters
Modifier and TypeMethodDescriptionvoid
CmsFormatterConfigurationCache.remove
(CmsPublishedResource pubRes) void
CmsFormatterConfigurationCache.update
(CmsPublishedResource pubRes) -
Uses of CmsPublishedResource in org.opencms.ade.containerpage.inherited
Modifier and TypeMethodDescriptionvoid
CmsContainerConfigurationCache.remove
(CmsPublishedResource resource) void
CmsContainerConfigurationCache.update
(CmsPublishedResource resource) -
Uses of CmsPublishedResource in org.opencms.db
Modifier and TypeMethodDescriptionCmsDriverManager.readPublishedResources
(CmsDbContext dbc, CmsUUID publishHistoryId) Reads the resources that were published in a publish task for a given publish history ID.CmsSecurityManager.readPublishedResources
(CmsRequestContext context, CmsUUID publishHistoryId) Reads the resources that were published in a publish task for a given publish history ID.I_CmsProjectDriver.readPublishedResources
(CmsDbContext dbc, CmsUUID publishHistoryId) Reads the resources that were published during a publish process for a given publish history ID.Modifier and TypeMethodDescriptionint
CmsPublishedResource.compareTo
(CmsPublishedResource obj) void
I_CmsProjectDriver.deletePublishHistoryEntry
(CmsDbContext dbc, CmsUUID publishHistoryId, CmsPublishedResource publishResource) Deletes a publish history entry with publish tags >=0 and < the specified max.void
I_CmsProjectDriver.writePublishHistory
(CmsDbContext dbc, CmsUUID publishId, CmsPublishedResource resource) Inserts an entry in the publish history for a published VFS resource. -
Uses of CmsPublishedResource in org.opencms.db.generic
Modifier and TypeMethodDescriptionCmsProjectDriver.readPublishedResources
(CmsDbContext dbc, CmsUUID publishHistoryId) Modifier and TypeMethodDescriptionvoid
CmsProjectDriver.deletePublishHistoryEntry
(CmsDbContext dbc, CmsUUID publishHistoryId, CmsPublishedResource publishedResource) void
CmsProjectDriver.writePublishHistory
(CmsDbContext dbc, CmsUUID publishId, CmsPublishedResource resource) -
Uses of CmsPublishedResource in org.opencms.file
Modifier and TypeMethodDescriptionCmsObject.readPublishedResources
(CmsUUID publishHistoryId) Reads the resources that were published in a publish task for a given publish history ID. -
Uses of CmsPublishedResource in org.opencms.flex
Modifier and TypeMethodDescriptionboolean
CmsFlexBucketConfiguration.shouldClearAll
(List<CmsPublishedResource> publishedResources) Returns true if for the given publish list, the complete Flex cache should be cleared based on this configuration. -
Uses of CmsPublishedResource in org.opencms.monitor
Modifier and TypeMethodDescriptionCmsMemoryMonitor.getCachedPublishedResources
(String cacheKey) Returns the published resources list cached with the given cache key ornull
if not found.Modifier and TypeMethodDescriptionvoid
CmsMemoryMonitor.cachePublishedResources
(String cacheKey, List<CmsPublishedResource> publishedResources) Caches the given published resources list under the given cache key. -
Uses of CmsPublishedResource in org.opencms.search
Modifier and TypeMethodDescriptionprotected List<CmsPublishedResource>
CmsSearchManager.addAdditionallyAffectedResources
(CmsObject adminCms, List<CmsPublishedResource> updateResources) Collects the resources whose indexed document depends on one of the updated resources.protected Collection<CmsPublishedResource>
CmsSearchManager.addIndexContentRelatedResources
(CmsObject adminCms, Collection<CmsPublishedResource> updateResources, Collection<CmsPublishedResource> updateResourcesToCheck) Collects the resources whose indexed document depends on one of the updated resources.protected Collection<CmsPublishedResource>
CmsSearchManager.findRelatedContainerPages
(CmsObject adminCms, Collection<CmsPublishedResource> updateResources, Collection<CmsPublishedResource> updateResourcesToCheck) Collects the related containerpages to the resources that have been published.CmsSearchIndexUpdateData.getResourcesToDelete()
Returns the list of
instances that must be deleted.CmsPublishedResource
protected List<CmsPublishedResource>
CmsSearchManager.CmsSearchOfflineHandler.getResourcesToIndex()
Returns the list ofCmsPublishedResource
objects to index.protected List<CmsPublishedResource>
CmsSearchManager.CmsSearchOfflineIndexThread.getResourcesToIndex()
Obtains the list of resource to update in the offline index, then optimizes the list by removing duplicate entries.CmsSearchIndexUpdateData.getResourcesToUpdate()
Returns the list of
instances that must be updated.CmsPublishedResource
Modifier and TypeMethodDescriptionvoid
CmsSearchIndexUpdateData.addResourceToDelete
(CmsPublishedResource resource) Adds the given resource to the resources that must be deleted from the search index.void
CmsSearchIndexUpdateData.addResourceToUpdate
(CmsPublishedResource resource) Adds the given resource to the resources that must be updated in the search index.protected void
CmsVfsIndexer.addResourceToUpdateData
(CmsPublishedResource pubRes, CmsSearchIndexUpdateData updateData) Adds a given published resource to the provided search index update data.void
CmsLuceneIndexWriter.deleteDocument
(CmsPublishedResource resource) void
I_CmsIndexWriter.deleteDocument
(CmsPublishedResource resource) Delete a document from the index.protected void
CmsVfsIndexer.deleteResource
(I_CmsIndexWriter indexWriter, CmsPublishedResource resource) Deletes a resource with the given index writer.protected boolean
CmsVfsIndexer.isResourceInTimeWindow
(CmsPublishedResource resource) Checks if the published resource is inside the time window set with release and expiration date.Modifier and TypeMethodDescriptionprotected List<CmsPublishedResource>
CmsSearchManager.addAdditionallyAffectedResources
(CmsObject adminCms, List<CmsPublishedResource> updateResources) Collects the resources whose indexed document depends on one of the updated resources.protected Collection<CmsPublishedResource>
CmsSearchManager.addIndexContentRelatedResources
(CmsObject adminCms, Collection<CmsPublishedResource> updateResources, Collection<CmsPublishedResource> updateResourcesToCheck) Collects the resources whose indexed document depends on one of the updated resources.protected void
CmsSearchManager.CmsSearchOfflineHandler.addResourcesToIndex
(List<CmsPublishedResource> resourcesToIndex) Adds a list ofCmsPublishedResource
objects to be indexed.void
CmsVfsIndexer.deleteResources
(I_CmsIndexWriter indexWriter, List<CmsPublishedResource> resourcesToDelete) void
I_CmsIndexer.deleteResources
(I_CmsIndexWriter indexWriter, List<CmsPublishedResource> resourcesToDelete) Incremental index update - delete the index entry for all resources in the given list.protected Collection<CmsPublishedResource>
CmsSearchManager.findRelatedContainerPages
(CmsObject adminCms, Collection<CmsPublishedResource> updateResources, Collection<CmsPublishedResource> updateResourcesToCheck) Collects the related containerpages to the resources that have been published.CmsDependencyIndexer.getUpdateData
(CmsSearchIndexSource source, List<CmsPublishedResource> publishedResources) CmsVfsIndexer.getUpdateData
(CmsSearchIndexSource source, List<CmsPublishedResource> publishedResources) I_CmsIndexer.getUpdateData
(CmsSearchIndexSource source, List<CmsPublishedResource> publishedResources) Calculates the data for an incremental search index update.protected void
CmsSearchManager.CmsSearchOfflineIndexThread.startOfflineUpdateThread
(I_CmsReport report, List<CmsPublishedResource> resourcesToIndex) Updates the offline search indexes for the given list of resources.protected void
CmsSearchManager.updateAllIndexes
(CmsObject adminCms, List<CmsPublishedResource> updateResources, I_CmsReport report) Incrementally updates all indexes that have their rebuild mode set to"auto"
.protected void
CmsSearchManager.updateIndex
(I_CmsSearchIndex index, I_CmsReport report, List<CmsPublishedResource> resourcesToIndex) Updates (if required creates) the index with the given name.protected void
CmsSearchManager.updateIndexIncremental
(CmsObject cms, I_CmsSearchIndex index, I_CmsReport report, List<CmsPublishedResource> resourcesToIndex) Incrementally updates the given index.protected void
CmsSearchManager.updateIndexOffline
(I_CmsReport report, List<CmsPublishedResource> resourcesToIndex) Updates the offline search indexes for the given list of resources.void
CmsVfsIndexer.updateResources
(I_CmsIndexWriter writer, CmsIndexingThreadManager threadManager, List<CmsPublishedResource> resourcesToUpdate) void
I_CmsIndexer.updateResources
(I_CmsIndexWriter writer, CmsIndexingThreadManager threadManager, List<CmsPublishedResource> resourcesToUpdate) Incremental index update - create a new index entry for all resources in the given list.ModifierConstructorDescriptionprotected
CmsSearchOfflineIndexWorkThread
(I_CmsReport report, List<CmsPublishedResource> resourcesToIndex) Updates the offline search indexes for the given list of resources. -
Uses of CmsPublishedResource in org.opencms.search.documents
Modifier and TypeMethodDescriptionCmsDocumentDependency.getResource()
Returns the VFS resource for which the dependencies are calculated.Modifier and TypeMethodDescriptionstatic CmsDocumentDependency
CmsDocumentDependency.load
(CmsObject cms, CmsPublishedResource pubRes) Loads or creates a dependency object for the given parameters.protected static void
CmsDocumentDependency.removeFromContext
(CmsObject cms, CmsPublishedResource pubRes) Removes the dependency object for a published resource from the OpenCms runtime context. -
Uses of CmsPublishedResource in org.opencms.search.solr
Modifier and TypeMethodDescriptionvoid
CmsSolrIndexWriter.deleteDocument
(CmsPublishedResource resource) -
Uses of CmsPublishedResource in org.opencms.staticexport
Modifier and TypeMethodDescriptionprotected List<CmsPublishedResource>
A_CmsStaticExportHandler.addMovedLinkSources
(CmsObject cms, List<CmsPublishedResource> publishedResources) Add the link sources of moved resources to the list of published resources.CmsAfterPublishStaticExportHandler.getAllResources
(CmsObject cms) Returns all resources within the current OpenCms site that are not marked as internal.CmsStaticExportExportRule.getExportResources
(CmsObject cms) Returns a set of
objects containing all resources specified by theCmsPublishedResource
<export-resources>
node of this rule.protected List<CmsPublishedResource>
CmsAfterPublishStaticExportHandler.getRelatedResources
(CmsObject cms, List<CmsPublishedResource> publishedResources) Creates a list of
objects containing all related resources of the VFS tree.CmsPublishedResource
CmsStaticExportExportRule.getRelatedResources
(CmsObject cms, CmsPublishedResource publishedResource) Returns a set of
objects specified by theCmsPublishedResource
<export-resources>
node of this rule, if the publishedResource matches a modified Resource regular expression.protected Set<CmsPublishedResource>
CmsAfterPublishStaticExportHandler.getSiblings
(CmsObject cms, CmsPublishedResource pubResource) Returns all siblings of the published resource as list ofCmsPublishedResource
.A_CmsStaticExportHandler.scrubExportFolders
(CmsUUID publishHistoryId) Scrubs all files from the export folder that might have been changed, so that the export is newly created after the next request to the resource.Modifier and TypeMethodDescriptionCmsStaticExportExportRule.getRelatedResources
(CmsObject cms, CmsPublishedResource publishedResource) Returns a set of
objects specified by theCmsPublishedResource
<export-resources>
node of this rule, if the publishedResource matches a modified Resource regular expression.protected Set<CmsPublishedResource>
CmsAfterPublishStaticExportHandler.getSiblings
(CmsObject cms, CmsPublishedResource pubResource) Returns all siblings of the published resource as list ofCmsPublishedResource
.protected void
A_CmsStaticExportHandler.scrubResource
(CmsObject cms, CmsPublishedResource res, Set<String> scrubbedFolders, Set<String> scrubbedFiles) Scrub a single file or folder.Modifier and TypeMethodDescriptionprotected List<CmsPublishedResource>
A_CmsStaticExportHandler.addMovedLinkSources
(CmsObject cms, List<CmsPublishedResource> publishedResources) Add the link sources of moved resources to the list of published resources.void
CmsAfterPublishStaticExportHandler.doExportAfterPublish
(List<CmsPublishedResource> resources, I_CmsReport report) Does the actual static export.protected boolean
CmsAfterPublishStaticExportHandler.exportNonTemplateResources
(CmsObject cms, List<CmsPublishedResource> publishedResources, I_CmsReport report) Exports all non template resources found in a list of published resources.protected List<CmsPublishedResource>
CmsAfterPublishStaticExportHandler.getRelatedResources
(CmsObject cms, List<CmsPublishedResource> publishedResources) Creates a list of
objects containing all related resources of the VFS tree.CmsPublishedResource
protected boolean
CmsAfterPublishStaticExportHandler.readNonTemplateResourcesToExport
(CmsObject cms, List<CmsPublishedResource> publishedResources, List<CmsStaticExportData> resourcesToExport) Returns all non template resources found in a list of published resources.