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 CmsObjectCmsResourceTypeConfig.m_cmsThe CMS object used for VFS operations.Methods in org.opencms.ade.configuration that return CmsObjectModifier and TypeMethodDescriptionprotected CmsObjectCmsADEConfigCacheState.getCms()Gets the CMS context used for VFS operations.protected CmsObjectCmsADEConfigData.getCms()Gets the CMS object used for VFS operations.protected CmsObjectCmsADEConfigData.getCmsObject()Gets the CMS object used for VFS operations.protected CmsObjectCreates 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 TypeMethodDescriptionbooleanCmsADEManager.canEditSitemapConfiguration(CmsObject cms) Checks if the sitemap config can be edited by the user in the given CMS context.booleanCmsResourceTypeConfig.checkCreatable(CmsObject cms, String pageFolderRootPath) Checks if this resource type is creatable.voidCmsResourceTypeConfig.checkOffline(CmsObject cms) Checks whether the cms context is in the offline project and throws an exception otherwise.booleanCmsResourceTypeConfig.checkViewable(CmsObject cms, String referenceUri) Checks if a resource type is viewable for the current user.voidCmsResourceTypeConfig.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 CmsADEConfigCacheStateCmsADEConfigCacheState.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.I_CmsSitemapExtraInfoProvider.getExtraInfo(CmsObject cms) Gets the information to be injected into the sitemap configuration.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 CmsFormatterConfigurationCmsADEConfigData.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 CmsFormatterConfigurationCmsADEConfigData.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.CmsADEManager.getSitemapAttributeValuesByPath(CmsObject cms, String attribute) Gets a map of sitemap attribute values by sitemap path for a given attribute key.static StringCmsConfigurationReader.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 CmsProjectCmsADEManager.getTempfileProject(CmsObject cms) Gets a tempfile project, creating one if it doesn't exist already.Returns the element view title.voidCmsADEManager.handleHtmlRedirect(CmsObject userCms, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String htmlRedirect) Processes a HTML redirect content.booleanCmsADEConfigData.hasFormatters(CmsObject cms, I_CmsResourceType resType, Collection<CmsContainer> containers) Checks if there are any matching formatters for the given set of containers.booleanCmsElementView.hasPermission(CmsObject cms, CmsResource folder) Checks whether the current user has permissions to use the element view.voidCmsResourceTypeConfig.initialize(CmsObject cms) Initializes this instance.protected CmsADEConfigDataCmsADEManager.internalLookupConfiguration(CmsObject cms, String rootPath) Internal configuration lookup method.protected booleanCmsADEConfigCacheState.isDetailPage(CmsObject cms, CmsResource resource) Checks whether the given resource is configured as a detail page.booleanCmsADEManager.isDetailPage(CmsObject cms, CmsResource resource) Checks whether the given resource is configured as a detail page.booleanCmsADEManager.isEditorRestricted(CmsObject cms, CmsResource res) Checks if the user should be prevented from editing a file.booleanCmsADEManager.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 CmsPropertyConfigCmsConfigurationReader.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 CmsObjectCreates a new CMS object based on existing one and changes its site root to the site root.booleanCmsADEManager.saveDetailPages(CmsObject cms, String rootPath, List<CmsDetailPageInfo> detailPages, CmsUUID newId) Saves a list of detail pages.voidCmsADEManager.saveFavoriteList(CmsObject cms, List<CmsContainerElementBean> favoriteList) Saves the favorite list, user based.voidCmsADEManager.saveInheritedContainer(CmsObject cms, String sitePath, String name, boolean newOrder, List<CmsContainerElementBean> elements) Saves the inheritance container information.voidCmsADEManager.saveInheritedContainer(CmsObject cms, CmsResource pageResource, String name, boolean newOrder, List<CmsContainerElementBean> elements) Saves the inheritance container information.voidCmsADEManager.saveRecentList(CmsObject cms, List<CmsContainerElementBean> recentList) Saves the favorite list, user based.voidCmsADEManager.setShowEditorHelp(CmsObject cms, boolean showHelp) Sets the show editor help flag.protected voidCmsResourceTypeConfig.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, CmsUUID baseId, 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, CmsContentFolderOption contentFolderOption, 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 CmsSitePluginCmsSitePlugin.read(CmsObject cms, CmsResource res) Reads a site plugin from a file.static CmsSitePluginCmsSitePlugin.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 TypeMethodDescriptionbooleanI_CmsResourceTypeEnabledCheck.checkEnabled(CmsObject cms, CmsADEConfigData config, I_CmsResourceType resType) Check whether the given type is enabled for a dialog.static CmsResourceCmsModelGroupHelper.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 StringCmsDetailOnlyContainerUtil.getDetailContainerLocale(CmsObject cms, String contentLocale, CmsResource resource) Returns the detail container resource locale appropriate for the given detail page.static CmsContainerPageBeanCmsDetailOnlyContainerUtil.getDetailOnlyPage(CmsObject cms, javax.servlet.ServletRequest req, String pageRootPath) Returns the detail only container page bean ornullif none available.static CmsContainerPageBeanCmsDetailOnlyContainerUtil.getDetailOnlyPage(CmsObject cms, javax.servlet.ServletRequest req, String pageRootPath, boolean lookupContextFirst) Returns the detail only container page bean ornullif 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 StringCmsDetailOnlyContainerUtil.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_CmsFormatterBeanCmsElementUtil.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 StringCmsContainerpageService.getSerializedElementInfo(CmsObject cms, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, CmsContainerElementBean elementBean, CmsContainerPageBean page) Returns the serialized element data.static booleanCmsDetailOnlyContainerUtil.isDetailContainersPage(CmsObject cms, String detailContainersPage) Checks whether the given resource path is of a detail containers page.static booleanCmsContainerpageService.isEditingModelGroups(CmsObject cms, CmsResource containerPage) Checks whether the current page is a model group page.voidCmsAddDialogTypeHelper.precomputeTypeLists(CmsObject cms, String folderRootPath, String checkViewableReferenceUri, List<CmsElementView> views, I_CmsResourceTypeEnabledCheck check) Precomputes type lists for multiple views.static CmsResourceCmsDetailOnlyContainerUtil.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.StateCmsTypeAnalyzer.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 CmsXmlContainerPageCmsDetailOnlyContainerUtil.saveDetailOnlyPage(CmsObject cms, CmsResource content, String locale, CmsContainerPageBean page) Saves a detail-only page for a content.static voidCmsContainerpageService.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 booleanCmsModelGroupHelper.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 CmsResourceCmsInheritanceGroupUtils.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 voidCmsContainerConfigurationWriter.removeExistingEntry(CmsObject cms, CmsXmlContent content, Locale locale, String name) Removes an existing inheritance container entry with a given name from the configuration file.voidCmsContainerConfigurationWriter.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 CmsXmlContentCmsContainerConfigurationWriter.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.ElementCmsContainerConfigurationWriter.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.WidgetInfoCmsWidgetUtil.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.WidgetInfoCmsWidgetUtil.collectWidgetInfo(CmsObject cms, I_CmsXmlContentValue value) Collects widget information for a given content value.static StringCmsContentService.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.voidCmsDynamicCategoryFieldList.ensureFields(CmsObject cms, CmsXmlContent content) Tries to add the collected fields to all locales of the given content.voidCmsDynamicCategoryFieldList.ensureFields(CmsObject cms, CmsXmlContent content, Locale locale) Tries to add the collected fields to one locale of the given content.protected StringCmsContentService.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 CmsAccessRestrictionInfoCmsAccessRestrictionInfo.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 StringCmsDetailPageUtil.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 StringCmsPermissiveDetailPageHandler.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.voidCmsDefaultDetailPageHandler.initialize(CmsObject offlineCms, CmsObject onlineCms) Initialize.voidCmsPermissiveDetailPageHandler.initialize(CmsObject offlineCms, CmsObject onlineCms) voidI_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) booleanCmsDefaultDetailPageHandler.isValidDetailPage(CmsObject cms, CmsResource page, CmsResource detailRes) Checks whether the given detail page is valid for the given resource.protected booleanCmsDetailPageResourceHandler.isValidDetailPage(CmsObject cms, CmsResource page, CmsResource detailRes) Checks whether the given detail page is valid for the given resource.booleanCmsPermissiveDetailPageHandler.isValidDetailPage(CmsObject cms, CmsResource page, CmsResource detailRes) Checks whether the given detail page is valid for the given resource.booleanI_CmsDetailPageHandler.isValidDetailPage(CmsObject cms, CmsResource page, CmsResource detailRes) Checks whether the given detail page is valid for the given resource.static CmsResourceCmsDetailPageUtil.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 CmsObjectCmsGalleryService.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 TA_CmsTreeTabDataPreloader.createEntry(CmsObject cms, CmsResource resource) Creates a tree entry bean from a resource.static CmsVfsEntryBeanCmsGalleryService.generateVfsPreloadData(CmsObject cms, CmsTreeOpenState vfsState, Set<String> folders) Generates the pre-loaded contents for the VFS tab of the gallery dialog.static StringCmsPreviewService.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 CmsVfsEntryBeanCmsGalleryService.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 booleanCmsGalleryService.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 CmsAddContentRestrictionCmsAddContentRestriction.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 CmsPointCmsPreviewService.readFocalPoint(CmsObject cms, CmsResource resource) Reads the focal point from a resource.voidCmsPreviewService.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.postupload
Methods in org.opencms.ade.postupload with parameters of type CmsObjectModifier and TypeMethodDescription -
Uses of CmsObject in org.opencms.ade.publish
Fields in org.opencms.ade.publish declared as CmsObjectModifier and TypeFieldDescriptionprotected final CmsObjectCmsPublish.m_cmsThe current cms context.Methods in org.opencms.ade.publish that return CmsObjectModifier and TypeMethodDescriptionstatic CmsObjectCmsPublishListHelper.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 voidCmsDirectPublishProject.addSubResources(CmsObject cms, Set<CmsResource> resources) Adds contents of folders to a list of resources.static CmsObjectCmsPublishListHelper.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 StringCmsPublish.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 StringCmsPublishService.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 TypeMethodDescriptionvoidCmsVfsSitemapService.checkPermissions(CmsObject cms) voidClears 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 StringCmsUploadBean.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 contextvoidCmsDefaultUploadRestriction.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.voidCmsVfsMemoryObjectCache.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 CmsObjectCmsCmisRepository.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 voidCmsCmisUtil.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.AclCmsCmisRelationHelper.collectAcl(CmsObject cms, CmsResource resource, boolean onlyBasic) Compiles the ACL for a relation.protected org.apache.chemistry.opencmis.commons.data.AclCmsCmisResourceHelper.collectAcl(CmsObject cms, CmsResource resource, boolean onlyBasic) Compiles the ACL for a file or folder.protected org.apache.chemistry.opencmis.commons.data.AllowableActionsCmsCmisRelationHelper.collectAllowableActions(CmsObject cms, CmsResource file, CmsRelation relation) Collects the allowable actions for a relation.protected org.apache.chemistry.opencmis.commons.data.AllowableActionsCmsCmisResourceHelper.collectAllowableActions(CmsObject cms, CmsResource file) Compiles the allowable actions for a file or folder.protected org.apache.chemistry.opencmis.commons.data.ObjectDataCmsCmisRelationHelper.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.ObjectDataCmsCmisResourceHelper.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.PropertiesCmsCmisRelationHelper.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.PropertiesCmsCmisResourceHelper.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 booleanCmsCmisUtil.ensureLock(CmsObject cms, CmsResource resource) Tries to lock a resource and throws an exception if it can't be locked.voidCmsCmisRelationHelper.RelationKey.fillRelation(CmsObject cms) Reads the actual resource and relation data from the OpenCms VFS.protected StringA_CmsCmisRepository.getAcePrincipalName(CmsObject cms, CmsUUID principalId) Gets a user-readable name for a principal id read from an ACE.static StringCmsCmisUtil.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.RenditionDataI_CmsCmisRenditionProvider.getRendition(CmsObject cms, CmsResource resource) Gets the rendition data for a resource.static booleanCmsCmisUtil.hasChildren(CmsObject cms, CmsResource resource) Checks whether the given resource has any children.voidCmsCmisRepository.initializeCms(CmsObject cms) voidI_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.voidCmsConfigurationManager.setAdminCms(CmsObject cms) Sets the admin CmsObject.voidI_CmsNeedsAdminCmsObject.setAdminCmsObject(CmsObject adminCms) Sets the admin CmsObject.voidCmsSitesConfiguration.setCmsObject(CmsObject cms) voidI_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 StringCmsSitePreference.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.booleanA_CmsPreference.isDisabled(CmsObject cms) booleanCmsEditorPreference.isDisabled(CmsObject cms) booleanCmsStartViewPreference.isDisabled(CmsObject cms) booleanCmsWorkplaceModePreference.isDisabled(CmsObject cms) booleanCmsWrapperPreference.isDisabled(CmsObject cms) booleanI_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 TypeMethodDescriptionvoidCmsAESTextEncryption.initialize(CmsObject cms) voidI_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 TypeMethodDescriptionbooleanCmsLoginManager.canLockBecauseOfInactivity(CmsObject cms, CmsUser user) Checks whether a user account can be locked because of inactivity.protected CmsResourceCmsPublishList.checkContainsSubResources(CmsObject cms, List<CmsResource> folders) Checks whether the publish list contains all sub-resources of a list of folders.protected voidCmsAliasManager.checkPermissionsForMassEdit(CmsObject cms) Checks whether the current user has the permissions to mass edit the alias table, and throws an exception otherwise.protected booleanCmsPublishList.containsSubResources(CmsObject cms, CmsResource folder) Checks if the publish list contains all sub-resources of a given folder.protected voidCmsDriverManager.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 StringCmsUserSettings.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.longCmsSubscriptionManager.getDateLastVisitedBy(CmsObject cms, CmsUser user, String resourcePath) Returns the date when the resource was last visited by the user.longCmsSubscriptionManager.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.booleanCmsAliasManager.hasPermissionsForMassEdit(CmsObject cms, String siteRoot) Checks whether the current user has permissions for mass editing the alias table.protected CmsAliasImportResultCmsAliasManager.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.voidCmsImportFolder.importFolder(String importFolderName, String importPath, CmsObject cms) Import that will read from the real file system.voidImport that will read from a ZIP file.static voidCmsModificationContext.initialize(CmsSecurityManager securityManager, CmsObject adminCms, CmsOnlineFolderOptions options) Initializes this class.voidCmsSubscriptionManager.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) booleanCmsLoginManager.isExcludedFromPasswordReset(CmsObject cms, CmsUser user) Checks if the user should be excluded from password reset.booleanCmsLoginManager.isPasswordReset(CmsObject cms, CmsUser user) Checks if password has to be reset.voidCmsSubscriptionManager.markResourceAsVisitedBy(CmsObject cms, String resourcePath, CmsUser user) Mark the given resource as visited by the user.voidCmsSubscriptionManager.markResourceAsVisitedBy(CmsObject cms, CmsResource resource, CmsUser user) Mark the given resource as visited by the user.protected CmsAliasImportResultCmsAliasManager.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 CmsAliasImportResultCmsAliasManager.processAliasLine(CmsObject cms, String siteRoot, String line, String separator) Processes a line from a CSV file containing the alias data to be imported.voidCmsDriverManager.publishJob(CmsObject cms, CmsDbContext dbc, CmsPublishList publishList, I_CmsReport report) Publishes the given publish job.protected voidCmsSecurityManager.publishJob(CmsObject cms, CmsDbContext dbc, CmsPublishList pubList, I_CmsReport report) voidCmsDriverManager.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.voidCmsLoginManager.removeLoginMessage(CmsObject cms) Removes the current login message.booleanCmsLoginManager.requiresPasswordChange(CmsObject cms, CmsUser user) Checks if a user is required to change his password now.booleanCmsLoginManager.requiresUserDataCheck(CmsObject cms, CmsUser user) Checks if a user is required to change his password now.voidRevives the publish list by populating the internal resource lists withinstances.CmsResourcevoidSaves the changed settings of the user to the usersCmsUser.getAdditionalInfo()map.voidCmsAliasManager.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.voidCmsAliasManager.saveRewriteAliases(CmsObject cms, String siteRoot, List<CmsRewriteAlias> newAliases) Saves the rewrite alias for a given site root.static voidCmsUserSettings.setAdditionalPreference(CmsObject cms, String key, String value) Sets a configured preference.voidCmsLoginManager.setBeforeLoginMessage(CmsObject cms, CmsLoginMessage message) Sets the before login message to display on the login form.voidCmsLoginManager.setLoginMessage(CmsObject cms, CmsLoginMessage message) Sets the login message to display if a user logs in.voidCmsSubscriptionManager.setSubscribedResourceAsDeleted(CmsObject cms, CmsResource resource) Marks a subscribed resource as deleted.voidCmsSubscriptionFilter.setUserGroups(CmsObject cms) Sets the groups of the user currently set in this filter as the list of groups to check subscribed resources for.voidCmsSubscriptionManager.subscribeResourceFor(CmsObject cms, CmsPrincipal principal, String resourcePath) Subscribes the user or group to the resource.voidCmsSubscriptionManager.subscribeResourceFor(CmsObject cms, CmsPrincipal principal, CmsResource resource) Subscribes the user or group to the resource.voidCmsLoginManager.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.voidCmsSubscriptionManager.unsubscribeAllDeletedResources(CmsObject cms, long deletedTo) Unsubscribes all deleted resources that were deleted before the specified time stamp.voidCmsSubscriptionManager.unsubscribeAllResourcesFor(CmsObject cms, CmsPrincipal principal) Unsubscribes the user or group from all resources.voidCmsSubscriptionManager.unsubscribeResourceFor(CmsObject cms, CmsPrincipal principal, String resourcePath) Unsubscribes the principal from the resource.voidCmsSubscriptionManager.unsubscribeResourceFor(CmsObject cms, CmsPrincipal principal, CmsResource resource) Unsubscribes the principal from the resource.voidCmsSubscriptionManager.unsubscribeResourceForAll(CmsObject cms, String resourcePath) Unsubscribes all groups and users from the resource.voidCmsSubscriptionManager.unsubscribeResourceForAll(CmsObject cms, CmsResource resource) Unsubscribes all groups and users from the resource.voidCmsAliasManager.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 StringCmsLinkRewriter.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 CmsResourceFilterCmsResourceFilter.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 longCmsDateResourceComparator.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 StringA_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 StringA_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 StringA_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.intA_CmsResourceCollector.getCreateTypeId(CmsObject cms, String collectorName, String param) intCmsDateResourceCollector.getCreateTypeId(CmsObject cms, String collectorName, String param) intCmsDefaultResourceCollector.getCreateTypeId(CmsObject cms, String collectorName, String param) intCmsPriorityResourceCollector.getCreateTypeId(CmsObject cms, String collectorName, String param) intCmsSolrCollector.getCreateTypeId(CmsObject cms, String collectorName, String param) intCmsTimeFrameCategoryCollector.getCreateTypeId(CmsObject cms, String collectorName, String param) intI_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 ofCmsResourceObjects 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 ofCmsResourceObjects that are gathered in the VFS using the named collector.I_CmsResourceCollector.getResults(CmsObject cms, String collectorName, String params, int numResults) Returns a list ofCmsResourceObjects 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 CmsSubscriptionFilterCmsSubscriptionCollector.getSubscriptionFilter(CmsObject cms, String param) Returns the configured subscription filter to use.protected CmsSubscriptionFilterCmsSubscriptionCollector.getSubscriptionFilter(CmsObject cms, Map<String, String> params) Returns the configured subscription filter to use.protected CmsVisitedByFilterCmsSubscriptionCollector.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.voidCmsAddCategoriesPostCreateHandler.onCreate(CmsObject cms, CmsResource createdResource, boolean copyMode) voidCmsAddCategoriesPostCreateHandler.onCreate(CmsObject cms, CmsResource createdResource, boolean copyMode, String config) Adds the categories specified viaconfigto the newly created resource iff not in copy mode.voidCmsDefaultPostCreateHandler.onCreate(CmsObject cms, CmsResource createdResource, boolean copyMode) voidI_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 voidI_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 CmsResourceCmsHistoryResourceHandler.getResourceWithHistory(CmsObject cms, String resourceUri) Returns the correct resource for the given URI, taken into account historical versions marked by theversionparameter.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.quota
Constructors in org.opencms.file.quota with parameters of type CmsObjectModifierConstructorDescriptionCmsFolderSizeTable(CmsObject cms, boolean online) Create a new instance.CmsFolderSizeTracker(CmsObject cms, boolean online) Creates a new instance. -
Uses of CmsObject in org.opencms.file.types
Methods in org.opencms.file.types with parameters of type CmsObjectModifier and TypeMethodDescriptionvoidA_CmsResourceType.changeLock(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource) voidI_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.voidA_CmsResourceType.chflags(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int flags) voidI_CmsResourceType.chflags(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int flags) Changes the resource flags of a resource.voidA_CmsResourceType.chtype(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int type) Deprecated.voidA_CmsResourceType.chtype(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, I_CmsResourceType type) voidA_CmsResourceTypeFolderBase.chtype(CmsObject cms, CmsSecurityManager securityManager, CmsResource filename, int newType) voidCmsResourceTypeJsp.chtype(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int type) voidCmsResourceTypePlain.chtype(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int type) voidI_CmsResourceType.chtype(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int type) Deprecated.voidI_CmsResourceType.chtype(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, I_CmsResourceType type) Changes the resource type of a resource.voidA_CmsResourceType.copyResource(CmsObject cms, CmsSecurityManager securityManager, CmsResource source, String destination, CmsResource.CmsResourceCopyMode siblingMode) voidA_CmsResourceTypeFolderBase.copyResource(CmsObject cms, CmsSecurityManager securityManager, CmsResource source, String destination, CmsResource.CmsResourceCopyMode siblingMode) voidI_CmsResourceType.copyResource(CmsObject cms, CmsSecurityManager securityManager, CmsResource source, String destination, CmsResource.CmsResourceCopyMode siblingMode) Copies a resource.voidA_CmsResourceType.copyResourceToProject(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource) voidI_CmsResourceType.copyResourceToProject(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource) Copies a resource to the current project of the user.protected CmsResourceA_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.voidA_CmsResourceType.deleteResource(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsResource.CmsResourceDeleteMode siblingMode) voidCmsResourceTypeJsp.deleteResource(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsResource.CmsResourceDeleteMode siblingMode) voidCmsResourceTypePlain.deleteResource(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsResource.CmsResourceDeleteMode siblingMode) voidCmsResourceTypeXmlContent.deleteResource(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsResource.CmsResourceDeleteMode siblingMode) voidI_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 CmsImageScalerCmsResourceTypeImage.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 LocaleCmsResourceTypeLocaleIndependentXmlContent.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 LocaleCmsResourceTypeXmlAdeConfiguration.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 LocaleCmsResourceTypeXmlContent.getLocaleForNewContent(CmsObject cms, CmsSecurityManager securityManager, String resourcename, List<CmsProperty> properties) Gets the locale which should be used for creating an empty content.protected CmsMacroResolverA_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 CmsLinkCmsResourceTypeXmlContent.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.voidA_CmsResourceType.initialize(CmsObject cms) voidCmsResourceTypeJsp.initialize(CmsObject cms) voidCmsResourceTypePlain.initialize(CmsObject cms) voidCmsResourceTypeXmlContent.initialize(CmsObject cms) voidI_CmsResourceType.initialize(CmsObject cms) Initializes this resource type.static booleanCmsResourceTypeXmlContainerPage.isModelCopyGroup(CmsObject cms, CmsResource resource) Checks whether the given resource is a model reuse group.voidA_CmsResourceType.lockResource(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsLockType type) voidI_CmsResourceType.lockResource(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsLockType type) Locks a resource.voidA_CmsResourceType.moveResource(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, String destination) voidA_CmsResourceTypeFolderBase.moveResource(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, String destination) voidCmsResourceTypeJsp.moveResource(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, String destination) voidCmsResourceTypePlain.moveResource(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, String destination) voidCmsResourceTypeXmlContent.moveResource(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, String destination) voidI_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 voidA_CmsResourceType.processCopyResources(CmsObject cms, String resourcename, CmsMacroResolver resolver) Processes the copy resources of this resource type.voidA_CmsResourceType.removeResourceFromProject(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource) voidI_CmsResourceType.removeResourceFromProject(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource) Removes a resource from the current project of the user.voidA_CmsResourceType.replaceResource(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int type, byte[] content, List<CmsProperty> properties) voidA_CmsResourceType.replaceResource(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, I_CmsResourceType type, byte[] content, List<CmsProperty> properties) voidA_CmsResourceTypeFolderBase.replaceResource(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int type, byte[] content, List<CmsProperty> properties) voidCmsResourceTypeImage.replaceResource(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int type, byte[] content, List<CmsProperty> properties) voidCmsResourceTypeJsp.replaceResource(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int type, byte[] content, List<CmsProperty> properties) voidCmsResourceTypePlain.replaceResource(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int type, byte[] content, List<CmsProperty> properties) voidI_CmsResourceType.replaceResource(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int type, byte[] content, List<CmsProperty> properties) voidI_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.voidA_CmsResourceType.restoreResource(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int version) voidCmsResourceTypeJsp.restoreResource(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int version) voidCmsResourceTypePlain.restoreResource(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int version) voidI_CmsResourceType.restoreResource(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int version) Restores a resource in the current project with a version from the historical archive.voidA_CmsResourceType.setDateExpired(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateExpired, boolean recursive) voidA_CmsResourceTypeFolderBase.setDateExpired(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateLastModified, boolean recursive) voidCmsResourceTypeJsp.setDateExpired(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateExpired, boolean recursive) voidCmsResourceTypePlain.setDateExpired(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateExpired, boolean recursive) voidCmsResourceTypeXmlContent.setDateExpired(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateExpired, boolean recursive) voidI_CmsResourceType.setDateExpired(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateExpired, boolean recursive) Changes the "expire" date of a resource.voidA_CmsResourceType.setDateLastModified(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateLastModified, boolean recursive) voidA_CmsResourceTypeFolderBase.setDateLastModified(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateLastModified, boolean recursive) voidCmsResourceTypeJsp.setDateLastModified(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateLastModified, boolean recursive) voidCmsResourceTypePlain.setDateLastModified(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateLastModified, boolean recursive) voidI_CmsResourceType.setDateLastModified(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateLastModified, boolean recursive) Changes the "last modified" date of a resource.voidA_CmsResourceType.setDateReleased(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateReleased, boolean recursive) voidA_CmsResourceTypeFolderBase.setDateReleased(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateLastModified, boolean recursive) voidCmsResourceTypeJsp.setDateReleased(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateReleased, boolean recursive) voidCmsResourceTypePlain.setDateReleased(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateReleased, boolean recursive) voidCmsResourceTypeXmlContent.setDateReleased(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateReleased, boolean recursive) voidI_CmsResourceType.setDateReleased(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, long dateReleased, boolean recursive) Changes the "release" date of a resource.voidA_CmsResourceType.undelete(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, boolean recursive) voidA_CmsResourceTypeFolderBase.undelete(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, boolean recursive) voidI_CmsResourceType.undelete(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, boolean recursive) Undeletes a resource.voidA_CmsResourceType.undoChanges(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsResource.CmsResourceUndoMode mode) voidA_CmsResourceTypeFolderBase.undoChanges(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsResource.CmsResourceUndoMode mode) voidCmsResourceTypeJsp.undoChanges(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsResource.CmsResourceUndoMode mode) voidCmsResourceTypePlain.undoChanges(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsResource.CmsResourceUndoMode mode) voidI_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.voidA_CmsResourceType.unlockResource(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource) voidI_CmsResourceType.unlockResource(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource) Unlocks a resource.protected voidA_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.voidA_CmsResourceType.writePropertyObject(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsProperty property) voidI_CmsResourceType.writePropertyObject(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsProperty property) Writes a property for a specified resource.voidA_CmsResourceType.writePropertyObjects(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, List<CmsProperty> properties) voidI_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 StringCmsResourceWrapperUtils.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.booleanA_CmsResourceExtensionWrapper.copyResource(CmsObject cms, String source, String destination, CmsResource.CmsResourceCopyMode siblingMode) booleanA_CmsResourceWrapper.copyResource(CmsObject cms, String source, String destination, CmsResource.CmsResourceCopyMode siblingMode) booleanCmsResourceWrapperXmlPage.copyResource(CmsObject cms, String source, String destination, CmsResource.CmsResourceCopyMode siblingMode) booleanI_CmsResourceWrapper.copyResource(CmsObject cms, String source, String destination, CmsResource.CmsResourceCopyMode siblingMode) Copies a resource.static CmsFileCmsResourceWrapperUtils.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.booleanA_CmsResourceExtensionWrapper.deleteResource(CmsObject cms, String resourcename, CmsResource.CmsResourceDeleteMode siblingMode) booleanA_CmsResourceWrapper.deleteResource(CmsObject cms, String resourcename, CmsResource.CmsResourceDeleteMode siblingMode) booleanCmsResourceWrapperModules.deleteResource(CmsObject cms, String resourcename, CmsResource.CmsResourceDeleteMode siblingMode) booleanCmsResourceWrapperModulesNonLazy.deleteResource(CmsObject cms, String resourcename, CmsResource.CmsResourceDeleteMode siblingMode) booleanCmsResourceWrapperPropertyFile.deleteResource(CmsObject cms, String resourcename, CmsResource.CmsResourceDeleteMode siblingMode) booleanCmsResourceWrapperXmlPage.deleteResource(CmsObject cms, String resourcename, CmsResource.CmsResourceDeleteMode siblingMode) booleanI_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 StringCmsResourceWrapperXmlPage.getUriStyleSheet(CmsObject cms, CmsResource res) Returns the OpenCms VFS uri of the style sheet of the resource.protected StringCmsResourceWrapperXmlPage.getUriTemplate(CmsObject cms, CmsResource res) Returns the OpenCms VFS uri of the template of the resource.booleanA_CmsResourceExtensionWrapper.isWrappedResource(CmsObject cms, CmsResource res) booleanCmsResourceWrapperModules.isWrappedResource(CmsObject cms, CmsResource res) booleanCmsResourceWrapperModulesNonLazy.isWrappedResource(CmsObject cms, CmsResource res) booleanCmsResourceWrapperPreventCreateNameCI.isWrappedResource(CmsObject cms, CmsResource res) booleanCmsResourceWrapperPreventCreateNameRegex.isWrappedResource(CmsObject cms, CmsResource res) booleanCmsResourceWrapperPropertyFile.isWrappedResource(CmsObject cms, CmsResource res) booleanCmsResourceWrapperReplaceDeleted.isWrappedResource(CmsObject cms, CmsResource res) booleanCmsResourceWrapperSystemFolder.isWrappedResource(CmsObject cms, CmsResource res) booleanCmsResourceWrapperXmlPage.isWrappedResource(CmsObject cms, CmsResource res) booleanI_CmsResourceWrapper.isWrappedResource(CmsObject cms, CmsResource res) Is called to check if the given resource is handled by this wrapper.booleanA_CmsResourceExtensionWrapper.lockResource(CmsObject cms, String resourcename, boolean temporary) booleanA_CmsResourceWrapper.lockResource(CmsObject cms, String resourcename, boolean temporary) booleanCmsResourceWrapperModules.lockResource(CmsObject cms, String resourcename, boolean temporary) booleanCmsResourceWrapperModulesNonLazy.lockResource(CmsObject cms, String resourcename, boolean temporary) booleanCmsResourceWrapperPropertyFile.lockResource(CmsObject cms, String resourcename, boolean temporary) booleanCmsResourceWrapperXmlPage.lockResource(CmsObject cms, String resourcename, boolean temporary) booleanI_CmsResourceWrapper.lockResource(CmsObject cms, String resourcename, boolean temporary) Locks a resource.booleanA_CmsResourceExtensionWrapper.moveResource(CmsObject cms, String source, String destination) booleanA_CmsResourceWrapper.moveResource(CmsObject cms, String source, String destination) booleanCmsResourceWrapperPreventCreateNameCI.moveResource(CmsObject cms, String source, String destination) booleanCmsResourceWrapperPreventCreateNameRegex.moveResource(CmsObject cms, String source, String destination) booleanCmsResourceWrapperXmlPage.moveResource(CmsObject cms, String source, String destination) booleanI_CmsResourceWrapper.moveResource(CmsObject cms, String source, String destination) Moves a resource to the given destination.protected StringCmsResourceWrapperXmlPage.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 StringCmsResourceWrapperUtils.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.booleanA_CmsResourceExtensionWrapper.unlockResource(CmsObject cms, String resourcename) booleanA_CmsResourceWrapper.unlockResource(CmsObject cms, String resourcename) booleanCmsResourceWrapperModules.unlockResource(CmsObject cms, String resourcename) booleanCmsResourceWrapperModulesNonLazy.unlockResource(CmsObject cms, String resourcename) booleanCmsResourceWrapperPropertyFile.unlockResource(CmsObject cms, String resourcename) booleanCmsResourceWrapperXmlPage.unlockResource(CmsObject cms, String resourcename) booleanI_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 voidCmsResourceWrapperUtils.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 CmsObjectCmsFlexController.getCmsObject(javax.servlet.ServletRequest req) Returns the wrapped CmsObject form the provided request, ornullif 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.voidCmsFlexCache.initializeCms(CmsObject adminCms) Initializes the flex cache.static CmsFlexBucketConfigurationCmsFlexBucketConfiguration.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 CmsObjectCmsTemplateFinder.getCmsObject()Gets the CMS context to use.Methods in org.opencms.gwt with parameters of type CmsObjectModifier and TypeMethodDescriptionstatic CmsListInfoBeanCmsVfsService.addLockInfo(CmsObject cms, CmsResource resource, CmsListInfoBean resourceInfo) Adds the lock state information to the resource info bean.static CmsListInfoBeanCmsVfsService.addPageInfo(CmsObject cms, CmsResource resource, CmsListInfoBean listInfo) Gets page information of a resource and adds it to the given list info bean.static voidCmsUsedCategoriesList.addUsedCategoryForCurrentUser(CmsObject cms, String category) Stores a used category for the current user.static List<CmsCategoryTreeEntry> CmsCoreService.buildCategoryTree(CmsObject cms, List<CmsCategory> categories) Builds the tree structure for the given categories.voidCmsGwtService.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 StringCmsGwtActionElement.exportCommon(CmsObject cms, CmsCoreData coreData) Returns the serialized data for the core provider wrapped into a script tag.static StringCmsVfsService.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 CmsRelationTargetListBeanCmsDefaultResourceStatusProvider.getContainerpageRelationTargets(CmsObject cms, CmsUUID source, List<CmsUUID> additionalIds, boolean cancelIfChanged) Gets the relation targets for a resource.static CmsRelationTargetListBeanCmsDefaultResourceStatusProvider.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 StringCmsIconUtil.getDisplayType(CmsObject cms, CmsResource resource) Returns the resource type name used to display the resource icon.static StringCmsCoreService.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 StringCmsVfsService.getNoPreviewReason(CmsObject cms, CmsResource resource) Returns the no preview reason if there is any.static CmsListInfoBeanCmsVfsService.getPageInfo(CmsObject cms, CmsResource res) Gets page information of a resource.static CmsListInfoBeanCmsVfsService.getPageInfoWithLock(CmsObject cms, CmsResource resource) Returns a bean to display theincluding the lock state.invalid reference
org.opencms.gwt.client.ui.CmsListItemWidgetstatic 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.SerializationPolicyCmsGwtServiceContext.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 StringCmsCoreService.getVaadinWorkplaceLink(CmsObject cms, String resourceRootFolder) Returns the workplace link.static StringCmsCoreService.getVaadinWorkplaceLink(CmsObject cms, CmsUUID structureId) Returns the workplace link.static CmsReturnLinkInfoCmsCoreService.internalGetLinkForReturnCode(CmsObject cms, String returnCode) Implementation method for getting the link for a given return code.protected booleanCmsPropertyEditorHelper.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 StringCmsVfsService.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.voidSets the CMS object.voidSets the current cms context.voidSets the current cms context.voidCmsDefaultResourceStatusProvider.sortRelations(CmsObject cms, CmsResourceStatusBean resStatus) Sorts relation beans from other sites by site order.static voidCmsPropertyEditorHelper.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 CmsObjectCmsVfsResourceBundle.m_cmsThe 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 LocaleCmsLocaleManager.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 StringCmsLocaleManager.getResourceEncoding(CmsObject cms, CmsResource res) Returns the content encoding set for the given resource.voidCmsDefaultLocaleHandler.initHandler(CmsObject cms) voidCmsSingleTreeLocaleHandler.initHandler(CmsObject cms) voidI_CmsLocaleHandler.initHandler(CmsObject cms) Will be called during system startup.voidCmsLocaleManager.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 CmsMessageToBundleIndexReads the bundle information for the whole system.static voidCmsVfsResourceBundle.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 CmsObjectA_CmsImport.m_cmsDeprecated.The cms context to do the import operations with.protected CmsObjectCmsImport.m_cmsThe cms context.protected CmsObjectCmsImportVersion10.m_cmsThe cms object.Methods in org.opencms.importexport that return CmsObjectModifier and TypeMethodDescriptionprotected CmsObjectCmsExport.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 CmsXmlPageCmsXmlPageConverter.convertToXmlPage(CmsObject cms, byte[] content, Locale locale, String encoding) Deprecated.Converts the contents of a page into an xml page.voidCmsImportExportManager.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.voidCmsVfsImportExportHandler.exportData(CmsObject cms, I_CmsReport report) voidI_CmsImportExportHandler.exportData(CmsObject cms, I_CmsReport report) Exports the data from the Cms.voidCmsImportExportManager.importData(CmsObject cms, String importFile, String importPath, I_CmsReport report) Deprecated.voidCmsImportExportManager.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.voidCmsImportResourceDataReader.importData(CmsObject cms, I_CmsReport report, CmsImportParameters parameters) voidCmsImportVersion10.importData(CmsObject cms, I_CmsReport report, CmsImportParameters parameters) voidCmsImportVersion2.importData(CmsObject cms, I_CmsReport report, CmsImportParameters params) Deprecated.voidCmsImportVersion3.importData(CmsObject cms, I_CmsReport report, CmsImportParameters params) Deprecated.voidCmsImportVersion4.importData(CmsObject cms, I_CmsReport report, CmsImportParameters params) Deprecated.voidCmsImportVersion5.importData(CmsObject cms, I_CmsReport report, CmsImportParameters params) Deprecated.voidCmsImportVersion7.importData(CmsObject cms, I_CmsReport report, CmsImportParameters parameters) Deprecated.voidCmsVfsImportExportHandler.importData(CmsObject cms, String importFile, String importPath, I_CmsReport report) Deprecated.voidCmsVfsImportExportHandler.importData(CmsObject cms, I_CmsReport report) voidI_CmsImport.importData(CmsObject cms, I_CmsReport report, CmsImportParameters parameters) Imports the data.voidI_CmsImportExportHandler.importData(CmsObject cms, String importFile, String importPath, I_CmsReport report) Deprecated.voidI_CmsImportExportHandler.importData(CmsObject cms, I_CmsReport report) Imports the data into the Cms.voidCmsImportVersion10.importResources(CmsObject cms, String importPath, I_CmsReport report, File importResource, ZipFile importZip, org.dom4j.Document docXml) Deprecated.voidCmsImportVersion2.importResources(CmsObject cms, String importPath, I_CmsReport report, File importResource, ZipFile importZip, org.dom4j.Document docXml) Deprecated.voidCmsImportVersion3.importResources(CmsObject cms, String importPath, I_CmsReport report, File importResource, ZipFile importZip, org.dom4j.Document docXml) Deprecated.voidCmsImportVersion4.importResources(CmsObject cms, String importPath, I_CmsReport report, File importResource, ZipFile importZip, org.dom4j.Document docXml) Deprecated.voidCmsImportVersion5.importResources(CmsObject cms, String importPath, I_CmsReport report, File importResource, ZipFile importZip, org.dom4j.Document docXml) Deprecated.voidCmsImportVersion7.importResources(CmsObject cms, String importPath, I_CmsReport report, File importResource, ZipFile importZip, org.dom4j.Document docXml) Deprecated.voidI_CmsImport.importResources(CmsObject cms, String importPath, I_CmsReport report, File importResource, ZipFile importZip, org.dom4j.Document docXml) Deprecated.static voidCmsImportVersion10.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 TypeMethodDescriptionvoidCmsJlanRepository.initializeCms(CmsObject cms) static voidCmsJlanUsers.setAdminCms(CmsObject cms) Sets the CMS context. -
Uses of CmsObject in org.opencms.jsp
Fields in org.opencms.jsp declared as CmsObjectModifier and TypeFieldDescriptionprotected CmsObjectCmsJspNavBuilder.m_cmsThe current CMS context.protected CmsObjectCmsJspTagFormatter.m_cmsThe CmsObject for the current user.protected CmsObjectCmsJspTagNavigation.m_cmsThe CmsObject for the current user.protected CmsObjectCmsJspTagResourceLoad.m_cmsThe CmsObject for the current user.protected CmsObjectCmsJspTagSearch.m_cmsThe 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 voidCmsJspTagHeadIncludes.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 StringCmsJspTagEdit.createResource(CmsObject cmsObject, String newLink, Locale locale, String sitePath, String modelFileName, String mode, String postCreateHandler) Creates a new resource.static I_CmsFormatterBeanCmsJspTagContainer.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 LocaleCmsJspTagLink.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 StringCmsJspTagContainer.getContainerData(CmsObject cms, int maxElements, boolean isDetailView, boolean isDetailOnly) Returns the serialized data of the given container.static StringCmsJspNavBuilder.getDefaultFile(CmsObject cms, String folder) Deprecated.usereadDefaultFile(String)insteadstatic I_CmsFormatterBeanCmsJspTagContainer.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 StringMessages.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 CmsJspNavElementCmsJspNavBuilder.getNavigationForResource(CmsObject cms, String resource) Deprecated.static List<CmsJspNavElement> CmsJspNavBuilder.getNavigationTreeForFolder(CmsObject cms, String folder, int startlevel, int endlevel) Deprecated.static StringCmsJspTagEdit.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 StringCmsJspTagResourceLoad.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 CmsJspImageBeanCmsJspTagScaleImage.imageTagAction(CmsObject cms, String imageUri, CmsImageScaler targetScaler, List<String> hiDpiVariantList) Internal action method to create the scaled image bean.voidInitializes this bean.voidInitializes this bean.voidInitializes this bean.static booleanCmsJspTagEdit.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 booleanCmsJspTagContainer.isEditable(CmsObject cms) Returns if the container is editable by the current user.static booleanCmsJspNavBuilder.isNavLevelFolder(CmsObject cms, CmsResource resource) Returns whether the given resource is a folder and is marked to be a navigation level folder.protected static booleanCmsJspTagUserTracking.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 booleanCmsJspTagUserTracking.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 voidCmsJspTagContainer.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.voidCmsJspTagHeadIncludes.tagCssAction(CmsObject cms, javax.servlet.http.HttpServletRequest req) Action to include the CSS resources.voidCmsJspTagHeadIncludes.tagJSAction(CmsObject cms, javax.servlet.http.HttpServletRequest req) Action to include the java-script resources.static CmsJspResourceWrapperCmsJspResourceWrapper.wrap(CmsObject cms, CmsResource res) Factory method to create a newCmsJspResourceWrapperinstance 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".voidvoidInitialises the configuration.voidSets 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 CmsObjectA_CmsConfiguredHtmlParser.getCmsObject()Returns the internal cms object for accessing core functionality.Methods in org.opencms.jsp.parse with parameters of type CmsObjectModifier and TypeMethodDescriptionvoidA_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 StringReturns the configured Solr index, ornullif 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 CmsConfigurationBeanCmsConfigParserUtils.parseListConfiguration(CmsObject cms, CmsResource res) Parses the list configuration resource.static CmsXmlContentCmsConfigParserUtils.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 TypeMethodDescriptionvoidCmsSearchController.addQueryParts(CmsSolrQuery query, CmsObject cms) voidCmsSearchControllerCommon.addQueryParts(CmsSolrQuery query, CmsObject cms) voidCmsSearchControllerDidYouMean.addQueryParts(CmsSolrQuery query, CmsObject cms) voidCmsSearchControllerFacetField.addQueryParts(CmsSolrQuery query, CmsObject cms) voidCmsSearchControllerFacetQuery.addQueryParts(CmsSolrQuery query, CmsObject cms) voidCmsSearchControllerFacetRange.addQueryParts(CmsSolrQuery query, CmsObject cms) voidCmsSearchControllerFacetsField.addQueryParts(CmsSolrQuery query, CmsObject cms) voidCmsSearchControllerFacetsRange.addQueryParts(CmsSolrQuery query, CmsObject cms) voidCmsSearchControllerGeoFilter.addQueryParts(CmsSolrQuery query, CmsObject cms) voidCmsSearchControllerHighlighting.addQueryParts(CmsSolrQuery query, CmsObject cms) voidCmsSearchControllerPagination.addQueryParts(CmsSolrQuery query, CmsObject cms) voidCmsSearchControllerSorting.addQueryParts(CmsSolrQuery query, CmsObject cms) voidI_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.voidCmsDefaultUserDataDomain.appendInfoHtml(CmsObject cms, CmsUserDataRequestType reqType, List<CmsUser> users, org.jsoup.nodes.Element element) voidCmsUserDataHeader.appendInfoHtml(CmsObject cms, CmsUserDataRequestType reqType, List<CmsUser> user, org.jsoup.nodes.Element element) voidI_CmsUserDataDomain.appendInfoHtml(CmsObject cms, CmsUserDataRequestType reqType, List<CmsUser> user, org.jsoup.nodes.Element element) Appends the user data to the given HTML element.default voidI_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.booleanCmsUserDataRequestManager.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.booleanCmsUserDataRequestManager.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).voidCmsDefaultUserDataDomain.initialize(CmsObject cms) voidCmsUserDataHeader.initialize(CmsObject cms) voidCmsUserDataRequestManager.initialize(CmsObject cms) Initializes the manager.voidCmsUserDataRequestStore.initialize(CmsObject adminCms) Initializes the store with an admin CMS object.voidI_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.booleanCmsDefaultUserDataDomain.matchesUser(CmsObject cms, CmsUserDataRequestType reqType, CmsUser user) booleanCmsUserDataHeader.matchesUser(CmsObject cms, CmsUserDataRequestType reqType, CmsUser user) booleanI_CmsUserDataDomain.matchesUser(CmsObject cms, CmsUserDataRequestType reqType, CmsUser user) Checks if the user matches the domain for the given user data request type.voidCmsUserDataRequestManager.startUserDataRequest(CmsObject cms, CmsUserDataRequestConfig config, String email) Starts a user data request for the email case.voidCmsUserDataRequestManager.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 CmsObjectA_CmsJspValueWrapper.m_cmsThe wrapped OpenCms user context.protected CmsObjectA_CmsJspValueWrapper.m_cmsThe wrapped OpenCms user context.protected CmsObjectA_CmsJspValueWrapper.m_cmsThe wrapped OpenCms user context.protected CmsObjectCmsDynamicFunctionBeanWrapper.m_cmsThe internal CMS object to use.protected CmsObjectCmsJspContentLoadBean.m_cmsThe OpenCms context of the current user.protected CmsObjectCmsJspLinkWrapper.m_cmsStored CMS context.protected CmsObjectCmsJspNavigationBean.m_cmsThe OpenCms user context.protected CmsObjectCmsJspResourceLoadBean.m_cmsThe OpenCms context of the current user.protected CmsObjectCmsJspStandardContextBean.m_cmsOpenCms user context.protected CmsObjectCmsJspVfsAccessBean.m_cmsThe OpenCms context of the current user.Methods in org.opencms.jsp.util that return CmsObjectModifier and TypeMethodDescriptionstatic CmsObjectCmsJspElFunctions.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.static CmsObjectCmsJspElFunctions.getCmsObject(Object input) Returns the current OpenCms user context from the given page context.protected CmsObjectCmsJspImageBean.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 CmsObjectCmsJspStandardContextBean.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 CmsResourceCmsJspElFunctions.convertRawResource(CmsObject cms, Object input) Returns a resource created from an Object.static CmsJspResourceWrapperCmsJspElFunctions.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 ofCmsResourceobjects to a list ofCmsJspContentAccessBeanobjects, using the current request context locale.static List<CmsJspContentAccessBean> CmsJspContentLoadBean.convertResourceList(CmsObject cms, Locale locale, List<CmsResource> resources) Converts a list ofCmsResourceobjects to a list ofCmsJspContentAccessBeanobjects, 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 CmsJspVfsAccessBeanCreates 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 CmsJspObjectValueWrapperCmsJspObjectValueWrapper.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 CmsJspContentAttachmentsBeanCmsJspContentAttachmentsBean.getAttachmentsForCurrentPage(CmsObject cms, CmsResource content) Gets the attachments / detail-only contents for the current page (i.e.static CmsJspContentAttachmentsBeanCmsJspContentAttachmentsBean.getAttachmentsForLocale(CmsObject cms, CmsResource content, String locale) Loads the attachments for a given content.static CmsResourceCmsFunctionRenderer.getDefaultFunctionInstance(CmsObject cms) Cached method for accessing the default function formatter.static CmsResourceCmsFunctionRenderer.getDefaultFunctionJsp(CmsObject cms) Cached method for accessing the default function formatter JSP.static StringCmsJspStandardContextBean.getFunctionDetailLink(CmsObject cms, String prefix, String functionName, boolean fullLink) Gets the link to a function detail page.static StringCmsJspStandardContextBean.getFunctionDetailLinkExact(CmsObject cms, String functionName) Gets the link to a function detail page.static CmsMacroResolverCmsFormatterInfoWrapper.getMacroResolverForFormatter(CmsObject cms, Locale locale, I_CmsFormatterBean formatter) Prepares the macro resolver to use for formatter info / setting info beans.voidCmsJspContentAccessBean.init(CmsObject cms, Locale locale, I_CmsXmlDocument content, CmsResource resource) Initialize this instance.voidCmsJspContentLoadBean.init(CmsObject cms, Locale locale, List<CmsResource> content) Initialize this instance.protected voidCmsJspImageBean.init(CmsObject cms, CmsResource imageRes, String scaleParams) Initializes this new image bean based on a VFS resource and optional scaler parameters.voidCmsJspResourceAccessBean.init(CmsObject cms, CmsResource resource) Initialize this instance.voidCmsJspResourceLoadBean.init(CmsObject cms, List<CmsResource> resources) Initialize this instance.voidCmsJspStandardContextBean.CmsContainerElementWrapper.initResource(CmsObject cms) voidCmsJspStandardContextBean.CmsContainerElementWrapper.initSettings(CmsObject cms, CmsADEConfigData config, I_CmsFormatterBean formatterBean, Locale locale, javax.servlet.ServletRequest request, Map<String, String> settingPresets) booleanCmsJspStandardContextBean.CmsContainerElementWrapper.isGroupContainer(CmsObject cms) booleanCmsJspStandardContextBean.CmsContainerElementWrapper.isInheritedContainer(CmsObject cms) static StringCmsStringTemplateRenderer.renderTemplate(CmsObject cms, String template, CmsResource content, Map<String, Object> contextObjects) Renders the given string template.static StringCmsStringTemplateRenderer.renderTemplate(CmsObject cms, String template, CmsResource content, Map<String, Object> contextObjects, String pathPrefix) Renders the given string template.static StringCmsStringTemplateRenderer.renderTemplate(CmsObject cms, String template, CmsJspContentAccessBean content, Map<String, Object> contextObjects) Renders the given string template.static StringCmsStringTemplateRenderer.renderTemplate(CmsObject cms, String template, CmsJspContentAccessValueWrapper contentValue, Map<String, Object> contextObjects) Renders the given string template.protected voidCmsJspImageBean.setCmsObject(CmsObject cms) Sets the current OpenCms user context.protected voidCmsJspImageBean.setResource(CmsObject cms, CmsResource resource) Sets the CmsResource for this image.voidCmsJspStandardContextBean.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.Creates a new instance.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.CmsJspLinkWrapper(CmsObject cms, CmsResource resource) Creates a new link wrapper for a specific resource.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, Function<Locale, CmsMacroResolver> resolverProvider) 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 CmsFlexControllerCmsJspLoader.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 CmsFlexControllerCmsRedirectLoader.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.voidCmsJspLoader.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 CmsFileCmsImageLoader.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 CmsTemplateLoaderFacadeCmsSeoFileLoader.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.voidCmsDefaultTemplateContextProvider.initialize(CmsObject cms, String config) voidCmsResourceManager.initialize(CmsObject cms) Initializes all additional resource types stored in the modules.voidCmsTransformerTemplateProvider.initialize(CmsObject cms, String config) voidI_CmsTemplateContextProvider.initialize(CmsObject cms, String config) Initializes the context provider using a CMS object.voidCmsDumpLoader.load(CmsObject cms, CmsResource resource, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) voidCmsImageLoader.load(CmsObject cms, CmsResource resource, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) voidCmsJspLoader.load(CmsObject cms, CmsResource file, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) voidCmsMacroFormatterLoader.load(CmsObject cms, CmsResource resource, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) voidCmsPointerLoader.load(CmsObject cms, CmsResource resource, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) voidCmsRedirectLoader.load(CmsObject cms, CmsResource resource, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) voidCmsXmlContainerPageLoader.load(CmsObject cms, CmsResource resource, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) voidI_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.voidCmsResourceManager.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.voidCmsDumpLoader.service(CmsObject cms, CmsResource resource, javax.servlet.ServletRequest req, javax.servlet.ServletResponse res) voidCmsJspLoader.service(CmsObject cms, CmsResource resource, javax.servlet.ServletRequest req, javax.servlet.ServletResponse res) voidCmsMacroFormatterLoader.service(CmsObject cms, CmsResource resource, javax.servlet.ServletRequest req, javax.servlet.ServletResponse res) voidCmsPointerLoader.service(CmsObject cms, CmsResource file, javax.servlet.ServletRequest req, javax.servlet.ServletResponse res) voidCmsRedirectLoader.service(CmsObject cms, CmsResource resource, javax.servlet.ServletRequest req, javax.servlet.ServletResponse res) voidI_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.voidCmsDefaultFileNameGenerator.setAdminCms(CmsObject cms) default voidI_CmsFileNameGenerator.setAdminCms(CmsObject cms) Initializes this instance with an admin CMS context.booleanCmsTransformerTemplateProvider.shouldShowContextMenuOption(CmsObject cms) default booleanI_CmsTemplateContextProvider.shouldShowContextMenuOption(CmsObject cms) Checks if the context menu option for switching the template should be shown for the given user context.booleanCmsTransformerTemplateProvider.shouldShowElementTemplateContextSelection(CmsObject cms) default booleanI_CmsTemplateContextProvider.shouldShowElementTemplateContextSelection(CmsObject cms) Controls whether template context select options should be shown in the element settings dialog.protected voidCmsJspLoader.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_CmsXmlDocumentCmsSeoFileLoader.unmarshalXmlDocument(CmsObject cms, CmsResource resource, javax.servlet.ServletRequest req) protected CmsXmlContainerPageCmsXmlContainerPageLoader.unmarshalXmlDocument(CmsObject cms, CmsResource resource, javax.servlet.ServletRequest req) protected I_CmsXmlDocumentCmsXmlContentLoader.unmarshalXmlDocument(CmsObject cms, CmsResource resource, javax.servlet.ServletRequest req) protected I_CmsXmlDocumentCmsXmlPageLoader.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 propertyfrom the given resource.CmsPropertyDefinition.PROPERTY_IMAGE_SIZECreates a new instance. -
Uses of CmsObject in org.opencms.lock
Methods in org.opencms.lock with parameters of type CmsObjectModifier and TypeMethodDescriptionstatic CmsLockActionRecordCmsLockUtil.ensureLock(CmsObject cms, CmsResource resource) Static helper method to lock a resource.static CmsLockActionRecordCmsLockUtil.ensureLock(CmsObject cms, CmsResource resource, boolean shallow) Static helper method to lock a resource.booleanCmsLock.isDirectlyOwnedInProjectBy(CmsObject cms) Returnstrueif 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.LockedFileCmsLockUtil.LockedFile.lockResource(CmsObject cms, CmsResource resource) Lock and read a file.static voidCmsLockUtil.tryUnlock(CmsObject cms, CmsResource resource) Tries to unlock the given resource.static AutoCloseableCmsLockUtil.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 AutoCloseableCmsLockUtil.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 CmsObjectOpenCmsSolrHandler.getCmsObject(javax.servlet.http.HttpServletRequest req) Returns the CMS object.protected CmsObjectOpenCmsSpellcheckHandler.getCmsObject(javax.servlet.http.HttpServletRequest req) Returns the CMS object.static CmsObjectOpenCms.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 CmsObjectOpenCms.initCmsObject(CmsObject cms) Returns an independent copy of the provided CmsObject.static CmsObjectOpenCms.initCmsObject(CmsObject adminCms, CmsContextInfo contextInfo) Returns an initialized CmsObject with the user and context initialized as provided.protected CmsObjectOpenCmsCore.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 CmsObjectOpenCmsCore.initCmsObject(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, boolean allowPrivilegedLogin) Handles the user authentification for each request sent to OpenCms.protected CmsObjectOpenCmsCore.initCmsObject(CmsObject cms) Returns an independent copy of the provided CmsObject.protected CmsObjectOpenCmsCore.initCmsObject(CmsObject adminCms, CmsContextInfo contextInfo) Returns an initialized CmsObject with the user and context initialized as provided.protected CmsObjectA_CmsAuthorizationHandler.initCmsObjectFromSession(javax.servlet.http.HttpServletRequest request) Initializes a new cms object from the session data of the request.protected CmsObjectOpenCmsCore.initCmsObjectFromSession(javax.servlet.http.HttpServletRequest req) Initializes a new cms object from the session data of the request.protected CmsObjectA_CmsAuthorizationHandler.registerSession(javax.servlet.http.HttpServletRequest request, CmsObject cms) Registers the current session with OpenCms.protected CmsObjectOpenCmsCore.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 CmsObjectOpenCms.initCmsObject(CmsObject cms) Returns an independent copy of the provided CmsObject.static CmsObjectOpenCms.initCmsObject(CmsObject adminCms, CmsContextInfo contextInfo) Returns an initialized CmsObject with the user and context initialized as provided.protected CmsObjectOpenCmsCore.initCmsObject(CmsObject cms) Returns an independent copy of the provided CmsObject.protected CmsObjectOpenCmsCore.initCmsObject(CmsObject adminCms, CmsContextInfo contextInfo) Returns an initialized CmsObject with the user and context initialized as provided.protected voidCmsSessionManager.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 CmsResourceOpenCms.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 CmsResourceOpenCmsCore.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.voidI_CmsShellCommands.initShellCmsObject(CmsObject cms, CmsShell shell) Provides access to the shell CmsObject and the shell itself.voidCmsSessionManager.killSession(CmsObject cms, CmsUser user) Kills all sessions for the given user.voidCmsSessionManager.killSession(CmsObject cms, CmsUUID sessionid) Destroys a session given the session id.protected CmsObjectA_CmsAuthorizationHandler.registerSession(javax.servlet.http.HttpServletRequest request, CmsObject cms) Registers the current session with OpenCms.voidCmsSessionManager.sendBroadcast(CmsObject cms, String message) Deprecated.voidCmsSessionManager.sendBroadcast(CmsObject cms, String message, boolean repeat) Deprecated.voidCmsSessionManager.sendBroadcast(CmsObject cms, String message, boolean repeat, CmsBroadcast.ContentMode mode) Sends a broadcast to all sessions of all currently authenticated users.voidCmsSessionManager.sendBroadcast(CmsObject cms, String message, String sessionId) Deprecated.voidCmsSessionManager.sendBroadcast(CmsObject cms, String message, String sessionId, boolean repeat) Deprecated.voidCmsSessionManager.sendBroadcast(CmsObject cms, String message, String sessionId, boolean repeat, CmsBroadcast.ContentMode mode) Sends a broadcast to the specified user session.voidCmsSessionManager.sendBroadcast(CmsObject cms, String message, String sessionId, CmsBroadcast.ContentMode mode) Sends a broadcast to the specified user session.voidCmsSessionManager.sendBroadcast(CmsObject cms, String message, CmsBroadcast.ContentMode mode) Sends a broadcast to all sessions of all currently authenticated users.voidCmsProtectedStaticFileHandler.setAdminCmsObject(CmsObject adminCms) voidSets the current cms context.voidCalled 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 CmsObjectOpenCmsCore.updateContext(javax.servlet.http.HttpServletRequest request, CmsObject cms) This method updates the request context information.voidCmsSessionManager.updateSessionInfo(CmsObject cms, javax.servlet.http.HttpServletRequest req) Updates the the OpenCms session data used for quick authentication of users.voidCmsSessionManager.updateSessionInfo(CmsObject cms, javax.servlet.http.HttpServletRequest req, boolean isHeartBeatRequest) Updates the the OpenCms session data used for quick authentication of users.voidCmsSessionManager.updateSessionInfo(CmsObject cms, javax.servlet.http.HttpSession session) Updates the the OpenCms session data used for quick authentication of users.voidCmsSessionManager.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 CmsObject in org.opencms.module
Methods in org.opencms.module that return CmsObjectMethods in org.opencms.module with parameters of type CmsObjectModifier and TypeMethodDescriptionstatic voidCmsModule.addCalculatedModuleResources(List<CmsResource> result, CmsObject cms, List<CmsResource> moduleResources, List<String> excludeResources) Determines the resources that are: accessible with the providedCmsObject, part of themoduleResources(or in a folder of these resources) and not contained inexcludedResources(or a folder of these resources). and adds the toresultvoidAdds a new module to the module manager.CmsModule.calculateModuleResourceNames(CmsObject cms, CmsModule module) Calculates the resources belonging to the module, taking excluded resources and readability of resources into account, and returns site paths of the module resources.static List<CmsResource> CmsModule.calculateModuleResources(CmsObject cms, CmsModule module) Calculates and returns the resources belonging to the module, taking excluded resources and readability of resources into account.voidCmsModule.checkResources(CmsObject cms) Checks if all resources of the module are present.booleanCmsModuleImportData.checkUpdatable(CmsObject cms) Checks if the installed module is updatable with the version from the import zip file.CmsResourceImportData.computeRootPath(CmsObject cms) Computes the root path.static Optional<CmsModuleUpdater> CmsModuleUpdater.create(CmsObject cms, String importFile, I_CmsReport report) Tries to create a new updater instance.protected CmsProjectCmsModuleUpdater.createAndSetModuleImportProject(CmsObject cms, CmsModule module) Creates the project used to import module resources and sets it on the CmsObject.protected voidCmsModuleUpdater.deleteConflictingResources(CmsObject cms, CmsModule module, Map<CmsUUID, CmsUUID> conflictingIds) Deletes and publishes resources with ID conflicts.voidCmsModuleManager.deleteModule(CmsObject cms, String moduleName, boolean replace, boolean preserveLibs, I_CmsReport report) Deletes a module from the configuration.voidCmsModuleManager.deleteModule(CmsObject cms, String moduleName, boolean replace, I_CmsReport report) Deletes a module from the configuration.voidCmsModuleImportExportHandler.exportData(CmsObject cms, I_CmsReport report) static CmsModuleImportExportHandlerCmsModuleImportExportHandler.getExportHandler(CmsObject cms, CmsModule module, String handlerDescription) Gets the module export handler containing all resources used in the module export.voidCmsModuleImportExportHandler.importData(CmsObject cms, String importFile, String importPath, I_CmsReport report) Deprecated.voidCmsModuleImportExportHandler.importData(CmsObject cms, I_CmsReport report) voidCmsModuleUpdater.importRelations(CmsObject cms) Update relations for all imported resources.voidA_CmsModuleAction.initialize(CmsObject adminCms, CmsConfigurationManager configurationManager, CmsModule module) protected voidCmsModule.initialize(CmsObject cms) Initializes this module, also freezing the module configuration.voidCmsModuleImportExportRepository.initialize(CmsObject adminCms) Initializes the CMS context.voidCmsModuleManager.initialize(CmsObject cms, CmsConfigurationManager configurationManager) Initializes all module instance classes managed in this module manager.voidI_CmsModuleAction.initialize(CmsObject adminCms, CmsConfigurationManager configurationManager, CmsModule module) Will be called by the OpenCms system during server startup.protected voidCmsModuleUpdater.parseLinks(CmsObject cms) Parses links for XMLContents etc.protected voidCmsModuleUpdater.processDeletions(CmsObject cms, List<CmsResource> toDelete) Handles the file deletions.protected voidCmsModuleUpdater.processImportResource(CmsObject cms, CmsResourceImportData resData, int index) Processes single resource from module import data.voidA_CmsModuleAction.publishProject(CmsObject cms, CmsPublishList publishList, int publishTag, I_CmsReport report) voidI_CmsModuleAction.publishProject(CmsObject cms, CmsPublishList publishList, int publishTag, I_CmsReport report) Will be called during a the publish process after the resources have been published, but before the publish event is fired.static CmsModuleImportDataCmsModuleUpdater.readModuleData(CmsObject cms, String importFile, I_CmsReport report) Reads the module data from an import zip file.CmsModuleManager.replaceModule(CmsObject cms, String importFile, I_CmsReport report) Replaces an existing module with the one read from an import ZIP file.protected voidCmsModuleUpdater.runImportScript(CmsObject cms, CmsModule module) Runs the module import script.voidSets the CMS object.booleanCmsModule.shouldIncrementVersionBasedOnResources(CmsObject cms) Determines if the version should be incremented based on the module resources' modification dates.booleanCmsModuleUpdater.updateAcls(CmsObject cms, CmsResourceImportData resData, CmsResource resource) Updates the access control list fr a resource.voidCmsModuleManager.updateModule(CmsObject cms, CmsModule module) Updates a already configured module with new values. -
Uses of CmsObject in org.opencms.monitor
Methods in org.opencms.monitor with parameters of type CmsObject -
Uses of CmsObject in org.opencms.mx
Methods in org.opencms.mx with parameters of type CmsObject -
Uses of CmsObject in org.opencms.newsletter
Methods in org.opencms.newsletter with parameters of type CmsObjectModifier and TypeMethodDescriptionvoidCmsNewsletter.addAttachment(CmsObject cms, CmsResource resource) voidI_CmsNewsletter.addAttachment(CmsObject cms, CmsResource resource) Adds a OpenCms resource as an attachment to the newsletter.voidCmsNewsletterDistributor.distribute(CmsObject cms, List<I_CmsNewsletterRecipient> recipients, I_CmsNewsletter newsletter) Sends aI_CmsNewsletterto a list ofI_CmsNewsletterRecipientobjects.org.apache.commons.mail.EmailCmsNewsletter.getEmail(CmsObject cms, I_CmsNewsletterRecipient recipient) Returns the e-mail for the newsletter.org.apache.commons.mail.EmailI_CmsNewsletter.getEmail(CmsObject cms, I_CmsNewsletterRecipient recipient) Returns the newsletter as an e-mail to be sent. -
Uses of CmsObject in org.opencms.notification
Fields in org.opencms.notification declared as CmsObjectMethods in org.opencms.notification that return CmsObjectMethods in org.opencms.notification with parameters of type CmsObjectModifier and TypeMethodDescriptionConstructors in org.opencms.notification with parameters of type CmsObjectModifierConstructorDescriptionA_CmsNotification(CmsObject cms, CmsUser receiver) Creates a new A_CmsNotification.Collects all resources that will expire in short time, or will become valid, or are not modified since a long time.CmsNotificationMacroResolver(CmsObject cms, CmsUser receiver) public constructor.CmsPublishNotification(CmsObject cms, CmsUser receiver, I_CmsReport report) Creates a new CmsPublishNotification. -
Uses of CmsObject in org.opencms.pdftools
Methods in org.opencms.pdftools with parameters of type CmsObjectModifier and TypeMethodDescriptionbyte[]CmsPdfConverter.convertXhtmlToPdf(CmsObject cms, byte[] xhtmlData, String uri) Converts XHTML data to a PDF document.static byte[]CmsPdfFormatterUtils.executeJsp(CmsObject cms, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, CmsResource jsp, CmsResource content) Executes a JSP with a given content as input and returns the output of the JSP.protected voidCmsPdfResourceHandler.handlePdfLink(CmsObject cms, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String uri) Handles a link for generating a PDF.CmsPdfResourceHandler.initResource(CmsResource resource, CmsObject cms, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Constructors in org.opencms.pdftools with parameters of type CmsObjectModifierConstructorDescriptionCmsPdfLink(CmsObject cms, String link) Creates a PDF link object by parsing it from a link string.CmsPdfLink(CmsObject cms, CmsResource formatter, CmsResource content, String filename) Creates a new PDF link object based on the formatter and content resources and the locale of the current CMS context.CmsPdfThumbnailLink(CmsObject cms, String link, String options) Parses a thumbnail link object from the given link path and options.CmsPdfThumbnailLink(CmsObject cms, CmsResource pdfResource, int width, int height, String format) Creates a new thumbnail link for the given resource and options.CmsPdfUserAgent(CmsObject cms) Creates a new instance. -
Uses of CmsObject in org.opencms.publish
Methods in org.opencms.publish that return CmsObjectModifier and TypeMethodDescriptionprotected CmsObjectCmsPublishJobInfoBean.getCmsObject()Returns the cms object, will be set tonullafter publishing.Methods in org.opencms.publish with parameters of type CmsObjectModifier and TypeMethodDescriptionvoidCmsPublishManager.abortPublishJob(CmsObject cms, CmsPublishJobEnqueued publishJob, boolean removeJob) Aborts the given publish job.intCmsPublishManager.cleanupPublishHistory(CmsObject cms) Cleans up all unreferenced publish history entries except for the ones with a history id provided by the special history id providers.intCmsPublishManager.cleanupPublishHistory(CmsObject cms, List<CmsUUID> exceptions) Cleans up all unreferenced publish history entries except for the ones with a history id from the given list of exceptions.intCmsPublishManager.cleanupPublishHistory(CmsObject cms, CmsUUID historyId) Removes publish history entries for the given history id.voidCmsPublishEngine.enqueuePublishJob(CmsObject cms, CmsPublishList publishList, I_CmsReport report) Enqueues a new publish job with the given information in publish queue.CmsPublishManager.getPublishList(CmsObject cms) Returns a publish list with all new/changed/deleted resources of the current (offline) project that actually get published.CmsPublishManager.getPublishList(CmsObject cms, List<CmsResource> directPublishResources, boolean directPublishSiblings) Returns a publish list with all new/changed/deleted resources of the current (offline) project that actually get published for a direct publish of a List of resources.CmsPublishManager.getPublishList(CmsObject cms, List<CmsResource> directPublishResources, boolean directPublishSiblings, boolean publishSubResources) Returns a publish list with all new/changed/deleted resources of the current (offline) project that actually get published for a direct publish of a List of resources.CmsPublishManager.getPublishList(CmsObject cms, CmsResource directPublishResource, boolean directPublishSiblings) Returns a publish list with all new/changed/deleted resources of the current (offline) project that actually get published for a direct publish of a single resource.CmsPublishManager.getPublishListAll(CmsObject cms, List<CmsResource> directPublishResources, boolean directPublishSiblings, boolean isUserPublishList) Returns a publish list with all the given resources, filtered only by state.CmsPublishManager.getRelatedResourcesToPublish(CmsObject cms, CmsPublishList publishList) Returns a new publish list that contains the unpublished resources related to all resources in the given publish list, the related resources exclude all resources in the given publish list and also locked (by other users) resources.CmsPublishJobBase.getUserName(CmsObject cms) Returns the name of the user who initialized this publish job.CmsPublishManager.getUsersPubList(CmsObject cms) Returns the current user's publish list.protected voidCmsPublishEngine.initialize(CmsObject adminCms, boolean publishQueuePersistance, int publishQueueShutdowntime) Initializes the publish engine.voidCmsPublishManager.initialize(CmsObject cms) Initializes the publish manager and the publish engine finally.protected voidCmsPublishQueue.initialize(CmsObject adminCms, boolean revive) Initializes the internal FIFO queue with publish jobs from the database.CmsPublishManager.mergePublishLists(CmsObject cms, CmsPublishList pubList1, CmsPublishList pubList2) Returns a new publish list that contains all resources of both given publish lists.CmsPublishManager.publishProject(CmsObject cms) Publishes the current project, printing messages to a shell report.CmsPublishManager.publishProject(CmsObject cms, I_CmsReport report) Publishes the current project.CmsPublishManager.publishProject(CmsObject cms, I_CmsReport report, CmsPublishList publishList) Publishes the resources of a specified publish list.CmsPublishManager.publishProject(CmsObject cms, I_CmsReport report, CmsResource directPublishResource, boolean directPublishSiblings) Direct publishes a specified resource.CmsPublishManager.publishResource(CmsObject cms, String resourcename) Publishes a single resource, printing messages to a shell report.CmsPublishManager.publishResource(CmsObject cms, String resourcename, boolean publishSiblings, I_CmsReport report) Publishes a single resource.voidCmsPublishManager.removeResourceFromUsersPubList(CmsObject cms, Collection<CmsUUID> structureIds) Removes the given resource to the given user's publish list.voidCmsPublishJobInfoBean.revive(CmsObject adminCms, CmsPublishList publishList) Revives this publish job.CmsPublishManager.validateRelations(CmsObject cms, CmsPublishList publishList, I_CmsReport report) Validates the relations for the given resources.Constructors in org.opencms.publish with parameters of type CmsObjectModifierConstructorDescriptionprotectedCmsPublishJobInfoBean(CmsObject cms, CmsPublishList publishList, I_CmsReport report) The Default constructor. -
Uses of CmsObject in org.opencms.relations
Methods in org.opencms.relations with parameters of type CmsObjectModifier and TypeMethodDescriptionvoidCmsCategoryService.addResourceToCategory(CmsObject cms, String resourceName, String categoryPath) Adds a resource identified by the given resource name to the category identified by the given category path.voidCmsCategoryService.addResourceToCategory(CmsObject cms, String resourceName, CmsCategory category) Adds a resource identified by the given resource name to the given category.voidCmsLink.checkConsistency(CmsObject cms) Checks and updates the structure id or the path of the target.static booleanChecks if the given url is valid.voidCmsCategoryService.clearCategoriesForResource(CmsObject cms, String resourcePath) Removes the given resource from all categories.voidCmsCategoryService.copyCategories(CmsObject cms, CmsResource fromResource, String toResourceSitePath) Adds all categories from one resource to another, skipping categories that are not available for the resource copied to.CmsCategoryService.createCategory(CmsObject cms, CmsCategory parent, String name, String title, String description, String referencePath) Creates a new category.voidCmsCategoryService.deleteCategory(CmsObject cms, String categoryPath, String referencePath) Deletes the category identified by the given path.CmsCategoryService.getCategory(CmsObject cms, String categoryRootPath) Creates a category from the given category root path.CmsCategoryService.getCategory(CmsObject cms, CmsResource resource) Creates a category from the given resource.CmsCategoryService.getCategoryRepositories(CmsObject cms, String referencePath) Returns all category repositories for the given reference path.Returns the processed link.Deprecated.useCmsLink.getLink(CmsObject)instead, the process editor option is set using the OpenCms request context attributesI_CmsCustomLinkRenderer.getLink(CmsObject cms, CmsResource resource) Returns the link for the given link resource.Returns the link for the given link object.CmsCategoryService.getRepositoryBaseFolderName(CmsObject cms) Returns the category repositories base folder name.CmsLink.getSitePath(CmsObject cms) Returns the path of the link target relative to the current site.CmsRelation.getSource(CmsObject cms, CmsResourceFilter filter) Returns the source resource when possible to read with the given filter.CmsRelation.getTarget(CmsObject cms, CmsResourceFilter filter) Returns the target resource when possible to read with the given filter.This method is called by the cron scheduler.CmsCategoryService.localizeCategories(CmsObject cms, List<CmsCategory> categories, Locale locale) Localizes a list of categories by reading locale-specific properties for their title and description, if possible.CmsCategoryService.localizeCategory(CmsObject cms, CmsCategory category, Locale locale) Localizes a single category by reading its locale-specific properties for title and description, if possible.voidCmsCategoryService.moveCategory(CmsObject cms, String oldCatPath, String newCatPath, String referencePath) Renames/Moves a category from the old path to the new one.I_CmsLinkParseable.parseLinks(CmsObject cms, CmsFile file) Returns a list of all links from the specified file.CmsCategoryService.readCategories(CmsObject cms, String parentCategoryPath, boolean includeSubCats, String referencePath) Returns all categories given some search parameters.CmsCategoryService.readCategoriesForRepositories(CmsObject cms, String parentCategoryPath, boolean includeSubCats, List<String> repositories) Returns all categories given some search parameters.CmsCategoryService.readCategoriesForRepositories(CmsObject cms, String parentCategoryPath, boolean includeSubCats, List<String> repositories, boolean includeRepositories) Returns all categories given some search parameters.CmsCategoryService.readCategory(CmsObject cms, String categoryPath, String referencePath) Reads all categories identified by the given category path for the given reference path.CmsCategoryService.readCategoryResources(CmsObject cms, String categoryPath, boolean recursive, String referencePath) Reads the resources for a category identified by the given category path.CmsCategoryService.readCategoryResources(CmsObject cms, String categoryPath, boolean recursive, String referencePath, CmsResourceFilter resFilter) Reads the resources for a category identified by the given category path.CmsCategoryService.readResourceCategories(CmsObject cms, String resourceName) Reads the categories for a resource identified by the given resource name.CmsCategoryService.readResourceCategories(CmsObject cms, CmsResource resource) Reads the categories for a resource.voidCmsCategoryService.removeResourceFromCategory(CmsObject cms, String resourceName, String categoryPath) Removes a resource identified by the given resource name from the category identified by the given category path.voidCmsCategoryService.removeResourceFromCategory(CmsObject cms, String resourceName, CmsCategory category) Removes a resource identified by the given resource name from the given category.voidCmsCategoryService.repairRelations(CmsObject cms, String resourceName) Repairs broken category relations.voidCmsCategoryService.repairRelations(CmsObject cms, CmsResource resource) Repairs broken category relations.voidCmsExternalLinksValidator.validateLinks(CmsObject cms) Validate all links.Constructors in org.opencms.relations with parameters of type CmsObjectModifierConstructorDescriptionCmsInternalLinksValidator(CmsObject cms, List<String> resourceNames) Creates a new helper object.CmsRelationDeleteValidator(CmsObject cms, List<String> resourceNames, boolean includeSiblings) Creates a new helper object.CmsRelationPublishValidator(CmsObject cms, CmsPublishList publishList) Creates a new helper object. -
Uses of CmsObject in org.opencms.report
Methods in org.opencms.report that return CmsObjectModifier and TypeMethodDescriptionprotected CmsObjectA_CmsReportThread.getCms()Returns the OpenCms context object this Thread is initialized with.Constructors in org.opencms.report with parameters of type CmsObjectModifierConstructorDescriptionprotectedA_CmsReportThread(CmsObject cms, String name) Constructs a new report Thread with the given name. -
Uses of CmsObject in org.opencms.repository
Methods in org.opencms.repository with parameters of type CmsObjectModifier and TypeMethodDescriptionvoidCmsRepository.initializeCms(CmsObject cms) voidCmsRepositoryManager.initializeCms(CmsObject cms) Initializes repositories using an admin CMS object.voidI_CmsRepository.initializeCms(CmsObject cms) Initializes this repository with an admin CMS object. -
Uses of CmsObject in org.opencms.scheduler
Methods in org.opencms.scheduler with parameters of type CmsObjectModifier and TypeMethodDescriptionvoidCmsScheduleManager.initialize(CmsObject adminCms) Initializes the OpenCms scheduler.This method will be called when this scheduled job is executed.voidCmsScheduleManager.scheduleJob(CmsObject cms, CmsScheduledJobInfo jobInfo) Adds a new job to the scheduler.CmsScheduleManager.unscheduleJob(CmsObject cms, String jobId) Removes a currently scheduled job from the scheduler. -
Uses of CmsObject in org.opencms.scheduler.jobs
Methods in org.opencms.scheduler.jobs with parameters of type CmsObjectModifier and TypeMethodDescription -
Uses of CmsObject in org.opencms.search
Fields in org.opencms.search declared as CmsObjectModifier and TypeFieldDescriptionprotected CmsObjectCmsSearchManager.m_adminCmsThe administrator OpenCms user context to access OpenCms VFS resources.protected CmsObjectCmsSearch.m_cmsThe cms object.protected CmsObjectCmsVfsIndexer.m_cmsThe OpenCms user context to use when reading resources from the VFS during indexing.Methods in org.opencms.search that return CmsObjectModifier and TypeMethodDescriptionCmsVfsIndexer.getCms()Returns the OpenCms user context used by this indexer.Methods in org.opencms.search with parameters of type CmsObjectModifier and TypeMethodDescriptionprotected List<CmsPublishedResource> CmsSearchManager.addAdditionallyAffectedResources(CmsObject adminCms, List<CmsPublishedResource> updateResources) Collects the resources whose indexed document depends on one of the updated resources.protected Collection<CmsPublishedResource> CmsSearchManager.addIndexContentRelatedResources(CmsObject adminCms, Collection<CmsPublishedResource> updateResources, Collection<CmsPublishedResource> updateResourcesToCheck) Collects the resources whose indexed document depends on one of the updated resources.protected org.apache.lucene.search.BooleanQuery.BuilderCmsSearchIndex.appendCategoryFilter(CmsObject cms, org.apache.lucene.search.BooleanQuery.Builder filter, List<String> categories) Appends the a category filter to the given filter clause that matches all given categories.protected org.apache.lucene.search.BooleanQuery.BuilderCmsSearchIndex.appendPathFilter(CmsObject cms, org.apache.lucene.search.BooleanQuery.Builder filter, List<String> roots) Appends the a VFS path filter to the given filter clause that matches all given root paths.protected org.apache.lucene.search.BooleanQuery.BuilderCmsSearchIndex.appendResourceTypeFilter(CmsObject cms, org.apache.lucene.search.BooleanQuery.Builder filter, List<String> resourceTypes) Appends the a resource type filter to the given filter clause that matches all given resource types.booleanA_CmsSearchIndex.checkConfiguration(CmsObject cms) booleanI_CmsSearchIndex.checkConfiguration(CmsObject cms) Checks is this index has been configured correctly.CmsSearchUtil.computeScopeFolders(CmsObject cms, CmsGallerySearchParameters params) Computes the search root folders for the given search parameters based on the search scope.protected I_CmsSearchDocumentCmsIndexingThread.createIndexDocument(CmsObject cms, CmsResource res, I_CmsSearchIndex index, int count, I_CmsReport report) Creates the search index document.booleanA_CmsSearchIndex.excludeFromIndex(CmsObject cms, CmsResource resource) Checks if the provided resource should be excluded from this search index.booleanI_CmsSearchIndex.excludeFromIndex(CmsObject cms, CmsResource resource) Checks if the provided resource should be excluded from this search index.protected Collection<CmsPublishedResource> CmsSearchManager.findRelatedContainerPages(CmsObject adminCms, Collection<CmsPublishedResource> updateResources, Collection<CmsPublishedResource> updateResourcesToCheck) Collects the related containerpages to the resources that have been published.static final CmsSolrIndexCmsSearchManager.getIndexSolr(CmsObject cms, Map<String, String[]> params) Returns the Solr index configured with the parameters name.A_CmsSearchIndex.getLocaleForResource(CmsObject cms, CmsResource resource, List<Locale> availableLocales) Returns the language locale for the given resource in this index.CmsSearchIndex.getLocaleForResource(CmsObject cms, CmsResource resource, List<Locale> availableLocales) Returns the language locale for the given resource in this index.I_CmsSearchIndex.getLocaleForResource(CmsObject cms, CmsResource resource, List<Locale> availableLocales) Returns the language locale for the given resource in this index.protected CmsResourceCmsSearchIndex.getResource(CmsObject cms, I_CmsSearchDocument doc) Checks if the OpenCms resource referenced by the result document can be read by the user of the given OpenCms context.protected CmsResourceCmsSearchIndex.getResource(CmsObject cms, I_CmsSearchDocument doc, CmsResourceFilter filter) Checks if the OpenCms resource referenced by the result document can be read by the user of the given OpenCms context.protected booleanCmsSearchIndex.hasReadPermission(CmsObject cms, I_CmsSearchDocument doc) Checks if the OpenCms resource referenced by the result document can be read be the user of the given OpenCms context.voidInitializes the bean with the cms object.voidCmsSearchManager.initialize(CmsObject cms) Initializes the search manager.voidCmsSearchManager.initSpellcheckIndex(CmsObject adminCms) Initializes the spell check index.Updates the indexes from as a scheduled job.CmsVfsIndexer.newInstance(CmsObject cms, I_CmsReport report, I_CmsSearchIndex index) I_CmsIndexer.newInstance(CmsObject cms, I_CmsReport report, I_CmsSearchIndex index) Creates and initializes a new instance of this indexer implementation.CmsSearchIndex.search(CmsObject cms, CmsSearchParameters params) Performs a search on the index within the given fields.protected voidCmsSearchManager.updateAllIndexes(CmsObject adminCms, List<CmsPublishedResource> updateResources, I_CmsReport report) Incrementally updates all indexes that have their rebuild mode set to"auto".protected voidCmsSearchManager.updateAllIndexes(CmsObject adminCms, CmsUUID publishHistoryId, I_CmsReport report) Incrementally updates all indexes that have their rebuild mode set to"auto"after resources have been published.protected voidCmsSearchManager.updateIndexCompletely(CmsObject cms, I_CmsSearchIndex index, I_CmsReport report) The method updates all OpenCms documents that are indexed.protected voidCmsSearchManager.updateIndexIncremental(CmsObject cms, I_CmsSearchIndex index, I_CmsReport report, List<CmsPublishedResource> resourcesToIndex) Incrementally updates the given index.Constructors in org.opencms.search with parameters of type CmsObjectModifierConstructorDescriptionCmsIndexingThread(CmsObject cms, CmsResource res, I_CmsSearchIndex index, int count, I_CmsReport report) Create a new indexing thread. -
Uses of CmsObject in org.opencms.search.documents
Methods in org.opencms.search.documents with parameters of type CmsObjectModifier and TypeMethodDescriptionA_CmsVfsDocument.createDocument(CmsObject cms, CmsResource resource, I_CmsSearchIndex index) Creates the Lucene Document for the given VFS resource and the given search index.CmsDocumentContainerPage.createDocument(CmsObject cms, CmsResource resource, I_CmsSearchIndex index) Generates a new lucene document instance from contents of the given resource for the provided index.CmsDocumentXmlContent.createDocument(CmsObject cms, CmsResource resource, I_CmsSearchIndex index) I_CmsDocumentFactory.createDocument(CmsObject cms, CmsResource resource, I_CmsSearchIndex index) Creates the Lucene Document for the given VFS resource and the given search index.CmsDocumentContainerPage.extractContent(CmsObject cms, CmsResource resource, I_CmsSearchIndex index) Returns the raw text content of a VFS resource of typeCmsResourceTypeContainerPage.CmsDocumentGeneric.extractContent(CmsObject cms, CmsResource resource, I_CmsSearchIndex index) Just returns an empty extraction result since the content can't be extracted form a generic resource.CmsDocumentHtml.extractContent(CmsObject cms, CmsResource resource, I_CmsSearchIndex index) Returns the raw text content of a given VFS resource containing HTML data.CmsDocumentMsOfficeOLE2.extractContent(CmsObject cms, CmsResource resource, I_CmsSearchIndex index) Returns the raw text content of a given vfs resource containing MS Word data.CmsDocumentMsOfficeOOXML.extractContent(CmsObject cms, CmsResource resource, I_CmsSearchIndex index) Returns the raw text content of a given vfs resource containing MS Word data.CmsDocumentOpenOffice.extractContent(CmsObject cms, CmsResource resource, I_CmsSearchIndex index) Returns the raw text content of a given vfs resource containing MS Word data.CmsDocumentPdf.extractContent(CmsObject cms, CmsResource resource, I_CmsSearchIndex index) Returns the raw text content of a given vfs resource containing Adobe PDF data.CmsDocumentPlainText.extractContent(CmsObject cms, CmsResource resource, I_CmsSearchIndex index) Returns the raw text content of a given vfs resource containing plain text data.CmsDocumentRtf.extractContent(CmsObject cms, CmsResource resource, I_CmsSearchIndex index) Returns the raw text content of a given vfs resource containing RTF data.CmsDocumentXmlContent.extractContent(CmsObject cms, CmsResource resource, I_CmsSearchIndex index) Returns the raw text content of a given VFS resource of typeCmsResourceTypeXmlContent.CmsDocumentXmlPage.extractContent(CmsObject cms, CmsResource resource, I_CmsSearchIndex index) Returns the raw text content of a given vfs resource of typeCmsResourceTypeXmlPage.I_CmsSearchExtractor.extractContent(CmsObject cms, CmsResource resource, I_CmsSearchIndex index) Extracts the content of a given index resource according to the resource file type and the configuration of the given index.static CmsDocumentDependencyCmsDocumentDependency.load(CmsObject cms, CmsPublishedResource pubRes) Loads or creates a dependency object for the given parameters.static CmsDocumentDependencyCmsDocumentDependency.load(CmsObject cms, CmsResource res) Loads or creates a dependency object for the given parameters.static CmsDocumentDependencyCmsDocumentDependency.load(CmsObject cms, CmsResource res, List<CmsResource> resources) Loads or creates a dependency object for the given parameters.voidCmsDocumentDependency.readDependencies(CmsObject cms) Reads all dependencies that exist for this main resource in the OpenCms VFS.voidCmsDocumentDependency.readDependencies(CmsObject cms, List<CmsResource> folderContent) Reads all dependencies that exist for this main resource in provided list of resources.protected CmsFileA_CmsVfsDocument.readFile(CmsObject cms, CmsResource resource) Upgrades the given resource to aCmsFilewith content.protected static voidCmsDocumentDependency.removeFromContext(CmsObject cms, CmsPublishedResource pubRes) Removes the dependency object for a published resource from the OpenCms runtime context.voidCmsDocumentDependency.storeInContext(CmsObject cms) Stores this dependency object for a published resource in the OpenCms runtime context.CmsDocumentDependency.toDependencyString(CmsObject cms) Creates the String representation of this dependency object.Returns a JSON object describing this dependency document. -
Uses of CmsObject in org.opencms.search.fields
Methods in org.opencms.search.fields with parameters of type CmsObjectModifier and TypeMethodDescriptionprotected I_CmsSearchDocumentCmsSearchFieldConfiguration.appendAdditionalValuesToDcoument(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extraction, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) Overriding this method allows to append some 'extra' values/fields to a document without overriding theCmsSearchFieldConfiguration.createDocument(org.opencms.file.CmsObject, org.opencms.file.CmsResource, org.opencms.search.I_CmsSearchIndex, org.opencms.search.extractors.I_CmsExtractionResult)method itself.protected I_CmsSearchDocumentCmsSearchFieldConfiguration.appendCategories(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) Extends the given document by resource category information based on properties.protected I_CmsSearchDocumentCmsSearchFieldConfigurationOldCategories.appendCategories(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) Extends the given document by resource category information based on properties.protected I_CmsSearchDocumentCmsSearchFieldConfiguration.appendContentBlob(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) Extends the given document by a field that contains the extracted content blob.protected I_CmsSearchDocumentCmsSearchFieldConfiguration.appendDates(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) Extends the given document by fields for date of creation, content and last modification.protected I_CmsSearchDocumentCmsSearchFieldConfiguration.appendFieldMapping(I_CmsSearchDocument document, CmsSearchField field, CmsObject cms, CmsResource resource, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) Extends the given document by the mappings for the given field.protected I_CmsSearchDocumentCmsSearchFieldConfiguration.appendFieldMappings(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) Extends the given document by the configured field mappings.protected I_CmsSearchDocumentCmsSearchFieldConfiguration.appendFileSize(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) Extends the given document by the "size" field.protected I_CmsSearchDocumentCmsSearchFieldConfiguration.appendLocales(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extraction, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) Extends the given document by the "res_locales" field.protected I_CmsSearchDocumentCmsSearchFieldConfiguration.appendPath(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) Extends the given document by fields for VFS path lookup.protected I_CmsSearchDocumentCmsSearchFieldConfiguration.appendProperties(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extraction, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) Appends all direct properties, that are not empty or white space only to the document.protected I_CmsSearchDocumentCmsSearchFieldConfiguration.appendType(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) Extends the given document by a field that contains the resource type name.CmsSearchFieldConfiguration.createDocument(CmsObject cms, CmsResource resource, I_CmsSearchIndex index, I_CmsExtractionResult extraction) Creates the Lucene Document with this field configuration for the provided VFS resource, search index and content.I_CmsSearchFieldConfiguration.createDocument(CmsObject cms, CmsResource resource, I_CmsSearchIndex index, I_CmsExtractionResult extractionResult) Creates the document to index.CmsGeoCoordinateFieldMapping.getStringValue(int depth, CmsGeoMappingConfiguration mappingConfig, CmsObject cms, CmsResource res, I_CmsExtractionResult extractionResult) Gets the mapped value.CmsGeoCoordinateFieldMapping.getStringValue(CmsObject cms, CmsResource res, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) CmsMacroResolvingSearchFieldMapping.getStringValue(CmsObject cms, CmsResource res, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) Calls the super method and resolves macros in the returned value.CmsMacroSearchFieldMapping.getStringValue(CmsObject cms, CmsResource res, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) CmsSearchFieldMapping.getStringValue(CmsObject cms, CmsResource res, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) I_CmsSearchFieldMapping.getStringValue(CmsObject cms, CmsResource res, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) Returns the String value extracted form the provided data according to the rules of this mapping type. -
Uses of CmsObject in org.opencms.search.galleries
Fields in org.opencms.search.galleries declared as CmsObjectModifier and TypeFieldDescriptionprotected CmsObjectCmsGallerySearch.m_cmsThe OpenCms object used for the search.Methods in org.opencms.search.galleries with parameters of type CmsObjectModifier and TypeMethodDescriptionReturns a CmsSolrQuery representation of this class.voidInitializes the bean with the provided OpenCms context object.protected voidCmsGallerySearchResult.initializeMissingFieldsFromVfs(CmsObject cms, CmsUUID structureId) Initializes missing fields by reading the information from the VFS.booleanCmsGallerySearchResult.isReleaseAndNotExpired(CmsObject cms) Returns if the related resource is released and not expired.static CmsGallerySearchResultCmsGallerySearch.searchById(CmsObject cms, CmsUUID structureId, Locale locale) Searches by structure id.static CmsGallerySearchResultCmsGallerySearch.searchByPath(CmsObject cms, String rootPath, Locale locale) Searches by structure id.voidCmsGallerySearch.setIndexForProject(CmsObject cms) Sets the index name according to the current project.Constructors in org.opencms.search.galleries with parameters of type CmsObjectModifierConstructorDescriptionCmsGalleryNameMacroResolver(CmsObject cms, A_CmsXmlDocument content, Locale locale) Creates a new instance.CmsGallerySearchResult(CmsObject cms, CmsResource res, String title) Creates a fake gallery search result by reading the necessary data from a VFS resource.CmsGallerySearchResult(I_CmsSearchDocument doc, CmsObject cms, int score, Locale locale) Creates a new gallery search result. -
Uses of CmsObject in org.opencms.search.solr
Methods in org.opencms.search.solr with parameters of type CmsObjectModifier and TypeMethodDescriptionvoidCmsSolrDocument.addDocumentDependency(CmsObject cms, CmsDocumentDependency resDeps) Adds the given document dependency to this document.protected I_CmsSearchDocumentCmsSolrFieldConfiguration.appendAdditionalValuesToDcoument(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) protected I_CmsSearchDocumentCmsSolrFieldConfiguration.appendDates(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) protected I_CmsSearchDocumentCmsSolrFieldConfiguration.appendFieldMapping(I_CmsSearchDocument document, CmsSearchField sfield, CmsObject cms, CmsResource resource, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) protected I_CmsSearchDocumentCmsSolrFieldConfiguration.appendFieldMappings(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) protected I_CmsSearchDocumentCmsSolrFieldConfiguration.appendFieldMappingsFromElementsOnThePage(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, List<String> systemFields) Adds search fields from elements on a container page to a container page's document.protected I_CmsSearchDocumentCmsSolrFieldConfiguration.appendLocales(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extraction, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) protected I_CmsSearchDocumentCmsSolrFieldConfiguration.appendProperties(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extraction, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) static voidCmsSolrDocumentXmlContent.collectSchemaXpathsForSimpleValues(CmsObject cms, CmsXmlContentDefinition def, String path, Set<String> result) Collects a list of all possible XPaths for a content definition.booleanCmsSolrIndex.excludeFromIndex(CmsObject cms, CmsResource resource) CmsSolrDocumentContainerPage.extractContent(CmsObject cms, CmsResource resource, I_CmsSearchIndex index) Returns the raw text content of a VFS resource of typeCmsResourceTypeContainerPage.CmsSolrDocumentContainerPage.extractContent(CmsObject cms, CmsResource resource, I_CmsSearchIndex index, Locale forceLocale) Extracts the content of a given index resource according to the resource file type and the configuration of the given index.CmsSolrDocumentXmlContent.extractContent(CmsObject cms, CmsResource resource, I_CmsSearchIndex index) static CmsExtractionResultCmsSolrDocumentXmlContent.extractXmlContent(CmsObject cms, CmsResource resource, I_CmsSearchIndex index) Extracts the content of a single XML content resource.static CmsExtractionResultCmsSolrDocumentXmlContent.extractXmlContent(CmsObject cms, CmsResource resource, I_CmsSearchIndex index, Locale forceLocale) Extracts the content of a single XML content resource.static CmsExtractionResultCmsSolrDocumentXmlContent.extractXmlContent(CmsObject cms, CmsResource resource, I_CmsSearchIndex index, Locale forceLocale, Set<CmsUUID> alreadyExtracted) Extracts the content of a single XML content resource.static CmsExtractionResultCmsSolrDocumentXmlContent.extractXmlContent(CmsObject cms, CmsResource resource, I_CmsSearchIndex index, Locale forceLocale, Set<CmsUUID> alreadyExtracted, Consumer<A_CmsXmlDocument> contentConsumer) Extracts the content of a single XML content resource.CmsSolrIndex.gallerySearch(CmsObject cms, CmsGallerySearchParameters params) Performs a search with according to the gallery search parameters.CmsSolrFieldConfiguration.getContentLocales(CmsObject cms, CmsResource resource, I_CmsExtractionResult extraction) Retrieves the locales for an content, that is whether an XML content nor an XML page.CmsSolrIndex.getLocaleForResource(CmsObject cms, CmsResource resource, List<Locale> availableLocales) Returns the language locale for the given resource in this index.static final StringReturns the resource type for the given root path.protected Set<CmsSearchField> CmsSolrFieldConfiguration.getXSDMappings(CmsObject cms, CmsResource resource) Returns the search field mappings declared within the XSD.protected Set<CmsSearchField> CmsSolrFieldConfiguration.getXSDMappingsForPage(CmsObject cms, CmsResource resource) Returns the search field mappings declared within the XSD that should be applied to the container page.protected booleanCmsSolrIndex.hasPermissions(CmsObject cms, CmsSolrDocument doc, CmsResourceFilter filter) Check, if the current user has permissions on the document's resource.org.apache.solr.common.SolrDocumentCmsSolrLinkProcessor.process(CmsObject cms, CmsResource resource, org.apache.solr.common.SolrInputDocument document) org.apache.solr.common.SolrDocumentI_CmsSolrPostSearchProcessor.process(CmsObject searchCms, CmsResource resource, org.apache.solr.common.SolrInputDocument document) Performs the post processing.Performs a search.Default search method.CmsSolrIndex.search(CmsObject cms, CmsSearchParameters params) Deprecated.CmsSolrIndex.search(CmsObject cms, CmsSolrQuery query) Default search method.CmsSolrIndex.search(CmsObject cms, CmsSolrQuery query, boolean ignoreMaxRows) Performs a search.CmsSolrIndex.search(CmsObject cms, CmsSolrQuery query, boolean ignoreMaxRows, javax.servlet.ServletResponse response, boolean ignoreSearchExclude, CmsResourceFilter filter) Performs the actual search.CmsSolrIndex.search(CmsObject cms, CmsSolrQuery query, boolean ignoreMaxRows, javax.servlet.ServletResponse response, boolean ignoreSearchExclude, CmsResourceFilter filter, int maxNumResults) Performs the actual search.CmsSolrIndex.search(CmsObject cms, CmsSolrQuery query, boolean ignoreMaxRows, CmsResourceFilter filter) LikeCmsSolrIndex.search(CmsObject, CmsSolrQuery, boolean), but additionally a resource filter can be specified.voidCmsSolrIndex.select(javax.servlet.ServletResponse response, CmsObject cms, CmsSolrQuery query, boolean ignoreMaxRows) Writes the response into the writer.voidCmsSolrIndex.spellCheck(javax.servlet.ServletResponse res, CmsObject cms, CmsSolrQuery q) Executes a spell checking Solr query and returns the Solr query response.Constructors in org.opencms.search.solr with parameters of type CmsObjectModifierConstructorDescriptionCmsSolrQuery(CmsObject cms, Map<String, String[]> queryParams) Public constructor. -
Uses of CmsObject in org.opencms.search.solr.spellchecking
Methods in org.opencms.search.solr.spellchecking with parameters of type CmsObjectModifier and TypeMethodDescriptionvoidCmsSolrSpellchecker.getSpellcheckingResult(javax.servlet.http.HttpServletResponse res, javax.servlet.ServletRequest servletRequest, CmsObject cms) Performs spellchecking using Solr and returns the spellchecking results using JSON.voidCmsSolrSpellchecker.parseAndAddDictionaries(CmsObject cms) Parses and adds dictionaries to the Solr index.static voidCmsSpellcheckDictionaryIndexer.parseAndAddDictionaries(org.apache.solr.client.solrj.SolrClient client, CmsObject cms) Adds all dictionaries that are available in the default directory.static voidCmsSpellcheckDictionaryIndexer.parseAndAddZippedDictionaries(org.apache.solr.client.solrj.SolrClient client, CmsObject cms) static booleanCmsSpellcheckDictionaryIndexer.updatingIndexNecessesary(CmsObject cms) Checks whether a built of the indices is necessary. -
Uses of CmsObject in org.opencms.security
Methods in org.opencms.security that return CmsObjectModifier and TypeMethodDescriptionprotected CmsObjectCmsDefaultAuthorizationHandler.checkBasicAuthorization(javax.servlet.http.HttpServletRequest req) Checks if the current request contains HTTP basic authentication information in the headers, if so the user is tried to log in with this data, and on success a session is generated.I_CmsAuthorizationHandler.I_PrivilegedLoginAction.doLogin(javax.servlet.http.HttpServletRequest request, String principal) Performs a privileged login action and returns a cms object initialized for the principal.Returns a cms object initialized for the passed principal.I_CmsAuthorizationHandler.I_PrivilegedLoginAction.getCmsObject()Returns the cms object.CmsDefaultAuthorizationHandler.initCmsObject(javax.servlet.http.HttpServletRequest request) CmsDefaultAuthorizationHandler.initCmsObject(javax.servlet.http.HttpServletRequest request, String userName, String pwd) CmsDefaultAuthorizationHandler.initCmsObject(javax.servlet.http.HttpServletRequest request, I_CmsAuthorizationHandler.I_PrivilegedLoginAction loginAction) CmsPersistentLoginAuthorizationHandler.initCmsObject(javax.servlet.http.HttpServletRequest request, I_CmsAuthorizationHandler.I_PrivilegedLoginAction loginAction) I_CmsAuthorizationHandler.initCmsObject(javax.servlet.http.HttpServletRequest request) Creates a new cms object from the given request object.I_CmsAuthorizationHandler.initCmsObject(javax.servlet.http.HttpServletRequest request, String userName, String pwd) Authenticates the current request with additional user information.I_CmsAuthorizationHandler.initCmsObject(javax.servlet.http.HttpServletRequest request, I_CmsAuthorizationHandler.I_PrivilegedLoginAction loginAction) Creates a new cms object from the given request object.CmsPersistentLoginAuthorizationHandler.initCmsObjectFromToken(javax.servlet.http.HttpServletRequest request, I_CmsAuthorizationHandler.I_PrivilegedLoginAction loginAction) Tries to initialize the CmsObject from a login token given as a cookie in the request.Methods in org.opencms.security with parameters of type CmsObjectModifier and TypeMethodDescriptionvoidCmsOrgUnitManager.addResourceToOrgUnit(CmsObject cms, String ouFqn, String resourceName) Adds a resource to the given organizational unit.voidCmsRoleManager.addUserToRole(CmsObject cms, CmsRole role, String username) Adds a user to the given role.voidChecks if the user of this OpenCms context is a member of the given role for the given organizational unit.voidCmsRoleManager.checkRoleForResource(CmsObject cms, CmsRole role, String resourceName) Checks if the user of this OpenCms context is a member of the given role for the given resource.protected static booleanChecks if the authenticated user matches a user specification string.longCmsOrgUnitManager.countUsers(CmsObject cms, CmsUserSearchParameters params) Counts the users which fit the given search criteria.CmsOrgUnitManager.createOrganizationalUnit(CmsObject cms, String ouFqn, String description, int flags, String resourceName) Creates a new organizational unit.CmsPersistentLoginTokenHandler.createToken(CmsObject cms) Generates a new login token for a given user and registers the token in the user's additional info.voidCmsOrgUnitManager.deleteOrganizationalUnit(CmsObject cms, String ouFqn) Deletes an organizational unit.CmsOrgUnitManager.getAllAccessibleProjects(CmsObject cms, String ouFqn, boolean includeSubOus) Returns all accessible projects of the given organizational unit.CmsOrgUnitManager.getAllManageableProjects(CmsObject cms, String ouFqn, boolean includeSubOus) Returns all manageable projects of the given organizational unit.CmsPrincipal.getDisplayName(CmsObject cms, Locale locale) Returns the display name of this principal including the organizational unit.CmsPrincipal.getDisplayName(CmsObject cms, Locale locale, I_CmsGroupNameTranslation translation) Returns the translated display name of this principal if it is a group and the display name otherwise.CmsRole.getDisplayName(CmsObject cms, Locale locale) Returns the display name of this role including the organizational unit.CmsRoleAsPrincipal.getDisplayName(CmsObject cms, Locale locale) CmsRoleAsPrincipal.getDisplayName(CmsObject cms, Locale locale, I_CmsGroupNameTranslation translation) Returns all groups of the given organizational unit.CmsRoleManager.getManageableGroups(CmsObject cms, String ouFqn, boolean includeSubOus) Returns all groups of organizational units for which the current user has theCmsRole.ACCOUNT_MANAGERrole.CmsRoleManager.getManageableOrgUnits(CmsObject cms, String ouFqn, boolean includeSubOus, boolean includeWebusers) Returns a list of those organizational units whose members can be managed by the current user.CmsRoleManager.getManageableResources(CmsObject cms, CmsRole role) Returns all resources of organizational units for which the current user has the given role role.CmsRoleManager.getManageableUsers(CmsObject cms, String ouFqn, boolean includeSubOus) Returns all users of organizational units for which the current user has theCmsRole.ACCOUNT_MANAGERrole.CmsRoleManager.getManageableUsers(CmsObject cms, String ouFqn, boolean includeSubOus, boolean includeWebusers) Returns all users of organizational units for which the current user has theCmsRole.ACCOUNT_MANAGERrole.CmsOrgUnitManager.getOrganizationalUnits(CmsObject cms, String ouFqn, boolean includeChildren) Returns all child organizational units of the given parent organizational unit including hierarchical deeper organization units if needed.CmsOrgUnitManager.getOrgUnitsForResource(CmsObject cms, String rootPath) Gets all organizational units x such that x and all of its ancestor org.CmsRoleManager.getOrgUnitsForRole(CmsObject cms, CmsRole role, boolean includeSubOus) Returns all the organizational units for which the current user has the given role.CmsOrgUnitManager.getResourcesForOrganizationalUnit(CmsObject cms, String ouFqn) Returns all resources of the given organizational unit.CmsRoleManager.getRoleGroups(CmsObject cms, CmsRole role, boolean directUsersOnly) Returns the groups which constitute a given role, i.e.Returns all roles, in the given organizational unit.CmsRoleManager.getRolesForResource(CmsObject cms, String userFqn, String resourceName) Returns all roles the given user has over the given resource.CmsRoleManager.getRolesForResource(CmsObject cms, CmsUser user, CmsResource resource) Returns all roles the given user has over the given resource.CmsRoleManager.getRolesOfUser(CmsObject cms, String username, String ouFqn, boolean includeChildOus, boolean directRolesOnly, boolean recursive) Returns all roles the given user belongs to, in the given organizational unit.Returns all users of the given organizational unit.CmsRoleManager.getUsersOfRole(CmsObject cms, CmsRole role, boolean includeOtherOuUsers, boolean directUsersOnly) Returns all direct users of a given role, in the given organizational unit.CmsOrgUnitManager.getUsersWithoutAdditionalInfo(CmsObject cms, String ouFqn, boolean recursive) Returns all users of the given organizational unit, without their additional info.booleanChecks if the given user has the given role in the given organizational unit.booleanChecks if the given context user has the given role in the given organizational unit.booleanCmsRoleManager.hasRoleForResource(CmsObject cms, String userName, CmsRole role, String resourceName) Checks if the given context user has the given role for the given resource.booleanCmsRoleManager.hasRoleForResource(CmsObject cms, CmsRole role, String resourceName) Checks if the given context user has the given role for the given resource.booleanCmsRoleManager.hasRoleForResource(CmsObject cms, CmsRole role, CmsResource resource) Checks if the given context user has the given role for the given resource.voidCmsOrgUnitManager.initialize(CmsObject cms) Initializes the organizational units.static voidLogs a successful login.static voidCmsUserLog.logLoginFailure(CmsObject cms, String user) Logs a login failure.static voidLogs a successful logout.static voidCmsUserLog.logPasswordChange(CmsObject cms, String user) Logs a password change.static voidCmsUserLog.logPasswordChangeForRequestedReset(CmsObject cms, String user) Logs a password change originally requested through the 'reset password' button.static voidCmsUserLog.logPasswordResetRequest(CmsObject cms, String user) Logs a password reset request.static voidCmsUserLog.logSetForceResetPassword(CmsObject cms, String user) Logs that the 'force reset password' status was set on a user.static voidCmsUserLog.logSwitchUser(CmsObject cms, String name) Logs a user switch.CmsOrgUnitManager.readOrganizationalUnit(CmsObject cms, String ouFqn) Reads an organizational Unit based on its fully qualified name.static I_CmsPrincipalCmsPrincipal.readPrefixedPrincipal(CmsObject cms, String name) Utility function to read a prefixed principal from the OpenCms database using the provided OpenCms user context.static I_CmsPrincipalCmsPrincipal.readPrincipal(CmsObject cms, String name) Utility function to read a principal by its id from the OpenCms database using the provided OpenCms user context.static I_CmsPrincipalCmsPrincipal.readPrincipal(CmsObject cms, String type, String name) Utility function to read a principal of the given type from the OpenCms database using the provided OpenCms user context.static I_CmsPrincipalCmsPrincipal.readPrincipal(CmsObject cms, CmsUUID id) Utility function to read a principal by its id from the OpenCms database using the provided OpenCms user context.static I_CmsPrincipalCmsPrincipal.readPrincipalIncludingHistory(CmsObject cms, CmsUUID id) Utility function to read a principal by its id from the OpenCms database using the provided OpenCms user context.voidCmsOrgUnitManager.removeResourceFromOrgUnit(CmsObject cms, String ouFqn, String resourceName) Removes a resource from the given organizational unit.voidCmsRoleManager.removeUserFromRole(CmsObject cms, CmsRole role, String username) Removes a user from a role, in the given organizational unit.CmsOrgUnitManager.searchUsers(CmsObject cms, CmsUserSearchParameters params) Searches users which fit the given search parameters.static voidCmsPersistentLoginTokenHandler.setAdminCms(CmsObject adminCms) Static method used to give this class access to an admin cms context.voidI_CmsAuthorizationHandler.I_PrivilegedLoginAction.setCmsObject(CmsObject cms) Used to provide an initial cms object.voidCmsOrgUnitManager.setUsersOrganizationalUnit(CmsObject cms, String ouFqn, String userName) Moves an user to the given organizational unit.protected booleanCmsDefaultAuthorizationHandler.shouldUseStartSettingsForHttpBasicAuth(CmsObject cms, javax.servlet.http.HttpServletRequest req) Checks whether start settings should be used after HTTP Basic authentication.voidCmsOrgUnitManager.writeOrganizationalUnit(CmsObject cms, CmsOrganizationalUnit organizationalUnit) Writes an already existing organizational unit.Constructors in org.opencms.security with parameters of type CmsObjectModifierConstructorDescriptionCmsPasswordInfo(CmsObject cms) Use this Constructor if you need to check the old password of the current logged in user. -
Uses of CmsObject in org.opencms.security.twofactor
Methods in org.opencms.security.twofactor with parameters of type CmsObjectModifier and TypeMethodDescriptionbooleanCmsTwoFactorAuthenticationUserPolicy.shouldUseTwoFactorAuthentication(CmsObject cms, CmsUser user) Checks whether the given user should use two-factor-authentication according to this policy.Constructors in org.opencms.security.twofactor with parameters of type CmsObjectModifierConstructorDescriptionCmsTwoFactorAuthenticationHandler(CmsObject adminCms, CmsTwoFactorAuthenticationConfig config) Creates a new instance.UserCheckContext(CmsObject cms, CmsUser user) Creates a new instance. -
Uses of CmsObject in org.opencms.site
Methods in org.opencms.site with parameters of type CmsObjectModifier and TypeMethodDescriptionvoidAdds a site.CmsSiteManagerImpl.getAvailableCorruptedSites(CmsObject cms, boolean workplaceMode) Returns all wrong configured sites.CmsSiteManagerImpl.getAvailableSites(CmsObject cms, boolean workplaceMode) Returns a list of all sites available (visible) for the current user.CmsSiteManagerImpl.getAvailableSites(CmsObject cms, boolean workplaceMode, boolean showShared, String ouFqn) Returns a list of allCmsSiteinstances that are compatible to the given organizational unit.CmsSiteManagerImpl.getAvailableSites(CmsObject cms, boolean workplaceMode, boolean showShared, String ouFqn, CmsSSLMode filterMode) Returns a list of allCmsSiteinstances that are compatible to the given organizational unit.CmsSiteManagerImpl.getAvailableSites(CmsObject cms, boolean workplaceMode, String ouFqn) Returns a list of allCmsSiteinstances that are compatible to the given organizational unit.CmsSiteManagerImpl.getAvailableSites(CmsObject cms, boolean workplaceMode, CmsSSLMode filterMode) Returns a list of all sites available (visible) for the current user.CmsSiteManagerImpl.getCurrentSite(CmsObject cms) Returns the current site for the provided OpenCms user context object.CmsSite.getServerPrefix(CmsObject cms, String resourceName) Returns the server prefix for the given resource in this site, used to distinguish between secure (https) and non-secure (http) sites.CmsSite.getServerPrefix(CmsObject cms, CmsResource resource) Returns the server prefix for the given resource in this site, used to distinguish between secure (https) and non-secure (http) sites.CmsSiteManagerImpl.getSiteTitle(CmsObject cms, CmsResource resource) Returns the site title.CmsSiteManagerImpl.getWorkplaceServer(CmsObject cms) Gets the first configured workplace server that matches the host from the current CmsRequestContext, or the first configured workplace server if there is no match.voidCmsSiteManagerImpl.initialize(CmsObject cms) Initializes the site manager with the OpenCms system configuration.booleanCmsSiteManagerImpl.isMatchingCurrentSite(CmsObject cms, CmsSiteMatcher matcher) Returnstrueif the given site matcher matches the current site.voidCmsSiteManagerImpl.removeSite(CmsObject cms, CmsSite site) Removes a site from the list of configured sites.voidCmsSiteManagerImpl.updateGeneralSettings(CmsObject cms, String defaultUri, List<String> workplaceServersList, String sharedFolder) Method for backward compability reasons.voidCmsSiteManagerImpl.updateGeneralSettings(CmsObject cms, String defaulrUri, Map<String, CmsSSLMode> workplaceServers, String sharedFolder) Updates the general settings.voidCmsSiteManagerImpl.updateSite(CmsObject cms, CmsSite oldSite, CmsSite newSite) Updates or creates a site. -
Uses of CmsObject in org.opencms.site.xmlsitemap
Fields in org.opencms.site.xmlsitemap declared as CmsObjectModifier and TypeFieldDescriptionprotected CmsObjectCmsXmlSitemapGenerator.m_guestCmsA CMS context with guest privileges.protected CmsObjectCmsXmlSitemapGenerator.m_siteGuestCmsA guest user CMS object with the site root of the base folder.Methods in org.opencms.site.xmlsitemap with parameters of type CmsObject -
Uses of CmsObject in org.opencms.staticexport
Methods in org.opencms.staticexport with parameters of type CmsObjectModifier and TypeMethodDescriptionprotected List<CmsPublishedResource> A_CmsStaticExportHandler.addMovedLinkSources(CmsObject cms, List<CmsPublishedResource> publishedResources) Add the link sources of moved resources to the list of published resources.CmsDefaultLinkSubstitutionHandler.addVfsPrefix(CmsObject cms, String vfsName, CmsSite targetSite, String parameters) Adds the VFS prefix to the VFS name and potentially adjusts request parametersCmsLocalePrefixLinkSubstitutionHandler.addVfsPrefix(CmsObject cms, String vfsName, CmsSite targetSite, String parameters) intCmsStaticExportManager.export(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, CmsObject cms, CmsStaticExportData data) Exports the requested uri and at the same time writes the uri to the response output stream if required.protected booleanCmsAfterPublishStaticExportHandler.exportNonTemplateResources(CmsObject cms, List<CmsPublishedResource> publishedResources, I_CmsReport report) Exports all non template resources found in a list of published resources.protected voidCmsAfterPublishStaticExportHandler.exportTemplateResources(CmsObject cms, List<String> publishedTemplateResources, I_CmsReport report) Exports all template resources found in a list of published resources.protected StringCmsDefaultLinkSubstitutionHandler.generateCacheKey(CmsObject cms, String sourceSiteRoot, String targetSiteRoot, String detailPagePart, String absoluteLink) Generates the cache key for Online links.protected StringCmsLocalePrefixLinkSubstitutionHandler.generateCacheKey(CmsObject cms, String sourceSiteRoot, String targetSiteRoot, String detailPagePart, String absoluteLink) CmsAfterPublishStaticExportHandler.getAllResources(CmsObject cms) Returns all resources within the current OpenCms site that are not marked as internal.CmsStaticExportManager.getExportData(javax.servlet.http.HttpServletRequest request, CmsObject cms) Returns the export data for the request, if null is returned no export is required.CmsStaticExportExportRule.getExportResources(CmsObject cms) Returns a set ofobjects containing all resources specified by theCmsPublishedResource<export-resources>node of this rule.CmsLinkProcessor.getExternalLinkWhitelistInfo(CmsObject cms) Gets the list of site roots of sites in OpenCms which should be considered as internal, in the sense of not having to mark the corresponding link tags with the external link marker.CmsAdvancedLinkSubstitutionHandler.getLink(CmsObject cms, String link, String siteRoot, boolean forceSecure) CmsDefaultLinkSubstitutionHandler.getLink(CmsObject cms, String link, String siteRoot, boolean forceSecure) Returns the resource root path in the OpenCms VFS for the given link, ornullin case the link points to an external site.CmsDefaultLinkSubstitutionHandler.getLink(CmsObject cms, String link, String siteRoot, String targetDetailPage, boolean forceSecure) I_CmsLinkSubstitutionHandler.getLink(CmsObject cms, String link, String siteRoot, boolean forceSecure) Returns a link from the URI stored in the provided OpenCms user context to the VFS resource indicated by the givenlinkandsiteRoot, for use on web pages.I_CmsLinkSubstitutionHandler.getLink(CmsObject cms, String link, String siteRoot, String targetDetailPage, boolean forceSecure) Returns a link from the URI stored in the provided OpenCms user context to the VFS resource indicated by the givenlinkandsiteRoot, for use on web pages.static StringCmsLinkManager.getLinkSubsite(CmsObject cms, String link) Gets the absolute path for the subsite a link links to.CmsLinkManager.getOnlineLink(CmsObject cms, String resourceName) Returns the online link for the given resource, with full server prefix.CmsLinkManager.getOnlineLink(CmsObject cms, String resourceName, boolean forceSecure) Returns the online link for the given resource, with full server prefix.CmsLinkManager.getOnlineLink(CmsObject cms, String resourceName, String targetDetailPage, boolean forceSecure) Returns the online link for the given resource, with full server prefix.CmsLinkManager.getPermalink(CmsObject cms, String resourceName) Returns the perma link for the given resource.CmsLinkManager.getPermalink(CmsObject cms, String resourceName, CmsUUID detailContentId) Returns the perma link for the given resource and optional detail content.invalid input: '<'pinvalid input: '<'CmsLinkManager.getPermalinkForCurrentPage(CmsObject cms) Returns the perma link for the current page based on the URI and detail content id stored in the CmsObject passed as a parameter.invalid input: '<'pinvalid input: '<'protected List<CmsPublishedResource> CmsAfterPublishStaticExportHandler.getRelatedResources(CmsObject cms, List<CmsPublishedResource> publishedResources) Creates a list ofobjects containing all related resources of the VFS tree.CmsPublishedResourceCmsStaticExportExportRule.getRelatedResources(CmsObject cms, CmsPublishedResource publishedResource) Returns a set ofobjects specified by theCmsPublishedResource<export-resources>node of this rule, if the publishedResource matches a modified Resource regular expression.protected CmsStaticExportDataCmsStaticExportManager.getRfsExportData(CmsObject cms, String uri) Returns the export data for a requested resource, if null is returned no export is required.CmsStaticExportManager.getRfsName(CmsObject cms, String vfsName) Returns the static export rfs name for a given vfs resource.CmsStaticExportManager.getRfsName(CmsObject cms, String vfsName, String parameters, String targetDetailPage) Returns the static export rfs name for a given vfs resource where the link to the resource includes request parameters.protected StringCmsStaticExportManager.getRfsNameWithExportName(CmsObject cms, String vfsName) Returns the rfs name for a given vfs name with consideration of the export name.CmsAdvancedLinkSubstitutionHandler.getRootPath(CmsObject cms, String targetUri, String basePath) CmsDefaultLinkSubstitutionHandler.getRootPath(CmsObject cms, String targetUri, String basePath) CmsLinkManager.getRootPath(CmsObject cms, String targetUri) Returns the resource root path in the OpenCms VFS for the given target URI link, ornullin case the link points to an external site.CmsLinkManager.getRootPath(CmsObject cms, String targetUri, String basePath) Returns the resource root path in the OpenCms VFS for the given target URI link, ornullin case the link points to an external site.I_CmsLinkSubstitutionHandler.getRootPath(CmsObject cms, String targetUri, String basePath) Returns the resource root path in the OpenCms VFS for the given target URI link, ornullin case the link points to an external site.protected StringCmsDefaultLinkSubstitutionHandler.getRootPathForSite(CmsObject cms, String path, String siteRoot, boolean isRootPath) Returns the root path for given site.protected StringCmsLocalePrefixLinkSubstitutionHandler.getRootPathForSite(CmsObject cms, String path, String siteRoot, boolean isRootPath) CmsLinkManager.getServerLink(CmsObject cms, String resourceName) Returns the link for the given resource in the current project, with full server prefix.CmsLinkManager.getServerLink(CmsObject cms, String resourceName, boolean forceSecure) Returns the link for the given resource in the current project, with full server prefix.protected Set<CmsPublishedResource> CmsAfterPublishStaticExportHandler.getSiblings(CmsObject cms, CmsPublishedResource pubResource) Returns all siblings of the published resource as list ofCmsPublishedResource.A_CmsStaticExportHandler.getSiblingsList(CmsObject cms, String resPath) Returns a list containing the root paths of all siblings of a resource.protected StringCmsDefaultLinkSubstitutionHandler.getSimpleRootPath(CmsObject cms, String targetUri, String basePath) Gets the root path without taking into account detail page links.static StringCmsLinkManager.getSitePath(CmsObject cms, String basePath, String targetUri) Deprecated.useCmsLinkManager.getRootPath(CmsObject, String, String)instead, obtain the link manager withOpenCms.getLinkManager()CmsStaticExportManager.getVfsExportData(CmsObject cms, String vfsName) Returns the export data for a requested resource, if null is returned no export is required.CmsStaticExportManager.getVfsName(CmsObject cms, String rfsName) Returns the VFS name for the given RFS name, being the exact reverse of.CmsStaticExportManager.getRfsName(CmsObject, String)CmsStaticExportManager.getVfsNameInternal(CmsObject cms, String rfsName) Returns the VFS name from a given RFS name.CmsLinkManager.getWorkplaceLink(CmsObject cms, String resourceName, boolean forceSecure) Returns the link for the given workplace resource.voidCmsStaticExportManager.initialize(CmsObject cms) Initializes the static export manager with the OpenCms system configuration.protected booleanCmsDefaultLinkSubstitutionHandler.isDetailPageLinkSecure(CmsObject cms, String detailPage, CmsResource detailContent, CmsSite targetSite, boolean secureRequest) Checks whether a link to a detail page should be secure.protected booleanCmsAdvancedLinkSubstitutionHandler.isExcluded(CmsObject cms, String path) Returns if the given path starts with an exclude prefix.booleanCmsStaticExportManager.isExportLink(CmsObject cms, String vfsName) Checks if the static export is required for the given VFS resource.protected booleanCmsDefaultLinkSubstitutionHandler.isSecureLink(CmsObject cms, String vfsName, CmsSite targetSite, boolean secureRequest) Checks if the link target is a secure link.invalid input: '<'pbooleanCmsStaticExportManager.isSecureLink(CmsObject cms, String vfsName) Returnstrueif the given VFS resource should be transported through a secure channel.booleanCmsStaticExportManager.isSecureLink(CmsObject cms, String vfsName, boolean fromSecure) Returnstrueif the given VFS resource should be transported through a secure channel.booleanCmsStaticExportManager.isSecureLink(CmsObject cms, String vfsName, String siteRoot) Returnstrueif the given VFS resource that is located under the given site root should be transported through a secure channel.booleanCmsStaticExportManager.isSecureLink(CmsObject cms, String vfsName, String siteRoot, boolean fromSecure) Returnstrueif the given VFS resource should be transported through a secure channel.protected StringCmsDefaultLinkSubstitutionHandler.prepareExportParameters(CmsObject cms, String vfsName, String parameters) Prepares the request parameters for the given resource.protected StringCmsLocalePrefixLinkSubstitutionHandler.prepareExportParameters(CmsObject cms, String vfsName, String parameters) protected voidDeletes the given file from the RFS if it exists, also deletes all parameter variations of the file.protected booleanCmsAfterPublishStaticExportHandler.readNonTemplateResourcesToExport(CmsObject cms, List<CmsPublishedResource> publishedResources, List<CmsStaticExportData> resourcesToExport) Returns all non template resources found in a list of published resources.protected CmsStaticExportDataCmsStaticExportManager.readResource(CmsObject cms, String uri) Reads the resource with the given URI.protected voidA_CmsStaticExportHandler.scrubResource(CmsObject cms, CmsPublishedResource res, Set<String> scrubbedFolders, Set<String> scrubbedFiles) Scrub a single file or folder.voidCmsLinkManager.setLinkSubstitutionHandler(CmsObject cms, I_CmsLinkSubstitutionHandler linkSubstitutionHandler) Sets the internal link substitution handler.static booleanCmsLinkProcessor.shouldMarkAsExternal(CmsObject cms, CmsADEConfigData sitemapConfig, CmsLink link) Checks if the link should be marked as external.CmsLinkManager.substituteLink(CmsObject cms, String link) Returns a link from the URI stored in the provided OpenCms user context to the VFS resource indicated by the givenlinkin the current site, for use on web pages.CmsLinkManager.substituteLink(CmsObject cms, String link, String siteRoot) Returns a link from the URI stored in the provided OpenCms user context to the VFS resource indicated by the givenlinkandsiteRoot, for use on web pages.CmsLinkManager.substituteLink(CmsObject cms, String link, String siteRoot, boolean forceSecure) Returns a link from the URI stored in the provided OpenCms user context to the VFS resource indicated by the givenlinkandsiteRoot, for use on web pages, using the configured link substitution handler.CmsLinkManager.substituteLink(CmsObject cms, String link, String siteRoot, String targetDetailPage, boolean forceSecure) Returns a link from the URI stored in the provided OpenCms user context to the VFS resource indicated by the givenlinkandsiteRoot, for use on web pages, using the configured link substitution handler.CmsLinkManager.substituteLink(CmsObject cms, CmsResource resource) Returns a link from the URI stored in the provided OpenCms user context to the given VFS resource, for use on web pages.CmsLinkManager.substituteLinkForRootPath(CmsObject cms, String rootPath) Returns a link from the URI stored in the provided OpenCms user context to the VFS resource indicated by the given root path, for use on web pages.CmsLinkManager.substituteLinkForUnknownTarget(CmsObject cms, String link) Returns a link from the URI stored in the provided OpenCms user context to the givenlink, for use on web pages.CmsLinkManager.substituteLinkForUnknownTarget(CmsObject cms, String link, boolean forceSecure) Returns a link from the URI stored in the provided OpenCms user context to the givenlink, for use on web pages.CmsLinkManager.substituteLinkForUnknownTarget(CmsObject cms, String link, String targetDetailPage, boolean forceSecure) Returns a link from the URI stored in the provided OpenCms user context to the givenlink, for use on web pages.Constructors in org.opencms.staticexport with parameters of type CmsObjectModifierConstructorDescriptionCmsLinkProcessor(CmsObject cms, CmsLinkTable linkTable, String encoding, String relativePath) Creates a new link processor. -
Uses of CmsObject in org.opencms.synchronize
Methods in org.opencms.synchronize with parameters of type CmsObjectModifier and TypeMethodDescriptionvoidCmsSynchronizeSettings.checkValues(CmsObject cms) Performs a check if the values that have been set are valid.voidI_CmsSynchronizeModification.modifyFs(CmsObject cms, CmsResource vfsRes, File fsFile) Possibility to modify a resource after it has benn exported or updated to the FS.voidI_CmsSynchronizeModification.modifyVfs(CmsObject cms, CmsResource vfsRes, File fsFile) Possibility to modify a resource after it has been imported or updated into the VFS.Translates the resource name.Constructors in org.opencms.synchronize with parameters of type CmsObjectModifierConstructorDescriptionCmsSynchronize(CmsObject cms, CmsSynchronizeSettings settings, I_CmsReport report) Creates a new CmsSynchronize object which automatically start the synchronization process. -
Uses of CmsObject in org.opencms.ugc
Methods in org.opencms.ugc that return CmsObjectModifier and TypeMethodDescriptionCmsUgcSession.getCmsObject()Gets the CMS context used by this session.Methods in org.opencms.ugc with parameters of type CmsObjectModifier and TypeMethodDescriptionstatic voidCmsUgcSessionSecurityUtil.checkCreateContent(CmsObject cms, CmsUgcConfiguration config) Checks whether a new XML content may be created and throws an exception if this is not the case.static voidCmsUgcSessionSecurityUtil.checkCreateUpload(CmsObject cms, CmsUgcConfiguration config, String name, long size) Checks whether an uploaded file can be created in the VFS, and throws an exception otherwise.voidCmsUgcEditService.checkPermissions(CmsObject cms) CmsUgcSessionFactory.createSession(CmsObject cms, javax.servlet.http.HttpServletRequest request, String sitePath) Creates a new editing session.CmsUgcSessionFactory.createSession(CmsObject cms, javax.servlet.http.HttpServletRequest request, CmsUgcConfiguration config) Creates a new editing session.CmsUgcSessionFactory.createSessionForFile(CmsObject cms, javax.servlet.http.HttpServletRequest request, String configPath, String fileName) Creates a new session for a given file.static voidCmsUgcSessionFactory.setAdminCms(CmsObject adminCms) Sets the admin CmsObject instance.Constructors in org.opencms.ugc with parameters of type CmsObjectModifierConstructorDescriptionCreates a new instance.protectedCmsUgcSession(CmsObject cms) Constructor.CmsUgcSession(CmsObject adminCms, CmsObject cms, CmsUgcConfiguration configuration) Constructor.CmsUgcSession(CmsObject cms, CmsUgcConfiguration configuration) Constructor.CmsUgcValueTranformHandler(CmsObject cms, CmsResource resource) Creates the value transformer instance for the provided resource. -
Uses of CmsObject in org.opencms.ui
Methods in org.opencms.ui that return CmsObjectModifier and TypeMethodDescriptionA_CmsDialogContext.getCms()I_CmsDialogContext.getCms()Gets the CMS context to be used for dialog operations.static CmsObjectA_CmsUI.getCmsObject()Returns the current cms context.Methods in org.opencms.ui with parameters of type CmsObjectModifier and TypeMethodDescriptionvoidCmsUserIconHelper.deleteUserImage(CmsObject cms) Deletes the user image of the current user.static com.vaadin.v7.data.util.IndexedContainerCmsVaadinUtils.getAvailableGroupsContainerWithout(CmsObject cms, String ouFqn, String propCaption, String propIcon, String propOu, List<CmsGroup> blackList, Function<CmsGroup, CmsCssIcon> iconProvider) Get all groups with blacklist.static List<CmsProject> CmsVaadinUtils.getAvailableProjects(CmsObject cms) Returns the available projects.static com.vaadin.v7.data.util.IndexedContainerCmsVaadinUtils.getAvailableSitesContainer(CmsObject cms, String captionPropertyName) Builds an IndexedContainer containing the sites selectable by the current user.static LinkedHashMap<String, String> CmsVaadinUtils.getAvailableSitesMap(CmsObject cms) Gets available sites as a LinkedHashMap, with site roots as keys and site labels as values.CmsUserIconHelper.getBigIconPath(CmsObject cms, CmsUser user) Returns the big ident-icon path for the given user.static StringCmsVaadinUtils.getBootstrapScript(CmsObject cms, String elementId, String servicePath) Returns the Javascript code to use for initializing a Vaadin UI.static com.vaadin.v7.data.util.IndexedContainerCmsVaadinUtils.getGroupsOfUser(CmsObject cms, CmsUser user, String caption, String iconProp, String ou, String propStatus, com.google.common.base.Function<CmsGroup, CmsCssIcon> iconProvider) Gets container with alls groups of a certain user.static com.vaadin.v7.ui.ComboBoxCmsVaadinUtils.getOUComboBox(CmsObject cms, String baseOu, org.apache.commons.logging.Log log) Creates the ComboBox for OU selection.static com.vaadin.v7.ui.ComboBoxCmsVaadinUtils.getOUComboBox(CmsObject cms, String baseOu, org.apache.commons.logging.Log log, boolean includeWebOU) Creates the ComboBox for OU selection.static com.vaadin.v7.data.util.IndexedContainerCmsVaadinUtils.getPrincipalContainer(CmsObject cms, List<? extends I_CmsPrincipal> list, String captionID, String descID, String iconID, String ouID, String icon, List<com.vaadin.server.FontIcon> iconList) Get container for principal.static com.vaadin.v7.data.util.IndexedContainerCmsVaadinUtils.getProjectsContainer(CmsObject cms, String captionPropertyName) Returns the selectable projects container.static LinkedHashMap<CmsUUID, String> CmsVaadinUtils.getProjectsMap(CmsObject cms) Gets the available projects for the current user as a map, wth project ids as keys and project names as values.static com.vaadin.v7.data.util.IndexedContainerCmsVaadinUtils.getRoleContainerForUser(CmsObject cms, CmsUser user, String captionPropertyName) Returns the roles available for a given user.CmsUserIconHelper.getSmallIconPath(CmsObject cms, CmsUser user) Returns the small ident-icon path for the given user.CmsUserIconHelper.getTinyIconPath(CmsObject cms, CmsUser user) Returns the tiny ident-icon path for the given user.booleanCmsUserIconHelper.handleImageUpload(CmsObject cms, List<String> uploadedFiles) Handles a user image upload.booleanCmsUserIconHelper.handleImageUpload(CmsObject cms, CmsUser user, String uploadedFile) Handles a user image upload.voidCmsUserIconHelper.setUserImage(CmsObject cms, CmsUser user, String rootPath) Sets the user image for the given user.Constructors in org.opencms.ui with parameters of type CmsObject -
Uses of CmsObject in org.opencms.ui.actions
Methods in org.opencms.ui.actions with parameters of type CmsObjectModifier and TypeMethodDescriptionA_CmsEditFileAction.getVisibility(CmsObject cms, List<CmsResource> resources) A_CmsGalleryDialogAction.getVisibility(CmsObject cms, List<CmsResource> resources) A_CmsToolbarAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsAvailabilityDialogAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsCategoriesDialogAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsChangeTypeDialogAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsContextMenuActionItem.getVisibility(CmsObject cms, List<CmsResource> resources) CmsCopyDialogAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsCopyPageDialogAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsCopyToProjectDialogAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsDeleteDialogAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsDirectPublishDialogAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsDisplayAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsEditCodeDialogAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsEditDialogAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsEditPageAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsEditPointerAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsEditPropertyAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsEditSmallElementsAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsEditUserDialogAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsFavoriteDialogAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsFormEditDialogAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsHistoryDialogAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsLinkLocaleVariantAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsLockAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsLockedResourcesAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsLogoutAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsMoveDialogAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsPermissionDialogAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsPrefillPageAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsPreviewAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsPropertiesDialogAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsPublishScheduledDialogAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsReindexDialogAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsRenameAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsReplaceDialogAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsResourceInfoAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsRestoreDeletedAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsSecureExportDialogAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsSelectElementViewAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsSeoAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsShowLocaleAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsSitemapAliasAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsSitemapAttributeEditorAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsSitemapEditConfigAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsSitemapOpenParentAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsSitemapRefreshAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsStealLockAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsTemplateContextsAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsTouchDialogAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsUndeleteDialogAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsUndoDialogAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsUnlinkLocaleVariantAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsUnlockAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsUnusedContentFinderAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsUserInfoDialogAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsViewInExplorerAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsViewOnlineAction.getVisibility(CmsObject cms, List<CmsResource> resources) CmsWorkplaceAction.getVisibility(CmsObject cms, List<CmsResource> resources) -
Uses of CmsObject in org.opencms.ui.apps
Methods in org.opencms.ui.apps that return CmsObjectModifier and TypeMethodDescriptionA_CmsWorkplaceApp.getOfflineCmsObject(CmsObject cms) Gets an offline version of the cms object.Methods in org.opencms.ui.apps with parameters of type CmsObjectModifier and TypeMethodDescriptionstatic com.vaadin.ui.ComponentCmsDefaultAppButtonProvider.createAppButton(CmsObject cms, I_CmsWorkplaceAppConfiguration appConfig, Locale locale) Creates a properly styled button for the given app.static com.vaadin.ui.ComponentCmsDefaultAppButtonProvider.createAppFolderButton(CmsObject cms, CmsAppCategoryNode node, Locale locale) Creates a properly styled button for the given app.<T extends I_CmsAppSettings>
TCmsWorkplaceAppManager.getAppSettings(CmsObject cms, Class<T> type) Returns the user app setting of the given type.CmsWorkplaceAppManager.getEditorForResource(CmsObject cms, CmsResource resource, boolean plainText) Returns the editor for the given resource.static StringCmsEditor.getEditStateForNew(CmsObject cms, I_CmsResourceType resourceType, String contextPath, String modelFilePath, boolean plainText, String backLink) Returns the edit state for the given resource structure id.A_CmsWorkplaceApp.getOfflineCmsObject(CmsObject cms) Gets an offline version of the cms object.CmsQuickLaunchLocationCache.getPageEditorLocation(CmsObject cms, String siteRoot) Returns the page editor location for the given site root.CmsWorkplaceAppManager.getQuickLaunchConfigurations(CmsObject cms) Gets the configured quick launch apps which are visible for the current user.protected List<I_CmsWorkplaceAppConfiguration> CmsWorkplaceAppManager.getUserQuickLauchConfigurations(CmsObject cms) Returns the quick launch apps set for the current user.A_CmsWorkplaceAppConfiguration.getVisibility(CmsObject cms) CmsEditorConfiguration.getVisibility(CmsObject cms) CmsLegacyAppConfiguration.getVisibility(CmsObject cms) CmsPageEditorConfiguration.getVisibility(CmsObject cms) CmsSitemapEditorConfiguration.getVisibility(CmsObject cms) I_CmsFolderAppCategory.getVisibility(CmsObject cms) Returns the visibility status of the app for the given user context.I_CmsWorkplaceAppConfiguration.getVisibility(CmsObject cms) Returns the visibility status of the app for the given user context.voidCmsQuickLaunchLocationCache.setPageEditorResource(CmsObject cms, String siteRoot, CmsResource resource) Sets the latest page editor location for the given site.protected voidCmsWorkplaceAppManager.setUserQuickLaunchApps(CmsObject cms, List<String> apps) Writes the user quick launch apps setting to the user additional info.voidCmsWorkplaceAppManager.storeAppSettings(CmsObject cms, Class<? extends I_CmsAppSettings> type, I_CmsAppSettings appSettings) Stores the given app setting within the users additional info.voidCmsFileExplorer.updateResourceInTree(CmsObject cms, CmsUUID id) Updates the give tree item.Constructors in org.opencms.ui.apps with parameters of type CmsObject -
Uses of CmsObject in org.opencms.ui.apps.cacheadmin
Fields in org.opencms.ui.apps.cacheadmin declared as CmsObjectMethods in org.opencms.ui.apps.cacheadmin with parameters of type CmsObjectModifier and TypeMethodDescriptionCmsImageCacheHelper.getSingleSize(CmsObject cms, String resPath) Reads the size of a single image.CmsCacheFolder.getVisibility(CmsObject cms) Constructors in org.opencms.ui.apps.cacheadmin with parameters of type CmsObjectModifierConstructorDescriptionCmsImageCacheHelper(CmsObject cms, boolean withVariations, boolean showSize, boolean statsOnly) Default constructor. -
Uses of CmsObject in org.opencms.ui.apps.datesearch
Methods in org.opencms.ui.apps.datesearch with parameters of type CmsObjectModifier and TypeMethodDescriptionvoidCmsDateSearchComposite.addItemProperties(com.vaadin.v7.data.Item resourceItem, CmsObject cms, CmsResource resource, Locale locale) CmsDateSearchConfiguration.getVisibility(CmsObject cms) -
Uses of CmsObject in org.opencms.ui.apps.dbmanager
Fields in org.opencms.ui.apps.dbmanager declared as CmsObjectModifier and TypeFieldDescriptionprotected CmsObjectCmsDbExportView.m_cmsCopy of current CmsObject.protected CmsObjectCmsDbSynchronizationView.m_cmsRoot CmsObject.Methods in org.opencms.ui.apps.dbmanager that return CmsObjectModifier and TypeMethodDescriptionprotected CmsObjectCmsPropertyDeleteDialog.getCms()Gets a copy of the cms object set to root site.protected CmsObjectA_CmsImportForm.getCmsObject()Returns a cms object set to the site corresponding to siteselector.protected CmsObjectCmsResourceTypeStatsView.getCmsObject()Sets the cms object to selected site and returns it.Methods in org.opencms.ui.apps.dbmanager with parameters of type CmsObjectConstructors in org.opencms.ui.apps.dbmanager with parameters of type CmsObjectModifierConstructorDescriptionCmsRemovePropertyFromResourcesThread(CmsObject cms, String propName) Public constructor.CmsRemovePubLocksThread(CmsObject cms, List<String> resources) Creates an Thread to remove the publish locks.Creates a static export Thread.Creates the synchronize Thread. -
Uses of CmsObject in org.opencms.ui.apps.filehistory
Methods in org.opencms.ui.apps.filehistory with parameters of type CmsObjectConstructors in org.opencms.ui.apps.filehistory with parameters of type CmsObjectModifierConstructorDescriptionCmsHistoryClearThread(CmsObject cms, int keepV, int keepD, long date) Creates the history clear Thread. -
Uses of CmsObject in org.opencms.ui.apps.git
Methods in org.opencms.ui.apps.git that return CmsObjectMethods in org.opencms.ui.apps.git with parameters of type CmsObjectConstructors in org.opencms.ui.apps.git with parameters of type CmsObject -
Uses of CmsObject in org.opencms.ui.apps.linkvalidation
Methods in org.opencms.ui.apps.linkvalidation with parameters of type CmsObjectModifier and TypeMethodDescriptionvoidA_CmsLinkValidator.addItemProperties(com.vaadin.v7.data.Item resourceItem, CmsObject cms, CmsResource resource, Locale locale) CmsLinkValidationFolder.getVisibility(CmsObject cms) Constructors in org.opencms.ui.apps.linkvalidation with parameters of type CmsObjectModifierConstructorDescriptionCmsExternalLinksValidatorThread(CmsObject cms, Runnable finRun) Constructor, creates a new CmsExternLinkValidationThread. -
Uses of CmsObject in org.opencms.ui.apps.lists
Methods in org.opencms.ui.apps.lists with parameters of type CmsObjectModifier and TypeMethodDescriptionvoidCmsListManager.addItemProperties(com.vaadin.v7.data.Item resourceItem, CmsObject cms, CmsResource resource, Locale locale) protected voidCmsResultTable.fillItem(CmsObject cms, CmsResource resource, Locale locale) -
Uses of CmsObject in org.opencms.ui.apps.modules
Methods in org.opencms.ui.apps.modules with parameters of type CmsObjectConstructors in org.opencms.ui.apps.modules with parameters of type CmsObjectModifierConstructorDescriptionCmsModuleImportThread(CmsObject cms, CmsModule module, String path) Creates a new instance. -
Uses of CmsObject in org.opencms.ui.apps.modules.edit
Methods in org.opencms.ui.apps.modules.edit with parameters of type CmsObjectModifier and TypeMethodDescriptionstatic com.vaadin.v7.data.util.IndexedContainerCmsEditModuleForm.getModuleSiteContainer(CmsObject cms, String captionPropertyName, String prevValue) Builds the container used for the module site selector.voidCmsModuleResourceSelectField.setCmsObject(CmsObject cms) -
Uses of CmsObject in org.opencms.ui.apps.projects
Methods in org.opencms.ui.apps.projects with parameters of type CmsObject -
Uses of CmsObject in org.opencms.ui.apps.publishqueue
Methods in org.opencms.ui.apps.publishqueue with parameters of type CmsObject -
Uses of CmsObject in org.opencms.ui.apps.search
Constructors in org.opencms.ui.apps.search with parameters of type CmsObjectModifierConstructorDescriptionCmsSearchReplaceThread(javax.servlet.http.HttpSession session, CmsObject cms, CmsSearchReplaceSettings settings) Creates a replace html tag Thread.CmsSearchReplaceThread(javax.servlet.http.HttpSession session, CmsObject cms, CmsSearchReplaceSettings settings, I_CmsReport report) Creates a replace html tag Thread. -
Uses of CmsObject in org.opencms.ui.apps.searchindex
Constructors in org.opencms.ui.apps.searchindex with parameters of type CmsObjectModifierConstructorDescriptionCmsIndexingReportThread(CmsObject cms, List<String> indexNames) Creates an indexing Thread for full update. -
Uses of CmsObject in org.opencms.ui.apps.sessions
Fields in org.opencms.ui.apps.sessions declared as CmsObject -
Uses of CmsObject in org.opencms.ui.apps.shell
Methods in org.opencms.ui.apps.shell with parameters of type CmsObjectModifier and TypeMethodDescriptionprotected voidSets up given CmsObject with currently set Project and Site.Constructors in org.opencms.ui.apps.shell with parameters of type CmsObjectModifierConstructorDescriptionCmsShellScriptThread(CmsObject cms, String script) public constructor. -
Uses of CmsObject in org.opencms.ui.apps.sitemanager
Fields in org.opencms.ui.apps.sitemanager declared as CmsObjectMethods in org.opencms.ui.apps.sitemanager that return CmsObjectModifier and TypeMethodDescriptionprotected CmsObjectCmsSiteManager.getRootCmsObject()Returns the root cms object.Methods in org.opencms.ui.apps.sitemanager with parameters of type CmsObjectModifier and TypeMethodDescriptionstatic booleanCmsSiteManager.isFolderWithMacros(CmsObject cms, String folderPathRoot) Method to check if a folder under given path contains a bundle for macro resolving.voidCmsSiteManager.updateGeneralSettings(CmsObject cms, String defaultUri, Map<String, CmsSSLMode> workplaceServers, String sharedFolder) Updates the general settings.Constructors in org.opencms.ui.apps.sitemanager with parameters of type CmsObjectModifierConstructorDescriptionprotectedCmsCreateSiteThread(CmsObject cms, I_CmsCRUDApp<CmsSite> manager, CmsSite site, CmsSite oldSite, String source, String template, boolean createOU, String parentOU, String selectedOU, ByteArrayOutputStream os, Map<String, String> bundle, Runnable finished) Constructor for Class.CmsEditSiteForm(CmsObject cms, CmsSiteManager manager) Constructor.CmsEditSiteForm(CmsObject cms, CmsSiteManager manager, String siteRoot) Constructor.CmsExportSiteForm(CmsObject cms, CmsSiteManager manager, String siteRoot) Creates a new instance.CmsSitesWebserverThread(CmsObject cms, String targetPath, String templatePath, String scriptPath, String filePrefix, String loggingDir, String secureTemplate) Public constructor. -
Uses of CmsObject in org.opencms.ui.apps.unusedcontentfinder
Methods in org.opencms.ui.apps.unusedcontentfinder with parameters of type CmsObjectModifier and TypeMethodDescriptionCmsUnusedContentFinderConfiguration.getVisibility(CmsObject cms) -
Uses of CmsObject in org.opencms.ui.apps.user
Fields in org.opencms.ui.apps.user declared as CmsObjectModifier and TypeFieldDescriptionprotected CmsObjectA_CmsEditUserGroupRoleDialog.m_cmsCmsObject.protected CmsObjectCmsAccountsApp.m_cmsCmsObject.protected CmsObjectCmsMoveUserToOU.m_cmsCmsObject.protected CmsObjectCmsOUEditDialog.m_cmsCmsObject.Methods in org.opencms.ui.apps.user that return CmsObjectModifier and TypeMethodDescriptionprotected CmsObjectCmsShowResourceTable.getCms()Gets CmsObject.Methods in org.opencms.ui.apps.user with parameters of type CmsObjectModifier and TypeMethodDescriptionCmsImportExportUserDialog.addExportAllUsers(CmsObject cms, String ou, Map<CmsUUID, CmsUser> exportUsers) Returns a map with the users to export added.CmsImportExportUserDialog.addExportUsersFromGroups(CmsObject cms, List<String> groups, Map<CmsUUID, CmsUser> exportUsers) Returns a map with the users to export added.CmsImportExportUserDialog.addExportUsersFromRoles(CmsObject cms, String ou, List<String> roles, Map<CmsUUID, CmsUser> exportUsers) Returns a map with the users to export added.com.vaadin.v7.data.util.IndexedContainerCmsAccountsApp.getAvailableGroupsContainerWithout(CmsObject cms, String ouFqn, String propCaption, String propIcon, String propOu, List<CmsGroup> groupsOfUser, Function<CmsGroup, CmsCssIcon> iconProvider) Gets a data container for the groups available to be added to a user, excluding some groups.CmsOUHandler.getManagableOUs(CmsObject cms) Gets List of managable OU names for the current user.CmsAccountsApp.getUsersWithoutAdditionalInfo(CmsObject cms, I_CmsOuTreeType type, String ou, boolean recursive) Gets list of users for organizational unit.protected static voidCmsUserEditDialog.iniRole(CmsObject cms, String ou, com.vaadin.ui.ComboBox<CmsRole> roleComboBox, org.apache.commons.logging.Log log) Initialized the role ComboBox.protected static voidCmsUserEditDialog.iniRole(CmsObject cms, String ou, com.vaadin.v7.ui.ComboBox roleComboBox, org.apache.commons.logging.Log log) Initialized the role ComboBox (vaadin-v7-version).protected static voidCmsUserEditDialog.iniRole(CmsObject cms, String ou, com.vaadin.v7.ui.ComboBox roleComboBox, org.apache.commons.logging.Log log, boolean includeNoRoleEntry) Initialized the role ComboBox (vaadin-v7-version).voidInit method.booleanCmsOuTreeType.isValidForOu(CmsObject cms, String ou) booleanI_CmsOuTreeType.isValidForOu(CmsObject cms, String ou) Checks if the tree type is available for a given OU.static voidCmsOUTable.openImportExportDialog(CmsObject cms, String ou) Opens the import/export dialog for a specific OU.CmsAccountsApp.readGroupsForOu(CmsObject cms, String ou, I_CmsOuTreeType type, boolean subOus) Reads the list of groups for an organizational unit.protected static voidCmsUserEditDialog.sendMail(CmsObject cms, String password, CmsUser user, boolean newUser, boolean changePassword) Sends an email to the user.protected static voidCmsUserEditDialog.sendMail(CmsObject cms, String password, CmsUser user, String ou, boolean newUser, boolean changePassword) Sends an email to the user.Constructors in org.opencms.ui.apps.user with parameters of type CmsObjectModifierConstructorDescriptionA_CmsEditUserGroupRoleDialog(CmsObject cms, CmsUUID userId, com.vaadin.ui.Window window, CmsAccountsApp app) public constructor.CmsAdditionalInfosDialog(CmsObject cms, CmsUUID userID, com.vaadin.ui.Window window, CmsAccountsApp app) public constructor.CmsCurrentRoleOrPrincipalTable(A_CmsEditUserGroupRoleDialog dialog, CmsObject cms, CmsPrincipal principal) public constructor.CmsDeleteMultiplePrincipalDialog(CmsObject cms, Set<String> context, com.vaadin.ui.Window window, CmsAccountsApp app) Public constructor.CmsDeleteOUDialog(CmsObject cms, String ouName, com.vaadin.ui.Window window, CmsAccountsApp app) public constructor used for OUs.CmsGroupEditDialog(CmsObject cms, com.vaadin.ui.Window window, String ou, CmsAccountsApp app) Constructor for dialog for new groups.CmsGroupEditDialog(CmsObject cms, CmsUUID groupId, com.vaadin.ui.Window window, CmsAccountsApp app) public constructor.protectedCmsImportUserThread(CmsObject cms, String ou, List<CmsUser> userList, List<String> groups, List<CmsRole> roles, boolean sendmail) public constructor.CmsMoveUserToOU(CmsObject cms, CmsUUID userID, com.vaadin.ui.Window window, CmsAccountsApp app) Public constructor.CmsNewElementDialog(CmsObject cms, String ou, com.vaadin.ui.Window window, CmsAccountsApp app) public constructor.CmsOUEditDialog(CmsObject cms, com.vaadin.ui.Window window, String ou, CmsAccountsApp app) public constructor.CmsOUEditDialog(CmsObject cms, String ou, com.vaadin.ui.Window window, CmsAccountsApp app) public constructor.CmsOUHandler(CmsObject cms) Public constructor.CmsOuTree(CmsObject cms, CmsAccountsApp app, String baseOU) constructor.Public constructor.CmsSendPasswordNotification(CmsObject cms, String password, CmsUser receiver, String ou, CmsUser adminUser, boolean newUser, boolean tempPassword) Public constructor.CmsSendPasswordNotification(CmsObject cms, String password, CmsUser receiver, String ou, CmsUser adminUser, String link, boolean newUser, boolean tempPassword) Deprecated.CmsShowResourceTable(CmsObject cms, CmsUUID principalID, CmsShowResourcesDialog.DialogType type) public constructor.CmsUserEditDialog(CmsObject cms, com.vaadin.ui.Window window, String ou, CmsAccountsApp app) public constructor for new user case.CmsUserEditDialog(CmsObject cms, CmsUUID userId, com.vaadin.ui.Window window, CmsAccountsApp app) public constructor.CmsUserEditGroupsDialog(CmsObject cms, CmsUUID userId, com.vaadin.ui.Window window, CmsAccountsApp app) public constructor.CmsUserEditRoleDialog(CmsObject cms, CmsUUID userId, com.vaadin.ui.Window window, CmsAccountsApp app) public constructor. -
Uses of CmsObject in org.opencms.ui.apps.userdata
Methods in org.opencms.ui.apps.userdata that return CmsObjectModifier and TypeMethodDescriptionprotected CmsObjectCmsUserDataAppPanel.getCmsObjectForReport()Prepares the CmsObject to use for the report.Constructors in org.opencms.ui.apps.userdata with parameters of type CmsObjectModifierConstructorDescriptionCmsUserDataReportThread(CmsObject cms, Consumer<I_CmsReport> action) Creates a new instance. -
Uses of CmsObject in org.opencms.ui.components
Methods in org.opencms.ui.components that return CmsObjectModifier and TypeMethodDescriptionCmsFolderSelector.getCmsObject()Returns the CMS object of this folder selector.Methods in org.opencms.ui.components with parameters of type CmsObjectModifier and TypeMethodDescriptionvoidCmsResourceTable.I_ResourcePropertyProvider.addItemProperties(com.vaadin.v7.data.Item resourceItem, CmsObject cms, CmsResource resource, Locale locale) Adds the property values to the given item.voidCmsResultFacets.displayFacetResult(CmsSolrResultList solrResultList, Map<String, Boolean> checkedCategoryFacets, Map<String, Boolean> checkedDateFacets, Map<String, Boolean> checkedFolderFacets, CmsObject cms) Displays the result facets.protected voidCmsResourceTable.fillItem(CmsObject cms, CmsResource resource, Locale locale) Fills the file item data.static voidCmsResourceTable.fillItemDefault(com.vaadin.v7.data.Item resourceItem, CmsObject cms, CmsResource resource, Locale locale) Static helper method to initialize the 'standard' properties of a data item from a given resource.voidCmsResourceTable.fillTable(CmsObject cms, List<CmsResource> resources) Fills the resource table.voidCmsResourceTable.fillTable(CmsObject cms, List<CmsResource> resources, boolean clearFilter) Fills the resource table.voidCmsResourceTable.fillTable(CmsObject cms, List<CmsResource> resources, boolean clearFilter, boolean sort) Fills the resource table.voidCmsResourceTable.fillTable(CmsObject cms, List<CmsResource> resources, boolean clearFilter, boolean sort, boolean distinctResources) Fills the resource table.static StringCmsResourceIcon.getDefaultFileOrDetailType(CmsObject cms, CmsResource resource) Returns the default file type or detail type for the given resource.static StringCmsResourceIcon.getDetailType(CmsObject cms, CmsResource detailPage, CmsResource parentFolder) Returns the detail content type for container pages that may be detail pages.CmsExtendedSiteSelector.getExplorerSiteSelectorOptions(CmsObject cms, boolean addSubsites) Builds a list of site selector option that also includes subsites with the 'include in site selector' option enabled in their configuration.static com.vaadin.server.ResourceCmsResourceIcon.getSitemapResourceIcon(CmsObject cms, CmsResource resource, CmsResourceIcon.IconMode iconMode) Gets the resource icon for a resource for use in a CmsResourceInfo widget when used in a sitemap context.voidCmsExtendedSiteSelector.initOptions(CmsObject cms, boolean addSubsites) Initializes the select options.voidStore fields to given user.voidStore fields to given user.Constructors in org.opencms.ui.components with parameters of type CmsObjectModifierConstructorDescriptionCmsLockedResourcesList(CmsObject cms, List<CmsResource> resources, String message, Runnable nextAction, Runnable cancelAction) Creates a new instance. -
Uses of CmsObject in org.opencms.ui.components.categoryselect
Constructors in org.opencms.ui.components.categoryselect with parameters of type CmsObject -
Uses of CmsObject in org.opencms.ui.components.fileselect
Fields in org.opencms.ui.components.fileselect declared as CmsObjectModifier and TypeFieldDescriptionprotected CmsObjectA_CmsFileSelectField.m_cmsCmsObject instance, doesn't have to be set.protected CmsObjectCmsResourceSelectDialog.m_currentCmsThe CMS context.Methods in org.opencms.ui.components.fileselect with parameters of type CmsObjectModifier and TypeMethodDescriptionvoidCmsResourceTreeContainer.addTreeItem(CmsObject cms, CmsResource resource, CmsUUID parentId) Adds an item to the folder tree.protected CmsResourceTreeTableCmsResourceSelectDialog.createTree(CmsObject cms, CmsResource root) Creates the resource tree for the given root.protected voidCmsResourceTreeContainer.fillProperties(CmsObject cms, com.vaadin.v7.data.Item resourceItem, CmsResource resource, CmsUUID parentId) Fills the properties of a tree item.protected StringCmsResourceTreeContainer.getName(CmsObject cms, CmsResource resource, CmsUUID parentId) Gets the name to display for the given resource.voidCmsResourceTreeContainer.initRoot(CmsObject cms, CmsResource root) Initializes the root level of the tree.voidCmsResourceTreeContainer.readTreeLevel(CmsObject cms, CmsUUID parentId) Reads the given tree level.voidA_CmsFileSelectField.setCmsObject(CmsObject cms) Method to set cms object to make it possible to user other site context.voidCmsResourceTreeContainer.update(CmsObject cms, CmsUUID id, CmsResourceFilter filter) Updates the item for the given structure id.protected voidCmsResourceSelectDialog.updateRoot(CmsObject rootCms, CmsResource siteRootResource) Updates the current site root resource.Constructors in org.opencms.ui.components.fileselect with parameters of type CmsObjectModifierConstructorDescriptionCmsNavigationFilter(CmsObject cms, CmsResource root) Creates a new instance.CmsResourceSelectDialog(CmsResourceFilter filter, CmsObject cms) public constructor with given CmsObject.CmsResourceSelectDialog(CmsResourceFilter filter, CmsObject _cms, CmsResourceSelectDialog.Options options) public constructor.CmsResourceTreeTable(CmsObject cms, CmsResource root, CmsResourceFilter filter) Creates a new instance.CmsResourceTreeTable(CmsObject cms, CmsResource root, CmsResourceTreeContainer container) Creates a new instance. -
Uses of CmsObject in org.opencms.ui.dialogs
Methods in org.opencms.ui.dialogs that return CmsObjectModifier and TypeMethodDescriptionCmsEmbeddedDialogContext.getCms()CmsGalleryOptimizeDialog.getCms()Returns the CMS object of this dialog.Methods in org.opencms.ui.dialogs with parameters of type CmsObjectModifier and TypeMethodDescriptionstatic com.google.common.collect.Multimap<CmsResource, CmsResource> CmsDeleteDialog.getBrokenLinks(CmsObject cms, List<CmsResource> selectedResources, boolean includeSiblings) Gets the broken links.static com.google.common.collect.Multimap<CmsResource, CmsResource> CmsDeleteDialog.getBrokenLinks(CmsObject cms, List<CmsResource> selectedResources, boolean includeSiblings, boolean reverse) Gets the broken links.static voidCmsPublishScheduledDialog.setAdminCms(CmsObject cms) Sets the admin cms object. -
Uses of CmsObject in org.opencms.ui.dialogs.embedded
Methods in org.opencms.ui.dialogs.embedded with parameters of type CmsObjectModifier and TypeMethodDescriptionCmsDataViewParams.createViewInstance(CmsObject cms, Locale locale) Creates the data view instance.CmsDataViewAction.getVisibility(CmsObject cms, List<CmsResource> resources) -
Uses of CmsObject in org.opencms.ui.dialogs.history
Methods in org.opencms.ui.dialogs.history with parameters of type CmsObjectModifier and TypeMethodDescriptionvoidCmsHistoryDialog.actionRestore(CmsObject cms, CmsUUID structureId, Integer version) Restores a resource's state to the given version, but asks the user for confirmation beforehand. -
Uses of CmsObject in org.opencms.ui.dialogs.history.diff
Methods in org.opencms.ui.dialogs.history.diff with parameters of type CmsObjectModifier and TypeMethodDescriptioncom.vaadin.ui.ButtonCmsShowVersionButtons.createButton(CmsObject cms, CmsHistoryResourceBean version) Creates a 'show version' button.com.google.common.base.Optional<com.vaadin.ui.Component> A_CmsAttributeDiff.diff(CmsObject cms, CmsHistoryResourceBean v1, CmsHistoryResourceBean v2) com.google.common.base.Optional<com.vaadin.ui.Component> CmsImageDiff.diff(CmsObject cms, CmsHistoryResourceBean v1, CmsHistoryResourceBean v2) com.google.common.base.Optional<com.vaadin.ui.Component> CmsShowVersionButtons.diff(CmsObject cms, CmsHistoryResourceBean v1, CmsHistoryResourceBean v2) com.google.common.base.Optional<com.vaadin.ui.Component> CmsTextDiff.diff(CmsObject cms, CmsHistoryResourceBean v1, CmsHistoryResourceBean v2) com.google.common.base.Optional<com.vaadin.ui.Component> CmsValueDiff.diff(CmsObject cms, CmsHistoryResourceBean v1, CmsHistoryResourceBean v2) com.google.common.base.Optional<com.vaadin.ui.Component> I_CmsDiffProvider.diff(CmsObject cms, CmsHistoryResourceBean v1, CmsHistoryResourceBean v2) Optionally returns a comparison component to display for the given resource versions.static StringCmsValueCompareBean.formatContentValueForDiffTable(CmsObject cms, CmsElementComparison comparison, String origValue) Formats an xml content value string for display in the value comparison table.abstract List<CmsAttributeComparison> A_CmsAttributeDiff.getDifferences(CmsObject cms, CmsHistoryResourceBean v1, CmsHistoryResourceBean v2) Gets the attribute comparison beans representing the differences.CmsAttributeDiff.getDifferences(CmsObject cms, CmsHistoryResourceBean v1, CmsHistoryResourceBean v2) CmsPropertyDiff.getDifferences(CmsObject cms, CmsHistoryResourceBean v1, CmsHistoryResourceBean v2) static CmsResourceA_CmsAttributeDiff.readResource(CmsObject cms, CmsHistoryResourceBean bean) Reads a historical resource for a history resource bean.Constructors in org.opencms.ui.dialogs.history.diff with parameters of type CmsObjectModifierConstructorDescriptionCmsValueCompareBean(CmsObject cms, CmsElementComparison elemComp) Creates a new instance. -
Uses of CmsObject in org.opencms.ui.dialogs.permissions
Methods in org.opencms.ui.dialogs.permissions with parameters of type CmsObjectModifier and TypeMethodDescriptionstatic StringCmsPermissionBean.getPrincipalNameFromACE(CmsObject cms, CmsAccessControlEntry entry) Get name of principal from ACE.CmsPermissionBean.toAccessControlEntry(CmsObject cms, CmsUUID resID) Creates ACE from bean.Constructors in org.opencms.ui.dialogs.permissions with parameters of type CmsObjectModifierConstructorDescriptionCmsPermissionUserListDialog(CmsObject cms, CmsGroup group) Initializes the dialog for a specific group.CmsPermissionUserListDialog(CmsObject cms, CmsRole role) Initializes the dialog for a specific role.CmsPermissionViewTable(CmsObject cms, List<CmsAccessControlEntry> entries, boolean editable, boolean showRes, Map<CmsUUID, String> parents, CmsPermissionDialog dialog) public constructor. -
Uses of CmsObject in org.opencms.ui.editors
Methods in org.opencms.ui.editors with parameters of type CmsObjectModifier and TypeMethodDescriptionbooleanA_CmsFrameEditor.matchesResource(CmsObject cms, CmsResource resource, boolean plainText) booleanCmsAcaciaEditor.matchesResource(CmsObject cms, CmsResource resource, boolean plainText) booleanCmsSourceEditor.matchesResource(CmsObject cms, CmsResource resource, boolean plainText) booleanI_CmsEditor.matchesResource(CmsObject cms, CmsResource resource, boolean plainText) Checks whether the editor is available for the given resource. -
Uses of CmsObject in org.opencms.ui.editors.messagebundle
Methods in org.opencms.ui.editors.messagebundle with parameters of type CmsObjectModifier and TypeMethodDescriptionstatic CmsResourceCmsMessageBundleEditorTypes.getDescriptor(CmsObject cms, String basename) Returns the bundle descriptor for the bundle with the provided base name.booleanCmsMessageBundleEditor.matchesResource(CmsObject cms, CmsResource resource, boolean plainText) Constructors in org.opencms.ui.editors.messagebundle with parameters of type CmsObject -
Uses of CmsObject in org.opencms.ui.error
Methods in org.opencms.ui.error with parameters of type CmsObjectModifier and TypeMethodDescriptionstatic StringCmsErrorUI.getBootstrapPage(CmsObject cms, Throwable throwable, javax.servlet.http.HttpServletRequest request) Returns the error bootstrap page HTML. -
Uses of CmsObject in org.opencms.ui.favorites
Methods in org.opencms.ui.favorites with parameters of type CmsObjectModifier and TypeMethodDescriptionCmsFavoriteEntry.updateContextAndGetFavoriteUrl(CmsObject cms) Prepares the CmsObject for jumping to this favorite location, and returns the appropriate URL.Constructors in org.opencms.ui.favorites with parameters of type CmsObjectModifierConstructorDescriptionCmsExplorerFavoriteContext(CmsObject cms, CmsFileExplorer explorer) Creates a new instance.CmsFavoriteDAO(CmsObject cms) Creates a new instance.CmsFavoriteDAO(CmsObject cms, String userName) Creates a new instance. -
Uses of CmsObject in org.opencms.ui.login
Methods in org.opencms.ui.login that return CmsObjectModifier and TypeMethodDescriptionCmsLoginController.LoginContext.getCms()Gets the CmsObject.CmsLoginController.UserAgreementHelper.getCms()Methods in org.opencms.ui.login with parameters of type CmsObjectModifier and TypeMethodDescriptionstatic voidCmsTokenValidator.clearToken(CmsObject cms, CmsUser user) Removes an authorization token from the user's additional information.static StringCmsTokenValidator.createToken(CmsObject cms, CmsUser user, long currentTime) Creates a new token for the given user and stores it in the user's additional info.static StringCmsLoginUI.generateLoginHtmlFragment(CmsObject cms, com.vaadin.server.VaadinRequest request) Returns the bootstrap html fragment required to display the login dialog.static StringCmsLoginHelper.getDirectEditPath(CmsObject cms, CmsUserSettings userSettings, boolean forceDirectEdit) Returns the direct edit path from the user settings, ornullif not set.static StringCmsLoginController.getFormLink(CmsObject cms) Returns the link to the login form.CmsLoginHelper.getLoginParameters(CmsObject cms, javax.servlet.http.HttpServletRequest request, boolean workplaceUiRequest) Returns the login parameters for the current request.static StringCmsLoginController.getLoginTarget(CmsObject currentCms, CmsWorkplaceSettings settings, String requestedResource) Gets the login target link.static List<CmsOrganizationalUnit> CmsLoginHelper.getOrgUnitsForLoginDialog(CmsObject cms, String predefOu) Gets the list of OUs which should be selectable in the login dialog.static StringCmsLoginHelper.getStartView(CmsObject cms) Returns the start view.protected voidCmsLoginController.handleError(CmsObject currentCms, String user, Exception e) Handles exceptions during the login process and displays appropriate error messages.protected voidCmsLoginController.initSessionAndSendMessages(CmsObject currentCms, CmsObject loginCms) Switches the session to a new one with the logged in CmsObject.static CmsWorkplaceSettingsCmsLoginHelper.initSiteAndProject(CmsObject cms) Initializes the site and project for a CMS context after login, and returns the workplace settings for the corresponding user.static voidCmsLoginController.logout(CmsObject cms, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Logs out the current user redirecting to the login form afterwards.static booleanCmsForgotPasswordDialog.sendPasswordResetLink(CmsObject cms, String fullUserName, String email) Tries to find a user with the given email address, and if one is found, sends a mail with the password reset link to them.static voidCmsLoginUI.setAdminCmsObject(CmsObject cms) Sets the admin CMS object.voidSets the CMS context.CmsTokenValidator.validateToken(CmsObject cms, String token, long maxAgeMillis) Validates the authentication token against the token stored in the user's additional info.Constructors in org.opencms.ui.login with parameters of type CmsObjectModifierConstructorDescriptionCmsChangePasswordDialog(CmsObject cms, CmsUser user, Locale locale) Creates a new instance.CmsLoginController(CmsObject adminCms, CmsLoginHelper.LoginParameters params) Creates a new instance.CmsPasswordChangeNotification(CmsObject cms, CmsUser receiver, String link, String expiration) Creates a new instance.CmsSetPasswordDialog(CmsObject cms, CmsUser user, Locale locale) Creates a new instance.UserAgreementHelper(CmsObject cms, CmsWorkplaceSettings wpSettings) Creates a new instance. -
Uses of CmsObject in org.opencms.ui.sitemap
Methods in org.opencms.ui.sitemap that return CmsObjectMethods in org.opencms.ui.sitemap with parameters of type CmsObjectModifier and TypeMethodDescriptionvoidCmsSitemapTreeNodeData.initialize(CmsObject cms) Initializes the bean.Constructors in org.opencms.ui.sitemap with parameters of type CmsObjectModifierConstructorDescriptionCmsSitemapTreeController(CmsObject cms, CmsResource root, I_CmsLocaleCompareContext context, com.vaadin.ui.Component parent) Creates a new instance.CmsSitemapTreeDataProvider(CmsObject cms, CmsResource root, I_CmsLocaleCompareContext context) Creates a new instance.TargetInfo(CmsObject cms, String path) Creates a new instance. -
Uses of CmsObject in org.opencms.ui.util
Constructors in org.opencms.ui.util with parameters of type CmsObjectModifierConstructorDescriptionCreates a new instance.Creates a new instance. -
Uses of CmsObject in org.opencms.util
Fields in org.opencms.util declared as CmsObjectModifier and TypeFieldDescriptionprotected CmsObjectCmsMacroResolver.m_cmsThe OpenCms user context to use for resolving macros.Methods in org.opencms.util with parameters of type CmsObjectModifier and TypeMethodDescriptionstatic voidCmsFileUtil.checkResources(CmsObject cms, List<String> resources) Checks if all resources are present.static voidCmsMacroResolver.copyAndResolveMacro(CmsObject cms, String source, String destination, Map<String, String> keyValue, boolean adjustLinks) Copies resources, adjust internal links (if adjustLinks==true) and resolves macros (if keyValue map is set).static voidCmsMacroResolver.copyAndResolveMacro(CmsObject cms, String source, String destination, Map<String, String> keyValue, boolean adjustLinks, CmsResource.CmsResourceCopyMode copyMode) Copies resources, adjust internal links (if adjustLinks==true) and resolves macros (if keyValue map is set).static voidCmsMacroResolver.copyAndResolveMacro(CmsObject cms, String source, String destination, Map<String, String> keyValue, boolean adjustLinks, CmsResource.CmsResourceCopyMode copyMode, I_CmsReport report) Copies resources, adjust internal links (if adjustLinks==true) and resolves macros (if keyValue map is set).org.owasp.validator.html.AntiSamyCmsParameterEscaper.createAntiSamy(CmsObject cms, String policyPath) Creates a new AntiSamy instance for a given policy path.static voidCmsVfsUtil.createFolder(CmsObject cms, String rootPath) Creates a folder and its parent folders if they don't exist.voidCmsParameterEscaper.enableAntiSamy(CmsObject cms, String policyPath, Set<String> params) Enables the AntiSamy HTML cleaning for some parameters.CmsMacroResolver.getBundleMapFromResources(Properties resourceBundle, CmsResource descriptor, CmsObject clonedCms) Reads a bundle (key, value, descriptor) from Descriptor Resource and property resource.static StringCmsHtmlConverter.getConversionSettings(CmsObject cms, CmsResource resource) Reads the content conversion property of a given resource and returns its value.static StringCmsFileUtil.getEncoding(CmsObject cms, CmsResource file) Returns the encoding of the file.static booleanCmsVfsUtil.isDefaultFile(CmsObject cms, CmsResource resource) Checks if the provided resource is a default file.static I_CmsMacroResolverCmsMacroResolver.newWorkplaceLocaleResolver(CmsObject cms) Returns a new macro resolver that loads message keys from the workplace bundle in the user setting's language.static org.owasp.validator.html.PolicyCmsParameterEscaper.readPolicy(CmsObject cms, String sitePath) Helper method for reading an AntiSamy policy file from the VFS.static StringCmsVfsUtil.readPropertyValueWithFolderFallbackForDefaultFiles(CmsObject cms, CmsResource resource, String propertyName, Locale locale) Reads the property value for the provided name and resource.static StringCmsMacroResolver.resolveMacros(String input, CmsObject cms, CmsMessages messages) Resolves the macros in the given input using the provided parameters.CmsMacroResolver.setCmsObject(CmsObject cms) Provides an OpenCms user context to this macro resolver, required to resolve certain macros.static StringCmsXsltUtil.transformCsvContent(CmsObject cms, String xsltFile, String csvContent, String delimiter) Changes content from CSV to xml/html.static StringCmsXsltUtil.transformXmlContent(CmsObject cms, String xsltFile, String xmlContent) Applies a XSLT Transformation to the content. -
Uses of CmsObject in org.opencms.widgets
Methods in org.opencms.widgets with parameters of type CmsObjectModifier and TypeMethodDescriptionprotected voidCmsHtmlWidget.addEmbeddedGalleryOptions(JSONObject result, CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) Adds the configuration for embedded gallery widgets the the JSON object.protected abstract JSONObjectA_CmsAdeGalleryWidget.getAdditionalGalleryInfo(CmsObject cms, String resource, CmsMessages messages, I_CmsWidgetParameter param) Returns additional widget information encapsulated in a JSON object.protected JSONObjectCmsAdeDownloadGalleryWidget.getAdditionalGalleryInfo(CmsObject cms, String resource, CmsMessages messages, I_CmsWidgetParameter param) protected JSONObjectCmsAdeImageGalleryWidget.getAdditionalGalleryInfo(CmsObject cms, String resource, CmsMessages messages, I_CmsWidgetParameter param) protected JSONObjectCmsVfsImageWidget.getAdditionalGalleryInfo(CmsObject cms, String resource, CmsMessages messages, I_CmsWidgetParameter param) A_CmsAdeGalleryWidget.getConfiguration(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) A_CmsCategorizedSelectWidget.getConfiguration(CmsObject cms, A_CmsXmlContentValue contentValue, CmsMessages messages, CmsResource resource, Locale contentLocale) Gets the configuration.A_CmsFormatterWidget.getConfiguration(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) A_CmsGalleryWidget.getConfiguration(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) A_CmsSelectWidget.getConfiguration(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsAccessRestrictionWidget.getConfiguration(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsCalendarWidget.getConfiguration(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsCategoryWidget.getConfiguration(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsCheckboxWidget.getConfiguration(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsCodeWidget.getConfiguration(CmsObject cms, A_CmsXmlContentValue contentValue, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsColorpickerWidget.getConfiguration(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsDependentSelectWidget.getConfiguration(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsDisplayTypeSelectWidget.getConfiguration(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsDisplayWidget.getConfiguration(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsGroupWidget.getConfiguration(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsHtmlWidget.getConfiguration(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsInputWidget.getConfiguration(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsLocalizationWidget.getConfiguration(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsLocationPickerWidget.getConfiguration(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsMultiSelectGroupWidget.getConfiguration(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsPasswordWidget.getConfiguration(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsPrincipalWidget.getConfiguration(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsSelectGroupWidget.getConfiguration(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsSerialDateWidget.getConfiguration(CmsObject cms, A_CmsXmlContentValue contentValue, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsTextareaWidget.getConfiguration(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsTypeComboWidget.getConfiguration(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsTypeFilterWidget.getConfiguration(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsVfsFileWidget.getConfiguration(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) I_CmsADEWidget.getConfiguration(CmsObject cms, A_CmsXmlContentValue contentValue, CmsMessages messages, CmsResource resource, Locale contentLocale) Returns the configuration string for the ADE content editor widget.A_CmsAdeGalleryWidget.getCssResourceLinks(CmsObject cms) A_CmsCategorizedSelectWidget.getCssResourceLinks(CmsObject cms) Gets the css resource links.A_CmsGalleryWidget.getCssResourceLinks(CmsObject cms) A_CmsSelectWidget.getCssResourceLinks(CmsObject cms) Returns a list of CSS resources required by the widget.CmsAddFormatterWidget.getCssResourceLinks(CmsObject cms) CmsCalendarWidget.getCssResourceLinks(CmsObject cms) CmsCategoryWidget.getCssResourceLinks(CmsObject cms) CmsCheckboxWidget.getCssResourceLinks(CmsObject cms) CmsCodeWidget.getCssResourceLinks(CmsObject cms) CmsColorpickerWidget.getCssResourceLinks(CmsObject cms) CmsDisplayWidget.getCssResourceLinks(CmsObject cms) CmsGroupWidget.getCssResourceLinks(CmsObject cms) CmsHtmlWidget.getCssResourceLinks(CmsObject cms) CmsInputWidget.getCssResourceLinks(CmsObject cms) CmsLocalizationWidget.getCssResourceLinks(CmsObject cms) CmsLocationPickerWidget.getCssResourceLinks(CmsObject cms) CmsPasswordWidget.getCssResourceLinks(CmsObject cms) CmsPrincipalWidget.getCssResourceLinks(CmsObject cms) CmsRemoveFormatterWidget.getCssResourceLinks(CmsObject cms) CmsSelectGroupWidget.getCssResourceLinks(CmsObject cms) CmsSerialDateWidget.getCssResourceLinks(CmsObject cms) CmsTextareaWidget.getCssResourceLinks(CmsObject cms) CmsTypeComboWidget.getCssResourceLinks(CmsObject cms) CmsTypeFilterWidget.getCssResourceLinks(CmsObject cms) CmsVfsFileWidget.getCssResourceLinks(CmsObject cms) I_CmsADEWidget.getCssResourceLinks(CmsObject cms) Returns a list of CSS resources required by the widget.protected abstract com.google.web.bindery.autobean.shared.AutoBean<I_CmsCategorizedSelectData> A_CmsCategorizedSelectWidget.getData(CmsObject cms, A_CmsXmlContentValue contentValue, CmsMessages messages, CmsResource resource, Locale contentLocale) Gets the select option data for the widget.I_CmsWidgetParameter.getDefault(CmsObject cms) Returns the default value of this parameter.protected LocaleCmsCategoryWidget.getDefaultLocale(CmsObject cms, String resource) Returns the default locale in the content of the given resource.static StringCmsVfsFileWidget.getDefaultSearchTypes(CmsObject cms, CmsResource resource) Returns a comma separated list of the default search type names.A_CmsWidget.getDialogHtmlEnd(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter value) CmsComboWidget.getDialogHtmlEnd(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) I_CmsWidget.getDialogHtmlEnd(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) Generates the html to include at the end of the dialog for this widget.A_CmsGalleryWidget.getDialogIncludes(CmsObject cms, I_CmsWidgetDialog widgetDialog) A_CmsWidget.getDialogIncludes(CmsObject cms, I_CmsWidgetDialog widgetDialog) CmsCalendarWidget.getDialogIncludes(CmsObject cms, I_CmsWidgetDialog widgetDialog) CmsCategoryWidget.getDialogIncludes(CmsObject cms, I_CmsWidgetDialog widgetDialog) CmsColorpickerWidget.getDialogIncludes(CmsObject cms, I_CmsWidgetDialog widgetDialog) CmsComboWidget.getDialogIncludes(CmsObject cms, I_CmsWidgetDialog widgetDialog) CmsGroupWidget.getDialogIncludes(CmsObject cms, I_CmsWidgetDialog widgetDialog) CmsHtmlWidget.getDialogIncludes(CmsObject cms, I_CmsWidgetDialog widgetDialog) CmsMultiSelectGroupWidget.getDialogIncludes(CmsObject cms, I_CmsWidgetDialog widgetDialog) CmsMultiSelectWidget.getDialogIncludes(CmsObject cms, I_CmsWidgetDialog widgetDialog) CmsOrgUnitWidget.getDialogIncludes(CmsObject cms, I_CmsWidgetDialog widgetDialog) CmsPrincipalWidget.getDialogIncludes(CmsObject cms, I_CmsWidgetDialog widgetDialog) CmsUserWidget.getDialogIncludes(CmsObject cms, I_CmsWidgetDialog widgetDialog) CmsVfsFileWidget.getDialogIncludes(CmsObject cms, I_CmsWidgetDialog widgetDialog) CmsVfsImageWidget.getDialogIncludes(CmsObject cms, I_CmsWidgetDialog widgetDialog) I_CmsWidget.getDialogIncludes(CmsObject cms, I_CmsWidgetDialog widgetDialog) Generates the necessary JavaScript inclusion code for this widget.A_CmsGalleryWidget.getDialogInitCall(CmsObject cms, I_CmsWidgetDialog widgetDialog) A_CmsWidget.getDialogInitCall(CmsObject cms, I_CmsWidgetDialog widgetDialog) CmsColorpickerWidget.getDialogInitCall(CmsObject cms, I_CmsWidgetDialog widgetDialog) CmsComboWidget.getDialogInitCall(CmsObject cms, I_CmsWidgetDialog widgetDialog) CmsHtmlWidget.getDialogInitCall(CmsObject cms, I_CmsWidgetDialog widgetDialog) CmsVfsFileWidget.getDialogInitCall(CmsObject cms, I_CmsWidgetDialog widgetDialog) I_CmsWidget.getDialogInitCall(CmsObject cms, I_CmsWidgetDialog widgetDialog) Generates the initialisation method JavaScript code for this widget.A_CmsGalleryWidget.getDialogInitMethod(CmsObject cms, I_CmsWidgetDialog widgetDialog) A_CmsWidget.getDialogInitMethod(CmsObject cms, I_CmsWidgetDialog widgetDialog) CmsColorpickerWidget.getDialogInitMethod(CmsObject cms, I_CmsWidgetDialog widgetDialog) CmsHtmlWidget.getDialogInitMethod(CmsObject cms, I_CmsWidgetDialog widgetDialog) CmsVfsFileWidget.getDialogInitMethod(CmsObject cms, I_CmsWidgetDialog widgetDialog) I_CmsWidget.getDialogInitMethod(CmsObject cms, I_CmsWidgetDialog widgetDialog) Generates the initialization method JavaScript code for this widget.A_CmsAdeGalleryWidget.getDialogWidget(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) A_CmsCategorizedSelectWidget.getDialogWidget(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) A_CmsGalleryWidget.getDialogWidget(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) CmsCalendarWidget.getDialogWidget(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) CmsCategoryWidget.getDialogWidget(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) CmsCheckboxWidget.getDialogWidget(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) CmsCodeWidget.getDialogWidget(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) CmsColorpickerWidget.getDialogWidget(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) CmsComboWidget.getDialogWidget(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) CmsDisplayWidget.getDialogWidget(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) CmsGroupWidget.getDialogWidget(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) CmsHtmlWidget.getDialogWidget(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) CmsHttpUploadWidget.getDialogWidget(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) CmsInputWidget.getDialogWidget(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) CmsLocalizationWidget.getDialogWidget(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) CmsLocationPickerWidget.getDialogWidget(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) CmsMultiSelectGroupWidget.getDialogWidget(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) CmsMultiSelectWidget.getDialogWidget(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) CmsOrgUnitWidget.getDialogWidget(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) CmsPasswordWidget.getDialogWidget(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) CmsPrincipalWidget.getDialogWidget(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) CmsRadioSelectWidget.getDialogWidget(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) CmsSelectOnChangeReloadWidget.getDialogWidget(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) CmsSelectWidget.getDialogWidget(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) CmsSerialDateWidget.getDialogWidget(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) CmsTextareaWidget.getDialogWidget(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) CmsUserWidget.getDialogWidget(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) CmsVfsFileWidget.getDialogWidget(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) CmsVfsImageWidget.getDialogWidget(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) I_CmsWidget.getDialogWidget(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) Generates the widget HTML for the provided widget parameter.protected abstract List<CmsSelectWidgetOption> A_CmsFormatterWidget.getFormatterOptions(CmsObject cms, CmsADEConfigData config, String rootPath, boolean allRemoved) Gets the options corresponding to external (non-schema) formatters.protected List<CmsSelectWidgetOption> CmsAddFormatterWidget.getFormatterOptions(CmsObject cms, CmsADEConfigData config, String rootPath, boolean allRemoved) protected List<CmsSelectWidgetOption> CmsRemoveFormatterWidget.getFormatterOptions(CmsObject cms, CmsADEConfigData config, String rootPath, boolean allRemoved) protected static List<CmsSelectWidgetOption> CmsAddFormatterWidget.getFormatterOptionsStatic(CmsObject cms, CmsADEConfigData config, String rootPath, boolean allRemoved) Gets the options corresponding to external (non-schema) formatters.I_CmsImageWidgetDynamicConfiguration.getFormatValues(CmsObject cms, CmsMessages widgetDialog, I_CmsWidgetParameter param, List<CmsSelectWidgetOption> selectFormat, List<String> formatValues) Returns the matching format values for the given format select options.A_CmsAdeGalleryWidget.getGalleryOpenParams(CmsObject cms, CmsMessages messages, I_CmsWidgetParameter param, String resource, long hashId) Returns the required gallery open parameters.CmsVfsImageWidget.getGalleryOpenParams(CmsObject cms, CmsMessages widgetDialog, I_CmsWidgetParameter param, String resource, long hashId) A_CmsWidget.getHelpBubble(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) CmsDisplayWidget.getHelpBubble(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) CmsLocationPickerWidget.getHelpBubble(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) I_CmsWidget.getHelpBubble(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) Creates the HTML code for the help bubble for this widget.A_CmsAdeGalleryWidget.getJavaScriptResourceLinks(CmsObject cms) A_CmsCategorizedSelectWidget.getJavaScriptResourceLinks(CmsObject cms) Gets the java script resource links.A_CmsGalleryWidget.getJavaScriptResourceLinks(CmsObject cms) A_CmsSelectWidget.getJavaScriptResourceLinks(CmsObject cms) Returns a list of java script resources required by the widget.CmsAddFormatterWidget.getJavaScriptResourceLinks(CmsObject cms) CmsCalendarWidget.getJavaScriptResourceLinks(CmsObject cms) CmsCategoryWidget.getJavaScriptResourceLinks(CmsObject cms) CmsCheckboxWidget.getJavaScriptResourceLinks(CmsObject cms) CmsCodeWidget.getJavaScriptResourceLinks(CmsObject cms) CmsColorpickerWidget.getJavaScriptResourceLinks(CmsObject cms) CmsDisplayWidget.getJavaScriptResourceLinks(CmsObject cms) CmsGroupWidget.getJavaScriptResourceLinks(CmsObject cms) CmsHtmlWidget.getJavaScriptResourceLinks(CmsObject cms) CmsInputWidget.getJavaScriptResourceLinks(CmsObject cms) CmsLocalizationWidget.getJavaScriptResourceLinks(CmsObject cms) CmsLocationPickerWidget.getJavaScriptResourceLinks(CmsObject cms) CmsPasswordWidget.getJavaScriptResourceLinks(CmsObject cms) CmsPrincipalWidget.getJavaScriptResourceLinks(CmsObject cms) CmsRemoveFormatterWidget.getJavaScriptResourceLinks(CmsObject cms) CmsSelectGroupWidget.getJavaScriptResourceLinks(CmsObject cms) CmsSerialDateWidget.getJavaScriptResourceLinks(CmsObject cms) CmsTextareaWidget.getJavaScriptResourceLinks(CmsObject cms) CmsTypeComboWidget.getJavaScriptResourceLinks(CmsObject cms) CmsTypeFilterWidget.getJavaScriptResourceLinks(CmsObject cms) CmsVfsFileWidget.getJavaScriptResourceLinks(CmsObject cms) I_CmsADEWidget.getJavaScriptResourceLinks(CmsObject cms) Returns a list of java script resources required by the widget.protected JSONObjectCmsVfsFileWidget.getJsonConfig(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) Gets the JSON configuration.protected JSONObjectA_CmsAdeGalleryWidget.getJSONConfig(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) Returns the gallery widget configuration as a JSON object.protected JSONObjectCmsHtmlWidget.getJSONConfiguration(CmsObject cms, CmsResource resource, Locale contentLocale) Returns the WYSIWYG editor configuration as a JSON object.static JSONObjectCmsHtmlWidget.getJSONConfiguration(CmsHtmlWidgetOption widgetOptions, CmsObject cms, CmsResource resource, Locale contentLocale) Returns the WYSIWYG editor configuration as a JSON object.protected StringA_CmsAdeGalleryWidget.getOpenGalleryCall(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param, long hashId) Returns the javascript call to open the gallery widget dialog.protected CmsResourceCmsCategoryWidget.getResource(CmsObject cms, I_CmsWidgetParameter param) Returns the right resource, depending on the locale.protected StringA_CmsSelectWidget.getResourcePath(CmsObject cms, I_CmsWidgetDialog dialog) Gets the resource path for the given dialog.A_CmsNativeComplexWidget.getScripts(CmsObject cms) Gets the list of URLs of scripts which the widget reuires.protected StringA_CmsSelectWidget.getSelectedValue(CmsObject cms, I_CmsWidgetParameter param) Returns the currently selected value of the select widget.protected StringCmsVfsImageWidget.getSelectedValue(CmsObject cms, List<CmsSelectWidgetOption> selectOptions, String currentValue) Returns the currently selected value of the select widget.A_CmsSelectWidget.getSelectedValues(CmsObject cms, I_CmsWidgetParameter param) Returns the currently selected values of the select widget.CmsAddFormatterWidget.getSelectOptionValues(CmsObject cms, String rootPath, boolean allRemoved) Returns all values that can be selected in the widget.CmsCategoryWidget.getStartingCategory(CmsObject cms, String referencePath) Returns the starting category depending on the configuration options.I_CmsGalleryWidgetDynamicConfiguration.getStartup(CmsObject cms, CmsMessages widgetDialog, I_CmsWidgetParameter param) Returns the required information for the initial item list to load.I_CmsImageWidgetDynamicConfiguration.getStartup(CmsObject cms, CmsMessages widgetDialog, I_CmsWidgetParameter param) Returns the required information for the initial image list to load.I_CmsWidgetParameter.getStringValue(CmsObject cms) Returns the value of this parameter.A_CmsNativeComplexWidget.getStyleSheets(CmsObject cms) Gets the list of URLs of stylesheets which are required by the widget.protected StringCmsVfsFileWidget.getTreeToken(CmsObject cms, A_CmsXmlContentValue value, CmsResource resource, Locale contentLocale) Computes the tree token, which is used to decide which preloaded tree, if any, to load for the VFS/sitemap tabs.I_CmsGalleryWidgetDynamicConfiguration.getType(CmsObject cms, CmsMessages widgetDialog, I_CmsWidgetParameter param) Returns the type of the initial item list to load, either gallery or category.I_CmsImageWidgetDynamicConfiguration.getType(CmsObject cms, CmsMessages widgetDialog, I_CmsWidgetParameter param) Returns the type of the initial image list to load, either gallery or category.protected abstract List<CmsSelectWidgetOption> A_CmsFormatterWidget.getTypeOptions(CmsObject cms, CmsADEConfigData config, boolean allRemoved) Gets the options corresponding to the schemas which define formatters.protected List<CmsSelectWidgetOption> CmsAddFormatterWidget.getTypeOptions(CmsObject cms, CmsADEConfigData adeConfig, boolean allRemoved) protected List<CmsSelectWidgetOption> CmsRemoveFormatterWidget.getTypeOptions(CmsObject cms, CmsADEConfigData adeConfig, boolean allRemoved) protected static List<CmsSelectWidgetOption> CmsAddFormatterWidget.getTypeOptionsStatic(CmsObject cms, CmsADEConfigData adeConfig, boolean allRemoved) Gets the options corresponding to the schemas which define formatters.protected CmsGalleryWidgetConfigurationA_CmsAdeGalleryWidget.getWidgetConfiguration(CmsObject cms, CmsMessages messages, I_CmsWidgetParameter param) Returns the widget configuration.protected CmsVfsImageWidgetConfigurationCmsAdeImageGalleryWidget.getWidgetConfiguration(CmsObject cms, CmsMessages messages, I_CmsWidgetParameter param) final CmsComplexWidgetDataA_CmsNativeComplexWidget.getWidgetData(CmsObject cms) CmsDataViewWidget.getWidgetData(CmsObject cms) CmsDefaultComplexWidget.getWidgetData(CmsObject cms) I_CmsComplexWidget.getWidgetData(CmsObject cms) Gets the data needed for the editor to render the complex widget.static CmsSelectWidgetOptionA_CmsFormatterWidget.getWidgetOptionForFormatter(CmsObject cms, I_CmsFormatterBean formatter) Creates a widget option corresponding to a formatter bean for an external formatter.static CmsSelectWidgetOptionA_CmsFormatterWidget.getWidgetOptionForType(CmsObject cms, String typeName) Creates a widget option for a resource type.A_CmsWidget.getWidgetStringValue(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) CmsCalendarWidget.getWidgetStringValue(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) CmsSelectWidget.getWidgetStringValue(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) CmsVfsImageWidget.getWidgetStringValue(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) I_CmsWidget.getWidgetStringValue(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) Returns theprocessed according to the output rules of this widget and the given widget dialog.I_CmsWidgetParameter.getStringValue(CmsObject)protected voidCmsGalleryWidgetConfiguration.init(CmsObject cms, CmsMessages messages, I_CmsWidgetParameter param, String configuration) Initializes the widget configuration using the given configuration string.protected voidCmsVfsImageWidgetConfiguration.init(CmsObject cms, CmsMessages widgetDialog, I_CmsWidgetParameter param, String configuration) Initializes the widget configuration using the given configuration string.protected voidCmsLocalizationWidget.initConfiguration(CmsObject cms, I_CmsWidgetParameter param) Initializes the localized bundle to get the value from, the optional key name and the optional locale.protected voidCmsLocalizationWidget.initConfiguration(CmsObject cms, A_CmsXmlContentValue schemaType) Initializes the localized bundle to get the value from, the optional key name and the optional locale.protected List<CmsSelectWidgetOption> A_CmsFormatterWidget.parseSelectOptions(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) protected List<CmsSelectWidgetOption> A_CmsFormatterWidget.parseSelectOptions(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param, boolean allRemoved) Returns the list of configured select options, parsing the configuration String if required.protected List<CmsSelectWidgetOption> A_CmsSelectWidget.parseSelectOptions(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) Returns the list of configured select options, parsing the configuration String if required.protected List<CmsSelectWidgetOption> CmsDisplayTypeSelectWidget.parseSelectOptions(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) protected List<CmsSelectWidgetOption> CmsElementViewSelectWidget.parseSelectOptions(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) protected List<CmsSelectWidgetOption> CmsMultiSelectGroupWidget.parseSelectOptions(CmsObject cms, CmsMessages messages, I_CmsWidgetParameter param) protected List<CmsSelectWidgetOption> CmsMultiSelectGroupWidget.parseSelectOptions(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) protected List<CmsSelectWidgetOption> CmsOrgUnitWidget.parseSelectOptions(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) protected List<CmsSelectWidgetOption> CmsSelectGroupWidget.parseSelectOptions(CmsObject cms, CmsMessages messages, I_CmsWidgetParameter param) Returns the list of configured select options, parsing the configuration String if required.protected List<CmsSelectWidgetOption> CmsSelectGroupWidget.parseSelectOptions(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) protected List<CmsSelectWidgetOption> CmsUserWidget.parseSelectOptions(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) A_CmsHtmlWidget.parseWidgetOptions(CmsObject cms) Creates a CmsHtmlWidgetOption instance from the configuration string.voidA_CmsHtmlWidget.setEditorValue(CmsObject cms, Map<String, String[]> formParameters, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) voidA_CmsWidget.setEditorValue(CmsObject cms, Map<String, String[]> formParameters, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) voidCmsCalendarWidget.setEditorValue(CmsObject cms, Map<String, String[]> formParameters, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) voidCmsCategoryWidget.setEditorValue(CmsObject cms, Map<String, String[]> formParameters, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) voidCmsCheckboxWidget.setEditorValue(CmsObject cms, Map<String, String[]> formParameters, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) voidCmsColorpickerWidget.setEditorValue(CmsObject cms, Map<String, String[]> formParameters, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) voidCmsHtmlWidget.setEditorValue(CmsObject cms, Map<String, String[]> formParameters, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) voidCmsInputWidgetPlaintext.setEditorValue(CmsObject cms, Map<String, String[]> formParameters, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) voidCmsLocalizationWidget.setEditorValue(CmsObject cms, Map<String, String[]> formParameters, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) voidCmsMultiSelectGroupWidget.setEditorValue(CmsObject cms, Map<String, String[]> formParameters, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) voidCmsMultiSelectWidget.setEditorValue(CmsObject cms, Map<String, String[]> formParameters, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) voidCmsTextareaWidgetPlaintext.setEditorValue(CmsObject cms, Map<String, String[]> formParameters, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) voidCmsVfsImageWidget.setEditorValue(CmsObject cms, Map<String, String[]> formParameters, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) voidI_CmsWidget.setEditorValue(CmsObject cms, Map<String, String[]> formParameters, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) Sets the value of in the given widget parameter by reading the "right" value from the offered map of parameters.static voidCmsMultiSelectWidget.setMultiSelectEditorValue(CmsObject cms, Map<String, String[]> formParameters, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) Sets the value of the widget parameter from the provided form parameters.voidI_CmsWidgetParameter.setStringValue(CmsObject cms, String value) Sets the value of this parameter.Constructors in org.opencms.widgets with parameters of type CmsObjectModifierConstructorDescriptionCmsGalleryWidgetConfiguration(CmsObject cms, CmsMessages widgetDialog, I_CmsWidgetParameter param, String configuration) Generates an initialized configuration for the gallery item widget using the given configuration string.CmsVfsImageWidgetConfiguration(CmsObject cms, CmsMessages widgetDialog, I_CmsWidgetParameter param, String configuration) Generates an initialized configuration for the image widget using the given configuration string.SearchTypesFactory(CmsObject cms, CmsResource resource) Constructor. -
Uses of CmsObject in org.opencms.widgets.dataview
Methods in org.opencms.widgets.dataview with parameters of type CmsObjectModifier and TypeMethodDescriptionvoidI_CmsDataView.initialize(CmsObject cms, String configData, Locale locale) Initializes this data view instance. -
Uses of CmsObject in org.opencms.workflow
Fields in org.opencms.workflow declared as CmsObjectModifier and TypeFieldDescriptionprotected CmsObjectA_CmsWorkflowManager.m_adminCmsThe CMS context with admin privileges.Methods in org.opencms.workflow with parameters of type CmsObjectModifier and TypeMethodDescriptionprotected CmsWorkflowResponseCmsDefaultWorkflowManager.actionForcePublish(CmsObject userCms, CmsPublishOptions options, List<CmsResource> resources) The implementation of the "forcepublish" workflow action.protected CmsWorkflowResponseCmsDefaultWorkflowManager.actionPublish(CmsObject userCms, CmsPublishOptions options, List<CmsResource> resources) The implementation of the "publish" workflow action.protected CmsWorkflowResponseCmsExtendedWorkflowManager.actionRelease(CmsObject userCms, List<CmsResource> resources) Implementation of the 'release' workflow action.protected voidCmsExtendedWorkflowManager.checkNewParentsInList(CmsObject userCms, List<CmsResource> resources) Checks that the parent folders of new resources which are released are either not new or are also released.protected List<CmsResource> CmsDefaultWorkflowManager.cleanUpInvalidResourcesFromUserPublishList(CmsObject cms, List<CmsResource> resources) Removes invalid publish resources (those that are unchanged, or can't be found) from the user's publish list, and only returns those which are not invalid.CmsDefaultWorkflowManager.createFormatter(CmsObject cms, CmsWorkflow workflow, CmsPublishOptions options) CmsExtendedWorkflowManager.createFormatter(CmsObject cms, CmsWorkflow workflow, CmsPublishOptions options) I_CmsWorkflowManager.createFormatter(CmsObject cms, CmsWorkflow workflow, CmsPublishOptions options) Creates the formatter for formatting the resources to be displayed to the user.static CmsProjectBeanCmsDefaultWorkflowManager.createProjectBeanFromProject(CmsObject cms, CmsProject project) Creates a project bean from a real project.CmsDefaultWorkflowManager.executeAction(CmsObject cms, CmsWorkflowAction action, CmsPublishListToken token) CmsDefaultWorkflowManager.executeAction(CmsObject userCms, CmsWorkflowAction action, CmsPublishOptions options, List<CmsResource> resources) CmsExtendedWorkflowManager.executeAction(CmsObject userCms, CmsWorkflowAction action, CmsPublishOptions options, List<CmsResource> resources) I_CmsWorkflowManager.executeAction(CmsObject cms, CmsWorkflowAction action, CmsPublishListToken token) Executes a workflow action for a publish list token instead of a resource list.I_CmsWorkflowManager.executeAction(CmsObject userCms, CmsWorkflowAction action, CmsPublishOptions options, List<CmsResource> resources) Executes a workflow action in the context of the current user.protected StringCmsExtendedWorkflowManager.generateProjectDescription(CmsObject userCms) Generates the description for a new workflow project based on the user for whom it is created.protected StringCmsExtendedWorkflowManager.generateProjectName(CmsObject userCms) Generates the name for a new workflow project based on the user for whom it is created.protected StringCmsExtendedWorkflowManager.generateProjectName(CmsObject userCms, boolean shortTime) Generates the name for a new workflow project based on the user for whom it is created.Gets the localized label for a given CMS context and key.protected LocaleGets the locale to use for a given CMS context.CmsDefaultWorkflowManager.getManageableProjects(CmsObject cms, Map<String, String> params) I_CmsWorkflowManager.getManageableProjects(CmsObject cms, Map<String, String> params) Returns the current user's manageable projects.protected StringCmsExtendedWorkflowManager.getNotificationResource(CmsObject cms) Gets the resource notification content path.static StringCmsDefaultPublishResourceFormatter.getOuAwareName(CmsObject cms, String name) Returns the simple name if the ou is the same as the current user's ou.protected static StringCmsDefaultWorkflowManager.getOuAwareName(CmsObject cms, String name) Returns the simple name if the ou is the same as the current user's ou.protected CmsWorkflowResponseCmsExtendedWorkflowManager.getPublishBrokenRelationsResponse(CmsObject userCms, List<CmsPublishResource> publishResources) Helper method for generating the workflow response which should be sent when publishing the resources would break relations.CmsDefaultWorkflowManager.getPublishListToken(CmsObject cms, CmsWorkflow workflow, CmsPublishOptions options) I_CmsWorkflowManager.getPublishListToken(CmsObject cms, CmsWorkflow workflow, CmsPublishOptions options) Gets a publish list token for the given parameters which can be used later to reconstruct the publish list.CmsExtendedRealProjectWrapper.getResources(CmsObject cms, Map<String, String> params, String workflowId) CmsDefaultWorkflowManager.getWorkflowResources(CmsObject cms, CmsWorkflow workflow, CmsPublishOptions options, boolean canOverride, boolean ignoreLimit) CmsExtendedWorkflowManager.getWorkflowResources(CmsObject cms, CmsWorkflow workflow, CmsPublishOptions options, boolean canOverrideWorkflow, boolean ignoreLimit) I_CmsWorkflowManager.getWorkflowResources(CmsObject cms, CmsWorkflow workflow, CmsPublishOptions options, boolean canOverride, boolean ignoreLimit) Returns the resources for the given workflow and project.CmsDefaultWorkflowManager.getWorkflows(CmsObject cms) CmsExtendedWorkflowManager.getWorkflows(CmsObject cms) I_CmsWorkflowManager.getWorkflows(CmsObject cms) Returns the available workflows for the current user.voidA_CmsWorkflowManager.initialize(CmsObject adminCms) voidCmsDefaultWorkflowManager.initialize(CmsObject adminCms) voidCmsExtendedWorkflowManager.initialize(CmsObject adminCms) voidI_CmsWorkflowManager.initialize(CmsObject adminCms) Initializes this workflow manager instance.protected booleanCmsExtendedWorkflowManager.isProjectManager(CmsObject userCms) Checks whether the user for a given CMS context can manage workflow projects.protected voidCmsExtendedWorkflowManager.sendNotification(CmsObject userCms, CmsUser recipient, CmsProject workflowProject, List<CmsResource> resources) Sends the notification for released resources.Constructors in org.opencms.workflow with parameters of type CmsObjectModifierConstructorDescriptionConstructor.Constructor.CmsWorkflowNotification(CmsObject adminCms, CmsObject userCms, CmsUser receiver, String notificationContent, CmsProject project, List<CmsResource> resources, String link) Creates a new workflow notification mail object. -
Uses of CmsObject in org.opencms.workplace
Methods in org.opencms.workplace that return CmsObjectModifier and TypeMethodDescriptionCmsWorkplace.getCms()Returns the initialized cms object for the current user.Methods in org.opencms.workplace with parameters of type CmsObjectModifier and TypeMethodDescriptionstatic booleanCmsWorkplace.canEditPermissionsForRoles(CmsObject cms, String path) Checks if permissions for roles should be editable for the current user on the resource with the given path.voidCmsWorkplaceManager.checkAdeGalleryUpload(CmsObject cms) Checks if the user in the given context has permissions for uploading.voidCmsWorkplaceManager.checkWorkplaceRequest(javax.servlet.http.HttpServletRequest request, CmsObject cms) Checks whether the workplace is accessed through the workplace server, and sends an error message otherwise.CmsWorkplaceManager.createTempFile(CmsObject cms, String resourceName, CmsUUID currentProjectId) Creates a temporary file which is needed while working in an editor with preview option.static StringCmsWorkplace.generateCssStyle(CmsObject cms) Returns the style sheets for the report.static StringCmsWorkplace.generatePageStartExtended(CmsObject cms, String encoding) Generates the header for the extended report view.longCmsWorkplaceManager.getFileBytesMaxUploadSize(CmsObject cms) Returns the value (in bytes) for the maximum file upload size of the current user.CmsRepositoryFolderHandler.getRepositoryFolder(CmsObject cms, String reference, String type) I_CmsRepositoryFolderHandler.getRepositoryFolder(CmsObject cms, String reference, String type) Returns the repository folder to store new contents in.static StringCmsWorkplace.getStartSiteRoot(CmsObject cms, CmsUserSettings userSettings) Returns the start site from the given user settings.static StringCmsWorkplace.getStartSiteRoot(CmsObject cms, CmsWorkplaceSettings settings) Returns the start site from the given workplace settings.CmsWorkplaceManager.getUploadHook(CmsObject cms, String uploadFolder) Gets the upload hook URI which should be opened for an upload to a given folder.I_CmsPostUploadDialogHandler.getUploadHook(CmsObject cms, String uploadFolderSitePath) Gets the upload hook URI.static StringCmsWorkplace.getWorkplaceExplorerLink(CmsObject cms, String explorerRootPath) Creates a link for the OpenCms workplace that will reload the whole workplace, switch to the explorer view, the site of the given explorerRootPath and show the folder given in the explorerRootPath.CmsWorkplaceManager.getWorkplaceLocale(CmsObject cms) Returns the workplace locale from the current user's settings.static CmsWorkplaceSettingsCmsWorkplace.getWorkplaceSettings(CmsObject cms, javax.servlet.http.HttpServletRequest req) Returns the workplace settings of the current user.voidCmsWorkplaceManager.initHandler(CmsObject cms) voidCmsWorkplaceManager.initialize(CmsObject cms) Initializes the workplace manager with the OpenCms system configuration.CmsWorkplaceLoginHandler.initResource(CmsResource resource, CmsObject cms, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) static CmsWorkplaceSettingsCmsWorkplace.initUserSettings(CmsObject cms, CmsWorkplaceSettings settings, boolean update) Updates the user settings in the given workplace settings for the current user, reading the user settings from the database if required.protected voidCmsWorkplace.initWorkplaceMembers(CmsObject cms, javax.servlet.http.HttpSession session) Initializes this workplace class instance.static CmsWorkplaceSettingsCmsWorkplace.initWorkplaceSettings(CmsObject cms, CmsWorkplaceSettings settings, boolean update) Updates the given workplace settings, also re-initializing the state of the Workplace to the users preferences (for example setting the startup site and project).booleanCmsWorkplaceManager.isAdeGalleryUploadDisabled(CmsObject cms) Returns true if gallery upload is disabled for the user in the given context.voidCmsWorkplaceSettings.setExplorerResource(String value, CmsObject cms) Sets the current resource to be displayed in the explorer.voidCmsWorkplaceManager.setFileViewSettings(CmsObject cms, CmsRfsFileViewer fileViewSettings) Sets the system-wide file view settings for the workplace.static voidCmsWorkplace.updateUserPreferences(CmsObject cms, javax.servlet.http.HttpServletRequest req) Updates the user preferences after changes have been made.Constructors in org.opencms.workplace with parameters of type CmsObjectModifierConstructorDescriptionCmsWorkplace(CmsObject cms, javax.servlet.http.HttpSession session) Constructor in case no page context is available. -
Uses of CmsObject in org.opencms.workplace.comparison
Methods in org.opencms.workplace.comparison with parameters of type CmsObjectModifier and TypeMethodDescriptionstatic List<CmsAttributeComparison> CmsResourceComparison.compareAttributes(CmsObject cms, CmsResource resource1, CmsResource resource2) Helper method that collects all meta attributes of the two file versions and finds out, which of the attributes were added, removed, modified or remain unchanged.static List<CmsAttributeComparison> CmsResourceComparison.compareProperties(CmsObject cms, CmsResource resource1, String version1, CmsResource resource2, String version2) Helper method that finds out, which of the properties were added, removed, modified or remain unchanged.static StringCmsHistoryListUtil.getHistoryLink(CmsObject cms, CmsUUID structureId, String version) Returns the link to an historical file.Constructors in org.opencms.workplace.comparison with parameters of type CmsObjectModifierConstructorDescriptionCmsXmlDocumentComparison(CmsObject cms, CmsFile res1, CmsFile res2) Creates a new xml document comparison. -
Uses of CmsObject in org.opencms.workplace.editors
Methods in org.opencms.workplace.editors that return CmsObjectModifier and TypeMethodDescriptionprotected CmsObjectCmsEditor.getCloneCms()Returns a cloned cms instance that prevents the time range resource filter check.Methods in org.opencms.workplace.editors with parameters of type CmsObjectModifier and TypeMethodDescriptionstatic booleanCmsWorkplaceEditorManager.checkAcaciaEditorAvailable(CmsObject cms, CmsResource resource) Checks whether GWT widgets are available for all fields of a content.static List<CmsDialogElement> CmsDialogElements.computeElements(CmsObject cms, String xmlPageUri, Locale locale) Creates a list of possible elements of a template from the template property "template-elements" and the elements available in the provided resource file.static List<CmsDialogElement> CmsDialogElements.computeElements(CmsObject cms, CmsXmlPage xmlPage, String xmlPageUri, Locale locale) Creates a list of possible elements of a template from the template property "template-elements" and the elements available in the provided xmlPage.CmsEditorDisplayOptions.getDisplayOptions(CmsObject cms) Reads the editor configuration file valid for the current user and caches the result in a Map.CmsWorkplaceEditorManager.getEditorParameter(CmsObject cms, String editor, String param) Gets the value of a global editor configuration parameter.CmsEditorHandler.getEditorUri(CmsObject cms, String resourceType, String userAgent, boolean loadDefault) I_CmsEditorHandler.getEditorUri(CmsObject cms, String resourceType, String userAgent, boolean loadDefault) Returns the editor URI which will be used for the selected resource type.protected StringCmsEditor.getFileEncoding(CmsObject cms, String filename) Helper method to determine the encoding of the given file in the VFS, which must be set using the "content-encoding" property.CmsEditorCssHandlerDefault.getUriStyleSheet(CmsObject cms, String editedResourcePath) I_CmsEditorCssHandler.getUriStyleSheet(CmsObject cms, String editedResourcePath) Returns the absolute VFS path of the CSS style sheet to use.booleanbooleanChecks if the handler can be used to determine the CSS style sheet based on the edited resource.Constructors in org.opencms.workplace.editors with parameters of type CmsObjectModifierConstructorDescriptionCreates a new editor manager.Creates a new widget collector node visitor.CmsXmlContentWidgetVisitor(CmsObject cms, Locale locale) Creates a new widget collector node visitor. -
Uses of CmsObject in org.opencms.workplace.editors.directedit
Fields in org.opencms.workplace.editors.directedit declared as CmsObjectModifier and TypeFieldDescriptionprotected CmsObjectA_CmsDirectEditProvider.m_cmsThe current users OpenCms context.Methods in org.opencms.workplace.editors.directedit with parameters of type CmsObjectModifier and TypeMethodDescriptionCmsDateSeriesEditHandler.getDeleteOptions(CmsObject cms, CmsContainerElementBean elementBean, CmsUUID pageContextId, Map<String, String[]> requestParams) I_CmsEditHandler.getDeleteOptions(CmsObject cms, CmsContainerElementBean elementBean, CmsUUID pageContextId, Map<String, String[]> requestParams) Returns a map of delete options.CmsDateSeriesEditHandler.getEditOptions(CmsObject cms, CmsContainerElementBean elementBean, CmsUUID pageContextId, Map<String, String[]> requestParams, boolean isListElement) I_CmsEditHandler.getEditOptions(CmsObject cms, CmsContainerElementBean elementBean, CmsUUID pageContextId, Map<String, String[]> requestParams, boolean isListElement) Returns a map of edit options.static StringMessages.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.CmsDateSeriesEditHandler.getNewOptions(CmsObject cms, CmsContainerElementBean elementBean, CmsUUID pageContextId, Map<String, String[]> requestParam) I_CmsEditHandler.getNewOptions(CmsObject cms, CmsContainerElementBean elementBean, CmsUUID pageContextId, Map<String, String[]> requestParam) Gets the options for the 'New' (plus) operation in the page editor.voidCmsDateSeriesEditHandler.handleDelete(CmsObject cms, CmsContainerElementBean elementBean, String deleteOption, CmsUUID pageContextId, Map<String, String[]> requestParams) voidI_CmsEditHandler.handleDelete(CmsObject cms, CmsContainerElementBean elementBean, String deleteOption, CmsUUID pageContextId, Map<String, String[]> requestParams) Executes the actual delete.CmsDateSeriesEditHandler.handleNew(CmsObject cms, String newLink, Locale locale, String referenceSitePath, String modelFileSitePath, String postCreateHandler, CmsContainerElementBean element, CmsUUID pageId, Map<String, String[]> requestParams, String choice) I_CmsEditHandler.handleNew(CmsObject cms, String newLink, Locale locale, String referenceSitePath, String modelFileSitePath, String postCreateHandler, CmsContainerElementBean element, CmsUUID pageId, Map<String, String[]> requestParams, String choice) Creates a new resource to edit.voidA_CmsDirectEditProvider.init(CmsObject cms, CmsDirectEditMode mode, String fileName) voidCmsDirectEditDefaultProvider.init(CmsObject cms, CmsDirectEditMode mode, String fileName) voidCmsDirectEditJQueryProvider.init(CmsObject cms, CmsDirectEditMode mode, String fileName) voidCmsDirectEditJspIncludeProvider.init(CmsObject cms, CmsDirectEditMode mode, String fileName) voidI_CmsDirectEditProvider.init(CmsObject cms, CmsDirectEditMode mode, String fileName) Initialize method for a new instance of the direct edit provider.CmsDateSeriesEditHandler.prepareForEdit(CmsObject cms, CmsContainerElementBean elementBean, String editOption, CmsUUID pageContextId, Map<String, String[]> requestParams) I_CmsEditHandler.prepareForEdit(CmsObject cms, CmsContainerElementBean elementBean, String editOption, CmsUUID pageContextId, Map<String, String[]> requestParams) Prepares the resource to be edited. -
Uses of CmsObject in org.opencms.workplace.explorer
Methods in org.opencms.workplace.explorer that return CmsObjectMethods in org.opencms.workplace.explorer with parameters of type CmsObjectModifier and TypeMethodDescriptionCmsExplorerTypeAccess.getPermissions(CmsObject cms, CmsResource resource) Calculates the permissions for this explorer type settings for the user in the given OpenCms user context.booleanCmsExplorerTypeSettings.isEditable(CmsObject cms, CmsResource resource) Checks if the current user has write permissions on the given resource.voidSets the cms context.Constructors in org.opencms.workplace.explorer with parameters of type CmsObjectModifierConstructorDescriptionCmsResourceUtil(CmsObject cms) Creates a newCmsResourceUtilobject.CmsResourceUtil(CmsObject cms, CmsResource resource) Creates a newCmsResourceUtilobject. -
Uses of CmsObject in org.opencms.workplace.galleries
Methods in org.opencms.workplace.galleries with parameters of type CmsObjectModifier and TypeMethodDescriptionstatic List<CmsResource> A_CmsAjaxGallery.getGalleries(int galleryTypeId, CmsObject cms) Returns a list of galleries which have the required gallery type id. -
Uses of CmsObject in org.opencms.workplace.threads
Constructors in org.opencms.workplace.threads with parameters of type CmsObjectModifierConstructorDescriptionCmsDatabaseImportThread(CmsObject cms, String importFile, boolean keepPermissions) Imports an OpenCms export file into the VFS.CmsExportThread(CmsObject cms, I_CmsImportExportHandler handler, boolean old) Creates a new data export thread.Constructor, creates a new CmsExternLinkValidationThread.CmsModuleDeleteThread(CmsObject cms, List<String> moduleNames, boolean replaceMode) Creates the module delete thread.CmsModuleReplaceThread(CmsObject cms, String moduleName, String zipName) Creates the module replace thread.CmsProjectDeleteThread(CmsObject cms, CmsUUID projectId) Creates the project delete thread.Creates a thread that validates the relations for all files of the current project.CmsRelationsValidatorThread(CmsObject cms, CmsPublishList publishList, CmsWorkplaceSettings settings) Creates a thread that validates the relations in the list of unpublished file(s) of the current (offline) project.Creates the synchronize Thread.Default constructor with cms object that is used for VFS path validation.CmsXmlContentRepairThread(CmsObject cms, CmsXmlContentRepairSettings settings) Creates a repair XML content resources thread. -
Uses of CmsObject in org.opencms.workplace.tools
Methods in org.opencms.workplace.tools with parameters of type CmsObjectModifier and TypeMethodDescriptionvoidCalled by themethod.CmsWorkplaceManager.initialize(CmsObject)booleanbooleanbooleanbooleanbooleanbooleanReturns the state of the admin tool for a given cms context.booleanbooleanbooleanbooleanbooleanReturns the visibility flag for a given cms context.protected voidSets the link for the given resource.protected voidA_CmsToolHandler.setParameters(CmsObject cms, String resourcePath) Sets the needed properties from theA_CmsToolHandler.ARGS_PROPERTY_DEFINITIONproperty of the given resource.booleanA_CmsToolHandler.setup(CmsObject cms, CmsToolRootHandler root, String resourcePath) Default implementation.booleanCmsToolRootHandler.setup(CmsObject cms, CmsToolRootHandler root, String resourcePath) booleanI_CmsToolHandler.setup(CmsObject cms, CmsToolRootHandler root, String resourcePath) Main method that somehow setups the admin tool handler. -
Uses of CmsObject in org.opencms.xml
Methods in org.opencms.xml with parameters of type CmsObjectModifier and TypeMethodDescriptionorg.dom4j.ElementCmsXmlContentDefinition.addDefaultXml(CmsObject cms, I_CmsXmlDocument document, org.dom4j.Element root, Locale locale) Adds the missing default XML according to this content definition to the given document element.voidAdds the given locale to this XML document.A_CmsXmlDocument.correctXmlStructure(CmsObject cms) Corrects the structure of this XML document.org.dom4j.ElementCmsXmlContentDefinition.createDefaultXml(CmsObject cms, I_CmsXmlDocument document, org.dom4j.Element root, Locale locale) Generates the default XML content for this content definition, and append it to the given root element.org.dom4j.DocumentCmsXmlContentDefinition.createDocument(CmsObject cms, I_CmsXmlDocument document, Locale locale) Generates a valid XML document according to the XML schema of this content definition.org.dom4j.ElementCmsXmlContentDefinition.createLocale(CmsObject cms, I_CmsXmlDocument document, org.dom4j.Element root, Locale locale) Generates a valid locale (language) element for the XML schema of this content definition.static CmsXmlContentDefinitionCmsXmlContentDefinition.getContentDefinitionForResource(CmsObject cms, CmsResource resource) Factory method that returns the XML content definition instance for a given resource.static CmsXmlContentDefinitionCmsXmlContentDefinition.getContentDefinitionForType(CmsObject cms, String typeName) Reads the content definition which is configured for a resource type.static I_CmsXmlContentHandlerCmsXmlContentDefinition.getContentHandlerForResource(CmsObject cms, CmsResource resource) Returns a content handler instance for the given resource.I_CmsXmlDocument.getLinkProcessor(CmsObject cms, CmsLinkTable linkTable) Returns a link processor for the values of this XML document.A_CmsXmlDocument.getStringValue(CmsObject cms, String path, Locale locale) A_CmsXmlDocument.getStringValue(CmsObject cms, String path, Locale locale, int index) I_CmsXmlDocument.getStringValue(CmsObject cms, String path, Locale locale) Returns the first content value for the given path as a String, ornullif no such value exists.I_CmsXmlDocument.getStringValue(CmsObject cms, String path, Locale locale, int index) Returns the content value for the given path and the selected index as a String, ornullif no such value exists.voidCmsXmlContentTypeManager.initialize(CmsObject cms) Initializes XML content types managed in this XML content type manager.protected static voidCmsXmlEntityResolver.initialize(CmsObject adminCms, byte[] typeSchemaBytes) Initialize the OpenCms XML entity resolver.static CmsXmlContentDefinitionFactory method to unmarshal (read) a XML content definition instance from the OpenCms VFS resource name.Validates the content of this XML document.Constructors in org.opencms.xml with parameters of type CmsObjectModifierConstructorDescriptionCreates a new XML entity resolver based on the provided CmsObject.CmsXmlFileTransformer(CmsObject cms, String path, String type, String xslName, InputStream xslStream, I_CmsReport report) Creates a new instance. -
Uses of CmsObject in org.opencms.xml.containerpage
Methods in org.opencms.xml.containerpage with parameters of type CmsObjectModifier and TypeMethodDescriptionprotected voidCmsXmlContainerPage.checkLinkConcistency(CmsObject cms) Checks the link consistency for a given locale and reinitializes the document afterwards.protected CmsContainerPageBeanCmsXmlContainerPage.cleanupContainersContainers(CmsObject cms, CmsContainerPageBean cntPage) Removes all empty containers and merges the containers of the current document that are not used in the given container page with it.static CmsFormatterConfigurationCmsFormatterConfiguration.create(CmsObject cms, List<I_CmsFormatterBean> formatters) Returns the formatter configuration for the current project based on the given list of formatters.byte[]CmsXmlContainerPage.createContainerPageXml(CmsObject cms, CmsContainerPageBean cntPage) Saves a container page bean to the in-memory XML structure and returns the changed content.static CmsXmlContainerPageCmsXmlContainerPageFactory.createDocument(CmsObject cms, Locale locale, String modelUri) Create a new instance of an container page based on the given default content, that will have all language nodes of the default content and ensures the presence of the given locale.static CmsXmlContainerPageCmsXmlContainerPageFactory.createDocument(CmsObject cms, Locale locale, String encoding, CmsXmlContentDefinition contentDefinition) Create a new instance of a container page based on the given content definition, that will have one language node for the given locale all initialized with default values.static CmsXmlGroupContainerCmsXmlGroupContainerFactory.createDocument(CmsObject cms, Locale locale, String modelUri) Create a new instance of an group container based on the given default content, that will have all language nodes of the default content and ensures the presence of the given locale.static CmsXmlGroupContainerCmsXmlGroupContainerFactory.createDocument(CmsObject cms, Locale locale, String encoding, CmsXmlContentDefinition contentDefinition) Create a new instance of a group container based on the given content definition, that will have one language node for the given locale all initialized with default values.static CmsContainerElementBeanCmsContainerElementBean.createElementForResourceType(CmsObject cms, I_CmsResourceType resourceType, String targetFolder, Map<String, String> individualSettings, boolean isCopyModels, Locale locale) Creates an element bean for the given resource type.CmsLazyFolder.createFolder(CmsObject cms) Creates the folder with the given name if it doesn't already exist, and returns it.I_CmsADEConfiguration.createNewElement(CmsObject cms, String cntPageUri, javax.servlet.ServletRequest request, String type, Locale locale) Creates a new element of a given type at the configured location.protected CmsResourceCmsXmlContainerPage.fillResource(CmsObject cms, org.dom4j.Element element, CmsUUID resourceId) Fills aCmsXmlVfsFileValuewith the resource identified by the given id.protected voidCmsXmlGroupContainer.fillResource(CmsObject cms, org.dom4j.Element element, CmsResource res) Fills aCmsXmlVfsFileValuewith the resource identified by the given id.protected List<CmsDynamicFunctionBean.Format> CmsDynamicFunctionParser.getAdditionalFormats(CmsObject cms, I_CmsXmlContentLocation location, CmsResource functionRes) Parses all the additional formats from the XML content.static CmsADESessionCacheGets the session cache for the current session.CmsConfigurationFileFinder.getConfigurationFile(CmsObject cms, String containerPageUri) Returns the configuration file to use.CmsXmlContainerPage.getContainerPage(CmsObject cms) Gets the container page content as a bean.I_CmsADEConfiguration.getCreatableElements(CmsObject cms, String cntPageUri, javax.servlet.ServletRequest request) Returns the list of creatable elements.CmsXmlGroupContainerHandler.getCSSHeadIncludes(CmsObject cms, CmsResource resource) CmsXmlInheritGroupContainerHandler.getCSSHeadIncludes(CmsObject cms, CmsResource resource) intI_CmsADEConfiguration.getFavoriteListMaxSize(CmsObject cms) Returns the maximal size of the favorite list.Returns the folder if it already exists, or null if it doesn't.CmsDynamicFunctionBean.getFormatForContainer(CmsObject cms, String type, int width) Finds the correct format for a given container type and width.CmsXmlDynamicFunctionHandler.getFormatterConfiguration(CmsObject cms, CmsResource resource) I_CmsADEConfiguration.getFormattersForResource(CmsObject cms, String containerPageRootPath, CmsResource res) Returns the formatter configuration for a given resource.protected CmsResourceCmsDynamicFunctionParser.getFunctionFormatter(CmsObject cms) Gets the function formatter resource, possibly from the cache.CmsXmlGroupContainer.getGroupContainer(CmsObject cms) Returns the group container bean for the given locale.CmsXmlGroupContainerHandler.getJSHeadIncludes(CmsObject cms, CmsResource resource) CmsXmlInheritGroupContainerHandler.getJSHeadIncludes(CmsObject cms, CmsResource resource) protected LocaleCmsDynamicFunctionParser.getLocaleToUse(CmsObject cms, CmsXmlContent xmlContent) Gets the locale to use for parsing the dynamic function.protected CmsDynamicFunctionBean.FormatCmsDynamicFunctionParser.getMainFormat(CmsObject cms, I_CmsXmlContentLocation location, CmsResource functionRes) Parses the main format from the XML content.I_CmsADEConfiguration.getNextNewFileName(CmsObject cms, String cntPageUri, javax.servlet.ServletRequest request, String type) Returns the name of the next new file of the given type to be created.CmsLazyFolder.getOrCreateFolder(CmsObject cms) Returns the folder if it already exists, or creates and returns it if it doesn't.CmsXmlContainerPage.getOriginalContainerPage(CmsObject cms) Gets the container page content as a bean.CmsLazyFolder.getPermissionCheckFolder(CmsObject cms) Returns the folder to check for permissions, which is either the folder itself if it already exists, or the parent folder if it doesn't.intI_CmsADEConfiguration.getRecentListMaxSize(CmsObject cms) Returns the maximal size of the recent list.I_CmsADEConfiguration.getSearchableResourceTypes(CmsObject cms, String cntPageUri, javax.servlet.ServletRequest request) Returns the list of searchable resource types.CmsXmlDynamicFunctionHandler.getSettings(CmsObject cms, CmsResource res) CmsLazyFolder.getSitePath(CmsObject cms) Computes the site path of the folder, which is either the original path constructor argument, or the site path of the original resource constructor argument.protected StringCmsDynamicFunctionParser.getString(CmsObject cms, I_CmsXmlContentValueLocation location) Gets the string value of an XML content location.protected StringCmsDynamicFunctionParser.getStringValue(CmsObject cms, I_CmsXmlContentValueLocation location, String defaultValue) Converts a (possibly null) content value location to a string.voidInitializes the configuration.voidCmsXmlContainerPage.initDocument(CmsObject cms) Calls initDocument, but with a different CmsObjectprotected voidCmsXmlContainerPage.initDocument(CmsObject cms, org.dom4j.Document document, String encoding, CmsXmlContentDefinition definition) static voidCmsFormatterConfiguration.initialize(CmsObject cms) Initialize the formatter configuration.voidCmsContainerElementBean.initResource(CmsObject cms) Initializes the resource and the site path of this element.voidCmsContainerElementBean.initSettings(CmsObject cms, CmsADEConfigData config, I_CmsFormatterBean formatterBean, Locale locale, javax.servlet.ServletRequest request, Map<String, String> presets) Initializes the element settings.booleanI_CmsADEConfiguration.isCreatableType(CmsObject cms, String currentUri, String typeName) Returns if the given type has a valid configuration to be created.booleanCmsContainerElementBean.isGroupContainer(CmsObject cms) Tests whether this element refers to a group container.booleanCmsContainerElementBean.isInheritedContainer(CmsObject cms) Returns whether this element refers to an inherited container element.protected static List<CmsContainerElementBean> CmsXmlGroupContainerHandler.loadGroupContainerElements(CmsObject cms, CmsResource resource) Helper method to load and prepare the elements of a group container.static List<CmsContainerElementBean> CmsXmlInheritGroupContainerHandler.loadInheritContainerElements(CmsObject cms, CmsResource resource) Returns the elements of the given inheritance group for the request context URI.protected CmsDynamicFunctionBean.FormatCmsDynamicFunctionParser.parseAdditionalFormat(CmsObject cms, I_CmsXmlContentValueLocation location, CmsResource functionRes) Parses an additional format from the XML content.CmsDynamicFunctionParser.parseFunctionBean(CmsObject cms, CmsResource res) Parses a dynamic function bean given a resource.CmsDynamicFunctionParser.parseFunctionBean(CmsObject cms, CmsXmlContent content) Parses a dynamic function bean from an in-memory XML content object.protected CmsDynamicFunctionBeanCmsDynamicFunctionParser.parseFunctionBean(CmsObject cms, I_CmsXmlContentLocation location, CmsResource functionRes, CmsResource functionFormatter) Parses a dynamic function bean.CmsDynamicFunctionParser.parseParameter(CmsObject cms, I_CmsXmlContentValueLocation valueLocation) Parses a request parameter for the JSP from the XML content.CmsDynamicFunctionParser.parseParameters(CmsObject cms, I_CmsXmlContentLocation location, String name) Parses all parameters for the JSP from the XML content.protected CmsXmlContentPropertyCmsDynamicFunctionParser.parseProperty(CmsObject cms, I_CmsXmlContentLocation field) Helper method for parsing a settings definition.protected Map<String, CmsXmlContentProperty> CmsDynamicFunctionParser.parseSettings(CmsObject cms, I_CmsXmlContentLocation location, CmsResource functionResource) Parses the settings for the dynamic function from the XML content.CmsHtmlRedirectHandler.prepareForWrite(CmsObject cms, CmsXmlContent content, CmsFile file) CmsListConfigContentHandler.prepareForWrite(CmsObject cms, CmsXmlContent content, CmsFile file) CmsXmlContainerPageHandler.prepareForWrite(CmsObject cms, CmsXmlContent content, CmsFile file) CmsXmlContainerPageHandler.resolveValidation(CmsObject cms, I_CmsXmlContentValue value, CmsXmlContentErrorHandler errorHandler) voidCmsXmlContainerPage.save(CmsObject cms, CmsContainerPageBean cntPage) Saves given container page in the current locale, and not only in memory but also to VFS.voidCmsXmlContainerPage.save(CmsObject cms, CmsContainerPageBean cntPage, boolean ifChangedOnly) Saves given container page in the current locale, and not only in memory but also to VFS.voidCmsXmlGroupContainer.save(CmsObject cms, CmsGroupContainerBean groupContainer, Locale locale) Saves given container page in the current locale, and not only in memory but also to VFS.protected voidCmsXmlContainerPage.saveContainerPage(CmsObject cms, org.dom4j.Element parent, CmsContainerPageBean cntPage) Adds the given container page to the given element.protected voidCmsXmlGroupContainer.saveGroupContainer(CmsObject cms, org.dom4j.Element parent, CmsGroupContainerBean groupContainer) Adds the given container page to the given element.voidCmsADESessionCache.setLastPage(CmsObject cms, CmsUUID pageId, CmsUUID detailId) Stores information about the last edited container page.static CmsXmlContainerPageCmsXmlContainerPageFactory.unmarshal(CmsObject cms, byte[] xmlData, String encoding, EntityResolver resolver) Factory method to unmarshal (generate) a container page instance from a byte array that contains XML data.static CmsXmlContainerPageCmsXmlContainerPageFactory.unmarshal(CmsObject cms, String xmlData, String encoding, EntityResolver resolver) Factory method to unmarshal (generate) a container page instance from a String that contains XML data.static CmsXmlContainerPageCmsXmlContainerPageFactory.unmarshal(CmsObject cms, org.dom4j.Document document, String encoding, EntityResolver resolver) Factory method to unmarshal (generate) a container page instance from a XML document.static CmsXmlContainerPageFactory method to unmarshal (read) a container page instance from a OpenCms VFS file that contains XML data.static CmsXmlContainerPageFactory method to unmarshal (read) a container page instance from a OpenCms VFS file that contains XML data, using wither the encoding set in the XML file header, or the encoding set in the VFS file property.static CmsXmlContainerPageCmsXmlContainerPageFactory.unmarshal(CmsObject cms, CmsFile file, boolean keepEncoding, boolean noCache) Factory method to unmarshal (read) a container page instance from a OpenCms VFS file that contains XML data, using wither the encoding set in the XML file header, or the encoding set in the VFS file property.static CmsXmlContainerPageCmsXmlContainerPageFactory.unmarshal(CmsObject cms, CmsResource resource) Factory method to unmarshal (read) a container page instance from a OpenCms VFS resource that contains XML data.static CmsXmlContainerPageCmsXmlContainerPageFactory.unmarshal(CmsObject cms, CmsResource resource, javax.servlet.ServletRequest req) Factory method to unmarshal (read) a container page instance from a resource, using the request attributes as cache.static CmsXmlGroupContainerCmsXmlGroupContainerFactory.unmarshal(CmsObject cms, byte[] xmlData, String encoding, EntityResolver resolver) Factory method to unmarshal (generate) a group container instance from a byte array that contains XML data.static CmsXmlGroupContainerCmsXmlGroupContainerFactory.unmarshal(CmsObject cms, String xmlData, String encoding, EntityResolver resolver) Factory method to unmarshal (generate) a group container instance from a String that contains XML data.static CmsXmlGroupContainerCmsXmlGroupContainerFactory.unmarshal(CmsObject cms, org.dom4j.Document document, String encoding, EntityResolver resolver) Factory method to unmarshal (generate) a group container instance from a XML document.static CmsXmlGroupContainerFactory method to unmarshal (read) a group container instance from a OpenCms VFS file that contains XML data.static CmsXmlGroupContainerFactory method to unmarshal (read) a group container instance from a OpenCms VFS file that contains XML data, using wither the encoding set in the XML file header, or the encoding set in the VFS file property.static CmsXmlGroupContainerCmsXmlGroupContainerFactory.unmarshal(CmsObject cms, CmsResource resource) Factory method to unmarshal (read) a group container instance from a OpenCms VFS resource that contains XML data.static CmsXmlGroupContainerCmsXmlGroupContainerFactory.unmarshal(CmsObject cms, CmsResource resource, javax.servlet.ServletRequest req) Factory method to unmarshal (read) a group container instance from a resource, using the request attributes as cache.protected booleanCmsXmlContainerPageHandler.validateLink(CmsObject cms, I_CmsXmlContentValue value, CmsXmlContentErrorHandler errorHandler) protected voidCmsXmlContainerPageHandler.validateNames(CmsObject cms, I_CmsXmlContentValue value, CmsXmlContent content) Validates container names, so that they are unique in the page.voidCmsXmlContainerPage.writeContainerPage(CmsObject cms, CmsContainerPageBean cntPage) Saves a container page in in-memory XML structure.Constructors in org.opencms.xml.containerpage with parameters of type CmsObjectModifierConstructorDescriptionprotectedCmsADESessionCache(CmsObject cms, javax.servlet.http.HttpServletRequest request) Initializes the session cache.CmsSchemaFormatterBeanWrapper(CmsObject cms, I_CmsFormatterBean wrappedBean, I_CmsXmlContentHandler contentHandler, CmsResource resource) Creates a new wrapper instance.protectedCmsXmlContainerPage(CmsObject cms, Locale locale, String modelUri) Create a new container page based on the given default content, that will have all language nodes of the default content and ensures the presence of the given locale.protectedCmsXmlContainerPage(CmsObject cms, Locale locale, String encoding, CmsXmlContentDefinition contentDefinition) Create a new container page based on the given content definition, that will have one language node for the given locale all initialized with default values.protectedCmsXmlContainerPage(CmsObject cms, org.dom4j.Document document, String encoding, EntityResolver resolver) Creates a new container page based on the provided XML document.protectedCmsXmlGroupContainer(CmsObject cms, Locale locale, String modelUri) Create a new group container based on the given default content, that will have all language nodes of the default content and ensures the presence of the given locale.protectedCmsXmlGroupContainer(CmsObject cms, Locale locale, String encoding, CmsXmlContentDefinition contentDefinition) Create a new container page based on the given content definition, that will have one language node for the given locale all initialized with default values.protectedCmsXmlGroupContainer(CmsObject cms, org.dom4j.Document document, String encoding, EntityResolver resolver) Creates a new group container based on the provided XML document. -
Uses of CmsObject in org.opencms.xml.containerpage.mutable
Constructors in org.opencms.xml.containerpage.mutable with parameters of type CmsObjectModifierConstructorDescriptionCmsContainerPageWrapper(CmsObject cms, CmsResource res) Creates a new instance by reading the container page from a file.Creates a new instance from an existing XML container page object. -
Uses of CmsObject in org.opencms.xml.content
Methods in org.opencms.xml.content that return CmsObjectModifier and TypeMethodDescriptionCmsDefaultXmlContentHandler.createRootCms(CmsObject cms) Copies a given CMS context and set the copy's site root to '/'.Methods in org.opencms.xml.content with parameters of type CmsObjectModifier and TypeMethodDescriptionprotected static voidCmsXmlContentPropertyHelper.addFileListPropertyValue(CmsObject cms, org.dom4j.Element valueElement, String propValue) Adds the XML for a property value of a property of type 'vfslist' to the DOM.voidAdds a new XML content value for the given element name and locale at the given index position to this XML content document.protected I_CmsXmlContentValueCmsXmlContent.addValue(CmsObject cms, org.dom4j.Element parent, I_CmsXmlSchemaType type, Locale locale, int insertIndex) Adds a new XML schema type with the default value to the given parent node.Adds a value element of the type the original xpath indicates at the selected index to the XML content document.Adds a value element of the type indicated by the given xpath at the selected index to the XML content document.CmsXmlContentValueSequence.addValue(CmsObject cms, I_CmsXmlSchemaType type, int index) Adds a value element of the given type at the selected index to the XML content document.booleanCmsDefaultXmlContentHandler.applyReverseAvailabilityMapping(CmsObject cms, CmsXmlContent content, CmsMappingResolutionContext.AttributeType attr, List<Locale> resourceLocales, long valueToSet) booleanI_CmsXmlContentHandler.applyReverseAvailabilityMapping(CmsObject cms, CmsXmlContent content, CmsMappingResolutionContext.AttributeType attr, List<Locale> locales, long value) Writes an availability date back to the content, if a mapping is defined for it.Returns the structure id of the content value (only valid for VfsFile values!).Returns the string value of the content value.voidCmsDefaultXmlContentHandler.clearMappings(CmsObject cms, CmsXmlContent content) We clear all potential property mappings.default voidI_CmsXmlContentHandler.clearMappings(CmsObject cms, CmsXmlContent content) Removes potentially existing formerly mapped values, according to the rules of the specific XML content handler.protected static StringCmsXmlContentPropertyHelper.convertIdsToPaths(CmsObject cms, String value) Converts a string containing zero or more structure ids into a string containing the corresponding VFS paths.protected static StringCmsXmlContentPropertyHelper.convertPathsToIds(CmsObject cms, String value) Converts a string containing zero or more VFS paths into a string containing the corresponding structure ids.CmsXmlContentPropertyHelper.convertProperties(CmsObject cms, Map<String, String> props, Map<String, CmsXmlContentProperty> propConfig, boolean toClient) Helper method for converting a map of properties from client format to server format or vice versa.CmsXmlContentPropertyHelper.convertPropertiesToClientFormat(CmsObject cms, Map<String, String> props, Map<String, CmsXmlContentProperty> propConfig) Converts a map of properties from server format to client format.CmsXmlContentPropertyHelper.convertPropertiesToServerFormat(CmsObject cms, Map<String, String> props, Map<String, CmsXmlContentProperty> propConfig) Converts a map of properties from client format to server format.protected static StringCmsXmlContentPropertyHelper.convertStringPropertyValue(CmsObject cms, String propValue, String type, boolean toClient) Converts a property value given as a string between server format and client format.static CmsXmlContentCmsXmlContentFactory.createDocument(CmsObject cms, Locale locale, String modelUri) Create a new instance of an XML content based on the given default content, hat will have all language nodes of the default content and ensures the presence of the given locale.static CmsXmlContentCmsXmlContentFactory.createDocument(CmsObject cms, Locale locale, String encoding, CmsXmlContentDefinition contentDefinition) Create a new instance of an XML content based on the given content definiton, that will have one language node for the given locale all initialized with default values.static CmsXmlContentCmsXmlContentFactory.createDocument(CmsObject cms, Locale locale, CmsResourceTypeXmlContent resourceType) Creates a new XML content based on a resource type.CmsDefaultXmlContentHandler.createRootCms(CmsObject cms) Copies a given CMS context and set the copy's site root to '/'.I_CmsContentValueAdjustment.getAdjustedValue(CmsObject cms, A_CmsXmlDocument content, Locale locale, String xpath, String value) Returns the adjustment for the provided value.CmsDefaultXmlContentHandler.getComplexWidget(CmsObject cms, String path) I_CmsXmlContentHandler.getComplexWidget(CmsObject cms, String path) Gets the unconfigured complex widget defined for the given path.CmsDefaultXmlContentHandler.getCSSHeadIncludes(CmsObject cms, CmsResource resource) I_CmsXmlContentHandler.getCSSHeadIncludes(CmsObject cms, CmsResource resource) Returns all the CSS resources to include into the html-page head.CmsDefaultXmlContentHandler.getDefault(CmsObject cms, CmsResource resource, I_CmsXmlSchemaType type, String path, Locale locale) CmsDefaultXmlContentHandler.getDefault(CmsObject cms, I_CmsXmlContentValue value, Locale locale) I_CmsXmlContentHandler.getDefault(CmsObject cms, CmsResource resource, I_CmsXmlSchemaType type, String path, Locale locale) Returns the default String value for the given XML content schema type object in the given XML content.I_CmsXmlContentHandler.getDefault(CmsObject cms, I_CmsXmlContentValue value, Locale locale) Returns the default String value for the given XML content schema type object in the given XML content.protected static CmsVfsFileValueBeanCmsXmlContentPropertyHelper.getFileValueForIdOrUri(CmsObject cms, String idOrUri) Given a string which might be a id or a (sitemap or VFS) URI, this method will return a bean containing the right (sitemap or vfs) root path and (sitemap entry or structure) id.CmsDefaultXmlContentHandler.getFormatterConfiguration(CmsObject cms, CmsResource resource) I_CmsXmlContentHandler.getFormatterConfiguration(CmsObject cms, CmsResource res) Returns the container page element formatter configuration for a given resource.static CmsUUIDCmsXmlContentPropertyHelper.getIdForUri(CmsObject cms, String uri) Looks up an URI in the sitemap and returns either a sitemap entry id (if the URI is a sitemap URI) or the structure id of a resource (if the URI is a VFS path).CmsDefaultXmlContentHandler.getJSHeadIncludes(CmsObject cms, CmsResource resource) I_CmsXmlContentHandler.getJSHeadIncludes(CmsObject cms, CmsResource resource) Returns all the javascript resources to include into the html-page head.CmsXmlContent.getLinkProcessor(CmsObject cms, CmsLinkTable linkTable) CmsDefaultXmlContentHandler.getLocalesForResource(CmsObject cms, String resource) Returns the configured default locales for the content of the given resource.static CmsMacroResolverCmsXmlContentPropertyHelper.getMacroResolverForProperties(CmsObject cms, I_CmsXmlContentHandler contentHandler, CmsXmlContent content, Function<String, String> stringtemplateSource, CmsResource containerPage) Creates and configures a new macro resolver for resolving macros which occur in property definitions.CmsDefaultXmlContentHandler.getNestedFormatters(CmsObject cms, CmsResource res, Locale locale, javax.servlet.ServletRequest req) I_CmsXmlContentHandler.getNestedFormatters(CmsObject cms, CmsResource res, Locale locale, javax.servlet.ServletRequest req) Returns the nested formatters for the given resource.CmsDefaultXmlContentHandler.getPreview(CmsObject cms, CmsXmlContent content, String resourcename) I_CmsXmlContentHandler.getPreview(CmsObject cms, CmsXmlContent content, String resourcename) Returns the preview URI for the given XML content value object to be displayed in the editor.static Map<String, CmsXmlContentProperty> CmsXmlContentPropertyHelper.getPropertyInfo(CmsObject cms, CmsResource page, CmsResource resource) Returns the property information for the given resource (type) AND the current user.static StringCmsXmlContentPropertyHelper.getPropValueIds(CmsObject cms, String type, String value) Returns a converted property value depending on the given type.static StringCmsXmlContentPropertyHelper.getPropValuePaths(CmsObject cms, String type, String value) Returns a converted property value depending on the given type.protected StringCmsDefaultXmlContentHandler.getReferencePath(CmsObject cms, I_CmsXmlContentValue value) Returns the category reference path for the given value.CmsDefaultXmlContentHandler.getSettings(CmsObject cms, CmsResource resource) I_CmsXmlContentHandler.getSettings(CmsObject cms, CmsResource resource) Returns the element settings defined for the container page formatters.CmsDefaultXmlContentHandler.getTitleMapping(CmsObject cms, CmsXmlContent document, Locale locale) I_CmsXmlContentHandler.getTitleMapping(CmsObject cms, CmsXmlContent document, Locale locale) Returns the "Title" mapping set for the given XML content document in the given Locale.static StringCmsXmlContentPropertyHelper.getUriForId(CmsObject cms, CmsUUID id) Returns a sitemap or VFS path given a sitemap entry id or structure id.protected StringCmsDefaultXmlContentHandler.getValidationMessage(CmsObject cms, I_CmsXmlContentValue value, String regex, String valueStr, boolean matchResult, boolean isWarning) Returns the validation message to be displayed if a certain rule was violated.CmsDefaultXmlContentHandler.getValidationWarningOrErrorMessage(CmsObject cms, Locale locale, String elementName, boolean isWarning, boolean keyOnly) Helper method for reading a validation message or the corresponding message key.Gets the widget for the given path and CMS context.I_CmsXmlContentEditorChangeHandler.handleChange(CmsObject cms, CmsXmlContent content, Locale locale, Collection<String> changedPaths) Handles the content change.protected voidCmsXmlContent.initDocument(CmsObject cms, org.dom4j.Document document, String encoding, CmsXmlContentDefinition definition) Initializes an XML document based on the provided document, encoding and content definition.voidCmsDefaultXmlContentHandler.invalidateBrokenLinks(CmsObject cms, CmsXmlContent document) voidI_CmsXmlContentHandler.invalidateBrokenLinks(CmsObject cms, CmsXmlContent document) Performs a check of the given XML document.booleanCmsDefaultXmlContentHandler.isValueVisible(CmsObject cms, I_CmsXmlSchemaType value, String elementName, String params, CmsResource resource, Locale contentLocale) Returns the content field visibilty.booleanI_CmsXmlContentVisibilityHandler.isValueVisible(CmsObject cms, I_CmsXmlSchemaType value, String elementPath, String params, CmsResource resource, Locale contentLocale) Returns if the given content value field should be visible to the current user.booleanCmsDefaultXmlContentHandler.isVisible(CmsObject cms, I_CmsXmlSchemaType contentValue, String valuePath, CmsResource resource, Locale contentLocale) booleanI_CmsXmlContentHandler.isVisible(CmsObject cms, I_CmsXmlSchemaType schemaType, String valuePath, CmsResource resource, Locale contentLocale) Returns if the given content field should be visible to the current user.CmsVfsBundleLoaderXml.loadData(CmsObject cms, CmsVfsBundleParameters params) CmsXmlContentPropertyHelper.mergeDefaults(CmsObject cms, Map<String, CmsXmlContentProperty> propertyConfig, Map<String, String> properties) Extends the given properties with the default values from property configuration.CmsXmlContentPropertyHelper.mergeDefaults(CmsObject cms, CmsADEConfigData config, CmsResource resource, Map<String, String> properties, Locale locale, javax.servlet.ServletRequest request) Extends the given properties with the default values from the resource's property configuration.CmsDefaultXmlContentHandler.prepareForUse(CmsObject cms, CmsXmlContent content) I_CmsXmlContentHandler.prepareForUse(CmsObject cms, CmsXmlContent content) Prepares the given XML content to be used after it was read from the OpenCms VFS.CmsDefaultXmlContentHandler.prepareForWrite(CmsObject cms, CmsXmlContent content, CmsFile file) I_CmsXmlContentHandler.prepareForWrite(CmsObject cms, CmsXmlContent content, CmsFile file) Prepares the given XML content to be written to the OpenCms VFS.CmsXmlContentPropertyHelper.readProperties(CmsObject cms, I_CmsXmlContentLocation baseLocation) Reads property nodes from the given location.protected voidCmsDefaultXmlContentHandler.removeEmptyMappings(CmsObject cms, CmsFile file, CmsXmlContent content) Removes property values on resources for non-existing, optional elements.protected voidCmsDefaultXmlContentHandler.resolveDefaultMappings(CmsObject cms, CmsFile file, CmsXmlContent content) Resolves those mappings for which no content value exists and useDefault is set to true.static Map<String, CmsXmlContentProperty> CmsXmlContentPropertyHelper.resolveMacrosForPropertyInfo(CmsObject cms, CmsResource page, CmsResource resource, com.google.common.base.Supplier<CmsXmlContent> contentGetter, Function<String, String> stringtemplateSource, Map<String, CmsXmlContentProperty> propertiesConf) Resolves macros in the given property information for the given resource (type) AND the current user.voidCmsDefaultXmlContentHandler.resolveMapping(CmsObject cms, CmsXmlContent content, I_CmsXmlContentValue value) voidI_CmsXmlContentHandler.resolveMapping(CmsObject cms, CmsXmlContent content, I_CmsXmlContentValue value) Resolves the value mappings of the given XML content value, according to the rules of this XML content handler.voidCmsXmlContent.resolveMappings(CmsObject cms) Resolves the mappings for all values of this XML content.CmsDefaultXmlContentHandler.resolveValidation(CmsObject cms, I_CmsXmlContentValue value, CmsXmlContentErrorHandler errorHandler) I_CmsXmlContentHandler.resolveValidation(CmsObject cms, I_CmsXmlContentValue value, CmsXmlContentErrorHandler errorHandler) Performs a validation of the given XML content value, and saves all errors or warnings found in the provided XML content error handler.static voidCmsXmlContentPropertyHelper.saveProperties(CmsObject cms, org.dom4j.Element parentElement, Map<String, String> properties, Map<String, CmsXmlContentProperty> propertiesConf, boolean sort) Saves the given properties to the given xml element.voidCmsMappingResolutionContext.setCmsObject(CmsObject cms) Sets the CMS context to use.voidCmsXmlContent.synchronizeLocaleIndependentValues(CmsObject cms, Collection<String> skipPaths, Locale sourceLocale) Synchronizes the locale independent fields for the given locale.static org.dom4j.DocumentCmsVersionTransformer.transformDocumentToCurrentVersion(CmsObject cms, org.dom4j.Document document, CmsXmlContentDefinition contentDefinition) Converts an XML content document to the current version using the version transformation XSLT file which is configured in the schema.static CmsXmlContentCmsXmlContentFactory.unmarshal(CmsObject cms, byte[] xmlData, String encoding, EntityResolver resolver) Factory method to unmarshal (generate) a XML content instance from a byte array that contains XML data.static CmsXmlContentCmsXmlContentFactory.unmarshal(CmsObject cms, String xmlData, String encoding, EntityResolver resolver) Factory method to unmarshal (generate) a XML content instance from a String that contains XML data.static CmsXmlContentCmsXmlContentFactory.unmarshal(CmsObject cms, org.dom4j.Document document, String encoding, EntityResolver resolver) Factory method to unmarshal (generate) a XML content instance from a XML document.static CmsXmlContentFactory method to unmarshal (read) a XML content instance from a OpenCms VFS file that contains XML data.static CmsXmlContentFactory method to unmarshal (read) a XML content instance from a OpenCms VFS file that contains XML data, using wither the encoding set in the XML file header, or the encoding set in the VFS file property.static CmsXmlContentCmsXmlContentFactory.unmarshal(CmsObject cms, CmsResource resource, javax.servlet.ServletRequest req) Factory method to unmarshal (read) a XML content instance from a resource, using the request attributes as cache.protected CmsXmlContentErrorHandlerCmsDefaultXmlContentHandler.validateCategories(CmsObject cms, I_CmsXmlContentValue value, CmsXmlContentErrorHandler errorHandler) The errorHandler parameter is optional, ifnullis given a new error handler instance must be created.protected booleanCmsDefaultXmlContentHandler.validateLink(CmsObject cms, I_CmsXmlContentValue value, CmsXmlContentErrorHandler errorHandler) Validates the given rules against the given value.protected CmsXmlContentErrorHandlerCmsDefaultXmlContentHandler.validateValue(CmsObject cms, I_CmsXmlContentValue value, String valueStr, CmsXmlContentErrorHandler errorHandler, boolean isWarning) Checks the default XML schema validation rules.protected CmsXmlContentErrorHandlerCmsDefaultXmlContentHandler.validateValue(CmsObject cms, I_CmsXmlContentValue value, CmsXmlContentErrorHandler errorHandler, Map<String, String> rules, boolean isWarning) Validates the given rules against the given value.protected CmsFileCmsDefaultXmlContentHandler.writeCategories(CmsObject cms, CmsFile file, CmsXmlContent content) Writes the categories if a category widget is present.Constructors in org.opencms.xml.content with parameters of type CmsObjectModifierConstructorDescriptionprotectedCmsXmlContent(CmsObject cms, Locale locale, String modelUri) Create a new XML content based on the given default content, that will have all language nodes of the default content and ensures the presence of the given locale.protectedCmsXmlContent(CmsObject cms, Locale locale, String encoding, CmsXmlContentDefinition contentDefinition) Create a new XML content based on the given content definiton, that will have one language node for the given locale all initialized with default values.protectedCmsXmlContent(CmsObject cms, org.dom4j.Document document, String encoding, EntityResolver resolver) Creates a new XML content based on the provided XML document.CmsXmlContentMacroVisitor(CmsObject cms, CmsMacroResolver resolver) Creates a new validation node visitor.CmsXsltContext(CmsObject cms) Creates a new instance. -
Uses of CmsObject in org.opencms.xml.page
Methods in org.opencms.xml.page with parameters of type CmsObjectModifier and TypeMethodDescriptionvoidCmsXmlPage.getLinkProcessor(CmsObject cms, CmsLinkTable linkTable) voidCmsXmlPage.setStringValue(CmsObject cms, String name, Locale locale, String content) Sets the data of an already existing value.static I_CmsXmlDocumentFactory method to unmarshal (read) a XML document instance from a filename in the VFS, using the request attributes as cache.static CmsXmlPageFactory method to unmarshal (read) a XML page instance from a OpenCms VFS file that contains XML data.static CmsXmlPageFactory method to unmarshal (read) a XML page instance from a OpenCms VFS file that contains XML data, using wither the encoding set in the XML file header, or the encoding set in the VFS file property.static CmsXmlPageCmsXmlPageFactory.unmarshal(CmsObject cms, CmsResource resource, javax.servlet.ServletRequest req) Factory method to unmarshal (read) a XML page instance from a resource, using the request attributes as cache. -
Uses of CmsObject in org.opencms.xml.templatemapper
Methods in org.opencms.xml.templatemapper with parameters of type CmsObjectModifier and TypeMethodDescriptionCmsTemplateMapperAction.getVisibility(CmsObject cms, List<CmsResource> resources) protected CmsContainerElementBeanCmsTemplateMapper.transformContainerElement(CmsObject cms, CmsTemplateMapperConfiguration config, CmsContainerElementBean element) Helper method to transform a single container element.CmsTemplateMapper.transformContainerpageBean(CmsObject cms, CmsContainerPageBean input, String rootPath) Transforms a container page bean.CmsTemplateMapper.transformDetailElement(CmsObject cms, CmsContainerElementBean input, String rootPath) Transforms a container element bean used for detail elements.CmsTemplateMapper.transformGroupContainer(CmsObject cms, CmsGroupContainerBean input, String rootPath) Transforms a group container bean.Constructors in org.opencms.xml.templatemapper with parameters of type CmsObjectModifierConstructorDescriptionCmsTemplateMapperConfiguration(CmsObject cms, org.dom4j.Document doc) Parses a template mapper configuration from an XML document.protectedCmsTemplateMappingContentRewriter(CmsObject cms, CmsResource folder) Creates a new instance. -
Uses of CmsObject in org.opencms.xml.types
Methods in org.opencms.xml.types with parameters of type CmsObjectModifier and TypeMethodDescriptionorg.dom4j.ElementA_CmsXmlContentValue.generateXml(CmsObject cms, I_CmsXmlDocument document, org.dom4j.Element root, Locale locale) org.dom4j.ElementCmsXmlAccessRestrictionValue.generateXml(CmsObject cms, I_CmsXmlDocument document, org.dom4j.Element root, Locale locale) org.dom4j.ElementCmsXmlCategoryValue.generateXml(CmsObject cms, I_CmsXmlDocument document, org.dom4j.Element root, Locale locale) org.dom4j.ElementCmsXmlDynamicCategoryValue.generateXml(CmsObject cms, I_CmsXmlDocument document, org.dom4j.Element root, Locale locale) org.dom4j.ElementCmsXmlHtmlValue.generateXml(CmsObject cms, I_CmsXmlDocument document, org.dom4j.Element root, Locale locale) org.dom4j.ElementCmsXmlNestedContentDefinition.generateXml(CmsObject cms, I_CmsXmlDocument document, org.dom4j.Element root, Locale locale) org.dom4j.ElementCmsXmlVarLinkValue.generateXml(CmsObject cms, I_CmsXmlDocument document, org.dom4j.Element root, Locale locale) org.dom4j.ElementCmsXmlVfsFileValue.generateXml(CmsObject cms, I_CmsXmlDocument document, org.dom4j.Element root, Locale locale) org.dom4j.ElementI_CmsXmlSchemaType.generateXml(CmsObject cms, I_CmsXmlDocument document, org.dom4j.Element root, Locale locale) Appends an XML for a new, empty node of this schema type to the given root element.static booleanCmsXmlBooleanValue.getBooleanValue(CmsObject cms, I_CmsWidgetParameter value) Returns the boolean value of the given widget parameter.A_CmsXmlContentValue.getDefault(CmsObject cms) CmsXmlVfsImageValue.getDescription(CmsObject cms) Returns the description of the image.Returns the format information of the image.static StringCmsXmlVarLinkValue.getInternalPathAndQuery(CmsObject cms, String value) Converts the value for a VarLink field to the form "root path + query string" if it's an internal link, and returns null if it's an external link.Returns the link object represented by this XML content value.Returns the link object represented by this XML content value.Returns the link objects represented by this XML content value.A_CmsXmlContentValue.getPlainText(CmsObject cms) A_CmsXmlValueCdataBase.getPlainText(CmsObject cms) A_CmsXmlValueTextBase.getPlainText(CmsObject cms) CmsXmlAccessRestrictionValue.getPlainText(CmsObject cms) CmsXmlCategoryValue.getPlainText(CmsObject cms) CmsXmlDynamicCategoryValue.getPlainText(CmsObject cms) CmsXmlHtmlValue.getPlainText(CmsObject cms) CmsXmlPlainTextStringValue.getPlainText(CmsObject cms) CmsXmlVarLinkValue.getPlainText(CmsObject cms) CmsXmlVfsFileValue.getPlainText(CmsObject cms) I_CmsXmlContentValue.getPlainText(CmsObject cms) Returns the value of this XML content node as a plain text String.CmsXmlVfsImageValue.getRequestLink(CmsObject cms) Returns the link without parameters from the string value.CmsXmlVfsImageValue.getScaleOptions(CmsObject cms) Returns the scale options of the image.A_CmsXmlValueCdataBase.getStringValue(CmsObject cms) A_CmsXmlValueTextBase.getStringValue(CmsObject cms) CmsXmlAccessRestrictionValue.getStringValue(CmsObject cms) CmsXmlCategoryValue.getStringValue(CmsObject cms) CmsXmlDisplayFormatterValue.getStringValue(CmsObject cms) CmsXmlDynamicCategoryValue.getStringValue(CmsObject cms) CmsXmlHtmlValue.getStringValue(CmsObject cms) CmsXmlNestedContentDefinition.getStringValue(CmsObject cms) CmsXmlVarLinkValue.getStringValue(CmsObject cms) CmsXmlVfsFileValue.getStringValue(CmsObject cms) I_CmsXmlContentValue.getStringValue(CmsObject cms) Returns the value of this XML content node as a String.voidCmsXmlVfsImageValue.setDescription(CmsObject cms, String description) Sets the description of the image.voidSets the format information of the image.voidCmsXmlCategoryValue.setIdValue(CmsObject cms, CmsUUID id) Sets the value as a structure id.voidCmsXmlVfsFileValue.setIdValue(CmsObject cms, CmsUUID id) Sets the value as a structure id.voidCmsXmlVfsImageValue.setScaleOptions(CmsObject cms, String scaleOptions) Sets the scale options of the image.voidA_CmsXmlValueCdataBase.setStringValue(CmsObject cms, String value) voidA_CmsXmlValueTextBase.setStringValue(CmsObject cms, String value) voidCmsXmlAccessRestrictionValue.setStringValue(CmsObject cms, String value) voidCmsXmlBooleanValue.setStringValue(CmsObject cms, String value) voidCmsXmlCategoryValue.setStringValue(CmsObject cms, String value) voidCmsXmlDisplayFormatterValue.setStringValue(CmsObject cms, String value) voidCmsXmlDynamicCategoryValue.setStringValue(CmsObject cms, String value) voidCmsXmlHtmlValue.setStringValue(CmsObject cms, String value) voidCmsXmlNestedContentDefinition.setStringValue(CmsObject cms, String value) voidCmsXmlVarLinkValue.setStringValue(CmsObject cms, String value) voidCmsXmlVfsFileValue.setStringValue(CmsObject cms, String value) voidCmsXmlVfsImageValue.setStringValue(CmsObject cms, String value) voidI_CmsXmlContentValue.setStringValue(CmsObject cms, String value) Sets the provided String as value of this XML content node. -
Uses of CmsObject in org.opencms.xml.xml2json
Methods in org.opencms.xml.xml2json that return CmsObjectModifier and TypeMethodDescriptionI_CmsApiAuthorizationHandler.initCmsObject(CmsObject adminCms, javax.servlet.http.HttpServletRequest request) Authenticates a user from a request and returns a CmsObject initialized with that user.Methods in org.opencms.xml.xml2json with parameters of type CmsObjectModifier and TypeMethodDescriptionbooleanCmsJsonAccessPolicy.checkAccess(CmsObject cms, String path) Checks if a JSON handler request is allowed for this policy.protected CmsJsonAccessPolicyCmsJsonResourceHandler.getAccessPolicy(CmsObject cms) Reads JSON access policy from cache or loads it if necessary.static I_CmsCustomLinkRendererCmsJsonResourceHandler.getLinkRenderer(CmsObject cms) Gets the link renderer for the current CMS context.I_CmsApiAuthorizationHandler.initCmsObject(CmsObject adminCms, javax.servlet.http.HttpServletRequest request) Authenticates a user from a request and returns a CmsObject initialized with that user.voidI_CmsApiAuthorizationHandler.initialize(CmsObject cms) Sets the admin CmsObject used internally by this handler.CmsJsonResourceHandler.initResource(CmsResource origRes, CmsObject cms, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) static StringCmsJsonResourceHandler.link(CmsObject cms, CmsResource res) Produces a link to the given resource, using the link renderer from the current CMS context if it is set.voidCmsJsonResourceHandler.setAdminCmsObject(CmsObject adminCms) Gets the JSON representation of the value.Constructors in org.opencms.xml.xml2json with parameters of type CmsObjectModifierConstructorDescriptionCmsResourceDataJsonHelper(CmsObject cms, CmsResource resource, Predicate<String> propertyFilter) Creates a new instance. -
Uses of CmsObject in org.opencms.xml.xml2json.handler
Methods in org.opencms.xml.xml2json.handler that return CmsObjectModifier and TypeMethodDescriptionCmsJsonHandlerContext.getCms()Gets the CMS context.CmsJsonHandlerContext.getRootCms()Gets the CMS context initialized to the root site.Constructors in org.opencms.xml.xml2json.handler with parameters of type CmsObjectModifierConstructorDescriptionCmsJsonHandlerContext(CmsObject cms, CmsObject rootCms, String path, CmsResource resource, Map<String, String> params, CmsParameterConfiguration handlerConfig, CmsJsonAccessPolicy policy) Creates a new instance. -
Uses of CmsObject in org.opencms.xml.xml2json.renderer
Methods in org.opencms.xml.xml2json.renderer with parameters of type CmsObjectModifier and TypeMethodDescriptionvoidCmsJsonRendererXmlContent.initialize(CmsObject cms) Initializes the renderer.voidI_CmsJsonRendererXmlContent.initialize(CmsObject cms) Initializes the context for the renderer.static JSONObjectCmsJsonRendererXmlContent.linkAndPath(String link, String path, CmsObject cms) Builds a simple JSON object with link and path fields whose values are taken from the corresponding parameters.Constructors in org.opencms.xml.xml2json.renderer with parameters of type CmsObjectModifierConstructorDescriptionCmsJsonRendererContainerPage(CmsObject cms, CmsResource page, Predicate<String> propertyFilter) Creates a new renderer instance.Creates a new instance.
A_CmsResourceType.chtype(CmsObject, CmsSecurityManager, CmsResource, I_CmsResourceType)instead.