Uses of Class
org.opencms.file.CmsObject
Packages that use CmsObject
Package
Description
Contains the ade configuration classes.
Classes for handling formatter configurations.
Contains the container page editor service classes.
Contains classes used for reading and caching inheritance groups.
Contains server side classes for the XML content editor.
Contains functions for the detail pages in OpenCms.
Contains server side classes for the gallery dialogs.
This package contains the server-side classes for the publish module.
Server side of the sitemap view.
Implementations of specialized caches used in OpenCms.
Reads and writes the XML based OpenCms configuration files.
Classes to build the user preferences dialog.
Low-level database connection and access functionality.
This important package provides the methods to access the OpenCms VFS repository with the permissions
of an authenticated user.
Collectors allow to gather lists of OpenCms resources from the OpenCms VFS using specific rules.
This package contains the classes to deal with the OpenCms VFS history archive.
The implementations of the core resource types for the VFS are located here.
This package contains classes and interfaces used to access OpenCms through a wrapped
CmsObject
.Provides low-level JSP integration funtionality for OpenCms,
also implements the FlexCache, a declarative parameter-based cache.
Provides core support for GWT.
Classes to handle internalization (i18n) and locale selection in OpenCms.
Tools for i18n.
Contains functions to import and export resources from the OpenCms VFS.
The implementation of the OpenCms JSP tag library, with some additional utility classes to
help in JSP scriplet code and navigation building.
HTML postprocessor, used to tag single words or phrases in the HTML output.
API classes for the <cms:parse> tag.
API classes for the configuration of the search form support provided for server-side Solr search.
API classes for the configuration parsers of the search form support provided for server-side Solr search.
Helpers to convert the list configuration XML content into a suitable bean, used by the CmsSimpleSearchConfigurationParser and the List manager app.
Contains classes for dealing with restrictions in list configurations.
API classes for the controllers of the search form support provided for server-side Solr search.
API classes for the result of the search form support provided for server-side Solr search.
Utility classes to be used for JSP pages.
Low-level functions to manage the loading of resources from the OpenCms VFS.
The lock state of the resources in the VFS is handled with these classes.
Provides utility classes to generate email messages using the OpenCms email configuration.
Provides the main OpenCms "operating system".
OpenCms modules provide a powerful, standardized way to extend
the core OpenCms functionality.
Contains functions to monitor the OpenCms system status.
Contains classes to distribute newsletters.
Contains classes for the automatical notification of outdated, expiring or released content.
Classes to handle the OpenCms publish process.
Classes to represent and validate the internal and external links/relations of resources in the OpenCms VFS.
Classes used to generate the OpenCms reports, which are displayed during publish, import, export etc.
Package contains all classes and interfaces needed to create or use a repository to
access the resources in the VFS.
The OpenCms scheduler provides a facility to run jobs in a regular schedule, much
like the "cron" faciltiy in UNIX systems.
Some predefined implementations for often used scheduled job tasks.
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.
These classes control the mapping of the OpenCms content to the Lucene search fields.
Implements the search functions for the OpenCms Gallery search index,
which is used by the Advanced Direct Edit (ADE) functions.
The package contains the Solr search integration.
Contains the SOLR based spellcheck service classes.
Access control and security classes for the OpenCms ACL permission system.
Provides access to the multi-site configuration of OpenCms.
Contains classes related to XML sitemap generation.
Contains the functionality for the static HTML page export.
Classes used to synchronize the OpenCms VFS with the real file system.
General code for the Vaadin UI.
Contains classes for workplace actions.
Contains code for workplace apps.
Contains classes of the cache admin app.
Contains classes of the cache admin app.
Contains classes of the file history app.
This package contains the app classes for the git check in functionality.
Contains classes of the link validation app.
This package contains the app classes for the list configurations manager.
Contains classes of the module manager app.
Contains classes of the module manager app used to edit modules.
The project manager app classes.
Contains classes of the publish queue app.
Contains classes of the source search app.
Contains classes of the searchindex app.
Contains classes of the site manager app.
Contains classes of the site manager app.
Contains classes of the user manager app.
Contains some reusable GUI components for Vaadin UI.
Contains components for selecting resources.
Contains code for workplace context menu.
Contains code for workplace dialogs.
Contains code for the file history dialog.
Contains code for the comparison view of the file history dialog.
Contains permission dialog classes.
The available content editors.
The data bindings and logic for the translator editor.
Contains the user interface components for the Vaadin-based login dialog.
Vaadin GUI components and utilities for use in the sitemap editor.
Utilities for Vaadin workplace code.
Utility functions for String manipulation and other often used tasks.
Contains the widget implementations, these are GUI elements used in editors and dialogs of the OpenCms workplace.
Classes related to publishing and workflow.
The base classes for the OpenCms Workplace
(standard dialog, tab dialog, report based dialog)
and the Workplace configuration classes are located here.
Utilities for comparing different versions of resources, used by both the classic workplace and the new Vaadin-based workplace.
Base classes for the editors (WYSIWYG, plain text, XML content) used in the OpenCms Workplace.
Used to control the generation of the HTML for the "direct edit" buttons.
Contains the functions that generate the Workplace "Explorer" view, also contains
the "New resource" wizard.
Contains the various "Galleries" which are available in the editors and widgets of the OpenCms Workplace.
A collection of thread classes that are used in the OpenCms Workplace,
usually in connection with a report.
Contains the base classes for implementing a tool in the OpenCms Workplace "Administration" view.
Basic XML functionality and utilities used by OpenCms to maintain XML documents and content.
Contains functions for the ADE main pages, commonly called "Container Pages" in OpenCms.
Contains functions for structured content storage using XML, commonly called "XML content" in OpenCms.
Contains functions for unstructured content storage using XML, commonly called "XML pages" in OpenCms.
Contains the basic XML content type definitions, used for XML content and XML pages.
-
Uses of CmsObject in org.opencms.ade.configuration
Fields in org.opencms.ade.configuration declared as CmsObjectModifier and TypeFieldDescriptionprotected CmsObject
CmsResourceTypeConfig.m_cms
The CMS object used for VFS operations.Methods in org.opencms.ade.configuration that return CmsObjectModifier and TypeMethodDescriptionprotected CmsObject
CmsADEConfigCacheState.getCms()
Gets the CMS context used for VFS operations.protected CmsObject
CmsADEConfigData.getCms()
Gets the CMS object used for VFS operations.protected CmsObject
CmsADEConfigData.getCmsObject()
Gets the CMS object used for VFS operations.protected CmsObject
Creates a new CMS object based on existing one and changes its site root to the site root.Methods in org.opencms.ade.configuration with parameters of type CmsObjectModifier and TypeMethodDescriptionboolean
CmsADEManager.canEditSitemapConfiguration
(CmsObject cms) Checks if the sitemap config can be edited by the user in the given CMS context.boolean
CmsResourceTypeConfig.checkCreatable
(CmsObject cms, String pageFolderRootPath) Checks if this resource type is creatable.void
CmsResourceTypeConfig.checkOffline
(CmsObject cms) Checks whether the cms context is in the offline project and throws an exception otherwise.boolean
CmsResourceTypeConfig.checkViewable
(CmsObject cms, String referenceUri) Checks if a resource type is viewable for the current user.void
CmsResourceTypeConfig.configureCreateNewElement
(CmsObject cms, String pageFolderRootPath, CmsNewResourceBuilder builder) Similar to createNewElement, but just sets parameters on a resource builder instead of actually creating the resource.CmsResourceTypeConfig.createNewElement
(CmsObject userCms, String pageFolderRootPath) Creates a new element.CmsResourceTypeConfig.createNewElement
(CmsObject userCms, CmsResource modelResource, String pageFolderRootPath) Creates a new element.static CmsADEConfigCacheState
CmsADEConfigCacheState.emptyState
(CmsObject cms) Creates an empty ADE configuration cache state.CmsADEManager.findEntryPoint
(CmsObject cms, String openPath) Finds the entry point to a sitemap.CmsADEManager.getAllDetailPages
(CmsObject cms) Gets the complete list of beans for the currently configured detail pages.CmsADEConfigData.getCreatableTypes
(CmsObject cms, String pageFolderRootPath) Returns a list of the creatable resource types.CmsADEManager.getDetailInfo
(CmsObject cms) Gets the detail page information for everything.CmsADEConfigData.getDetailInfos
(CmsObject cms) Gets the detail information for this sitemap config data object.CmsADEConfigCacheState.getDetailInfosForSubsites
(CmsObject cms) Gets the detail page information for everything.CmsADEManager.getDetailPage
(CmsObject cms, String pageRootPath, String originPath) Gets the detail page for a content element.CmsADEManager.getDetailPage
(CmsObject cms, String rootPath, String linkSource, String targetDetailPage) Gets the detail page for a content element.CmsADEManager.getDetailPages
(CmsObject cms, String type) Returns the main detail pages for a type in all of the VFS tree.CmsADEManager.getDetailPageTypes
(CmsObject cms) Gets the set of types for which detail pages are defined.CmsADEConfigData.getDisplayFormatters
(CmsObject cms) Returns all available display formatters.CmsADEManager.getElementSettings
(CmsObject cms, CmsResource resource) Returns the element settings for a given resource.CmsADEManager.getElementViews
(CmsObject cms) Returns the available element views.CmsADEManager.getFavoriteList
(CmsObject cms) Returns the favorite list, or creates it if not available.CmsContentFolderDescriptor.getFolderPath
(CmsObject cms, String pageFolderPath) Computes the folder root path.CmsResourceTypeConfig.getFolderPath
(CmsObject cms, String pageFolderRootPath) Computes the folder path for this resource type.CmsADEConfigData.getFormatters
(CmsObject cms, CmsResource res) Gets the formatter configuration for a resource.protected CmsFormatterConfiguration
CmsADEConfigData.getFormatters
(CmsObject cms, I_CmsResourceType resType, CmsFormatterConfiguration schemaFormatters) Gets the formatter configuration for a resource type.CmsADEManager.getFormatterSettings
(CmsObject cms, CmsADEConfigData config, I_CmsFormatterBean mainFormatter, CmsResource res, Locale locale, javax.servlet.ServletRequest req) Returns the settings configured for the given formatter which should be editable via ADE.protected CmsFormatterConfiguration
CmsADEConfigData.getFormattersFromSchema
(CmsObject cms, CmsResource res) Gets the formatters from the schema.CmsADEManager.getInheritedContainerState
(CmsObject cms, String rootPath, String name) Returns the inheritance state for the given inheritance name and root path.CmsADEManager.getInheritedContainerState
(CmsObject cms, CmsResource resource, String name) Returns the inheritance state for the given inheritance name and resource.CmsADEManager.getNestedFormatters
(CmsObject cms, CmsADEConfigData config, CmsResource res, Locale locale, javax.servlet.ServletRequest req) Returns the nested formatters of the given resource.CmsADEManager.getParameters
(CmsObject cms) Gets ADE parameters.CmsADEManager.getPermissionInfo
(CmsObject cms, CmsResource resource, String contextPath) Returns the permission info for the given resource.CmsADEManager.getPluginsForPath
(CmsObject cms, String path) Gets a map of plugin wrappers for the given site path.CmsADEManager.getRawDetailPages
(CmsObject cms) Gets the raw configured detail page information, with no existence checks or path correction.CmsADEManager.getRecentList
(CmsObject cms) Returns the favorite list, or creates it if not available.CmsADEConfigData.getSearchableTypes
(CmsObject cms) Gets the searchable resource type configurations.static String
CmsConfigurationReader.getString
(CmsObject cms, I_CmsXmlContentValueLocation location) Gets the string value of an XML content location.CmsADEManager.getSubSitePaths
(CmsObject cms, String subSiteRoot) Returns all sub sites below the given path.CmsADEManager.getSubSiteRoot
(CmsObject cms, String rootPath) Tries to get the subsite root for a given resource root path.protected CmsProject
CmsADEManager.getTempfileProject
(CmsObject cms) Gets a tempfile project, creating one if it doesn't exist already.Returns the element view title.void
CmsADEManager.handleHtmlRedirect
(CmsObject userCms, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String htmlRedirect) Processes a HTML redirect content.boolean
CmsADEConfigData.hasFormatters
(CmsObject cms, I_CmsResourceType resType, Collection<CmsContainer> containers) Checks if there are any matching formatters for the given set of containers.boolean
CmsElementView.hasPermission
(CmsObject cms, CmsResource folder) Checks whether the current user has permissions to use the element view.void
CmsResourceTypeConfig.initialize
(CmsObject cms) Initializes this instance.protected CmsADEConfigData
CmsADEManager.internalLookupConfiguration
(CmsObject cms, String rootPath) Internal configuration lookup method.protected boolean
CmsADEConfigCacheState.isDetailPage
(CmsObject cms, CmsResource resource) Checks whether the given resource is configured as a detail page.boolean
CmsADEManager.isDetailPage
(CmsObject cms, CmsResource resource) Checks whether the given resource is configured as a detail page.boolean
CmsADEManager.isEditorRestricted
(CmsObject cms, CmsResource res) Checks if the user should be prevented from editing a file.boolean
CmsADEManager.isShowEditorHelp
(CmsObject cms) Returns the show editor help flag.CmsADEManager.lookupConfiguration
(CmsObject cms, String rootPath) Looks up the configuration data for a given sitemap path.CmsADEManager.lookupConfigurationWithCache
(CmsObject cms, String rootPath) Looks up the configuration data for a given sitemap path, but uses a thread-local cache for the current request for efficiency.static CmsPropertyConfig
CmsConfigurationReader.parseProperty
(CmsObject cms, I_CmsXmlContentLocation field) Helper method to parse a property.CmsSitemapAttributeEditorConfiguration.read
(CmsObject cms, CmsResource res) Reads the attribute definitions from an XML content.protected CmsObject
Creates a new CMS object based on existing one and changes its site root to the site root.boolean
CmsADEManager.saveDetailPages
(CmsObject cms, String rootPath, List<CmsDetailPageInfo> detailPages, CmsUUID newId) Saves a list of detail pages.void
CmsADEManager.saveFavoriteList
(CmsObject cms, List<CmsContainerElementBean> favoriteList) Saves the favorite list, user based.void
CmsADEManager.saveInheritedContainer
(CmsObject cms, String sitePath, String name, boolean newOrder, List<CmsContainerElementBean> elements) Saves the inheritance container information.void
CmsADEManager.saveInheritedContainer
(CmsObject cms, CmsResource pageResource, String name, boolean newOrder, List<CmsContainerElementBean> elements) Saves the inheritance container information.void
CmsADEManager.saveRecentList
(CmsObject cms, List<CmsContainerElementBean> recentList) Saves the favorite list, user based.void
CmsADEManager.setShowEditorHelp
(CmsObject cms, boolean showHelp) Sets the show editor help flag.protected void
CmsResourceTypeConfig.tryToUnlock
(CmsObject cms, String folderPath) Tries to remove a lock on an ancestor of a given path owned by the current user.Constructors in org.opencms.ade.configuration with parameters of type CmsObjectModifierConstructorDescriptionCmsADEConfigCacheState
(CmsObject cms, Map<CmsUUID, CmsADEConfigDataInternal> siteConfigurations, List<CmsADEConfigDataInternal> moduleConfigs, Map<CmsUUID, CmsElementView> elementViews, Map<CmsUUID, CmsSitePlugin> sitePlugins, Map<CmsUUID, CmsSitemapAttributeEditorConfiguration> attributeEditorConfigurations) Creates a new configuration cache state.CmsADEConfigDataInternal
(CmsObject cms, CmsResource resource, boolean isModuleConfig, String basePath, List<CmsADEConfigDataInternal.ConfigReference> masterConfigs, List<CmsResourceTypeConfig> resourceTypeConfig, CmsGalleryDisabledTypesMode galleryDisabledTypesMode, CmsGalleryDisabledTypesMode galleryDisabledFunctionsMode, boolean discardInheritedTypes, List<CmsPropertyConfig> propertyConfig, org.opencms.ade.configuration.CmsConfigurationReader.DiscardPropertiesMode discardPropertiesMode, List<CmsDetailPageInfo> detailPageInfos, List<CmsModelPageConfigWithoutResource> modelPages, List<CmsFunctionReference> functionReferences, boolean discardInheritedModelPages, boolean createContentsLocally, boolean preferDetailPagesForLocalContents, boolean excludeExternalDetailContents, boolean includeInSiteSelector, CmsFormatterChangeSet formatterChangeSet, boolean removeAllFunctions, Set<CmsUUID> functionIds, Set<CmsUUID> functionsToRemove, boolean removeAllPlugins, Set<CmsUUID> addedPlugins, Set<CmsUUID> removedPlugins, Boolean useFormatterKeys, CmsTypeOrderingMode orderingMode, CmsAddContentRestriction restriction, CmsUUID sharedSettingOverride, boolean removeSharedSettingOverrides, CmsUUID attributeEditorConfigId, Map<String, String> attributes) Creates a new configuration data instance.CmsADEManager
(CmsObject adminCms, CmsMemoryMonitor memoryMonitor, CmsSystemConfiguration systemConfiguration) Creates a new ADE manager.Creates a new configuration reader.Creates a new instance.CmsElementView
(CmsObject cms, CmsResource resource) Constructor.CmsGlobalConfigurationCacheEventHandler
(CmsObject onlineCms) Creates a new cache event handler. -
Uses of CmsObject in org.opencms.ade.configuration.formatters
Constructors in org.opencms.ade.configuration.formatters with parameters of type CmsObjectModifierConstructorDescriptionCmsFormatterBeanParser
(CmsObject cms, Map<CmsUUID, Map<CmsSharedSettingKey, CmsXmlContentProperty>> settingConfigs) Creates a new parser instance.CmsFormatterConfigurationCache
(CmsObject cms, String name) Creates a new formatter configuration cache instance. -
Uses of CmsObject in org.opencms.ade.configuration.plugins
Methods in org.opencms.ade.configuration.plugins with parameters of type CmsObjectModifier and TypeMethodDescriptionstatic List<CmsTemplatePlugin>
CmsTemplatePlugin.parsePlugins
(CmsObject cms, I_CmsXmlContentLocation parent, String subName) Parses the template plugins.static CmsSitePlugin
CmsSitePlugin.read
(CmsObject cms, CmsResource res) Reads a site plugin from a file.static CmsSitePlugin
CmsSitePlugin.readSitePlugin
(CmsObject cms, CmsXmlContent content) Reads a list of plugins from the given XML content. -
Uses of CmsObject in org.opencms.ade.containerpage
Methods in org.opencms.ade.containerpage with parameters of type CmsObjectModifier and TypeMethodDescriptionboolean
I_CmsResourceTypeEnabledCheck.checkEnabled
(CmsObject cms, CmsADEConfigData config, I_CmsResourceType resType) Check whether the given type is enabled for a dialog.static CmsResource
CmsModelGroupHelper.createModelGroup
(CmsObject cms, CmsADEConfigData configData) Creates a new model group resource.static List<CmsModelResourceInfo>
CmsContainerpageService.generateModelResourceList
(CmsObject cms, String resourceType, List<CmsResource> modelResources, Locale contentLocale) Generates the model resource data list.static String
CmsDetailOnlyContainerUtil.getDetailContainerLocale
(CmsObject cms, String contentLocale, CmsResource resource) Returns the detail container resource locale appropriate for the given detail page.static CmsContainerPageBean
CmsDetailOnlyContainerUtil.getDetailOnlyPage
(CmsObject cms, javax.servlet.ServletRequest req, String pageRootPath) Returns the detail only container page bean ornull
if none available.static CmsContainerPageBean
CmsDetailOnlyContainerUtil.getDetailOnlyPage
(CmsObject cms, javax.servlet.ServletRequest req, String pageRootPath, boolean lookupContextFirst) Returns the detail only container page bean ornull
if none available.static com.google.common.base.Optional<CmsResource>
CmsDetailOnlyContainerUtil.getDetailOnlyPage
(CmsObject cms, CmsResource detailContent, String contentLocale) Gets the detail only page for a detail content.static String
CmsDetailOnlyContainerUtil.getDetailOnlyPageName
(CmsObject cms, CmsResource pageResource, String detailPath, String locale) Returns the site/root path to the detail only container page, for site/root path of the detail content.static com.google.common.base.Optional<CmsResource>
CmsDetailOnlyContainerUtil.getDetailOnlyResource
(CmsObject cms, String contentLocale, CmsResource detailContentRes, CmsResource pageRes) Gets the detail only resource for a given detail content and locale.static List<CmsResource>
CmsDetailOnlyContainerUtil.getDetailOnlyResources
(CmsObject cms, CmsResource resource) Returns a list of detail only container pages associated with the given resource.static I_CmsFormatterBean
CmsElementUtil.getFormatterForContainer
(CmsObject cms, CmsContainerElementBean element, CmsContainer container, CmsADEConfigData config, CmsADESessionCache cache) Returns the formatter bean for the given element and container.CmsElementUtil.getPageAndDetailOnlyIds
(CmsObject cms, CmsUUID pageId, CmsResource detailContent) Gets the ids for the current page and potentially detail-only containers.CmsAddDialogTypeHelper.getResourceTypes
(CmsObject cms, String folderRootPath, String createContextPath, String checkViewableReferenceUri, CmsElementView elementView, I_CmsResourceTypeEnabledCheck checkEnabled) Creates list of resource type beans for gallery or 'New' dialog.static String
CmsContainerpageService.getSerializedElementInfo
(CmsObject cms, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, CmsContainerElementBean elementBean, CmsContainerPageBean page) Returns the serialized element data.static boolean
CmsDetailOnlyContainerUtil.isDetailContainersPage
(CmsObject cms, String detailContainersPage) Checks whether the given resource path is of a detail containers page.static boolean
CmsContainerpageService.isEditingModelGroups
(CmsObject cms, CmsResource containerPage) Checks whether the current page is a model group page.void
CmsAddDialogTypeHelper.precomputeTypeLists
(CmsObject cms, String folderRootPath, String checkViewableReferenceUri, List<CmsElementView> views, I_CmsResourceTypeEnabledCheck check) Precomputes type lists for multiple views.static CmsResource
CmsDetailOnlyContainerUtil.readOrCreateDetailOnlyPage
(CmsObject cms, CmsUUID detailId, String detailOnlyRootPath) Creates an empty detail-only page for a content, or just reads the resource if the detail-only page already exists.static CmsTypeAnalyzer.State
CmsTypeAnalyzer.run
(CmsObject cms, String path, boolean skipDetailOnly, String excludeContainersStr, String templateRegex) Runs the type analysis and returns the state object with all the collected data.static CmsXmlContainerPage
CmsDetailOnlyContainerUtil.saveDetailOnlyPage
(CmsObject cms, CmsResource content, String locale, CmsContainerPageBean page) Saves a detail-only page for a content.static void
CmsContainerpageService.unlockPage
(CmsObject cms, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Unlocks a page or set of pages if they are locked by the current user.static boolean
CmsModelGroupHelper.updateModelGroupResource
(CmsObject cms, CmsResource group, String baseContainerName) Updates a model group resource to the changed data structure.Constructors in org.opencms.ade.containerpage with parameters of type CmsObjectModifierConstructorDescriptionCmsDetailOnlyContainerPageBuilder
(CmsObject cms, CmsADEConfigData config) Creates a new instance.CmsElementUtil
(CmsObject cms, String currentPageUri, CmsUUID detailContentId, String requestParameters, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, Locale locale) Creates a new instance.CmsElementUtil
(CmsObject cms, String currentPageUri, CmsUUID detailContentId, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, Locale locale) Creates a new instance.CmsElementUtil
(CmsObject cms, String currentPageUri, CmsContainerPageBean containerPage, CmsUUID detailContentId, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, boolean isDragMode, Locale locale) Creates a new instance.CmsModelGroupHelper
(CmsObject cms, CmsADEConfigData configData, CmsADESessionCache sessionCache, boolean isEditingModelGroups) Constructor.CmsTypeAnalyzer
(CmsObject cms, String siteRoot, String path, boolean skipDetailOnly, Set<String> excludedContainers, String templateRegex) Creates a new instance. -
Uses of CmsObject in org.opencms.ade.containerpage.inherited
Methods in org.opencms.ade.containerpage.inherited with parameters of type CmsObjectModifier and TypeMethodDescriptionstatic CmsResource
CmsInheritanceGroupUtils.getInheritanceGroupContentByName
(CmsObject cms, String name) Finds the inheritance group content with a given internal name.CmsInheritanceGroupUtils.getNamesOfGroupsContainingResource
(CmsObject cms, CmsResource inheritanceConfig, CmsResource target) Parses an inheritance group configuration C and returns the names of inheritance groups in C in which a given resource is defined as a new element.protected Map<String,
CmsXmlContentProperty> CmsContainerConfigurationWriter.getSettingConfiguration
(CmsObject cms, CmsResource resource) Gets the setting configuration of an element.protected void
CmsContainerConfigurationWriter.removeExistingEntry
(CmsObject cms, CmsXmlContent content, Locale locale, String name) Removes an existing inheritance container entry with a given name from the configuration file.void
CmsContainerConfigurationWriter.save
(CmsObject cms, String name, boolean newOrdering, CmsResource pageResource, List<CmsContainerElementBean> elements) Saves a list of container element beans to a file in the VFS.protected CmsXmlContent
CmsContainerConfigurationWriter.saveInContentObject
(CmsObject cms, CmsXmlContent content, Locale locale, String name, CmsContainerConfiguration configuration) Saves a single container configuration in an XML content object, but doesn't write it to the VFS.org.dom4j.Element
CmsContainerConfigurationWriter.serializeSingleConfiguration
(CmsObject cms, String name, CmsContainerConfiguration config, org.dom4j.Element parentElement) Serializes a single container configuration into an XML element.Constructors in org.opencms.ade.containerpage.inherited with parameters of type CmsObjectModifierConstructorDescriptionCmsContainerConfigurationCache
(CmsObject cms, String name) Creates a new cache instance for inherited containers.Creates a new configuration parser.Creates a new parser instance. -
Uses of CmsObject in org.opencms.ade.contenteditor
Methods in org.opencms.ade.contenteditor that return CmsObjectModifier and TypeMethodDescriptionCmsContentService.getCmsObject()
CmsContentTypeVisitor.getCmsObject()
Gets the CMS context.Methods in org.opencms.ade.contenteditor with parameters of type CmsObjectModifier and TypeMethodDescriptionstatic List<CmsTabInfo>
CmsContentTypeVisitor.collectTabInfos
(CmsObject cms, CmsXmlContentDefinition definition, CmsMessages messages) Returns the tab informations for the given content definition.static CmsWidgetUtil.WidgetInfo
CmsWidgetUtil.collectWidgetInfo
(CmsObject cms, CmsXmlContentDefinition rootContentDefinition, String path, CmsMessages messages, Locale overrideLocale) Collects widget information for a given content definition and content value path.static CmsWidgetUtil.WidgetInfo
CmsWidgetUtil.collectWidgetInfo
(CmsObject cms, I_CmsXmlContentValue value) Collects widget information for a given content value.static String
CmsContentService.defaultCreateResourceToEdit
(CmsObject cms, String newLink, Locale locale, String referenceSitePath, String modelFileSitePath, String mode, String postCreateHandler) Creates a new resource to edit, delegating to an edit handler if edit handler data is passed in.void
CmsDynamicCategoryFieldList.ensureFields
(CmsObject cms, CmsXmlContent content) Tries to add the collected fields to all locales of the given content.void
CmsDynamicCategoryFieldList.ensureFields
(CmsObject cms, CmsXmlContent content, Locale locale) Tries to add the collected fields to one locale of the given content.protected String
CmsContentService.getFileEncoding
(CmsObject cms, CmsResource file) Helper method to determine the encoding of the given file in the VFS, which must be set using the "content-encoding" property.static CmsAccessRestrictionInfo
CmsAccessRestrictionInfo.getRestrictionInfo
(CmsObject cms, CmsXmlContentDefinition contentDef) Gets the restriction info for the current user and content definition.CmsDelayedDefaultChangeHandler.handleChange
(CmsObject cms, CmsXmlContent content, Locale locale, Collection<String> changedPaths) CmsEditorChangeHandlerFormatterSelection.handleChange
(CmsObject cms, CmsXmlContent content, Locale locale, Collection<String> changedPaths) Adjusts the added/removed formatters if "Remove all formatters" is checked/unchecked.CmsEditorChangeHandlerProperty.handleChange
(CmsObject cms, CmsXmlContent content, Locale locale, Collection<String> changedPaths) Constructors in org.opencms.ade.contenteditor with parameters of type CmsObjectModifierConstructorDescriptionCmsContentTypeVisitor
(CmsObject cms, CmsFile file, Locale locale) Constructor. -
Uses of CmsObject in org.opencms.ade.detailpage
Methods in org.opencms.ade.detailpage with parameters of type CmsObjectModifier and TypeMethodDescriptionCmsDefaultDetailPageHandler.getAllDetailPages
(CmsObject cms, int resType) Gets the all detail pages.CmsPermissiveDetailPageHandler.getAllDetailPages
(CmsObject cms, int resType) I_CmsDetailPageHandler.getAllDetailPages
(CmsObject cms, int restype) Finds all detail pages for a given resource.CmsDetailPageUtil.getAllDetailPagesWithUrlName
(CmsObject cms, CmsResource res) Gets a list of detail page URIs for the given resource, with its URL name appended.static String
CmsDetailPageUtil.getBestUrlName
(CmsObject cms, CmsUUID id) Returns either the newest URL name for a structure id, or the structure id as a string if there is no URL name.CmsDefaultDetailPageHandler.getDetailPage
(CmsADEManager manager, CmsObject cms, String contentRootPath, String originPath, String targetDetailPage) Gets the detail page for a content element.CmsDefaultDetailPageHandler.getDetailPage
(CmsObject cms, String rootPath, String linkSource, String targetDetailPage) Gets the detail page to use for a detail resource.static String
CmsPermissiveDetailPageHandler.getDetailPage
(CmsADEManager manager, CmsObject cms, String pageRootPath, String originPath, String targetDetailPage) Gets the detail page for a content element.CmsPermissiveDetailPageHandler.getDetailPage
(CmsObject cms, String rootPath, String linkSource, String targetDetailPage) I_CmsDetailPageHandler.getDetailPage
(CmsObject cms, String rootPath, String linkSource, String targetDetailPage) Returns the detail page link for the given resource, or null if there is no detail page for the resource.void
CmsDefaultDetailPageHandler.initialize
(CmsObject offlineCms, CmsObject onlineCms) Initialize.void
CmsPermissiveDetailPageHandler.initialize
(CmsObject offlineCms, CmsObject onlineCms) void
I_CmsDetailPageHandler.initialize
(CmsObject offlineCms, CmsObject onlineCms) Initializes the detail page handler.CmsDetailPageResourceHandler.initResource
(CmsResource resource, CmsObject cms, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) boolean
CmsDefaultDetailPageHandler.isValidDetailPage
(CmsObject cms, CmsResource page, CmsResource detailRes) Checks whether the given detail page is valid for the given resource.protected boolean
CmsDetailPageResourceHandler.isValidDetailPage
(CmsObject cms, CmsResource page, CmsResource detailRes) Checks whether the given detail page is valid for the given resource.boolean
CmsPermissiveDetailPageHandler.isValidDetailPage
(CmsObject cms, CmsResource page, CmsResource detailRes) Checks whether the given detail page is valid for the given resource.boolean
I_CmsDetailPageHandler.isValidDetailPage
(CmsObject cms, CmsResource page, CmsResource detailRes) Checks whether the given detail page is valid for the given resource.static CmsResource
CmsDetailPageUtil.lookupPage
(CmsObject cms, String uri) Looks up a page by URI (which may be a detail page URI, or a normal VFS uri).Constructors in org.opencms.ade.detailpage with parameters of type CmsObjectModifierConstructorDescriptionCreates a new detail page configuration writer.CmsDetailPageFilter
(CmsObject cms, String rootPath) Creates a new instance based on the root path of a detail resource.CmsDetailPageFilter
(CmsObject cms, CmsResource resource) Creates a new instance based on an actual detail resource. -
Uses of CmsObject in org.opencms.ade.galleries
Methods in org.opencms.ade.galleries that return CmsObjectModifier and TypeMethodDescriptionprotected CmsObject
CmsGalleryService.getSearchCms
(CmsGallerySearchBean searchObj) Gets an initialized CmsObject to be used for the actual search for a given search bean.Methods in org.opencms.ade.galleries with parameters of type CmsObjectModifier and TypeMethodDescriptionprotected abstract T
A_CmsTreeTabDataPreloader.createEntry
(CmsObject cms, CmsResource resource) Creates a tree entry bean from a resource.static CmsVfsEntryBean
CmsGalleryService.generateVfsPreloadData
(CmsObject cms, CmsTreeOpenState vfsState, Set<String> folders) Generates the pre-loaded contents for the VFS tab of the gallery dialog.static String
CmsPreviewService.getPreviewContent
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, CmsObject cms, CmsResource resource, Locale locale) Renders the preview content for the given resource and locale.Gets the replaced results for a specific resource type.CmsAddContentRestriction.TypeEntry.getResults
(CmsObject cms) Gets the results to be displayed in the 'add content' dialog.static CmsVfsEntryBean
CmsGalleryService.internalCreateVfsEntryBean
(CmsObject cms, CmsResource resource, String title, boolean isRoot, boolean isEditable, List<CmsVfsEntryBean> children, boolean isMatch) Creates the VFS entry bean for a resource.protected boolean
CmsGalleryService.isSitemapEntry
(CmsObject cms, CmsResource resource) Checks whether a given resource is a sitemap entry.A_CmsTreeTabDataPreloader.preloadData
(CmsObject cms, Set<CmsResource> openResources, Set<CmsResource> selectedResources) Creates the preload data for a collection of resources which correspond to "opened" tree items.static CmsAddContentRestriction
CmsAddContentRestriction.read
(CmsObject cms, I_CmsXmlContentLocation parent, String nodeName) Reads a content restriction from an XML content.CmsAddContentRestriction.readEntry
(CmsObject cms, I_CmsXmlContentValueLocation location) Reads the entry for a single type from the configuration.static CmsPoint
CmsPreviewService.readFocalPoint
(CmsObject cms, CmsResource resource) Reads the focal point from a resource.void
CmsPreviewService.readResourceInfo
(CmsObject cms, CmsResource resource, CmsResourceInfoBean resInfo, String locale) Retrieves the resource information and puts it into the provided resource info bean.Constructors in org.opencms.ade.galleries with parameters of type CmsObjectModifierConstructorDescriptionCmsGalleryFilteredNavTreeBuilder
(CmsObject cms, String rootPath) Creates a new navigation tree.Creates a new builder instance. -
Uses of CmsObject in org.opencms.ade.publish
Fields in org.opencms.ade.publish declared as CmsObjectModifier and TypeFieldDescriptionprotected final CmsObject
CmsPublish.m_cms
The current cms context.Methods in org.opencms.ade.publish that return CmsObjectModifier and TypeMethodDescriptionstatic CmsObject
CmsPublishListHelper.adjustCmsObject
(CmsObject cms, boolean online) Initializes a CmsObject based on the given one, but with adjusted project information and configured, such that release and expiration date are ignored.CmsCollectorPublishListHelper.getCmsObject
(boolean online) Initializes a CmsObject.Methods in org.opencms.ade.publish with parameters of type CmsObjectModifier and TypeMethodDescriptionprotected void
CmsDirectPublishProject.addSubResources
(CmsObject cms, Set<CmsResource> resources) Adds contents of folders to a list of resources.static CmsObject
CmsPublishListHelper.adjustCmsObject
(CmsObject cms, boolean online) Initializes a CmsObject based on the given one, but with adjusted project information and configured, such that release and expiration date are ignored.CmsDummyRelatedResourceProvider.getAdditionalRelatedResources
(CmsObject cms, CmsResource res) I_CmsPublishRelatedResourceProvider.getAdditionalRelatedResources
(CmsObject cms, CmsResource res) Gets the set of additional related resources.protected static String
CmsPublish.getOuAwareName
(CmsObject cms, String name) Returns the simple name if the ou is the same as the current user's ou.CmsCurrentPageProject.getProjectBean
(CmsObject cms, Map<String, String> params) CmsDirectPublishProject.getProjectBean
(CmsObject cms, Map<String, String> params) CmsMyChangesProject.getProjectBean
(CmsObject cms, Map<String, String> params) CmsRealProjectVirtualWrapper.getProjectBean
(CmsObject cms, Map<String, String> params) I_CmsVirtualProject.getProjectBean
(CmsObject cms, Map<String, String> params) Gets the project bean.CmsPublishService.getPublishData
(CmsObject cms, HashMap<String, String> params, String workflowId, String projectParam, List<String> pathList, String closeLink, boolean confirm) Gets the publish data for the given parameters.CmsDefaultCollectorPublishListProvider.getPublishResources
(CmsObject cms, I_CmsContentLoadCollectorInfo info) CmsCurrentPageProject.getRelatedResourceProvider
(CmsObject cmsObject, CmsPublishOptions options) CmsDirectPublishProject.getRelatedResourceProvider
(CmsObject cmsObject, CmsPublishOptions options) CmsMyChangesProject.getRelatedResourceProvider
(CmsObject cmsObject, CmsPublishOptions options) CmsRealProjectVirtualWrapper.getRelatedResourceProvider
(CmsObject cmsObject, CmsPublishOptions options) I_CmsVirtualProject.getRelatedResourceProvider
(CmsObject cmsObject, CmsPublishOptions options) Returns an object that can be queried for 'related' resources specific to this virtual project.CmsRealProjectVirtualWrapper.getResources
(CmsObject cms, Map<String, String> params, String workflowId) Gets the resources of the virtual project.static String
CmsPublishService.wrapProjectName
(CmsObject cms, String name) Wraps the project name in a message string.Constructors in org.opencms.ade.publish with parameters of type CmsObjectModifierConstructorDescriptionCmsCollectorPublishListHelper
(CmsObject cms, I_CmsContentLoadCollectorInfo collectorInfo, int collectorLimit) Creates a new instance.CmsPublish
(CmsObject cms) Creates a new instance.CmsPublish
(CmsObject cms, Map<String, String> params) Constructor with default options.CmsPublish
(CmsObject cms, CmsPublishOptions options) Constructor with options.CmsPublishRelationFinder
(CmsObject cms, Collection<CmsResource> resources, boolean keepOriginalUnchangedResources, I_CmsPublishRelatedResourceProvider relProvider) Creates a new instance. -
Uses of CmsObject in org.opencms.ade.sitemap
Methods in org.opencms.ade.sitemap with parameters of type CmsObjectModifier and TypeMethodDescriptionvoid
CmsVfsSitemapService.checkPermissions
(CmsObject cms) void
Clears the entry for a given site root, but only if the user from the given CMS context matches the user in the entry.Tries to update or create an entry for the given user/site root combination.Constructors in org.opencms.ade.sitemap with parameters of type CmsObjectModifierConstructorDescriptionCreates a new helper object.CmsModelPageHelper
(CmsObject cms, CmsResource rootResource) Creates a new instance.CmsSitemapAttributeUpdater
(CmsObject cms, CmsXmlContent sitemapConfig) Creates a new instance.Initializes the session cache. -
Uses of CmsObject in org.opencms.ade.upload
Methods in org.opencms.ade.upload with parameters of type CmsObjectModifier and TypeMethodDescriptionstatic String
CmsUploadBean.getNewResourceName
(CmsObject cms, String fileName, String folder, boolean keepFileNames) Returns the VFS path for the given filename and folder.CmsDefaultUploadRestriction.getUploadRestrictionInfo
(CmsObject cms) I_CmsUploadRestriction.getUploadRestrictionInfo
(CmsObject cms) Gets the upload restriction information for the given CMS contextvoid
CmsDefaultUploadRestriction.setAdminCmsObject
(CmsObject adminCms) -
Uses of CmsObject in org.opencms.cache
Methods in org.opencms.cache with parameters of type CmsObjectModifier and TypeMethodDescriptionCmsVfsMemoryObjectCache.getCachedObject
(CmsObject cms, String rootPath) Return an object from the cache.CmsVfsMemoryObjectCache.loadVfsObject
(CmsObject cms, String rootPath, org.apache.commons.collections.Transformer function) Uses a transformer for loading an object from a path if it has not already been cached, and then caches it.void
CmsVfsMemoryObjectCache.putCachedObject
(CmsObject cms, String rootPath, Object value) Puts an object into the cache. -
Uses of CmsObject in org.opencms.cmis
Methods in org.opencms.cmis that return CmsObjectModifier and TypeMethodDescriptionprotected CmsObject
CmsCmisRepository.getCmsObject
(CmsCmisCallContext context) Initializes a CMS context for the authentication data contained in a call context.Methods in org.opencms.cmis with parameters of type CmsObjectModifier and TypeMethodDescriptionstatic void
CmsCmisUtil.addDynamicProperties
(CmsObject cms, CmsCmisTypeManager typeManager, org.apache.chemistry.opencmis.commons.impl.dataobjects.PropertiesImpl props, String typeId, CmsResource resource, Set<String> filter) Helper method to add the dynamic properties for a resource.protected org.apache.chemistry.opencmis.commons.data.Acl
CmsCmisRelationHelper.collectAcl
(CmsObject cms, CmsResource resource, boolean onlyBasic) Compiles the ACL for a relation.protected org.apache.chemistry.opencmis.commons.data.Acl
CmsCmisResourceHelper.collectAcl
(CmsObject cms, CmsResource resource, boolean onlyBasic) Compiles the ACL for a file or folder.protected org.apache.chemistry.opencmis.commons.data.AllowableActions
CmsCmisRelationHelper.collectAllowableActions
(CmsObject cms, CmsResource file, CmsRelation relation) Collects the allowable actions for a relation.protected org.apache.chemistry.opencmis.commons.data.AllowableActions
CmsCmisResourceHelper.collectAllowableActions
(CmsObject cms, CmsResource file) Compiles the allowable actions for a file or folder.protected org.apache.chemistry.opencmis.commons.data.ObjectData
CmsCmisRelationHelper.collectObjectData
(CmsCmisCallContext context, CmsObject cms, CmsResource resource, CmsRelation relation, Set<String> filter, boolean includeAllowableActions, boolean includeAcl) Fills in an ObjectData record.protected org.apache.chemistry.opencmis.commons.data.ObjectData
CmsCmisResourceHelper.collectObjectData
(CmsCmisCallContext context, CmsObject cms, CmsResource resource, Set<String> filter, String renditionFilter, boolean includeAllowableActions, boolean includeAcl, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships) Fills in an ObjectData record.protected org.apache.chemistry.opencmis.commons.data.Properties
CmsCmisRelationHelper.collectProperties
(CmsObject cms, CmsResource resource, CmsRelation relation, Set<String> orgfilter, org.apache.chemistry.opencmis.commons.impl.server.ObjectInfoImpl objectInfo) Gathers all base properties of a file or folder.protected org.apache.chemistry.opencmis.commons.data.Properties
CmsCmisResourceHelper.collectProperties
(CmsObject cms, CmsResource resource, Set<String> orgfilter, org.apache.chemistry.opencmis.commons.impl.server.ObjectInfoImpl objectInfo) Gathers all base properties of a file or folder.protected List<org.apache.chemistry.opencmis.commons.data.RenditionData>
CmsCmisResourceHelper.collectRenditions
(CmsObject cms, CmsResource resource, String renditionFilterString, org.apache.chemistry.opencmis.commons.impl.server.ObjectInfoImpl objectInfo) Collects renditions for a resource.static boolean
CmsCmisUtil.ensureLock
(CmsObject cms, CmsResource resource) Tries to lock a resource and throws an exception if it can't be locked.void
CmsCmisRelationHelper.RelationKey.fillRelation
(CmsObject cms) Reads the actual resource and relation data from the OpenCms VFS.protected String
A_CmsCmisRepository.getAcePrincipalName
(CmsObject cms, CmsUUID principalId) Gets a user-readable name for a principal id read from an ACE.static String
CmsCmisUtil.getAcePrincipalName
(CmsObject cms, CmsUUID principalId) Gets a user-readable name for a principal id read from an ACE.byte[]
I_CmsCmisRenditionProvider.getContent
(CmsObject cms, CmsResource resource) Gets the rendition content stream for the resource.I_CmsPropertyProvider.getPropertyValue
(CmsObject cms, CmsResource resource) Reads the property value.protected List<org.apache.chemistry.opencmis.commons.data.ObjectData>
CmsCmisRepository.getRelationshipObjectData
(CmsCmisCallContext context, CmsObject cms, CmsResource resource, org.apache.chemistry.opencmis.commons.enums.RelationshipDirection relationshipDirection, Set<String> filterSet, boolean includeAllowableActions) Gets the relationship data for a given resource.org.apache.chemistry.opencmis.commons.data.RenditionData
I_CmsCmisRenditionProvider.getRendition
(CmsObject cms, CmsResource resource) Gets the rendition data for a resource.static boolean
CmsCmisUtil.hasChildren
(CmsObject cms, CmsResource resource) Checks whether the given resource has any children.void
CmsCmisRepository.initializeCms
(CmsObject cms) void
I_CmsPropertyProvider.setPropertyValue
(CmsObject cms, CmsResource resource, String valueToSet) Writes the property value.Constructors in org.opencms.cmis with parameters of type CmsObjectModifierConstructorDescriptionCmsCmisTypeManager
(CmsObject adminCms, List<I_CmsPropertyProvider> propertyProviders) Creates a new type manager instance. -
Uses of CmsObject in org.opencms.configuration
Methods in org.opencms.configuration with parameters of type CmsObjectModifier and TypeMethodDescriptionGets the string value with the maximal weight for the parameter with the given key.CmsParameterStore.getWeightedValue
(CmsObject cms, String key) Finds the value with the maximal weight for the given key.static Map<String,
CmsParameterStore.WeightedValue> Helper method for parsing a parameter file from a VFS resource.void
CmsConfigurationManager.setAdminCms
(CmsObject cms) Sets the admin CmsObject.void
I_CmsNeedsAdminCmsObject.setAdminCmsObject
(CmsObject adminCms) Sets the admin CmsObject.void
CmsSitesConfiguration.setCmsObject
(CmsObject cms) void
I_CmsXmlConfigurationWithUpdateHandler.setCmsObject
(CmsObject cms) Called during startup with a CmsObject with admin privileges. -
Uses of CmsObject in org.opencms.configuration.preferences
Methods in org.opencms.configuration.preferences with parameters of type CmsObjectModifier and TypeMethodDescriptionA_CmsPreference.getPropertyDefinition
(CmsObject cms) CmsElementViewPreference.getPropertyDefinition
(CmsObject cms) CmsLanguagePreference.getPropertyDefinition
(CmsObject cms) CmsProjectPreference.getPropertyDefinition
(CmsObject cms) CmsSitePreference.getPropertyDefinition
(CmsObject cms) CmsStartFolderPreference.getPropertyDefinition
(CmsObject cms) CmsStartGallleryPreference.getPropertyDefinition
(CmsObject cms) CmsStartViewPreference.getPropertyDefinition
(CmsObject cms) CmsUserDefinedPreference.getPropertyDefinition
(CmsObject cms) CmsWorkplaceModePreference.getPropertyDefinition
(CmsObject cms) CmsWrapperPreference.getPropertyDefinition
(CmsObject cms) I_CmsPreference.getPropertyDefinition
(CmsObject cms) Gets the metadata describing how the setting should be edited.static String
CmsSitePreference.getSiteSelectOptionsStatic
(CmsObject cms, Locale locale) Gets the options for the site selector.CmsStartViewPreference.getViewSelectOptions
(CmsObject cms, String value) Gets the select options for the view selector.boolean
A_CmsPreference.isDisabled
(CmsObject cms) boolean
CmsEditorPreference.isDisabled
(CmsObject cms) boolean
CmsStartViewPreference.isDisabled
(CmsObject cms) boolean
CmsWorkplaceModePreference.isDisabled
(CmsObject cms) boolean
CmsWrapperPreference.isDisabled
(CmsObject cms) boolean
I_CmsPreference.isDisabled
(CmsObject cms) Returns true if the preference is disabled. -
Uses of CmsObject in org.opencms.crypto
Methods in org.opencms.crypto with parameters of type CmsObjectModifier and TypeMethodDescriptionvoid
CmsAESTextEncryption.initialize
(CmsObject cms) void
I_CmsTextEncryption.initialize
(CmsObject cms) Initializes the encryption handler. -
Uses of CmsObject in org.opencms.db
Methods in org.opencms.db with parameters of type CmsObjectModifier and TypeMethodDescriptionboolean
CmsLoginManager.canLockBecauseOfInactivity
(CmsObject cms, CmsUser user) Checks whether a user account can be locked because of inactivity.protected CmsResource
CmsPublishList.checkContainsSubResources
(CmsObject cms, List<CmsResource> folders) Checks whether the publish list contains all sub-resources of a list of folders.protected void
CmsAliasManager.checkPermissionsForMassEdit
(CmsObject cms) Checks whether the current user has the permissions to mass edit the alias table, and throws an exception otherwise.protected boolean
CmsPublishList.containsSubResources
(CmsObject cms, CmsResource folder) Checks if the publish list contains all sub-resources of a given folder.protected void
CmsDriverManager.ensureSubResourcesOfMovedFoldersPublished
(CmsObject cms, CmsDbContext dbc, CmsPublishList pubList) Tries to add sub-resources of moved folders to the publish list and throws an exception if the publish list still does not contain some sub-resources of the moved folders.static String
CmsUserSettings.getAdditionalPreference
(CmsObject cms, String key, boolean useDefault) Gets a configured preference.CmsAliasManager.getAliasesForPath
(CmsObject cms, String siteRoot, String aliasPath) Gets the list of aliases for a path in a given site.CmsAliasManager.getAliasesForSite
(CmsObject cms, String siteRoot) Gets the list of aliases for a given site root.CmsAliasManager.getAliasesForStructureId
(CmsObject cms, CmsUUID structureId) Gets the aliases for a given structure id.long
CmsSubscriptionManager.getDateLastVisitedBy
(CmsObject cms, CmsUser user, String resourcePath) Returns the date when the resource was last visited by the user.long
CmsSubscriptionManager.getDateLastVisitedBy
(CmsObject cms, CmsUser user, CmsResource resource) Returns the date when the resource was last visited by the user.protected List<CmsResource>
CmsPublishList.getMissingSubResources
(CmsObject cms, List<CmsResource> folders) Gets the sub-resources of a list of folders which are missing from the publish list.protected List<CmsResource>
CmsPublishList.getMovedFolders
(CmsObject cms) Internal method to get the moved folders from the publish list.CmsAliasManager.getRewriteAliases
(CmsObject cms, String siteRoot) Reads the rewrite aliases for a given site root.CmsAliasManager.getRewriteAliasMatcher
(CmsObject cms, String siteRoot) Gets the rewrite alias matcher for the given site.CmsUserSettings.getStartGallery
(String galleryType, CmsObject cms) Returns the root site path to the start gallery of the user or the constant CmsPreferences.INPUT_DEFAULT.CmsPublishList.getTopMovedFolders
(CmsObject cms) Gets the list of moved folders which are not subfolders of other moved folders in the publish list.boolean
CmsAliasManager.hasPermissionsForMassEdit
(CmsObject cms, String siteRoot) Checks whether the current user has permissions for mass editing the alias table.protected CmsAliasImportResult
CmsAliasManager.importAlias
(CmsObject cms, String siteRoot, String aliasPath, String vfsPath, CmsAliasMode mode) Imports a single alias.CmsAliasManager.importAliases
(CmsObject cms, byte[] aliasData, String siteRoot, String separator) Imports alias CSV data.void
CmsImportFolder.importFolder
(String importFolderName, String importPath, CmsObject cms) Import that will read from the real file system.void
Import that will read from a ZIP file.void
CmsSubscriptionManager.initialize
(CmsObject cms) Initializes this subscription manager with the OpenCms system configuration.CmsUserTrackingResourceHandler.initResource
(CmsResource resource, CmsObject cms, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) boolean
CmsLoginManager.isExcludedFromPasswordReset
(CmsObject cms, CmsUser user) Checks if the user should be excluded from password reset.boolean
CmsLoginManager.isPasswordReset
(CmsObject cms, CmsUser user) Checks if password has to be reset.void
CmsSubscriptionManager.markResourceAsVisitedBy
(CmsObject cms, String resourcePath, CmsUser user) Mark the given resource as visited by the user.void
CmsSubscriptionManager.markResourceAsVisitedBy
(CmsObject cms, CmsResource resource, CmsUser user) Mark the given resource as visited by the user.protected CmsAliasImportResult
CmsAliasManager.processAliasImport
(CmsObject cms, String siteRoot, String aliasPath, String vfsPath, CmsAliasMode mode) Processes a single alias import operation which has already been parsed into fields.protected CmsAliasImportResult
CmsAliasManager.processAliasLine
(CmsObject cms, String siteRoot, String line, String separator) Processes a line from a CSV file containing the alias data to be imported.void
CmsDriverManager.publishJob
(CmsObject cms, CmsDbContext dbc, CmsPublishList publishList, I_CmsReport report) Publishes the given publish job.void
CmsDriverManager.publishProject
(CmsObject cms, CmsDbContext dbc, CmsPublishList publishList, I_CmsReport report) Publishes the resources of a specified publish list.CmsSecurityManager.publishProject
(CmsObject cms, CmsPublishList publishList, I_CmsReport report) Publishes the resources of a specified publish list.CmsSubscriptionManager.readAllSubscribedResources
(CmsObject cms, CmsPrincipal principal) Returns all resources subscribed by the given user or group.CmsSubscriptionManager.readResourcesVisitedBy
(CmsObject cms, CmsVisitedByFilter filter) Returns the resources that were visited by a user set in the filter.CmsSubscriptionManager.readSubscribedDeletedResources
(CmsObject cms, CmsUser user, boolean includeGroups, String folderPath, boolean includeSubFolders, long deletedFrom) Returns the subscribed history resources that were deleted.CmsSubscriptionManager.readSubscribedResources
(CmsObject cms, CmsSubscriptionFilter filter) Returns the resources that were subscribed by a user or group set in the filter.void
CmsLoginManager.removeLoginMessage
(CmsObject cms) Removes the current login message.boolean
CmsLoginManager.requiresPasswordChange
(CmsObject cms, CmsUser user) Checks if a user is required to change his password now.boolean
CmsLoginManager.requiresUserDataCheck
(CmsObject cms, CmsUser user) Checks if a user is required to change his password now.void
Revives the publish list by populating the internal resource lists with
instances.CmsResource
void
Saves the changed settings of the user to the usersCmsUser.getAdditionalInfo()
map.void
CmsAliasManager.saveAliases
(CmsObject cms, CmsUUID structureId, List<CmsAlias> aliases) Saves the aliases for a given structure id, completely replacing any existing aliases for the same structure id.void
CmsAliasManager.saveRewriteAliases
(CmsObject cms, String siteRoot, List<CmsRewriteAlias> newAliases) Saves the rewrite alias for a given site root.static void
CmsUserSettings.setAdditionalPreference
(CmsObject cms, String key, String value) Sets a configured preference.void
CmsLoginManager.setBeforeLoginMessage
(CmsObject cms, CmsLoginMessage message) Sets the before login message to display on the login form.void
CmsLoginManager.setLoginMessage
(CmsObject cms, CmsLoginMessage message) Sets the login message to display if a user logs in.void
CmsSubscriptionManager.setSubscribedResourceAsDeleted
(CmsObject cms, CmsResource resource) Marks a subscribed resource as deleted.void
CmsSubscriptionFilter.setUserGroups
(CmsObject cms) Sets the groups of the user currently set in this filter as the list of groups to check subscribed resources for.void
CmsSubscriptionManager.subscribeResourceFor
(CmsObject cms, CmsPrincipal principal, String resourcePath) Subscribes the user or group to the resource.void
CmsSubscriptionManager.subscribeResourceFor
(CmsObject cms, CmsPrincipal principal, CmsResource resource) Subscribes the user or group to the resource.void
CmsLoginManager.unlockUser
(CmsObject cms, CmsUser user) Unlocks a user who has exceeded his number of failed login attempts so that he can try to log in again.void
CmsSubscriptionManager.unsubscribeAllDeletedResources
(CmsObject cms, long deletedTo) Unsubscribes all deleted resources that were deleted before the specified time stamp.void
CmsSubscriptionManager.unsubscribeAllResourcesFor
(CmsObject cms, CmsPrincipal principal) Unsubscribes the user or group from all resources.void
CmsSubscriptionManager.unsubscribeResourceFor
(CmsObject cms, CmsPrincipal principal, String resourcePath) Unsubscribes the principal from the resource.void
CmsSubscriptionManager.unsubscribeResourceFor
(CmsObject cms, CmsPrincipal principal, CmsResource resource) Unsubscribes the principal from the resource.void
CmsSubscriptionManager.unsubscribeResourceForAll
(CmsObject cms, String resourcePath) Unsubscribes all groups and users from the resource.void
CmsSubscriptionManager.unsubscribeResourceForAll
(CmsObject cms, CmsResource resource) Unsubscribes all groups and users from the resource.void
CmsAliasManager.updateAliases
(CmsObject cms, Collection<CmsAlias> toDelete, Collection<CmsAlias> toAdd) Updates the aliases in the database.Constructors in org.opencms.db with parameters of type CmsObjectModifierConstructorDescriptionCmsImportFolder
(byte[] content, String importPath, CmsObject cms, boolean noSubFolder) Constructor for a new CmsImportFolder that will read from a ZIP file.CmsImportFolder
(String importFolderName, String importPath, CmsObject cms) Constructor for a new CmsImportFolder that will read from the real file system.Constructor, setting the user to the current user from the context.CmsSubscriptionFilter
(CmsObject cms, boolean addUserGroups) Constructor, setting the user to the current user from the context.CmsUserSettings
(CmsObject cms) Creates a user settings object with initialized settings of the current user.Constructor, setting the user to the current user from the context. -
Uses of CmsObject in org.opencms.file
Methods in org.opencms.file with parameters of type CmsObjectModifier and TypeMethodDescriptionprotected String
CmsLinkRewriter.getConfiguredEncoding
(CmsObject cms, CmsResource resource) Gets the encoding which is configured at the location of a given resource.CmsUser.getDisplayName
(CmsObject cms, Locale locale) static CmsResourceFilter
CmsResourceFilter.ignoreExpirationOffline
(CmsObject cms) Returns the DEFAULT filter in the Online project, and IGNORE_EXPIRATION otherwise.Constructors in org.opencms.file with parameters of type CmsObjectModifierConstructorDescriptionCmsLinkRewriter
(CmsObject cms, String source, String target) Creates a link rewriter for use after a single copy operation.Creates a new link rewriter for a list of sources and corresponding targets.CmsLinkRewriter
(CmsObject cms, List<String> sources, String target) Creates a link rewriter for use after a multi-copy operation. -
Uses of CmsObject in org.opencms.file.collectors
Methods in org.opencms.file.collectors with parameters of type CmsObjectModifier and TypeMethodDescriptionprotected List<CmsResource>
CmsChangedResourceCollector.allChangedInFolderDate
(CmsObject cms, String param, boolean tree, boolean asc, int numResults) Returns a List of all changed resources in the folder pointed to by the parameter sorted by the date attributes specified in the parameter.protected List<CmsResource>
CmsDateResourceCollector.allInFolderDate
(CmsObject cms, String param, boolean tree, boolean asc, int numResults) Returns a List of all resources in the folder pointed to by the parameter sorted by the selected dates.protected List<CmsResource>
CmsDefaultResourceCollector.allInFolderDateReleasedDesc
(CmsObject cms, String param, boolean tree, int numResults) Returns a List of all resources in the folder pointed to by the parameter sorted by the release date, descending.protected List<CmsResource>
CmsDefaultResourceCollector.allInFolderNavPos
(CmsObject cms, String param, boolean readSubTree, int numResults) Collects all resources in a folder (or subtree) sorted by the NavPos property.protected List<CmsResource>
CmsPriorityResourceCollector.allInFolderPriorityDate
(CmsObject cms, String param, boolean tree, boolean asc, int numResults) Returns a list of all resource in a specified folder sorted by priority, then date ascending or descending.protected List<CmsResource>
CmsPriorityResourceCollector.allInFolderPriorityTitle
(CmsObject cms, String param, boolean tree, int numResults) Returns a list of all resource in a specified folder sorted by priority descending, then Title ascending.protected List<CmsResource>
CmsCategoryResourceCollector.allKeyValuePairFiltered
(CmsObject cms, String param, int numResults) Collects all resources for the given categories filtered and sorted by the given collector parameter.protected List<CmsResource>
CmsPriorityResourceCollector.allMappedToUriPriorityDate
(CmsObject cms, String param, boolean asc, int numResults) Returns a list of all resource from specified folder that have been mapped to the currently requested uri, sorted by priority, then date ascending or descending.static long
CmsDateResourceComparator.calculateDate
(CmsObject cms, CmsResource resource, List<String> dateIdentifiers, long defaultValue) Calculates the date to use for comparison of this resource based on the given date identifiers.static String
A_CmsResourceCollector.createResourceForCollector
(CmsObject cms, String newLink, Locale locale, String referenceResource, String modelFile, String mode, String postCreateHandler) Creates a new content collector resource.protected List<CmsResource>
CmsDefaultResourceCollector.getAllInFolder
(CmsObject cms, String param, boolean tree, int numResults) Returns all resources in the folder pointed to by the parameter.protected String
A_CmsResourceCollector.getCreateInFolder
(CmsObject cms, String param) Returns the link to create a new XML content item in the folder pointed to by the parameter.protected String
A_CmsResourceCollector.getCreateInFolder
(CmsObject cms, CmsCollectorData data) Returns the link to create a new XML content item in the folder pointed to by the parameter.A_CmsResourceCollector.getCreateLink
(CmsObject cms) CmsCategoryResourceCollector.getCreateLink
(CmsObject cms, String collectorName, String param) CmsChangedResourceCollector.getCreateLink
(CmsObject cms, String collectorName, String param) CmsDateResourceCollector.getCreateLink
(CmsObject cms, String collectorName, String param) CmsDefaultResourceCollector.getCreateLink
(CmsObject cms, String collectorName, String param) CmsPriorityResourceCollector.getCreateLink
(CmsObject cms, String collectorName, String param) CmsSolrCollector.getCreateLink
(CmsObject cms, String collectorName, String param) CmsSubscriptionCollector.getCreateLink
(CmsObject cms, String collectorName, String param) CmsTimeFrameCategoryCollector.getCreateLink
(CmsObject cms, String collectorName, String param) I_CmsResourceCollector.getCreateLink
(CmsObject cms) Returns the link that must be executed when a user clicks on the direct edit "new" button on a list created by the default collector.I_CmsResourceCollector.getCreateLink
(CmsObject cms, String collectorName, String param) Returns the link that must be executed when a user clicks on the direct edit "new" button on a list created by the named collector.A_CmsResourceCollector.getCreateParam
(CmsObject cms) CmsCategoryResourceCollector.getCreateParam
(CmsObject cms, String collectorName, String param) CmsChangedResourceCollector.getCreateParam
(CmsObject cms, String collectorName, String param) CmsDateResourceCollector.getCreateParam
(CmsObject cms, String collectorName, String param) CmsDefaultResourceCollector.getCreateParam
(CmsObject cms, String collectorName, String param) CmsPriorityResourceCollector.getCreateParam
(CmsObject cms, String collectorName, String param) CmsSolrCollector.getCreateParam
(CmsObject cms, String collectorName, String param) CmsSubscriptionCollector.getCreateParam
(CmsObject cms, String collectorName, String param) CmsTimeFrameCategoryCollector.getCreateParam
(CmsObject cms, String collectorName, String param) I_CmsResourceCollector.getCreateParam
(CmsObject cms) Returns the default parameter that must be passed to theI_CmsResourceCollector.getCreateLink(CmsObject, String, String)
method.I_CmsResourceCollector.getCreateParam
(CmsObject cms, String collectorName, String param) Returns the parameter that must be passed to theI_CmsResourceCollector.getCreateLink(CmsObject, String, String)
method.int
A_CmsResourceCollector.getCreateTypeId
(CmsObject cms, String collectorName, String param) int
CmsDateResourceCollector.getCreateTypeId
(CmsObject cms, String collectorName, String param) int
CmsDefaultResourceCollector.getCreateTypeId
(CmsObject cms, String collectorName, String param) int
CmsPriorityResourceCollector.getCreateTypeId
(CmsObject cms, String collectorName, String param) int
CmsSolrCollector.getCreateTypeId
(CmsObject cms, String collectorName, String param) int
CmsTimeFrameCategoryCollector.getCreateTypeId
(CmsObject cms, String collectorName, String param) int
I_CmsResourceCollector.getCreateTypeId
(CmsObject cms, String collectorName, String param) Returns the id of the resource type for new collector items.A_CmsResourceCollector.getPublishResources
(CmsObject cms, I_CmsContentLoadCollectorInfo info) I_CmsCollectorPublishListProvider.getPublishResources
(CmsObject cms, I_CmsContentLoadCollectorInfo info) Gets the publish list for the collector.A_CmsResourceCollector.getResults
(CmsObject cms) CmsCategoryResourceCollector.getResults
(CmsObject cms, String collectorName, String param) CmsCategoryResourceCollector.getResults
(CmsObject cms, String collectorName, String param, int numResults) CmsChangedResourceCollector.getResults
(CmsObject cms, String collectorName, String param) CmsChangedResourceCollector.getResults
(CmsObject cms, String collectorName, String param, int numResults) CmsDateResourceCollector.getResults
(CmsObject cms, String collectorName, String param) CmsDateResourceCollector.getResults
(CmsObject cms, String collectorName, String param, int numResults) CmsDefaultResourceCollector.getResults
(CmsObject cms, String collectorName, String param) CmsDefaultResourceCollector.getResults
(CmsObject cms, String collectorName, String param, int numResults) CmsPriorityResourceCollector.getResults
(CmsObject cms, String collectorName, String param) CmsPriorityResourceCollector.getResults
(CmsObject cms, String collectorName, String param, int numResults) CmsSolrCollector.getResults
(CmsObject cms, String collectorName, String param) CmsSolrCollector.getResults
(CmsObject cms, String name, String param, int numResults) CmsSubscriptionCollector.getResults
(CmsObject cms, String collectorName, String param) CmsSubscriptionCollector.getResults
(CmsObject cms, String collectorName, String param, int numResults) CmsTimeFrameCategoryCollector.getResults
(CmsObject cms, String collectorName, String param) CmsTimeFrameCategoryCollector.getResults
(CmsObject cms, String collectorName, String param, int numResults) I_CmsResourceCollector.getResults
(CmsObject cms) Returns a list ofCmsResource
Objects that are gathered in the VFS using the default collector name and parameter.I_CmsResourceCollector.getResults
(CmsObject cms, String collectorName, String param) Returns a list ofCmsResource
Objects that are gathered in the VFS using the named collector.I_CmsResourceCollector.getResults
(CmsObject cms, String collectorName, String params, int numResults) Returns a list ofCmsResource
Objects that are gathered in the VFS using the named collector.protected List<CmsResource>
CmsDefaultResourceCollector.getSingleFile
(CmsObject cms, String param) Returns a List containing the resources pointed to by the parameter.protected List<CmsResource>
CmsSubscriptionCollector.getSubscribedDeletedResources
(CmsObject cms, String param, int numResults) Returns the subscribed deleted resources according to the collector parameter.protected List<CmsResource>
CmsSubscriptionCollector.getSubscribedResources
(CmsObject cms, String param, int numResults) Returns the subscribed resources according to the collector parameter.protected CmsSubscriptionFilter
CmsSubscriptionCollector.getSubscriptionFilter
(CmsObject cms, String param) Returns the configured subscription filter to use.protected CmsSubscriptionFilter
CmsSubscriptionCollector.getSubscriptionFilter
(CmsObject cms, Map<String, String> params) Returns the configured subscription filter to use.protected CmsVisitedByFilter
CmsSubscriptionCollector.getVisitedByFilter
(CmsObject cms, String param) Returns the configured visited by filter to use.protected List<CmsResource>
CmsSubscriptionCollector.getVisitedResources
(CmsObject cms, String param, int numResults) Returns the visited resources according to the collector parameter.void
CmsAddCategoriesPostCreateHandler.onCreate
(CmsObject cms, CmsResource createdResource, boolean copyMode) void
CmsAddCategoriesPostCreateHandler.onCreate
(CmsObject cms, CmsResource createdResource, boolean copyMode, String config) Adds the categories specified viaconfig
to the newly created resource iff not in copy mode.void
CmsDefaultPostCreateHandler.onCreate
(CmsObject cms, CmsResource createdResource, boolean copyMode) void
I_CmsCollectorPostCreateHandler.onCreate
(CmsObject cms, CmsResource createdResource, boolean copyMode) This is called after the new content has been created (and possibly already been filled with content).default void
I_CmsCollectorPostCreateHandler.onCreate
(CmsObject cms, CmsResource createdResource, boolean copyMode, String config) This is called after the new content has been created (and possibly already been filled with content).Constructors in org.opencms.file.collectors with parameters of type CmsObjectModifierConstructorDescriptionCmsDateResourceComparator
(CmsObject cms, List<String> dateIdentifiers, boolean asc) Creates a new instance of this comparator key.CmsPriorityDateResourceComparator
(CmsObject cms, boolean asc) Creates a new instance of this comparator key.Creates a new instance of this comparator key.CmsPropertyResourceComparator
(CmsObject cms, String property, boolean asc) Creates a new instance of this comparator key. -
Uses of CmsObject in org.opencms.file.history
Methods in org.opencms.file.history with parameters of type CmsObjectModifier and TypeMethodDescriptionCmsHistoryProject.getGroupManagersName
(CmsObject cms) Returns the project manager group name.CmsHistoryProject.getGroupUsersName
(CmsObject cms) Returns the projects user group name.CmsHistoryProject.getOwnerName
(CmsObject cms) Returns the owner name.CmsHistoryProject.getPublishedByName
(CmsObject cms) Returns the publishers name.static CmsResource
CmsHistoryResourceHandler.getResourceWithHistory
(CmsObject cms, String resourceUri) Returns the correct resource for the given URI, taken into account historical versions marked by theversion
parameter.CmsHistoryFile.getUserCreatedName
(CmsObject cms) Returns the name of the user that created this resource.CmsHistoryFolder.getUserCreatedName
(CmsObject cms) Returns the name of the user that created this resource.CmsHistoryFile.getUserLastModifiedName
(CmsObject cms) Returns the name of the user that last modified this resource.CmsHistoryFolder.getUserLastModifiedName
(CmsObject cms) Returns the name of the user that last modified this resource.CmsHistoryResourceHandler.initResource
(CmsResource resource, CmsObject cms, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) -
Uses of CmsObject in org.opencms.file.types
Methods in org.opencms.file.types with parameters of type CmsObjectModifier and TypeMethodDescriptionvoid
A_CmsResourceType.changeLock
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource) void
I_CmsResourceType.changeLock
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource) Changes the lock of a resource to the current user, that is "steals" the lock from another user.void
A_CmsResourceType.chflags
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int flags) void
I_CmsResourceType.chflags
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int flags) Changes the resource flags of a resource.void
A_CmsResourceType.chtype
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int type) Deprecated.void
A_CmsResourceType.chtype
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, I_CmsResourceType type) void
A_CmsResourceTypeFolderBase.chtype
(CmsObject cms, CmsSecurityManager securityManager, CmsResource filename, int newType) void
CmsResourceTypeJsp.chtype
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int type) void
CmsResourceTypePlain.chtype
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int type) void
I_CmsResourceType.chtype
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int type) Deprecated.void
I_CmsResourceType.chtype
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, I_CmsResourceType type) Changes the resource type of a resource.void
A_CmsResourceType.copyResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource source, String destination, CmsResource.CmsResourceCopyMode siblingMode) void
A_CmsResourceTypeFolderBase.copyResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource source, String destination, CmsResource.CmsResourceCopyMode siblingMode) void
I_CmsResourceType.copyResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource source, String destination, CmsResource.CmsResourceCopyMode siblingMode) Copies a resource.void
A_CmsResourceType.copyResourceToProject
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource) void
I_CmsResourceType.copyResourceToProject
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource) Copies a resource to the current project of the user.protected CmsResource
A_CmsResourceType.createRelations
(CmsObject cms, CmsSecurityManager securityManager, String resourceName, boolean updateSiblingState) Creates the relation information for the resource with the given resource name.A_CmsResourceType.createResource
(CmsObject cms, CmsSecurityManager securityManager, String resourcename, byte[] content, List<CmsProperty> properties) A_CmsResourceTypeFolderBase.createResource
(CmsObject cms, CmsSecurityManager securityManager, String resourcename, byte[] content, List<CmsProperty> properties) CmsResourceTypeImage.createResource
(CmsObject cms, CmsSecurityManager securityManager, String resourcename, byte[] content, List<CmsProperty> properties) CmsResourceTypeXmlContainerPage.createResource
(CmsObject cms, CmsSecurityManager securityManager, String resourcename, byte[] content, List<CmsProperty> properties) CmsResourceTypeXmlContent.createResource
(CmsObject cms, CmsSecurityManager securityManager, String resourcename, byte[] content, List<CmsProperty> properties) CmsResourceTypeXmlPage.createResource
(CmsObject cms, CmsSecurityManager securityManager, String resourcename, byte[] content, List<CmsProperty> properties) I_CmsResourceType.createResource
(CmsObject cms, CmsSecurityManager securityManager, String resourcename, byte[] content, List<CmsProperty> properties) Creates a new resource of the given resource type with the provided content and properties.A_CmsResourceType.createSibling
(CmsObject cms, CmsSecurityManager securityManager, CmsResource source, String destination, List<CmsProperty> properties) I_CmsResourceType.createSibling
(CmsObject cms, CmsSecurityManager securityManager, CmsResource source, String destination, List<CmsProperty> properties) Creates a new sibling of the source resource.void
A_CmsResourceType.deleteResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsResource.CmsResourceDeleteMode siblingMode) void
CmsResourceTypeJsp.deleteResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsResource.CmsResourceDeleteMode siblingMode) void
CmsResourceTypePlain.deleteResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsResource.CmsResourceDeleteMode siblingMode) void
CmsResourceTypeXmlContent.deleteResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsResource.CmsResourceDeleteMode siblingMode) void
I_CmsResourceType.deleteResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsResource.CmsResourceDeleteMode siblingMode) Deletes a resource given its name.protected List<CmsConfigurationCopyResource>
A_CmsResourceType.getCopyResources
(CmsObject cms, String resourcename, CmsMacroResolver resolver) Gets the actual copy resources to use when creating a resource.protected List<CmsConfigurationCopyResource>
CmsResourceTypeSubsitemapContentFolder.getCopyResources
(CmsObject cms, String resourcename, CmsMacroResolver resolver) static CmsImageScaler
CmsResourceTypeImage.getDownScaler
(CmsObject cms, String rootPath) Returns the image downscaler to use when writing an image resource to the given root path.CmsResourceTypeXmlContent.getEditHandler
(CmsObject cms) Returns the edit handler if configured.A_CmsResourceType.getFormattersForResource
(CmsObject cms, CmsResource res) CmsResourceTypeJsp.getFormattersForResource
(CmsObject cms, CmsResource res) CmsResourceTypeXmlContent.getFormattersForResource
(CmsObject cms, CmsResource resource) I_CmsResourceType.getFormattersForResource
(CmsObject cms, CmsResource resource) Returns the formatter configuration for the given resource.protected Locale
CmsResourceTypeLocaleIndependentXmlContent.getLocaleForNewContent
(CmsObject cms, CmsSecurityManager securityManager, String resourcename, List<CmsProperty> properties) This overridden method ensures that configurations will always be created with an english locale node.protected Locale
CmsResourceTypeXmlAdeConfiguration.getLocaleForNewContent
(CmsObject cms, CmsSecurityManager securityManager, String resourcename, List<CmsProperty> properties) This overridden method ensures that configurations will always be created with an english locale node.protected Locale
CmsResourceTypeXmlContent.getLocaleForNewContent
(CmsObject cms, CmsSecurityManager securityManager, String resourcename, List<CmsProperty> properties) Gets the locale which should be used for creating an empty content.protected CmsMacroResolver
A_CmsResourceType.getMacroResolver
(CmsObject cms, String resourcename) Creates a macro resolver based on the current users OpenCms context and the provided resource name.static List<CmsResource>
CmsResourceTypeXmlContent.getModelFiles
(CmsObject cms, String currentFolder, String newResourceTypeName) Returns the possible model files for the new resource.CmsResourceTypeJsp.getReferencingStrongLinks
(CmsObject cms, CmsResource resource) Returns a set of root paths of files that are including the given resource using the 'link.strong' macro.CmsResourceTypePlain.getReferencingStrongLinks
(CmsObject cms, CmsResource resource) Returns a set of root paths of files that are including the given resource using the 'link.strong' macro.protected CmsLink
CmsResourceTypeXmlContent.getXsdLink
(CmsObject cms, CmsXmlContent xmlContent) Creates a new link object for the schema definition.A_CmsResourceType.importResource
(CmsObject cms, CmsSecurityManager securityManager, I_CmsReport report, String resourcename, CmsResource resource, byte[] content, List<CmsProperty> properties) CmsResourceTypeImage.importResource
(CmsObject cms, CmsSecurityManager securityManager, I_CmsReport report, String resourcename, CmsResource resource, byte[] content, List<CmsProperty> properties) I_CmsResourceType.importResource
(CmsObject cms, CmsSecurityManager securityManager, I_CmsReport report, String resourcename, CmsResource resource, byte[] content, List<CmsProperty> properties) Imports a resource to the OpenCms VFS.void
A_CmsResourceType.initialize
(CmsObject cms) void
CmsResourceTypeJsp.initialize
(CmsObject cms) void
CmsResourceTypePlain.initialize
(CmsObject cms) void
CmsResourceTypeXmlContent.initialize
(CmsObject cms) void
I_CmsResourceType.initialize
(CmsObject cms) Initializes this resource type.static boolean
CmsResourceTypeXmlContainerPage.isModelCopyGroup
(CmsObject cms, CmsResource resource) Checks whether the given resource is a model reuse group.void
A_CmsResourceType.lockResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsLockType type) void
I_CmsResourceType.lockResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsLockType type) Locks a resource.void
A_CmsResourceType.moveResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, String destination) void
A_CmsResourceTypeFolderBase.moveResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, String destination) void
CmsResourceTypeJsp.moveResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, String destination) void
CmsResourceTypePlain.moveResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, String destination) void
CmsResourceTypeXmlContent.moveResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, String destination) void
I_CmsResourceType.moveResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, String destination) Moves a resource to the given destination.CmsResourceTypeJsp.parseLinks
(CmsObject cms, CmsFile file) CmsResourceTypeXmlContainerPage.parseLinks
(CmsObject cms, CmsFile file) CmsResourceTypeXmlContent.parseLinks
(CmsObject cms, CmsFile file) CmsResourceTypeXmlPage.parseLinks
(CmsObject cms, CmsFile file) protected void
A_CmsResourceType.processCopyResources
(CmsObject cms, String resourcename, CmsMacroResolver resolver) Processes the copy resources of this resource type.void
A_CmsResourceType.removeResourceFromProject
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource) void
I_CmsResourceType.removeResourceFromProject
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource) Removes a resource from the current project of the user.void
A_CmsResourceType.replaceResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int type, byte[] content, List<CmsProperty> properties) void
A_CmsResourceType.replaceResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, I_CmsResourceType type, byte[] content, List<CmsProperty> properties) void
A_CmsResourceTypeFolderBase.replaceResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int type, byte[] content, List<CmsProperty> properties) void
CmsResourceTypeImage.replaceResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int type, byte[] content, List<CmsProperty> properties) void
CmsResourceTypeJsp.replaceResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int type, byte[] content, List<CmsProperty> properties) void
CmsResourceTypePlain.replaceResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int type, byte[] content, List<CmsProperty> properties) void
I_CmsResourceType.replaceResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int type, byte[] content, List<CmsProperty> properties) void
I_CmsResourceType.replaceResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, I_CmsResourceType type, byte[] content, List<CmsProperty> properties) Replaces the content, type and properties of a resource.void
A_CmsResourceType.restoreResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int version) void
CmsResourceTypeJsp.restoreResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int version) void
CmsResourceTypePlain.restoreResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int version) void
I_CmsResourceType.restoreResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int version) Restores a resource in the current project with a version from the historical archive.void
A_CmsResourceType.setDateExpired
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateExpired, boolean recursive) void
A_CmsResourceTypeFolderBase.setDateExpired
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateLastModified, boolean recursive) void
CmsResourceTypeJsp.setDateExpired
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateExpired, boolean recursive) void
CmsResourceTypePlain.setDateExpired
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateExpired, boolean recursive) void
CmsResourceTypeXmlContent.setDateExpired
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateExpired, boolean recursive) void
I_CmsResourceType.setDateExpired
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateExpired, boolean recursive) Changes the "expire" date of a resource.void
A_CmsResourceType.setDateLastModified
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateLastModified, boolean recursive) void
A_CmsResourceTypeFolderBase.setDateLastModified
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateLastModified, boolean recursive) void
CmsResourceTypeJsp.setDateLastModified
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateLastModified, boolean recursive) void
CmsResourceTypePlain.setDateLastModified
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateLastModified, boolean recursive) void
I_CmsResourceType.setDateLastModified
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateLastModified, boolean recursive) Changes the "last modified" date of a resource.void
A_CmsResourceType.setDateReleased
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateReleased, boolean recursive) void
A_CmsResourceTypeFolderBase.setDateReleased
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateLastModified, boolean recursive) void
CmsResourceTypeJsp.setDateReleased
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateReleased, boolean recursive) void
CmsResourceTypePlain.setDateReleased
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateReleased, boolean recursive) void
CmsResourceTypeXmlContent.setDateReleased
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateReleased, boolean recursive) void
I_CmsResourceType.setDateReleased
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateReleased, boolean recursive) Changes the "release" date of a resource.void
A_CmsResourceType.undelete
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, boolean recursive) void
A_CmsResourceTypeFolderBase.undelete
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, boolean recursive) void
I_CmsResourceType.undelete
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, boolean recursive) Undeletes a resource.void
A_CmsResourceType.undoChanges
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsResource.CmsResourceUndoMode mode) void
A_CmsResourceTypeFolderBase.undoChanges
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsResource.CmsResourceUndoMode mode) void
CmsResourceTypeJsp.undoChanges
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsResource.CmsResourceUndoMode mode) void
CmsResourceTypePlain.undoChanges
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsResource.CmsResourceUndoMode mode) void
I_CmsResourceType.undoChanges
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsResource.CmsResourceUndoMode mode) Undos all changes in the resource by restoring the version from the online project to the current offline project.void
A_CmsResourceType.unlockResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource) void
I_CmsResourceType.unlockResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource) Unlocks a resource.protected void
A_CmsResourceType.updateRelationForUndo
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource) Update the relations after an undo changes operation.A_CmsResourceType.writeFile
(CmsObject cms, CmsSecurityManager securityManager, CmsFile resource) CmsResourceTypeFunctionConfig.writeFile
(CmsObject cms, CmsSecurityManager securityManager, CmsFile resource) CmsResourceTypeImage.writeFile
(CmsObject cms, CmsSecurityManager securityManager, CmsFile resource) CmsResourceTypeJsp.writeFile
(CmsObject cms, CmsSecurityManager securityManager, CmsFile resource) CmsResourceTypePlain.writeFile
(CmsObject cms, CmsSecurityManager securityManager, CmsFile resource) CmsResourceTypeXmlContainerPage.writeFile
(CmsObject cms, CmsSecurityManager securityManager, CmsFile resource) CmsResourceTypeXmlContent.writeFile
(CmsObject cms, CmsSecurityManager securityManager, CmsFile resource) CmsResourceTypeXmlPage.writeFile
(CmsObject cms, CmsSecurityManager securityManager, CmsFile resource) I_CmsResourceType.writeFile
(CmsObject cms, CmsSecurityManager securityManager, CmsFile resource) Writes a resource, including it's content.void
A_CmsResourceType.writePropertyObject
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsProperty property) void
I_CmsResourceType.writePropertyObject
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsProperty property) Writes a property for a specified resource.void
A_CmsResourceType.writePropertyObjects
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, List<CmsProperty> properties) void
I_CmsResourceType.writePropertyObjects
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, List<CmsProperty> properties) Writes a list of properties for a specified resource. -
Uses of CmsObject in org.opencms.file.wrapper
Methods in org.opencms.file.wrapper with parameters of type CmsObjectModifier and TypeMethodDescriptionstatic String
CmsResourceWrapperUtils.addFileExtension
(CmsObject cms, String resourcename, String extension) Adds a file extension to the resource name.A_CmsResourceWrapper.addResourcesToFolder
(CmsObject cms, String resourcename, CmsResourceFilter filter) CmsResourceWrapperModules.addResourcesToFolder
(CmsObject cms, String resourcename, CmsResourceFilter filter) CmsResourceWrapperModulesNonLazy.addResourcesToFolder
(CmsObject cms, String resourcename, CmsResourceFilter filter) CmsResourceWrapperPropertyFile.addResourcesToFolder
(CmsObject cms, String resourcename, CmsResourceFilter filter) CmsResourceWrapperSystemFolder.addResourcesToFolder
(CmsObject cms, String resourcename, CmsResourceFilter filter) CmsResourceWrapperXmlPage.addResourcesToFolder
(CmsObject cms, String resourcename, CmsResourceFilter filter) I_CmsResourceWrapper.addResourcesToFolder
(CmsObject cms, String resourcename, CmsResourceFilter filter) Here it is possible to add additional (virtual) child resources to those already existing in the VFS.boolean
A_CmsResourceExtensionWrapper.copyResource
(CmsObject cms, String source, String destination, CmsResource.CmsResourceCopyMode siblingMode) boolean
A_CmsResourceWrapper.copyResource
(CmsObject cms, String source, String destination, CmsResource.CmsResourceCopyMode siblingMode) boolean
CmsResourceWrapperXmlPage.copyResource
(CmsObject cms, String source, String destination, CmsResource.CmsResourceCopyMode siblingMode) boolean
I_CmsResourceWrapper.copyResource
(CmsObject cms, String source, String destination, CmsResource.CmsResourceCopyMode siblingMode) Copies a resource.static CmsFile
CmsResourceWrapperUtils.createPropertyFile
(CmsObject cms, CmsResource res, String path) Creates a virtual CmsFile with the individual and shared properties as content.A_CmsResourceExtensionWrapper.createResource
(CmsObject cms, String resourcename, int type, byte[] content, List<CmsProperty> properties) A_CmsResourceWrapper.createResource
(CmsObject cms, String resourcename, int type, byte[] content, List<CmsProperty> properties) CmsResourceWrapperModules.createResource
(CmsObject cms, String resourcename, int type, byte[] content, List<CmsProperty> properties) CmsResourceWrapperModulesNonLazy.createResource
(CmsObject cms, String resourcename, int type, byte[] content, List<CmsProperty> properties) CmsResourceWrapperPreventCreateNameCI.createResource
(CmsObject cms, String resourcepath, int type, byte[] content, List<CmsProperty> properties) CmsResourceWrapperPreventCreateNameRegex.createResource
(CmsObject cms, String resourcepath, int type, byte[] content, List<CmsProperty> properties) CmsResourceWrapperPropertyFile.createResource
(CmsObject cms, String resourcename, int type, byte[] content, List<CmsProperty> properties) CmsResourceWrapperReplaceDeleted.createResource
(CmsObject cms, String resourcename, int type, byte[] content, List<CmsProperty> properties) CmsResourceWrapperXmlPage.createResource
(CmsObject cms, String resourcename, int type, byte[] content, List<CmsProperty> properties) I_CmsResourceWrapper.createResource
(CmsObject cms, String resourcename, int type, byte[] content, List<CmsProperty> properties) Creates a new resource of the given resource type with the provided content and properties.boolean
A_CmsResourceExtensionWrapper.deleteResource
(CmsObject cms, String resourcename, CmsResource.CmsResourceDeleteMode siblingMode) boolean
A_CmsResourceWrapper.deleteResource
(CmsObject cms, String resourcename, CmsResource.CmsResourceDeleteMode siblingMode) boolean
CmsResourceWrapperModules.deleteResource
(CmsObject cms, String resourcename, CmsResource.CmsResourceDeleteMode siblingMode) boolean
CmsResourceWrapperModulesNonLazy.deleteResource
(CmsObject cms, String resourcename, CmsResource.CmsResourceDeleteMode siblingMode) boolean
CmsResourceWrapperPropertyFile.deleteResource
(CmsObject cms, String resourcename, CmsResource.CmsResourceDeleteMode siblingMode) boolean
CmsResourceWrapperXmlPage.deleteResource
(CmsObject cms, String resourcename, CmsResource.CmsResourceDeleteMode siblingMode) boolean
I_CmsResourceWrapper.deleteResource
(CmsObject cms, String resourcename, CmsResource.CmsResourceDeleteMode siblingMode) Deletes a resource given its name.A_CmsResourceExtensionWrapper.getLock
(CmsObject cms, CmsResource resource) A_CmsResourceWrapper.getLock
(CmsObject cms, CmsResource resource) CmsResourceWrapperModules.getLock
(CmsObject cms, CmsResource resource) CmsResourceWrapperModulesNonLazy.getLock
(CmsObject cms, CmsResource resource) CmsResourceWrapperPropertyFile.getLock
(CmsObject cms, CmsResource resource) CmsResourceWrapperXmlPage.getLock
(CmsObject cms, CmsResource resource) I_CmsResourceWrapper.getLock
(CmsObject cms, CmsResource resource) Returns the lock for the resource.protected String
CmsResourceWrapperXmlPage.getUriStyleSheet
(CmsObject cms, CmsResource res) Returns the OpenCms VFS uri of the style sheet of the resource.protected String
CmsResourceWrapperXmlPage.getUriTemplate
(CmsObject cms, CmsResource res) Returns the OpenCms VFS uri of the template of the resource.boolean
A_CmsResourceExtensionWrapper.isWrappedResource
(CmsObject cms, CmsResource res) boolean
CmsResourceWrapperModules.isWrappedResource
(CmsObject cms, CmsResource res) boolean
CmsResourceWrapperModulesNonLazy.isWrappedResource
(CmsObject cms, CmsResource res) boolean
CmsResourceWrapperPreventCreateNameCI.isWrappedResource
(CmsObject cms, CmsResource res) boolean
CmsResourceWrapperPreventCreateNameRegex.isWrappedResource
(CmsObject cms, CmsResource res) boolean
CmsResourceWrapperPropertyFile.isWrappedResource
(CmsObject cms, CmsResource res) boolean
CmsResourceWrapperReplaceDeleted.isWrappedResource
(CmsObject cms, CmsResource res) boolean
CmsResourceWrapperSystemFolder.isWrappedResource
(CmsObject cms, CmsResource res) boolean
CmsResourceWrapperXmlPage.isWrappedResource
(CmsObject cms, CmsResource res) boolean
I_CmsResourceWrapper.isWrappedResource
(CmsObject cms, CmsResource res) Is called to check if the given resource is handled by this wrapper.boolean
A_CmsResourceExtensionWrapper.lockResource
(CmsObject cms, String resourcename, boolean temporary) boolean
A_CmsResourceWrapper.lockResource
(CmsObject cms, String resourcename, boolean temporary) boolean
CmsResourceWrapperModules.lockResource
(CmsObject cms, String resourcename, boolean temporary) boolean
CmsResourceWrapperModulesNonLazy.lockResource
(CmsObject cms, String resourcename, boolean temporary) boolean
CmsResourceWrapperPropertyFile.lockResource
(CmsObject cms, String resourcename, boolean temporary) boolean
CmsResourceWrapperXmlPage.lockResource
(CmsObject cms, String resourcename, boolean temporary) boolean
I_CmsResourceWrapper.lockResource
(CmsObject cms, String resourcename, boolean temporary) Locks a resource.boolean
A_CmsResourceExtensionWrapper.moveResource
(CmsObject cms, String source, String destination) boolean
A_CmsResourceWrapper.moveResource
(CmsObject cms, String source, String destination) boolean
CmsResourceWrapperPreventCreateNameCI.moveResource
(CmsObject cms, String source, String destination) boolean
CmsResourceWrapperPreventCreateNameRegex.moveResource
(CmsObject cms, String source, String destination) boolean
CmsResourceWrapperXmlPage.moveResource
(CmsObject cms, String source, String destination) boolean
I_CmsResourceWrapper.moveResource
(CmsObject cms, String source, String destination) Moves a resource to the given destination.protected String
CmsResourceWrapperXmlPage.prepareContent
(String content, CmsObject cms, CmsResource xmlPage, String path) Prepare the content of a xml page before returning.A_CmsResourceExtensionWrapper.readFile
(CmsObject cms, String resourcename, CmsResourceFilter filter) A_CmsResourceWrapper.readFile
(CmsObject cms, String resourcename, CmsResourceFilter filter) CmsResourceWrapperModules.readFile
(CmsObject cms, String resourcename, CmsResourceFilter filter) CmsResourceWrapperModulesNonLazy.readFile
(CmsObject cms, String resourcename, CmsResourceFilter filter) CmsResourceWrapperPropertyFile.readFile
(CmsObject cms, String resourcename, CmsResourceFilter filter) CmsResourceWrapperXmlPage.readFile
(CmsObject cms, String resourcename, CmsResourceFilter filter) I_CmsResourceWrapper.readFile
(CmsObject cms, String resourcename, CmsResourceFilter filter) Reads a file resource (including it's binary content) from the VFS, using the specified resource filter.A_CmsResourceExtensionWrapper.readResource
(CmsObject cms, String resourcename, CmsResourceFilter filter) A_CmsResourceWrapper.readResource
(CmsObject cms, String resourcename, CmsResourceFilter filter) CmsResourceWrapperModules.readResource
(CmsObject cms, String resourcepath, CmsResourceFilter filter) CmsResourceWrapperModulesNonLazy.readResource
(CmsObject cms, String resourcepath, CmsResourceFilter filter) CmsResourceWrapperPropertyFile.readResource
(CmsObject cms, String resourcename, CmsResourceFilter filter) CmsResourceWrapperSystemFolder.readResource
(CmsObject cms, String resourcename, CmsResourceFilter filter) CmsResourceWrapperXmlPage.readResource
(CmsObject cms, String resourcename, CmsResourceFilter filter) I_CmsResourceWrapper.readResource
(CmsObject cms, String resourcename, CmsResourceFilter filter) Reads a resource from the VFS, using the specified resource filter.static String
CmsResourceWrapperUtils.removeFileExtension
(CmsObject cms, String resourcename, String extension) Removes an added file extension from the resource name.A_CmsResourceExtensionWrapper.restoreLink
(CmsObject cms, String uri) A_CmsResourceWrapper.restoreLink
(CmsObject cms, String uri) CmsResourceWrapperPropertyFile.restoreLink
(CmsObject cms, String uri) CmsResourceWrapperXmlPage.restoreLink
(CmsObject cms, String uri) I_CmsResourceWrapper.restoreLink
(CmsObject cms, String uri) Returns the link to a existing resource in the VFS for the uri.A_CmsResourceExtensionWrapper.rewriteLink
(CmsObject cms, CmsResource res) A_CmsResourceWrapper.rewriteLink
(CmsObject cms, CmsResource res) CmsResourceWrapperXmlPage.rewriteLink
(CmsObject cms, CmsResource res) I_CmsResourceWrapper.rewriteLink
(CmsObject cms, CmsResource res) Returns the link how it is for the resource after using this resource wrapper.boolean
A_CmsResourceExtensionWrapper.unlockResource
(CmsObject cms, String resourcename) boolean
A_CmsResourceWrapper.unlockResource
(CmsObject cms, String resourcename) boolean
CmsResourceWrapperModules.unlockResource
(CmsObject cms, String resourcename) boolean
CmsResourceWrapperModulesNonLazy.unlockResource
(CmsObject cms, String resourcename) boolean
CmsResourceWrapperPropertyFile.unlockResource
(CmsObject cms, String resourcename) boolean
CmsResourceWrapperXmlPage.unlockResource
(CmsObject cms, String resourcename) boolean
I_CmsResourceWrapper.unlockResource
(CmsObject cms, String resourcename) Unlocks a resource.A_CmsResourceExtensionWrapper.wrapResource
(CmsObject cms, CmsResource res) A_CmsResourceWrapper.wrapResource
(CmsObject cms, CmsResource resource) CmsResourceWrapperXmlPage.wrapResource
(CmsObject cms, CmsResource res) I_CmsResourceWrapper.wrapResource
(CmsObject cms, CmsResource resource) Changes the given resource based on the implementation of this wrapper.Writes a resource, including it's content.static void
CmsResourceWrapperUtils.writePropertyFile
(CmsObject cms, String resourcename, byte[] content) Takes the content which should be formatted as a property file and set them as properties to the resource.Constructors in org.opencms.file.wrapper with parameters of type CmsObjectModifierConstructorDescriptionCmsObjectWrapper
(CmsObject cms, List<I_CmsResourceWrapper> wrappers) Constructor with the CmsObject to wrap and the resource wrappers to use. -
Uses of CmsObject in org.opencms.flex
Methods in org.opencms.flex that return CmsObjectModifier and TypeMethodDescriptionCmsFlexController.getCmsObject()
Returns the wrapped CmsObject.static CmsObject
CmsFlexController.getCmsObject
(javax.servlet.ServletRequest req) Returns the wrapped CmsObject form the provided request, ornull
if the request is not running inside OpenCms.Methods in org.opencms.flex with parameters of type CmsObjectModifier and TypeMethodDescriptionCmsFlexCache.getCachedKey
(String key, CmsObject cms) Returns the CmsFlexCacheKey data structure for a given key (i.e.CmsFlexCache.getCachedResources
(CmsObject cms) Returns a set of all cached resource names.CmsFlexCache.getCachedVariations
(String key, CmsObject cms) Returns all variations in the cache for a given resource name.void
CmsFlexCache.initializeCms
(CmsObject adminCms) Initializes the flex cache.static CmsFlexBucketConfiguration
CmsFlexBucketConfiguration.loadFromVfsFile
(CmsObject cms, String path) Loads a flex bucket configuration from the OpenCms VFS.Constructors in org.opencms.flex with parameters of type CmsObjectModifierConstructorDescriptionCmsFlexController
(CmsObject cms, CmsResource resource, CmsFlexCache cache, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, boolean streaming, boolean top) Default constructor.CmsFlexController
(CmsObject cms, CmsFlexController base) Creates a new controller form the old one, exchanging just the provided OpenCms user context. -
Uses of CmsObject in org.opencms.gwt
Fields in org.opencms.gwt declared as CmsObjectMethods in org.opencms.gwt that return CmsObjectModifier and TypeMethodDescriptionCmsGwtService.getCmsObject()
Returns the current cms context.protected CmsObject
CmsTemplateFinder.getCmsObject()
Gets the CMS context to use.Methods in org.opencms.gwt with parameters of type CmsObjectModifier and TypeMethodDescriptionstatic CmsListInfoBean
CmsVfsService.addLockInfo
(CmsObject cms, CmsResource resource, CmsListInfoBean resourceInfo) Adds the lock state information to the resource info bean.static CmsListInfoBean
CmsVfsService.addPageInfo
(CmsObject cms, CmsResource resource, CmsListInfoBean listInfo) Gets page information of a resource and adds it to the given list info bean.static List<CmsCategoryTreeEntry>
CmsCoreService.buildCategoryTree
(CmsObject cms, List<CmsCategory> categories) Builds the tree structure for the given categories.void
CmsGwtService.checkPermissions
(CmsObject cms) Checks the permissions of the current user to match the required security level.CmsAliasHelper.exportAliasesAsCsv
(CmsObject cms) Returns the comma separated alias data.static String
CmsGwtActionElement.exportCommon
(CmsObject cms, CmsCoreData coreData) Returns the serialized data for the core provider wrapped into a script tag.static String
CmsVfsService.formatDateTime
(CmsObject cms, long date) Formats a date given the current user's workplace locale.static List<CmsCategoryTreeEntry>
CmsCoreService.getCategoriesForSitePathStatic
(CmsObject cms, String sitePath) Helper method for getting the category beans for the given site path.static List<CmsCategoryTreeEntry>
CmsCoreService.getCategoriesForSitePathStatic
(CmsObject cms, String sitePath, String localCategoryRepositoryPath) Helper method for getting the category beans for the given site path.static CmsRelationTargetListBean
CmsDefaultResourceStatusProvider.getContainerpageRelationTargets
(CmsObject cms, CmsUUID source, List<CmsUUID> additionalIds, boolean cancelIfChanged) Gets the relation targets for a resource.static CmsRelationTargetListBean
CmsDefaultResourceStatusProvider.getContainerpageRelationTargetsLimited
(CmsObject cms, CmsUUID source, List<CmsUUID> additionalIds, boolean cancelIfChanged) Gets the relation targets for a resource.static List<CmsContextMenuEntryBean>
CmsCoreService.getContextMenuEntries
(CmsObject cms, CmsUUID structureId, CmsCoreData.AdeContext context, Map<String, String> params) Returns the context menu entries for the given URI.static String
CmsIconUtil.getDisplayType
(CmsObject cms, CmsResource resource) Returns the resource type name used to display the resource icon.static String
CmsCoreService.getFileExplorerLink
(CmsObject cms, String siteRoot) Returns the file explorer link prefix.CmsDefaultResourceStatusProvider.getFormatterInfo
(CmsObject cms, I_CmsFormatterBean bean) Gets the additional information related to the formatter.static String
CmsVfsService.getNoPreviewReason
(CmsObject cms, CmsResource resource) Returns the no preview reason if there is any.static CmsListInfoBean
CmsVfsService.getPageInfo
(CmsObject cms, CmsResource res) Gets page information of a resource.static CmsListInfoBean
CmsVfsService.getPageInfoWithLock
(CmsObject cms, CmsResource resource) Returns a bean to display theorg.opencms.gwt.client.ui.CmsListItemWidget
including the lock state.static List<CmsQuickLaunchData>
CmsQuickLaunchProvider.getQuickLaunchData
(CmsObject cms, javax.servlet.http.HttpSession session, CmsQuickLaunchParams params) Gets the quick launch data for the current user and context.CmsDefaultResourceStatusProvider.getResourceStatus
(javax.servlet.http.HttpServletRequest request, CmsObject cms, CmsUUID structureId, String contentLocale, boolean includeTargets, CmsUUID detailContentId, List<CmsUUID> additionalStructureIds, Map<String, String> context) Collects all the data to display in the resource status dialog.protected com.google.gwt.user.server.rpc.SerializationPolicy
CmsGwtServiceContext.getSerializationPolicy
(CmsObject cms, String moduleBaseURL, String strongName) Returns the serialization policy for the service.protected List<CmsResourceStatusRelationBean>
CmsDefaultResourceStatusProvider.getSiblings
(CmsObject cms, String locale, CmsResource resource) Gets beans which represents the siblings of a resource.protected List<CmsResourceStatusRelationBean>
CmsDefaultResourceStatusProvider.getTargets
(CmsObject cms, String locale, CmsResource resource, List<CmsUUID> additionalStructureIds) Gets the list of relation targets for a resource.static String
CmsCoreService.getVaadinWorkplaceLink
(CmsObject cms, String resourceRootFolder) Returns the workplace link.static String
CmsCoreService.getVaadinWorkplaceLink
(CmsObject cms, CmsUUID structureId) Returns the workplace link.static CmsReturnLinkInfo
CmsCoreService.internalGetLinkForReturnCode
(CmsObject cms, String returnCode) Implementation method for getting the link for a given return code.protected boolean
CmsPropertyEditorHelper.isWritable
(CmsObject cms, CmsResource resource) Returns whether the current user has write permissions, the resource is lockable or already locked by the current user and is in the current project.static String
CmsVfsService.prepareFileNameForEditor
(CmsObject cms, CmsResource res, String pathWithMacros) Processes a file path, which may have macros in it, so it can be opened by the XML content editor.void
Sets the CMS object.void
Sets the current cms context.void
Sets the current cms context.void
CmsDefaultResourceStatusProvider.sortRelations
(CmsObject cms, CmsResourceStatusBean resStatus) Sorts relation beans from other sites by site order.static void
CmsPropertyEditorHelper.updateWysiwygConfig
(Map<String, CmsXmlContentProperty> propertyConfig, CmsObject cms, CmsResource resource) Updates the property configuration for properties using WYSIWYG widgets.CmsDefaultFormValidator.validate
(CmsObject cms, Map<String, CmsValidationQuery> queries, Map<String, String> values, String config) I_CmsFormValidator.validate
(CmsObject cms, Map<String, CmsValidationQuery> queries, Map<String, String> values, String config) Validates the form and returns the validation result.Validates a single form field value.Constructors in org.opencms.gwt with parameters of type CmsObjectModifierConstructorDescriptionCreates a new broken link renderer instance.CmsClientUserSettingConverter
(CmsObject cms, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Creates a new instance.Creates a new instance.Creates a new instance. -
Uses of CmsObject in org.opencms.i18n
Fields in org.opencms.i18n declared as CmsObjectModifier and TypeFieldDescriptionprotected static CmsObject
CmsVfsResourceBundle.m_cms
The CMS context to use.Methods in org.opencms.i18n with parameters of type CmsObjectModifier and TypeMethodDescriptionCmsLocaleManager.getAvailableLocales
(CmsObject cms, String resourceName) Returns an array of available locale names for the given resource.CmsLocaleManager.getAvailableLocales
(CmsObject cms, CmsResource resource) Returns an array of available locale names for the given resource.CmsLocaleManager.getBestAvailableLocaleForXmlContent
(CmsObject cms, CmsResource resource, I_CmsXmlDocument content) Returns the best available locale present in the given XML content, or the default locale.CmsLocaleManager.getDefaultLocale
(CmsObject cms, String resourceName) Returns the "the" default locale for the given resource.CmsLocaleManager.getDefaultLocale
(CmsObject cms, CmsResource resource) Returns the "the" default locale for the given resource.CmsLocaleManager.getDefaultLocales
(CmsObject cms, String resourceName) Returns an array of default locales for the given resource.CmsLocaleManager.getDefaultLocales
(CmsObject cms, CmsResource resource) Returns an array of default locales for the given resource.static Locale
CmsLocaleManager.getMainLocale
(CmsObject cms, CmsResource res) Utility method to get the primary locale for a given resource.CmsLocaleGroupService.getPossibleLocales
(CmsObject cms, CmsResource currentResource) Helper method for getting the possible locales for a resource.static final String
CmsLocaleManager.getResourceEncoding
(CmsObject cms, CmsResource res) Returns the content encoding set for the given resource.void
CmsDefaultLocaleHandler.initHandler
(CmsObject cms) void
CmsSingleTreeLocaleHandler.initHandler
(CmsObject cms) void
I_CmsLocaleHandler.initHandler
(CmsObject cms) Will be called during system startup.void
CmsLocaleManager.initialize
(CmsObject cms) Initializes this locale manager with the OpenCms system configuration.CmsVfsBundleLoaderProperties.loadData
(CmsObject cms, CmsVfsBundleParameters params) CmsVfsResourceBundle.I_Loader.loadData
(CmsObject cms, CmsVfsBundleParameters params) Loads the data from the VFS.static CmsMessageToBundleIndex
Reads the bundle information for the whole system.static void
CmsVfsResourceBundle.setCmsObject
(CmsObject cms) Sets the CMS context used by this class.Constructors in org.opencms.i18n with parameters of type CmsObjectModifierConstructorDescriptionCmsLocaleGroup
(CmsObject cms, CmsResource primaryResource, List<CmsResource> secondaryResources) Creates a new instance.Creates a new instance.Creates a new instance. -
Uses of CmsObject in org.opencms.i18n.tools
Constructors in org.opencms.i18n.tools with parameters of type CmsObject -
Uses of CmsObject in org.opencms.importexport
Fields in org.opencms.importexport declared as CmsObjectModifier and TypeFieldDescriptionprotected CmsObject
A_CmsImport.m_cms
Deprecated.The cms context to do the import operations with.protected CmsObject
CmsImport.m_cms
The cms context.protected CmsObject
CmsImportVersion10.m_cms
The cms object.Methods in org.opencms.importexport that return CmsObjectModifier and TypeMethodDescriptionprotected CmsObject
CmsExport.getCms()
Returns the OpenCms context object this export was initialized with.CmsImportVersion10.getCms()
Returns the cms object.CmsImportVersion7.getCms()
Deprecated.Returns the cms object.Methods in org.opencms.importexport with parameters of type CmsObjectModifier and TypeMethodDescriptionstatic CmsXmlPage
CmsXmlPageConverter.convertToXmlPage
(CmsObject cms, byte[] content, Locale locale, String encoding) Deprecated.Converts the contents of a page into an xml page.void
CmsImportExportManager.exportData
(CmsObject cms, I_CmsImportExportHandler handler, I_CmsReport report) Checks if the current user has permissions to export Cms data of a specified export handler, and if so, triggers the handler to write the export.void
CmsVfsImportExportHandler.exportData
(CmsObject cms, I_CmsReport report) void
I_CmsImportExportHandler.exportData
(CmsObject cms, I_CmsReport report) Exports the data from the Cms.void
CmsImportExportManager.importData
(CmsObject cms, String importFile, String importPath, I_CmsReport report) Deprecated.void
CmsImportExportManager.importData
(CmsObject cms, I_CmsReport report, CmsImportParameters parameters) Checks if the current user has permissions to import data into the Cms, and if so, creates a new import handler instance that imports the data.void
CmsImportResourceDataReader.importData
(CmsObject cms, I_CmsReport report, CmsImportParameters parameters) void
CmsImportVersion10.importData
(CmsObject cms, I_CmsReport report, CmsImportParameters parameters) void
CmsImportVersion2.importData
(CmsObject cms, I_CmsReport report, CmsImportParameters params) Deprecated.void
CmsImportVersion3.importData
(CmsObject cms, I_CmsReport report, CmsImportParameters params) Deprecated.void
CmsImportVersion4.importData
(CmsObject cms, I_CmsReport report, CmsImportParameters params) Deprecated.void
CmsImportVersion5.importData
(CmsObject cms, I_CmsReport report, CmsImportParameters params) Deprecated.void
CmsImportVersion7.importData
(CmsObject cms, I_CmsReport report, CmsImportParameters parameters) Deprecated.void
CmsVfsImportExportHandler.importData
(CmsObject cms, String importFile, String importPath, I_CmsReport report) Deprecated.void
CmsVfsImportExportHandler.importData
(CmsObject cms, I_CmsReport report) void
I_CmsImport.importData
(CmsObject cms, I_CmsReport report, CmsImportParameters parameters) Imports the data.void
I_CmsImportExportHandler.importData
(CmsObject cms, String importFile, String importPath, I_CmsReport report) Deprecated.void
I_CmsImportExportHandler.importData
(CmsObject cms, I_CmsReport report) Imports the data into the Cms.void
CmsImportVersion10.importResources
(CmsObject cms, String importPath, I_CmsReport report, File importResource, ZipFile importZip, org.dom4j.Document docXml) Deprecated.void
CmsImportVersion2.importResources
(CmsObject cms, String importPath, I_CmsReport report, File importResource, ZipFile importZip, org.dom4j.Document docXml) Deprecated.void
CmsImportVersion3.importResources
(CmsObject cms, String importPath, I_CmsReport report, File importResource, ZipFile importZip, org.dom4j.Document docXml) Deprecated.void
CmsImportVersion4.importResources
(CmsObject cms, String importPath, I_CmsReport report, File importResource, ZipFile importZip, org.dom4j.Document docXml) Deprecated.void
CmsImportVersion5.importResources
(CmsObject cms, String importPath, I_CmsReport report, File importResource, ZipFile importZip, org.dom4j.Document docXml) Deprecated.void
CmsImportVersion7.importResources
(CmsObject cms, String importPath, I_CmsReport report, File importResource, ZipFile importZip, org.dom4j.Document docXml) Deprecated.void
I_CmsImport.importResources
(CmsObject cms, String importPath, I_CmsReport report, File importResource, ZipFile importZip, org.dom4j.Document docXml) Deprecated.static void
CmsImportVersion10.parseLinks
(CmsObject cms, List<CmsResource> parseables, I_CmsReport report) Parses the links.Constructors in org.opencms.importexport with parameters of type CmsObjectModifierConstructorDescriptionCmsExport
(CmsObject cms, I_CmsReport report) Constructs a new export.CmsImport
(CmsObject cms, I_CmsReport report) Constructs a new import object which imports the resources from an OpenCms export zip file or a folder in the "real" file system. -
Uses of CmsObject in org.opencms.jlan
Methods in org.opencms.jlan with parameters of type CmsObjectModifier and TypeMethodDescriptionvoid
CmsJlanRepository.initializeCms
(CmsObject cms) static void
CmsJlanUsers.setAdminCms
(CmsObject cms) Sets the CMS context. -
Uses of CmsObject in org.opencms.jsp
Fields in org.opencms.jsp declared as CmsObjectModifier and TypeFieldDescriptionprotected CmsObject
CmsJspNavBuilder.m_cms
The current CMS context.protected CmsObject
CmsJspTagFormatter.m_cms
The CmsObject for the current user.protected CmsObject
CmsJspTagNavigation.m_cms
The CmsObject for the current user.protected CmsObject
CmsJspTagResourceLoad.m_cms
The CmsObject for the current user.protected CmsObject
CmsJspTagSearch.m_cms
The CmsObject for the current user.Methods in org.opencms.jsp that return CmsObjectModifier and TypeMethodDescriptionCmsJspBean.getCmsObject()
Returns the CmsObject from the wrapped request.CmsJspNavBuilder.getCmsObject()
Gets the CMS context used for building the navigation.CmsJspResourceWrapper.getCmsObject()
Returns the OpenCms user context this resource was initialized with.Methods in org.opencms.jsp with parameters of type CmsObjectModifier and TypeMethodDescriptionprotected void
CmsJspTagHeadIncludes.collectHeadIncludesForContainerElement
(CmsObject cms, javax.servlet.ServletRequest req, CmsJspStandardContextBean standardContext, CmsContainerPageBean containerPage, String includeType, Set<String> headincludes, Map<String, String> inline) Collects the head includes for a given container element.static String
CmsJspTagEdit.createResource
(CmsObject cmsObject, String newLink, Locale locale, String sitePath, String modelFileName, String mode, String postCreateHandler) Creates a new resource.static I_CmsFormatterBean
CmsJspTagContainer.ensureValidFormatterSettings
(CmsObject cms, CmsContainerElementBean element, CmsADEConfigData adeConfig, String containerName, String containerType, int containerWidth) Ensures the appropriate formatter configuration ID is set in the element settings.static Locale
CmsJspTagLink.getBaseUriLocale
(CmsObject cms, String baseUri) Tries to read the active locale for the given (site) path, or for its parent path if the path can't be read.protected String
CmsJspTagContainer.getContainerData
(CmsObject cms, int maxElements, boolean isDetailView, boolean isDetailOnly) Returns the serialized data of the given container.static String
CmsJspNavBuilder.getDefaultFile
(CmsObject cms, String folder) Deprecated.usereadDefaultFile(String)
insteadstatic I_CmsFormatterBean
CmsJspTagContainer.getFormatterConfigurationForElement
(CmsObject cms, CmsContainerElementBean element, CmsADEConfigData adeConfig, String containerName, String containerType, int containerWidth) Returns the formatter configuration for the given element.static List<CmsContainerElementBean>
CmsJspTagContainer.getGroupContainerElements
(CmsObject cms, CmsContainerElementBean element, javax.servlet.ServletRequest req, String containerType) Returns the element group elements.static List<CmsContainerElementBean>
CmsJspTagContainer.getInheritedContainerElements
(CmsObject cms, CmsContainerElementBean element) Reads elements from an inherited container.static String
Messages.getLocalizedMessage
(CmsMessageContainer container, CmsObject cms) Returns the String for the given CmsMessageContainer localized to the current user's locale if available or to the default locale else.static List<CmsJspNavElement>
CmsJspNavBuilder.getNavigationForFolder
(CmsObject cms, String folder) Deprecated.useCmsJspNavBuilder.getNavigationForFolder(String)
insteadstatic List<CmsJspNavElement>
CmsJspNavBuilder.getNavigationForFolder
(CmsObject cms, String folder, int level) Deprecated.static CmsJspNavElement
CmsJspNavBuilder.getNavigationForResource
(CmsObject cms, String resource) Deprecated.static List<CmsJspNavElement>
CmsJspNavBuilder.getNavigationTreeForFolder
(CmsObject cms, String folder, int startlevel, int endlevel) Deprecated.static String
CmsJspTagEdit.getNewLink
(CmsObject cms, I_CmsResourceType resType, String creationSitemap) Creates the String specifying where which type of resource has to be created.CmsJspTagSearch.getPublishResources
(CmsObject cms, I_CmsContentLoadCollectorInfo info) CmsJspTagSimpleSearch.getPublishResources
(CmsObject cms, I_CmsContentLoadCollectorInfo info) static Set<CmsResource>
CmsJspTagSearch.getPublishResourcesInternal
(CmsObject cms, I_CmsContentLoadCollectorInfo info) static Set<CmsResource>
CmsJspTagSimpleSearch.getPublishResourcesInternal
(CmsObject cms, I_CmsContentLoadCollectorInfo info) protected static String
CmsJspTagResourceLoad.getResourceName
(CmsObject cms, I_CmsResourceContainer contentContainer) Returns the resource name currently processed.static List<CmsJspNavElement>
CmsJspNavBuilder.getSiteNavigation
(CmsObject cms, String folder, int endLevel) Deprecated.static CmsJspImageBean
CmsJspTagScaleImage.imageTagAction
(CmsObject cms, String imageUri, CmsImageScaler targetScaler, List<String> hiDpiVariantList) Internal action method to create the scaled image bean.void
Initializes this bean.void
Initializes this bean.void
Initializes this bean.static boolean
CmsJspTagEdit.insertDirectEditStart
(CmsObject cms, javax.servlet.jsp.PageContext pageContext, CmsResource resource, boolean canCreate, boolean canDelete, String createType, String creationSitemap, String postCreateHandler, String binaryUploadFolder) Inserts the opening direct edit tag.protected boolean
CmsJspTagContainer.isEditable
(CmsObject cms) Returns if the container is editable by the current user.static boolean
CmsJspNavBuilder.isNavLevelFolder
(CmsObject cms, CmsResource resource) Returns whether the given resource is a folder and is marked to be a navigation level folder.protected static boolean
CmsJspTagUserTracking.isResourceSubscribed
(CmsObject cms, String fileName, boolean subFolder, CmsUser user, List<CmsGroup> groups, javax.servlet.http.HttpServletRequest req) Returns if the given resource is subscribed to the user or groups.protected static boolean
CmsJspTagUserTracking.isResourceVisited
(CmsObject cms, String fileName, boolean subFolder, CmsUser user, javax.servlet.http.HttpServletRequest req) Returns if the given resource was visited by the user.protected void
CmsJspTagContainer.printElementWrapperTagStart
(CmsObject cms, CmsContainerElementBean elementBean, CmsContainerPageBean page, boolean isGroupContainer) Prints the opening element wrapper tag for the container page editor if we are in Offline mode.void
CmsJspTagHeadIncludes.tagCssAction
(CmsObject cms, javax.servlet.http.HttpServletRequest req) Action to include the CSS resources.void
CmsJspTagHeadIncludes.tagJSAction
(CmsObject cms, javax.servlet.http.HttpServletRequest req) Action to include the java-script resources.static CmsJspResourceWrapper
CmsJspResourceWrapper.wrap
(CmsObject cms, CmsResource res) Factory method to create a newCmsJspResourceWrapper
instance from aCmsResource
.Constructors in org.opencms.jsp with parameters of type CmsObjectModifierConstructorDescriptionDefault constructor.CmsJspNavBuilder
(CmsObject cms, Locale locale) Constructor for a version that reads properties according to a locale. -
Uses of CmsObject in org.opencms.jsp.decorator
Methods in org.opencms.jsp.decorator that return CmsObjectMethods in org.opencms.jsp.decorator with parameters of type CmsObjectModifier and TypeMethodDescriptionCmsDecorationDefintion.createDecorationBundle
(CmsObject cms, Locale locale) Creates a CmsDecorationBundle of text decoration to be used by the decorator.CmsDecorationDefintion.getDecorationDefinitionNames
(CmsObject cms) Returns all different decoration configuration names (like "abbr" or "acronym") that are in the config file pointed to by module parameter "configfile".void
void
Initialises the configuration.void
Sets the cms.Constructors in org.opencms.jsp.decorator with parameters of type CmsObjectModifierConstructorDescriptionCmsDecorationMap
(CmsObject cms, CmsResource res, CmsDecorationDefintion decDef) Constructor, creates a new CmsDecorationMap.Constructor, creates a new, empty CmsDecoratorConfiguration.CmsDecoratorConfiguration
(CmsObject cms, String configFile) Constructor, creates a new, CmsDecoratorConfiguration with a given config file.CmsDecoratorConfiguration
(CmsObject cms, String configFile, Locale locale) Constructor, creates a new, CmsDecoratorConfiguration with a given config file and locale.Constructor, creates a new, empty CmsHtmlDecorator.CmsHtmlDecorator
(CmsObject cms, I_CmsDecoratorConfiguration config) Constructor, creates a new CmsHtmlDecorator with a given configuration. -
Uses of CmsObject in org.opencms.jsp.parse
Methods in org.opencms.jsp.parse that return CmsObjectModifier and TypeMethodDescriptionprotected CmsObject
A_CmsConfiguredHtmlParser.getCmsObject()
Returns the internal cms object for accessing core functionality.Methods in org.opencms.jsp.parse with parameters of type CmsObjectModifier and TypeMethodDescriptionvoid
A_CmsConfiguredHtmlParser.setCmsObject
(CmsObject cmsObject) Sets the internal cms object for accessing core functionality. -
Uses of CmsObject in org.opencms.jsp.search.config
Constructors in org.opencms.jsp.search.config with parameters of type CmsObjectModifierConstructorDescriptionConstructor to initialize the configuration object via a configuration parser. -
Uses of CmsObject in org.opencms.jsp.search.config.parser
Methods in org.opencms.jsp.search.config.parser with parameters of type CmsObjectModifier and TypeMethodDescriptionCmsSimpleSearchConfigurationParser.createInstanceWithNoJsonConfig
(CmsObject cms, CmsConfigurationBean config) Creates an instance for an empty JSON configuration.protected String
Returns the configured Solr index, ornull
if no core is configured.CmsJSONSearchConfigurationParser.parseCommon
(CmsObject cms) CmsPlainQuerySearchConfigurationParser.parseCommon
(CmsObject cms) CmsXMLSearchConfigurationParser.parseCommon
(CmsObject cms) I_CmsSearchConfigurationParser.parseCommon
(CmsObject cms) Returns the common search configuration.Constructors in org.opencms.jsp.search.config.parser with parameters of type CmsObjectModifierConstructorDescriptionCmsSimpleSearchConfigurationParser
(CmsObject cms, CmsConfigurationBean config, String additionalParamJSON) Constructor. -
Uses of CmsObject in org.opencms.jsp.search.config.parser.simplesearch
Methods in org.opencms.jsp.search.config.parser.simplesearch with parameters of type CmsObjectModifier and TypeMethodDescriptionstatic CmsConfigurationBean
CmsConfigParserUtils.parseListConfiguration
(CmsObject cms, CmsResource res) Parses the list configuration resource.static CmsXmlContent
CmsConfigParserUtils.updateBlackList
(CmsObject cms, CmsXmlContent content, CmsConfigurationBean configBean) Updates the black list entries in the provided xml content. -
Uses of CmsObject in org.opencms.jsp.search.config.parser.simplesearch.daterestrictions
Fields in org.opencms.jsp.search.config.parser.simplesearch.daterestrictions declared as CmsObjectConstructors in org.opencms.jsp.search.config.parser.simplesearch.daterestrictions with parameters of type CmsObject -
Uses of CmsObject in org.opencms.jsp.search.controller
Methods in org.opencms.jsp.search.controller with parameters of type CmsObjectModifier and TypeMethodDescriptionvoid
CmsSearchController.addQueryParts
(CmsSolrQuery query, CmsObject cms) void
CmsSearchControllerCommon.addQueryParts
(CmsSolrQuery query, CmsObject cms) void
CmsSearchControllerDidYouMean.addQueryParts
(CmsSolrQuery query, CmsObject cms) void
CmsSearchControllerFacetField.addQueryParts
(CmsSolrQuery query, CmsObject cms) void
CmsSearchControllerFacetQuery.addQueryParts
(CmsSolrQuery query, CmsObject cms) void
CmsSearchControllerFacetRange.addQueryParts
(CmsSolrQuery query, CmsObject cms) void
CmsSearchControllerFacetsField.addQueryParts
(CmsSolrQuery query, CmsObject cms) void
CmsSearchControllerFacetsRange.addQueryParts
(CmsSolrQuery query, CmsObject cms) void
CmsSearchControllerGeoFilter.addQueryParts
(CmsSolrQuery query, CmsObject cms) void
CmsSearchControllerHighlighting.addQueryParts
(CmsSolrQuery query, CmsObject cms) void
CmsSearchControllerPagination.addQueryParts
(CmsSolrQuery query, CmsObject cms) void
CmsSearchControllerSorting.addQueryParts
(CmsSolrQuery query, CmsObject cms) void
I_CmsSearchController.addQueryParts
(CmsSolrQuery query, CmsObject cms) Generate the Solr query part specific for the controller, e.g., the part for a field facet. -
Uses of CmsObject in org.opencms.jsp.search.result
Constructors in org.opencms.jsp.search.result with parameters of type CmsObjectModifierConstructorDescriptionCmsSearchResourceBean
(CmsSearchResource searchResource, CmsObject cms) Constructor taking the search resource to wrap.CmsSearchResultWrapper
(I_CmsSearchControllerMain controller, CmsSolrResultList resultList, CmsSolrQuery query, CmsObject cms, CmsSearchException exception) Constructor taking the main search form controller and the result list as normally returned. -
Uses of CmsObject in org.opencms.jsp.userdata
Methods in org.opencms.jsp.userdata with parameters of type CmsObjectModifier and TypeMethodDescriptionCalled by the user data request function JSP to handle the user data request logic.void
CmsDefaultUserDataDomain.appendInfoHtml
(CmsObject cms, CmsUserDataRequestType reqType, List<CmsUser> users, org.jsoup.nodes.Element element) void
CmsUserDataHeader.appendInfoHtml
(CmsObject cms, CmsUserDataRequestType reqType, List<CmsUser> user, org.jsoup.nodes.Element element) void
I_CmsUserDataDomain.appendInfoHtml
(CmsObject cms, CmsUserDataRequestType reqType, List<CmsUser> user, org.jsoup.nodes.Element element) Appends the user data to the given HTML element.default void
I_CmsUserDataDomain.appendlInfoForEmail
(CmsObject cms, String email, List<String> searchStrings, org.jsoup.nodes.Element element) Writes additional information related to an email address which is not directly associated with a specific OpenCms user.boolean
CmsUserDataRequestManager.getInfoForEmail
(CmsObject cms, I_CmsUserDataDomain.Mode mode, String email, List<String> searchStrings, org.jsoup.nodes.Element root, I_CmsReport report) Gets the user data for an email address.boolean
CmsUserDataRequestManager.getInfoForUser
(CmsObject cms, I_CmsUserDataDomain.Mode mode, CmsUser user, org.jsoup.nodes.Element root, I_CmsReport report) Gets the user data for a specific OpenCms user.CmsUserDataRequestManager.getUsersByEmail
(CmsObject cms, String email) Gets all users with a given email address (maximum of 999).void
CmsDefaultUserDataDomain.initialize
(CmsObject cms) void
CmsUserDataHeader.initialize
(CmsObject cms) void
CmsUserDataRequestManager.initialize
(CmsObject cms) Initializes the manager.void
CmsUserDataRequestStore.initialize
(CmsObject adminCms) Initializes the store with an admin CMS object.void
I_CmsUserDataDomain.initialize
(CmsObject cms) Initializes the domain with an admin CmsObject.CmsUserDataResourceHandler.initResource
(CmsResource resource, CmsObject cms, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) CmsUserDataRequestManager.loadConfig
(CmsObject cms, String path) Loads the user data request configuration from the given file.boolean
CmsDefaultUserDataDomain.matchesUser
(CmsObject cms, CmsUserDataRequestType reqType, CmsUser user) boolean
CmsUserDataHeader.matchesUser
(CmsObject cms, CmsUserDataRequestType reqType, CmsUser user) boolean
I_CmsUserDataDomain.matchesUser
(CmsObject cms, CmsUserDataRequestType reqType, CmsUser user) Checks if the user matches the domain for the given user data request type.void
CmsUserDataRequestManager.startUserDataRequest
(CmsObject cms, CmsUserDataRequestConfig config, String email) Starts a user data request for the email case.void
CmsUserDataRequestManager.startUserDataRequest
(CmsObject cms, CmsUserDataRequestConfig config, CmsUser user) Starts a user data request for the single user case (with user name and password).Constructors in org.opencms.jsp.userdata with parameters of type CmsObjectModifierConstructorDescriptionCmsUserDataRequestConfig
(CmsObject cms, CmsXmlContent content, Locale locale) Creates a new instance. -
Uses of CmsObject in org.opencms.jsp.util
Fields in org.opencms.jsp.util declared as CmsObjectModifier and TypeFieldDescriptionprotected CmsObject
A_CmsJspValueWrapper.m_cms
The wrapped OpenCms user context.protected CmsObject
A_CmsJspValueWrapper.m_cms
The wrapped OpenCms user context.protected CmsObject
A_CmsJspValueWrapper.m_cms
The wrapped OpenCms user context.protected CmsObject
CmsDynamicFunctionBeanWrapper.m_cms
The internal CMS object to use.protected CmsObject
CmsJspContentLoadBean.m_cms
The OpenCms context of the current user.protected CmsObject
CmsJspLinkWrapper.m_cms
Stored CMS context.protected CmsObject
CmsJspNavigationBean.m_cms
The OpenCms user context.protected CmsObject
CmsJspResourceLoadBean.m_cms
The OpenCms context of the current user.protected CmsObject
CmsJspStandardContextBean.m_cms
OpenCms user context.protected CmsObject
CmsJspVfsAccessBean.m_cms
The OpenCms context of the current user.Methods in org.opencms.jsp.util that return CmsObjectModifier and TypeMethodDescriptionstatic CmsObject
CmsJspElFunctions.convertCmsObject
(Object input) Returns an OpenCms user context created from an Object.A_CmsJspCustomContextBean.getCmsObject()
Returns the cms object for the current context.CmsJspContentAccessBean.getCmsObject()
Returns the OpenCms user context this bean was initialized with.CmsJspContentLoadBean.getCmsObject()
Returns the OpenCms user context this bean was initialized with.CmsJspElementSettingValueWrapper.getCmsObject()
static CmsObject
CmsJspElFunctions.getCmsObject
(Object input) Returns the current OpenCms user context from the given page context.protected CmsObject
CmsJspImageBean.getCmsObject()
Returns the current OpenCms user context.CmsJspResourceAccessBean.getCmsObject()
Returns the OpenCms user context this bean was initialized with.CmsJspResourceLoadBean.getCmsObject()
Returns the OpenCms user context this bean was initialized with.protected CmsObject
CmsJspStandardContextBean.getCmsObject()
Accessor for the CmsObject.CmsJspVfsAccessBean.getCmsObject()
Returns the OpenCms user context this bean was initialized with.CmsJspStandardContextBean.getControllerCms()
Gets the CmsObject from the current Flex controller.CmsJspContentAccessValueWrapper.obtainCmsObject()
Deprecated.useA_CmsJspValueWrapper.getCmsObject()
insteadMethods in org.opencms.jsp.util with parameters of type CmsObjectModifier and TypeMethodDescriptionstatic CmsResource
CmsJspElFunctions.convertRawResource
(CmsObject cms, Object input) Returns a resource created from an Object.static CmsJspResourceWrapper
CmsJspElFunctions.convertResource
(CmsObject cms, Object input) Returns a resource wrapper created from the input.static List<CmsJspContentAccessBean>
CmsJspContentLoadBean.convertResourceList
(CmsObject cms, List<CmsResource> resources) Converts a list ofCmsResource
objects to a list ofCmsJspContentAccessBean
objects, using the current request context locale.static List<CmsJspContentAccessBean>
CmsJspContentLoadBean.convertResourceList
(CmsObject cms, Locale locale, List<CmsResource> resources) Converts a list ofCmsResource
objects to a list ofCmsJspContentAccessBean
objects, using the given locale.static List<CmsJspResourceWrapper>
CmsJspElFunctions.convertResourceList
(CmsObject cms, List<CmsResource> list) Returns a list of resource wrappers created from the input list of resources.static CmsJspVfsAccessBean
Creates a new instance of the JSP VFS access utility bean.CmsJspContentAccessValueWrapper.createWrapper
(CmsObject cms, I_CmsXmlContentValue value, I_CmsXmlDocument content, String valueName, Locale locale) Factory method to create a new XML content value wrapper.CmsJspContentAccessValueWrapper.createWrapper
(CmsObject cms, I_CmsXmlContentValue value, I_CmsXmlContentValue parentValue, String valueName) Factory method to create a new XML content value wrapper.static CmsJspObjectValueWrapper
CmsJspObjectValueWrapper.createWrapper
(CmsObject cms, Object value) Factory method to create a new XML content value wrapper.CmsJspContentAttachmentsBean.getAttachmentLocales
(CmsObject cms, CmsResource content) Gets the list of locales for which attachments / detail-only containers are available.static CmsJspContentAttachmentsBean
CmsJspContentAttachmentsBean.getAttachmentsForCurrentPage
(CmsObject cms, CmsResource content) Gets the attachments / detail-only contents for the current page (i.e.static CmsJspContentAttachmentsBean
CmsJspContentAttachmentsBean.getAttachmentsForLocale
(CmsObject cms, CmsResource content, String locale) Loads the attachments for a given content.static CmsResource
CmsFunctionRenderer.getDefaultFunctionInstance
(CmsObject cms) Cached method for accessing the default function formatter.static CmsResource
CmsFunctionRenderer.getDefaultFunctionJsp
(CmsObject cms) Cached method for accessing the default function formatter JSP.static String
CmsJspStandardContextBean.getFunctionDetailLink
(CmsObject cms, String prefix, String functionName, boolean fullLink) Gets the link to a function detail page.static String
CmsJspStandardContextBean.getFunctionDetailLinkExact
(CmsObject cms, String functionName) Gets the link to a function detail page.static CmsMacroResolver
CmsFormatterInfoWrapper.getMacroResolverForFormatter
(CmsObject cms, I_CmsFormatterBean formatter) Prepares the macro resolver to use for formatter info / setting info beans.void
CmsJspContentAccessBean.init
(CmsObject cms, Locale locale, I_CmsXmlDocument content, CmsResource resource) Initialize this instance.void
CmsJspContentLoadBean.init
(CmsObject cms, Locale locale, List<CmsResource> content) Initialize this instance.protected void
CmsJspImageBean.init
(CmsObject cms, CmsResource imageRes, String scaleParams) Initializes this new image bean based on a VFS resource and optional scaler parameters.void
CmsJspResourceAccessBean.init
(CmsObject cms, CmsResource resource) Initialize this instance.void
CmsJspResourceLoadBean.init
(CmsObject cms, List<CmsResource> resources) Initialize this instance.void
CmsJspStandardContextBean.CmsContainerElementWrapper.initResource
(CmsObject cms) void
CmsJspStandardContextBean.CmsContainerElementWrapper.initSettings
(CmsObject cms, CmsADEConfigData config, I_CmsFormatterBean formatterBean, Locale locale, javax.servlet.ServletRequest request, Map<String, String> settingPresets) boolean
CmsJspStandardContextBean.CmsContainerElementWrapper.isGroupContainer
(CmsObject cms) boolean
CmsJspStandardContextBean.CmsContainerElementWrapper.isInheritedContainer
(CmsObject cms) static String
CmsStringTemplateRenderer.renderTemplate
(CmsObject cms, String template, CmsResource content, Map<String, Object> contextObjects) Renders the given string template.static String
CmsStringTemplateRenderer.renderTemplate
(CmsObject cms, String template, CmsResource content, Map<String, Object> contextObjects, String pathPrefix) Renders the given string template.static String
CmsStringTemplateRenderer.renderTemplate
(CmsObject cms, String template, CmsJspContentAccessBean content, Map<String, Object> contextObjects) Renders the given string template.static String
CmsStringTemplateRenderer.renderTemplate
(CmsObject cms, String template, CmsJspContentAccessValueWrapper contentValue, Map<String, Object> contextObjects) Renders the given string template.protected void
CmsJspImageBean.setCmsObject
(CmsObject cms) Sets the current OpenCms user context.protected void
CmsJspImageBean.setResource
(CmsObject cms, CmsResource resource) Sets the CmsResource for this image.void
CmsJspStandardContextBean.updateCmsObject
(CmsObject cms) Updates the internally stored OpenCms user context.static Map<String,
CmsJspObjectValueWrapper> CmsStringTemplateRenderer.wrapSettings
(CmsObject cms, Map<String, String> settings) Wraps the element settings with access wrappers.Constructors in org.opencms.jsp.util with parameters of type CmsObjectModifierConstructorDescriptionCmsContainerTypeInfoWrapper
(CmsJspStandardContextBean context, CmsObject cms, CmsADEConfigData config, String type) Creates a new instance.CmsDynamicFunctionBeanWrapper
(CmsObject cms, CmsDynamicFunctionBean functionBean) Creates a new wrapper instance.Creates a new wrapper instance for a given format.CmsErrorBean
(CmsObject cms, Throwable throwable) Constructs a new error bean.CmsFormatterInfoWrapper
(CmsObject cms, CmsADEConfigData config, I_CmsFormatterBean formatter) Creates a new instance.CmsJspCategoryAccessBean
(CmsObject cms, CmsResource resource) Default constructor.CmsJspContentAccessBean
(CmsObject cms, Locale locale, CmsResource resource) Creates a content access bean based on a Resource.CmsJspContentAccessBean
(CmsObject cms, Locale locale, I_CmsXmlDocument content) Creates a content access bean based on an XML content object.CmsJspContentAccessBean
(CmsObject cms, CmsResource resource) Creates a content access bean based on a Resource, using the current request context locale.CmsJspContentAttachmentsBean
(CmsObject cms, CmsResource pageResource) Initializes this bean with the contents of a detail-only page.CmsJspContentLoadBean
(CmsObject cms, List<CmsResource> content) Creates a new context bean using the OpenCms context of the current user.CmsJspContentLoadBean
(CmsObject cms, Locale locale, List<CmsResource> content) Creates a new context bean using the OpenCms context of the current user with the given locale.CmsJspImageBean
(CmsObject cms, String imageUri) Initializes a new image bean based on a string pointing to a VFS resource that may contain appended scaling parameters.CmsJspImageBean
(CmsObject cms, String imageUri, CmsImageScaler initScaler) Initializes a new image bean based on a VFS input string and applies additional re-scaling.CmsJspImageBean
(CmsObject cms, CmsResource imageRes, String scaleParams) Initializes a new image bean based on a VFS resource and optional scaler parameters.CmsJspLinkMacroResolver
(CmsObject cms, String jspRootPath, boolean forRfs) Default constructor.CmsJspLinkWrapper
(CmsObject cms, String link) Creates a new link wrapper.CmsJspLinkWrapper
(CmsObject cms, String link, boolean allowEmpty) Creates a new link wrapper.CmsJspNavigationBean
(CmsObject cms, CmsJspTagNavigation.Type type, int startLevel, int endLevel, String resource, String param) Base constructor.CmsJspNavigationBean
(CmsObject cms, CmsJspTagNavigation.Type type, int startLevel, int endLevel, String resource, String param, Locale locale) Base constructor.CmsJspResourceAccessBean
(CmsObject cms, CmsResource resource) Creates a content access bean based on a Resource.CmsJspResourceLoadBean
(CmsObject cms, List<CmsResource> resources) Creates a new context bean using the OpenCms context of the current user.CmsLocalePropertyLoaderTransformer
(CmsObject cms, CmsResource resource, boolean search) Default constructor.Constructor.CmsPropertyLoaderTransformer
(CmsObject cms, CmsResource resource, boolean search) Creates a new property loading Transformer.CmsPropertyLoaderTransformer
(CmsObject cms, CmsResource resource, boolean search, Locale locale) Creates a new property loading Transformer.CmsResourceTypeInfoWrapper
(CmsJspStandardContextBean context, CmsObject cms, CmsADEConfigData config, I_CmsResourceType type) Creates a new instance.CmsSchemaInfo
(CmsObject cms, CmsXmlContentDefinition contentDef) Creates a new instance.CmsSettingDefinitionWrapper
(CmsObject cms, CmsXmlContentProperty settingDef, CmsMacroResolver resolver) Creates a new instance.CmsTemplatePluginWrapper
(CmsObject cms, CmsTemplatePlugin plugin) Creates a new wrapper. -
Uses of CmsObject in org.opencms.loader
Methods in org.opencms.loader with parameters of type CmsObjectModifier and TypeMethodDescriptionbyte[]
CmsDumpLoader.dump
(CmsObject cms, CmsResource resource, String element, Locale locale, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) byte[]
CmsJspLoader.dump
(CmsObject cms, CmsResource file, String element, Locale locale, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) byte[]
CmsMacroFormatterLoader.dump
(CmsObject cms, CmsResource resource, String element, Locale selectedLocale, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) byte[]
CmsPointerLoader.dump
(CmsObject cms, CmsResource resource, String element, Locale locale, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) byte[]
CmsRedirectLoader.dump
(CmsObject cms, CmsResource resource, String element, Locale locale, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) byte[]
I_CmsResourceLoader.dump
(CmsObject cms, CmsResource resource, String element, Locale locale, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) Dumps the processed content of the the requested file (and it's sub-elements) to a byte array.I_CmsResourceStringDumpLoader.dumpAsString
(CmsObject cms, CmsResource resource, String element, Locale locale, javax.servlet.ServletRequest req, javax.servlet.ServletResponse res) Dumps the processed content of the the requested file (and it's sub-elements) to a String.byte[]
CmsDumpLoader.export
(CmsObject cms, CmsResource resource, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) byte[]
CmsJspLoader.export
(CmsObject cms, CmsResource resource, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) byte[]
CmsMacroFormatterLoader.export
(CmsObject cms, CmsResource resource, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) byte[]
CmsPointerLoader.export
(CmsObject cms, CmsResource resource, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) byte[]
CmsRedirectLoader.export
(CmsObject cms, CmsResource resource, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) byte[]
I_CmsResourceLoader.export
(CmsObject cms, CmsResource resource, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) Static exports the contents of the requested file and it's sub-elements.CmsResourceManager.getAllowedContextMap
(CmsObject cms) Gets the map of forbidden contexts for resource types.CmsTemplateContextManager.getContextInfoBean
(CmsObject cms, javax.servlet.http.HttpServletRequest request) Creates a bean with information about the current template context, for use in the client-side code.protected CmsFlexController
CmsJspLoader.getController
(CmsObject cms, CmsResource resource, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, boolean streaming, boolean top) Delivers a Flex controller, either by creating a new one, or by re-using an existing one.protected CmsFlexController
CmsRedirectLoader.getController
(CmsObject cms, CmsResource resource, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, boolean streaming, boolean top) Delivers a Flex controller, either by creating a new one, or by re-using an existing one.CmsDefaultFileNameGenerator.getCopyFileName
(CmsObject cms, String parentFolder, String baseName) I_CmsFileNameGenerator.getCopyFileName
(CmsObject cms, String parentFolder, String baseName) Returns a unique copy filename for the given base name and the parent folder.CmsDefaultTemplateContextProvider.getEditorStyleSheet
(CmsObject cms, String editedResourcePath) CmsTransformerTemplateProvider.getEditorStyleSheet
(CmsObject cms, String editedResourcePath) I_CmsTemplateContextProvider.getEditorStyleSheet
(CmsObject cms, String editedResourcePath) Returns the style sheet to be used for the editor.CmsTransformerTemplateProvider.getFunctionsForGallery
(CmsObject cms, String templateContext) I_CmsTemplateContextProvider.getFunctionsForGallery
(CmsObject cms, String templateContext) Returns a set of structure ids of dynamic functions that are allowed to appear in the gallery dialog search results, or null if the dynamic function results should not be restricted.CmsDefaultFileNameGenerator.getNewFileName
(CmsObject cms, String namePattern, int defaultDigits) CmsDefaultFileNameGenerator.getNewFileName
(CmsObject userCms, String namePattern, int defaultDigits, boolean explorerMode) Returns a new resource name based on the provided OpenCms user context and name pattern.I_CmsFileNameGenerator.getNewFileName
(CmsObject cms, String namePattern, int defaultDigits) Generates a new file name based on the provided OpenCms user context and name pattern.I_CmsFileNameGenerator.getNewFileName
(CmsObject cms, String namePattern, int defaultDigits, boolean explorerMode) Generates a new file name based on the provided OpenCms user context and name pattern.void
CmsJspLoader.getReferencingStrongLinks
(CmsObject cms, CmsResource resource, Set<String> referencingPaths) Returns a set of root paths of files that are including the given resource using the 'link.strong' macro.protected CmsFile
CmsImageLoader.getScaledImage
(CmsObject cms, CmsResource resource, CmsImageScaler scaler) Returns a scaled version of the given OpenCms VFS image resource.CmsDefaultTemplateContextProvider.getTemplateContext
(CmsObject cms, javax.servlet.http.HttpServletRequest request, CmsResource resource) CmsTemplateContextManager.getTemplateContext
(String providerName, CmsObject cms, javax.servlet.http.HttpServletRequest request, CmsResource resource) Gets the template context to use.CmsTransformerTemplateProvider.getTemplateContext
(CmsObject cms, javax.servlet.http.HttpServletRequest request, CmsResource resource) I_CmsTemplateContextProvider.getTemplateContext
(CmsObject cms, javax.servlet.http.HttpServletRequest request, CmsResource resource) Determines the template context from the current CMS context, request, and resource.CmsTemplateContextManager.getTemplateContextProvider
(CmsObject cms, String path) Gets the template context provider for a given path.CmsResourceManager.getTemplateLoaderFacade
(CmsObject cms, javax.servlet.http.HttpServletRequest request, CmsResource resource, String templateProperty) Returns a template loader facade for the given file.CmsResourceManager.getTemplateLoaderFacade
(CmsObject cms, CmsResource resource, String templateProperty) Returns a template loader facade for the given file.protected CmsTemplateLoaderFacade
CmsSeoFileLoader.getTemplateLoaderFacade
(CmsObject cms, CmsResource resource, javax.servlet.http.HttpServletRequest req) CmsDefaultFileNameGenerator.getUniqueFileName
(CmsObject cms, String parentFolder, String baseName) I_CmsFileNameGenerator.getUniqueFileName
(CmsObject cms, String parentFolder, String baseName) Returns a unique filename for the given base name and the parent folder.void
CmsDefaultTemplateContextProvider.initialize
(CmsObject cms, String config) void
CmsResourceManager.initialize
(CmsObject cms) Initializes all additional resource types stored in the modules.void
CmsTransformerTemplateProvider.initialize
(CmsObject cms, String config) void
I_CmsTemplateContextProvider.initialize
(CmsObject cms, String config) Initializes the context provider using a CMS object.void
CmsDumpLoader.load
(CmsObject cms, CmsResource resource, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) void
CmsImageLoader.load
(CmsObject cms, CmsResource resource, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) void
CmsJspLoader.load
(CmsObject cms, CmsResource file, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) void
CmsMacroFormatterLoader.load
(CmsObject cms, CmsResource resource, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) void
CmsPointerLoader.load
(CmsObject cms, CmsResource resource, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) void
CmsRedirectLoader.load
(CmsObject cms, CmsResource resource, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) void
CmsXmlContainerPageLoader.load
(CmsObject cms, CmsResource resource, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) void
I_CmsResourceLoader.load
(CmsObject cms, CmsResource resource, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) Basic top-page processing method for a I_CmsResourceLoader, this method is called if the page is called as a sub-element on a page not already loaded with a I_CmsResourceLoader.void
CmsResourceManager.loadResource
(CmsObject cms, CmsResource resource, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) Loads the requested resource and writes the contents to the response stream.CmsDefaultTemplateContextProvider.readCommonProperty
(CmsObject cms, String propertyName, String fallbackValue) CmsTransformerTemplateProvider.readCommonProperty
(CmsObject cms, String propertyName, String fallbackValue) I_CmsTemplateContextProvider.readCommonProperty
(CmsObject cms, String propertyName, String fallbackValue) Gets the value which should be used instead of a property which was read from the template resource.CmsTemplateContextManager.readPropertyFromTemplate
(CmsObject cms, CmsResource res, String propertyName, String fallbackValue) Utility method which either reads a property from the template used for a specific resource, or from the template context provider used for the resource if available.void
CmsDumpLoader.service
(CmsObject cms, CmsResource resource, javax.servlet.ServletRequest req, javax.servlet.ServletResponse res) void
CmsJspLoader.service
(CmsObject cms, CmsResource resource, javax.servlet.ServletRequest req, javax.servlet.ServletResponse res) void
CmsMacroFormatterLoader.service
(CmsObject cms, CmsResource resource, javax.servlet.ServletRequest req, javax.servlet.ServletResponse res) void
CmsPointerLoader.service
(CmsObject cms, CmsResource file, javax.servlet.ServletRequest req, javax.servlet.ServletResponse res) void
CmsRedirectLoader.service
(CmsObject cms, CmsResource resource, javax.servlet.ServletRequest req, javax.servlet.ServletResponse res) void
I_CmsResourceLoader.service
(CmsObject cms, CmsResource resource, javax.servlet.ServletRequest req, javax.servlet.ServletResponse res) Does the job of including the requested resource, this method is called directly if the element is called as a sub-element from another I_CmsResourceLoader.void
CmsDefaultFileNameGenerator.setAdminCms
(CmsObject cms) default void
I_CmsFileNameGenerator.setAdminCms
(CmsObject cms) Initializes this instance with an admin CMS context.boolean
CmsTransformerTemplateProvider.shouldShowContextMenuOption
(CmsObject cms) default boolean
I_CmsTemplateContextProvider.shouldShowContextMenuOption
(CmsObject cms) Checks if the context menu option for switching the template should be shown for the given user context.boolean
CmsTransformerTemplateProvider.shouldShowElementTemplateContextSelection
(CmsObject cms) default boolean
I_CmsTemplateContextProvider.shouldShowElementTemplateContextSelection
(CmsObject cms) Controls whether template context select options should be shown in the element settings dialog.protected void
CmsJspLoader.showSource
(CmsObject cms, CmsResource file, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) Delivers the plain uninterpreted resource with escaped XML.protected I_CmsXmlDocument
CmsSeoFileLoader.unmarshalXmlDocument
(CmsObject cms, CmsResource resource, javax.servlet.ServletRequest req) protected CmsXmlContainerPage
CmsXmlContainerPageLoader.unmarshalXmlDocument
(CmsObject cms, CmsResource resource, javax.servlet.ServletRequest req) protected I_CmsXmlDocument
CmsXmlContentLoader.unmarshalXmlDocument
(CmsObject cms, CmsResource resource, javax.servlet.ServletRequest req) protected I_CmsXmlDocument
CmsXmlPageLoader.unmarshalXmlDocument
(CmsObject cms, CmsResource resource, javax.servlet.ServletRequest req) Constructors in org.opencms.loader with parameters of type CmsObjectModifierConstructorDescriptionCmsImageScaler
(CmsObject cms, CmsResource res) Creates a new image scaler by reading the property
from the given resource.CmsPropertyDefinition.PROPERTY_IMAGE_SIZE
Creates a new instance. -
Uses of CmsObject in org.opencms.lock
Methods in org.opencms.lock with parameters of type CmsObjectModifier and TypeMethodDescriptionstatic CmsLockActionRecord
CmsLockUtil.ensureLock
(CmsObject cms, CmsResource resource) Static helper method to lock a resource.static CmsLockActionRecord
CmsLockUtil.ensureLock
(CmsObject cms, CmsResource resource, boolean shallow) Static helper method to lock a resource.boolean
CmsLock.isDirectlyOwnedInProjectBy
(CmsObject cms) Returnstrue
if this is an exclusive, temporary exclusive, or directly inherited lock, and the current user is the owner of this lock, checking also the project of the lock.static CmsLockUtil.LockedFile
CmsLockUtil.LockedFile.lockResource
(CmsObject cms, CmsResource resource) Lock and read a file.static void
CmsLockUtil.tryUnlock
(CmsObject cms, CmsResource resource) Tries to unlock the given resource.static AutoCloseable
CmsLockUtil.withLockedResources
(CmsObject cms, boolean shallow, CmsResource... resources) Utility method for locking and unlocking a set of resources conveniently with the try-with syntax from Java 1.7.static AutoCloseable
CmsLockUtil.withLockedResources
(CmsObject cms, CmsResource... resources) Utility method for locking and unlocking a set of resources conveniently with the try-with syntax from Java 1.7. -
Uses of CmsObject in org.opencms.mail
Constructors in org.opencms.mail with parameters of type CmsObjectModifierConstructorDescriptionCmsVfsDataSource
(CmsObject cms, CmsResource resource) Creates a new data source for the given VFS resource. -
Uses of CmsObject in org.opencms.main
Fields in org.opencms.main declared as CmsObjectMethods in org.opencms.main that return CmsObjectModifier and TypeMethodDescriptionCmsUIServlet.getCmsObject()
Returns the current cms context.protected CmsObject
OpenCmsSolrHandler.getCmsObject
(javax.servlet.http.HttpServletRequest req) Returns the CMS object.protected CmsObject
OpenCmsSpellcheckHandler.getCmsObject
(javax.servlet.http.HttpServletRequest req) Returns the CMS object.static CmsObject
OpenCms.initCmsObject
(String user) Returns an initialized CmsObject (OpenCms user context) with the user initialized as provided, with the "Online" project selected and "/" set as the current site root.static CmsObject
OpenCms.initCmsObject
(CmsObject cms) Returns an independent copy of the provided CmsObject.static CmsObject
OpenCms.initCmsObject
(CmsObject adminCms, CmsContextInfo contextInfo) Returns an initialized CmsObject with the user and context initialized as provided.protected CmsObject
OpenCmsCore.initCmsObject
(String user) Returns an initialized CmsObject with the user initialized as provided, with the "Online" project selected and "/" set as the current site root.protected CmsObject
OpenCmsCore.initCmsObject
(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, boolean allowPrivilegedLogin) Handles the user authentification for each request sent to OpenCms.protected CmsObject
OpenCmsCore.initCmsObject
(CmsObject cms) Returns an independent copy of the provided CmsObject.protected CmsObject
OpenCmsCore.initCmsObject
(CmsObject adminCms, CmsContextInfo contextInfo) Returns an initialized CmsObject with the user and context initialized as provided.protected CmsObject
A_CmsAuthorizationHandler.initCmsObjectFromSession
(javax.servlet.http.HttpServletRequest request) Initializes a new cms object from the session data of the request.protected CmsObject
OpenCmsCore.initCmsObjectFromSession
(javax.servlet.http.HttpServletRequest req) Initializes a new cms object from the session data of the request.protected CmsObject
A_CmsAuthorizationHandler.registerSession
(javax.servlet.http.HttpServletRequest request, CmsObject cms) Registers the current session with OpenCms.protected CmsObject
OpenCmsCore.updateContext
(javax.servlet.http.HttpServletRequest request, CmsObject cms) This method updates the request context information.Methods in org.opencms.main with parameters of type CmsObjectModifier and TypeMethodDescriptionCmsSystemInfo.getConfigFilePath
(CmsObject cms, String configFile) Returns the path to a configuration file.CmsProtectedStaticFileHandler.getLink
(CmsObject cms, CmsResource resource) static CmsObject
OpenCms.initCmsObject
(CmsObject cms) Returns an independent copy of the provided CmsObject.static CmsObject
OpenCms.initCmsObject
(CmsObject adminCms, CmsContextInfo contextInfo) Returns an initialized CmsObject with the user and context initialized as provided.protected CmsObject
OpenCmsCore.initCmsObject
(CmsObject cms) Returns an independent copy of the provided CmsObject.protected CmsObject
OpenCmsCore.initCmsObject
(CmsObject adminCms, CmsContextInfo contextInfo) Returns an initialized CmsObject with the user and context initialized as provided.protected void
CmsSessionManager.initialize
(I_CmsSessionStorageProvider sessionStorageProvider, CmsObject adminCms) Sets the storage provider.CmsAliasResourceHandler.initResource
(CmsResource resource, CmsObject cms, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) CmsPermalinkResourceHandler.initResource
(CmsResource resource, CmsObject cms, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) CmsProtectedStaticFileHandler.initResource
(CmsResource origRes, CmsObject cms, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) I_CmsResourceInit.initResource
(CmsResource resource, CmsObject cms, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) Possibility to modify or change the CmsFile with the CmsObject.static CmsResource
OpenCms.initResource
(CmsObject cms, String resourceName, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) Reads the requested resource from the OpenCms VFS, and in case a directory name is requested, the default files of the directory will be looked up and the first match is returned.protected CmsResource
OpenCmsCore.initResource
(CmsObject cms, String resourceName, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) Reads the requested resource from the OpenCms VFS, in case a directory name is requested, the default files of the directory will be looked up and the first match is returned.void
I_CmsShellCommands.initShellCmsObject
(CmsObject cms, CmsShell shell) Provides access to the shell CmsObject and the shell itself.void
CmsSessionManager.killSession
(CmsObject cms, CmsUser user) Kills all sessions for the given user.void
CmsSessionManager.killSession
(CmsObject cms, CmsUUID sessionid) Destroys a session given the session id.protected CmsObject
A_CmsAuthorizationHandler.registerSession
(javax.servlet.http.HttpServletRequest request, CmsObject cms) Registers the current session with OpenCms.void
CmsSessionManager.sendBroadcast
(CmsObject cms, String message) Deprecated.void
CmsSessionManager.sendBroadcast
(CmsObject cms, String message, boolean repeat) Deprecated.void
CmsSessionManager.sendBroadcast
(CmsObject cms, String message, boolean repeat, CmsBroadcast.ContentMode mode) Sends a broadcast to all sessions of all currently authenticated users.void
CmsSessionManager.sendBroadcast
(CmsObject cms, String message, String sessionId) Deprecated.void
CmsSessionManager.sendBroadcast
(CmsObject cms, String message, String sessionId, boolean repeat) Deprecated.void
CmsSessionManager.sendBroadcast
(CmsObject cms, String message, String sessionId, boolean repeat, CmsBroadcast.ContentMode mode) Sends a broadcast to the specified user session.void
CmsSessionManager.sendBroadcast
(CmsObject cms, String message, String sessionId, CmsBroadcast.ContentMode mode) Sends a broadcast to the specified user session.void
CmsSessionManager.sendBroadcast
(CmsObject cms, String message, CmsBroadcast.ContentMode mode) Sends a broadcast to all sessions of all currently authenticated users.void
CmsProtectedStaticFileHandler.setAdminCmsObject
(CmsObject adminCms) void
Sets the current cms context.void
Called after everything else in the system has been initialized.CmsSessionManager.switchUser
(CmsObject cms, javax.servlet.http.HttpServletRequest req, CmsUser user) Switches the current user to the given user.CmsSessionManager.switchUserFromSession
(CmsObject cms, javax.servlet.http.HttpServletRequest req, CmsUser user, CmsSessionInfo sessionInfo) Switches the current user to the given user.protected CmsObject
OpenCmsCore.updateContext
(javax.servlet.http.HttpServletRequest request, CmsObject cms) This method updates the request context information.void
CmsSessionManager.updateSessionInfo
(CmsObject cms, javax.servlet.http.HttpServletRequest req) Updates the the OpenCms session data used for quick authentication of users.void
CmsSessionManager.updateSessionInfo
(CmsObject cms, javax.servlet.http.HttpServletRequest req, boolean isHeartBeatRequest) Updates the the OpenCms session data used for quick authentication of users.void
CmsSessionManager.updateSessionInfo
(CmsObject cms, javax.servlet.http.HttpSession session) Updates the the OpenCms session data used for quick authentication of users.void
CmsSessionManager.updateSessionInfos
(CmsObject cms) Updates all session info objects, so that invalid projects are replaced by the Online project.Constructors in org.opencms.main with parameters of type CmsObjectModifierConstructorDescriptionCmsShell
(CmsObject cms, String prompt, List<I_CmsShellCommands> additionalShellCommands, PrintStream out, PrintStream err) Creates a new CmsShell. -
Uses of
A_CmsResourceType.chtype(CmsObject, CmsSecurityManager, CmsResource, I_CmsResourceType)
instead.