Uses of Class
org.opencms.main.CmsException
Packages that use CmsException
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.
Reads and writes the XML based OpenCms configuration files.
Low-level database connection and access functionality.
Generic (ANSI-SQL) implementation of the OpenCms database connector.
This important package provides the methods to access the OpenCms VFS repository with the permissions 
of an authenticated user.
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.
Helpers for the preconfigured filter query part of the list configuration (ie.
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 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.
Package contains all classes and interfaces needed to create or use a repository to
access the resources in the VFS.
The CmsRemoteShell allows to manipulate a running server using OpenCms shell commands.
The OpenCms scheduler provides a facility to run jobs in a regular schedule, much 
like the "cron" faciltiy in UNIX systems.
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.
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 code for workplace apps.
Contains classes of the cache admin app.
Contains classes of the source search app.
Contains classes of the site manager app.
Contains classes of the user manager app.
Contains components for selecting resources.
Contains code for workplace dialogs.
Contains code for the availability dialog.
Contains code for the file history dialog.
Contains code for the comparison view of the file history dialog.
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.
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.
- 
Uses of CmsException in org.opencms.ade.configuration
Methods in org.opencms.ade.configuration that throw CmsExceptionModifier and TypeMethodDescriptionbooleanCmsResourceTypeConfig.checkCreatable(CmsObject cms, String pageFolderRootPath) Checks if this resource type is creatable.CmsADEConfigCacheState.computeFolderTypes()Computes the map from folder paths to content types for this ADE configuration state.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.protected voidCmsADEConfigData.createContentDirectory()Creates the content directory for this configuration node if possible.CmsResourceTypeConfig.createNewElement(CmsObject userCms, String pageFolderRootPath) Creates a new element.CmsResourceTypeConfig.createNewElement(CmsObject userCms, CmsResource modelResource, String pageFolderRootPath) Creates a new element.CmsADEConfigData.getCreatableTypes(CmsObject cms, String pageFolderRootPath) Returns a list of the creatable resource types.CmsADEManager.getCurrentElement(javax.servlet.ServletRequest req) Reads the current element bean from the request.CmsADEManager.getElementSettings(CmsObject cms, CmsResource resource) Returns the element settings for a given resource.CmsADEManager.getFavoriteList(CmsObject cms) Returns the favorite list, or creates it if not available.CmsADEConfigData.getFolderTypes()Collects the folder types in a map.CmsADEManager.getInheritedContainerState(CmsObject cms, String rootPath, String name) Returns the inheritance state for the given inheritance name and root path.CmsADEManager.getPermissionInfo(CmsObject cms, CmsResource resource, String contextPath) Returns the permission info for the given resource.CmsADEManager.getRecentList(CmsObject cms) Returns the favorite list, or creates it if not available.protected StringCmsADEManager.getRootPath(CmsUUID structureId, boolean online) Gets the root path for a given resource structure id.protected CmsProjectCmsADEManager.getTempfileProject(CmsObject cms) Gets a tempfile project, creating one if it doesn't exist already.CmsResourceTypeConfig.getType()Gets the actual resource type for which this is a configuration.voidCmsADEManager.handleHtmlRedirect(CmsObject userCms, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String htmlRedirect) Processes a HTML redirect content.CmsConfigurationReader.parseConfiguration(String basePath, CmsXmlContent content) Parses a configuration XML content and creates a configuration object from it.CmsConfigurationReader.parseFolderOrName(String basePath, I_CmsXmlContentLocation location) Parses a folder which may either be given as a path or as a folder name.voidCmsConfigurationReader.parseResourceTypeConfig(String basePath, I_CmsXmlContentLocation node) Parses a resource type configuration element from the XML content.CmsConfigurationReader.parseSitemapConfiguration(String basePath, CmsResource configRes) Parses the sitemap configuration given the configuration file and base path.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. - 
Uses of CmsException in org.opencms.ade.configuration.formatters
Methods in org.opencms.ade.configuration.formatters that throw CmsExceptionModifier and TypeMethodDescriptionCmsFormatterBeanParser.parse(CmsXmlContent content, String location, String id) Reads the formatter bean from the given XML content.Constructors in org.opencms.ade.configuration.formatters that throw CmsExceptionModifierConstructorDescriptionCmsFormatterConfigurationCache(CmsObject cms, String name) Creates a new formatter configuration cache instance. - 
Uses of CmsException in org.opencms.ade.configuration.plugins
Methods in org.opencms.ade.configuration.plugins that throw CmsExceptionModifier and TypeMethodDescriptionstatic CmsSitePluginCmsSitePlugin.read(CmsObject cms, CmsResource res) Reads a site plugin from a file. - 
Uses of CmsException in org.opencms.ade.containerpage
Methods in org.opencms.ade.containerpage that throw CmsExceptionModifier and TypeMethodDescriptionstatic 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.CmsContainerpageService.getCachedElement(String clientId, String pageRootPath) Reads the cached element-bean for the given client-side-id from cache.CmsElementUtil.getElementData(CmsResource page, CmsContainerElementBean element, Collection<CmsContainer> containers) Returns the data for an element.CmsElementUtil.getElementSettingsConfig(CmsResource page, CmsContainerElementBean element, String containerId, Collection<CmsContainer> containers) Returns the formatter and settings config data for an element.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.CmsContainerpageService.internalGetRemovedElementStatus(CmsUUID structureId, CmsUUID contextId, CmsUUID containerpageId) Internal helper method to get the status of a removed element.CmsModelGroupHelper.prepareforModelGroupContent(Map<String, CmsContainerElementBean> elements, List<String> foundGroups, CmsContainerPageBean page, boolean alwaysCopy, Locale locale, String createContextPath) Adds the model group elements to the page.CmsTypeAnalyzer.processFolder()Process folder.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.CmsModelGroupHelper.saveModelGroups(CmsContainerPageBean page, CmsResource pageResource) Saves the model groups of the given container page.CmsElementUtil.setElementInfo(CmsContainerElementBean elementBean, CmsContainerElement result) Sets the data to the given container element.Constructors in org.opencms.ade.containerpage that throw CmsExceptionModifierConstructorDescriptionCmsElementUtil(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.CmsTypeAnalyzer(CmsObject cms, String siteRoot, String path, boolean skipDetailOnly, Set<String> excludedContainers, String templateRegex) Creates a new instance. - 
Uses of CmsException in org.opencms.ade.containerpage.inherited
Methods in org.opencms.ade.containerpage.inherited that throw CmsExceptionModifier 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.voidParses the contents of a file.voidCmsContainerConfigurationParser.parse(CmsResource resource) Parses the contents of a resource.voidCmsInheritanceReferenceParser.parse(CmsResource resource) Parses a given resource.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 that throw CmsExceptionModifierConstructorDescriptionCmsContainerConfigurationCache(CmsObject cms, String name) Creates a new cache instance for inherited containers. - 
Uses of CmsException in org.opencms.ade.contenteditor
Methods in org.opencms.ade.contenteditor that throw CmsExceptionModifier and TypeMethodDescriptionstatic 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. - 
Uses of CmsException in org.opencms.ade.detailpage
Methods in org.opencms.ade.detailpage that throw CmsExceptionModifier 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.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).voidCmsDetailPageConfigurationWriter.updateAndSave(List<CmsDetailPageInfo> infos, CmsUUID newId) Writes the new detail page information to the configuration file. - 
Uses of CmsException in org.opencms.ade.galleries
Methods in org.opencms.ade.galleries that throw CmsExceptionModifier and TypeMethodDescriptionprotected abstract TA_CmsTreeTabDataPreloader.createEntry(CmsObject cms, CmsResource resource) Creates a tree entry bean from a resource.protected voidA_CmsTreeTabDataPreloader.findRoot(Collection<CmsResource> resources) Finds the common root folder for a collection of resources.protected List<CmsResource> A_CmsTreeTabDataPreloader.getChildren(CmsResource resource) Gets the children of a resource.protected CmsObjectCmsGalleryService.getSearchCms(CmsGallerySearchBean searchObj) Gets an initialized CmsObject to be used for the actual search for a given search bean.protected List<CmsResource> CmsGalleryService.getSitemapSubEntryResources(String rootPath) Gets the sitemap sub entries for a given path as resources.protected List<CmsSitemapEntryBean> CmsGalleryService.getSubEntriesInternal(String rootPath, boolean isRoot, String filter) Internal method for getting sitemap sub entries for a given root path.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 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. - 
Uses of CmsException in org.opencms.ade.publish
Methods in org.opencms.ade.publish that throw CmsExceptionModifier 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.protected List<CmsResource> CmsCollectorPublishListHelper.computeCollectorResults(boolean online) Computes the collector results.I_CmsPublishRelatedResourceProvider.getAdditionalRelatedResources(CmsObject cms, CmsResource res) Gets the set of additional related resources.CmsCollectorPublishListHelper.getCmsObject(boolean online) Initializes a CmsObject.CmsCollectorPublishListHelper.getPublishListFiles()Gets the list to add to the publish list for the collector list.CmsDefaultCollectorPublishListProvider.getPublishResources(CmsObject cms, I_CmsContentLoadCollectorInfo info) CmsRealProjectVirtualWrapper.getResources(CmsObject cms, Map<String, String> params, String workflowId) Gets the resources of the virtual project.voidCmsPublish.publishResources(List<CmsResource> resources) Publishes the given list of resources.voidCmsPublish.removeResourcesFromPublishList(Collection<CmsUUID> idsToRemove) Removes the given resources from the user's publish list.protected CmsPublishResourceCmsPublish.resourceToBean(CmsResource resource, CmsPublishResourceInfo info, boolean removable, List<CmsPublishResource> related) Creates a publish resource bean instance from the given parameters. - 
Uses of CmsException in org.opencms.ade.sitemap
Methods in org.opencms.ade.sitemap that throw CmsExceptionModifier and TypeMethodDescriptionvoidCmsModelPageHelper.addModelPageToSitemapConfiguration(CmsResource sitemapConfig, CmsResource modelPage, boolean disabled) Adds a model page to the sitemap config.CmsModelPageHelper.createModelGroupPage(String name, String description, CmsUUID copyId) Creates a new model group page.CmsModelPageHelper.createPageInModelFolder(String name, String description, CmsUUID copyId) Creates a new potential model page in the default folder for new model pages.voidCmsModelPageHelper.disableModelPage(CmsResource sitemapConfig, CmsUUID structureId, boolean disabled) Disables the given model page.protected CmsVfsSitemapService.LockInfoCmsVfsSitemapService.ensureLockAndGetInfo(CmsResource resource) Locks the given resource with a temporary, if not already locked by the current user.CmsModelPageHelper.ensureModelFolder(CmsResource rootResource) Tries to either read or create the default folder for model pages in the current sitemap, and returns it.voidCmsModelPageHelper.removeModelPage(CmsResource sitemapConfig, CmsUUID structureId) Removes a model page from the sitemap configuration.CmsAliasBulkEditHelper.saveAliases(CmsAliasSaveValidationRequest saveRequest) Saves alias changes to the database.protected CmsSitemapChangeCmsVfsSitemapService.saveInternal(String entryPoint, CmsSitemapChange change) Internal method for saving a sitemap.Constructors in org.opencms.ade.sitemap that throw CmsExceptionModifierConstructorDescriptionCmsModelPageHelper(CmsObject cms, CmsResource rootResource) Creates a new instance. - 
Uses of CmsException in org.opencms.ade.upload
Constructors in org.opencms.ade.upload that throw CmsExceptionModifierConstructorDescriptionCmsUploadBean(javax.servlet.jsp.PageContext context, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) Constructor, with parameters. - 
Uses of CmsException in org.opencms.cmis
Methods in org.opencms.cmis with parameters of type CmsExceptionModifier and TypeMethodDescriptionstatic voidCmsCmisUtil.handleCmsException(CmsException e) Wrap OpenCms into OpenCMIS exceptions and rethrow them.Methods in org.opencms.cmis that throw CmsExceptionModifier and TypeMethodDescriptionprotected 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.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.static booleanCmsCmisUtil.ensureLock(CmsObject cms, CmsResource resource) Tries to lock a resource and throws an exception if it can't be locked.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.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 that throw CmsExceptionModifierConstructorDescriptionCmsCmisTypeManager(CmsObject adminCms, List<I_CmsPropertyProvider> propertyProviders) Creates a new type manager instance. - 
Uses of CmsException in org.opencms.configuration
Subclasses of CmsException in org.opencms.configurationModifier and TypeClassDescriptionclassExceptions that occur during the XML configuration process.Methods in org.opencms.configuration that return CmsExceptionModifier and TypeMethodDescriptionCmsConfigurationException.createException(CmsMessageContainer container, Throwable cause) Methods in org.opencms.configuration that throw CmsException - 
Uses of CmsException in org.opencms.db
Subclasses of CmsException in org.opencms.dbModifier and TypeClassDescriptionclassSignals that a data source consistency problem has been detected.classSignals that an attempt to create an object was not successfull because it already exists.classSignals that an attempt to read an object from a data source, that is supposed to exist, was not successfull.classSignals that a low-level exception occurred when accessing the OpenCms database.classSignals that an IO exception occurred when reading from or writing to the OpenCms database.classSignals that a foreign key in the VFS STRUCTURE, RESOURCES or FILES database tables is either invalid or empty.classUsed to signal sql related issues.classSignals that an attempt to create a resource was not successfull since at the given location another online resource with a different structure id has been found.Methods in org.opencms.db that return CmsExceptionModifier and TypeMethodDescriptionCmsDbConsistencyException.createException(CmsMessageContainer container, Throwable cause) CmsDbEntryAlreadyExistsException.createException(CmsMessageContainer container, Throwable cause) CmsDbEntryNotFoundException.createException(CmsMessageContainer container, Throwable cause) CmsDbException.createException(CmsMessageContainer container, Throwable cause) CmsDbIoException.createException(CmsMessageContainer container, Throwable cause) CmsDbKeyException.createException(CmsMessageContainer container, Throwable cause) CmsDbSqlException.createException(CmsMessageContainer container, Throwable cause) CmsVfsOnlineResourceAlreadyExistsException.createException(CmsMessageContainer container, Throwable cause) Method parameters in org.opencms.db with type arguments of type CmsExceptionModifier and TypeMethodDescriptionstatic <T> TCmsModificationContext.doWithModificationContext(CmsRequestContext requestContext, org.apache.commons.lang3.function.FailableSupplier<T, CmsException> runnable) Executes the given action and returns the result, wrapping the execution in a modification context.Methods in org.opencms.db that throw CmsExceptionModifier and TypeMethodDescriptionvoidCmsDriverManager.addAlias(CmsDbContext dbc, CmsProject project, CmsAlias alias) Adds an alias entry.voidCmsSecurityManager.addAlias(CmsRequestContext context, CmsAlias alias) Adds an alias.voidCmsDriverManager.addRelationToResource(CmsDbContext dbc, CmsResource resource, CmsResource target, CmsRelationType type, boolean importCase) Adds a new relation to the given resource.voidCmsSecurityManager.addRelationToResource(CmsRequestContext context, CmsResource resource, CmsResource target, CmsRelationType type, boolean importCase) Adds a new relation to a given resource.voidCmsDriverManager.addResourceToOrgUnit(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, CmsResource resource) Adds a resource to the given organizational unit.voidCmsSecurityManager.addResourceToOrgUnit(CmsRequestContext context, CmsOrganizationalUnit orgUnit, CmsResource resource) Adds a resource to the given organizational unit.voidCmsDriverManager.addUserToGroup(CmsDbContext dbc, String username, String groupname, boolean readRoles) Adds a user to a group.voidCmsSecurityManager.addUserToGroup(CmsRequestContext context, String username, String groupname, boolean readRoles) Adds a user to a group.voidCmsDriverManager.changeLock(CmsDbContext dbc, CmsResource resource, CmsLockType lockType) Changes the lock of a resource to the current user, that is "steals" the lock from another user.voidCmsSecurityManager.changeLock(CmsRequestContext context, CmsResource resource) Changes the lock of a resource to the current user, that is "steals" the lock from another user.CmsDriverManager.changeResourcesInFolderWithProperty(CmsDbContext dbc, CmsResource resource, String propertyDefinition, String oldValue, String newValue, boolean recursive) Returns a list with all sub resources of a given folder that have set the given property, matching the current property's value with the given old value and replacing it by a given new value.CmsSecurityManager.changeResourcesInFolderWithProperty(CmsRequestContext context, CmsResource resource, String propertyDefinition, String oldValue, String newValue, boolean recursive) Returns a list with all sub resources of a given folder that have set the given property, matching the current property's value with the given old value and replacing it by a given new value.protected CmsResourceCmsPublishList.checkContainsSubResources(CmsObject cms, List<CmsResource> folders) Checks whether the publish list contains all sub-resources of a list of folders.voidCmsSecurityManager.checkLogin(CmsRequestContext context, String username, String password, String remoteAddress) Checks user name / password and other things which would prevent the user from logging in, but does not check the second factor for 2FA.protected voidCmsSecurityManager.checkPermissions(CmsDbContext dbc, CmsResource resource, CmsPermissionSet requiredPermissions, boolean checkLock, CmsResourceFilter filter) Performs a blocking permission check on a resource.protected voidCmsSecurityManager.checkPermissions(CmsDbContext dbc, CmsResource resource, CmsPermissionSet requiredPermissions, I_CmsPermissionHandler.LockCheck checkLock, CmsResourceFilter filter) Performs a blocking permission check on a resource.voidCmsSecurityManager.checkPermissions(CmsRequestContext context, CmsResource resource, CmsPermissionSet requiredPermissions, boolean checkLock, CmsResourceFilter filter) Performs a blocking permission check on a resource.protected voidCmsAliasManager.checkPermissionsForMassEdit(CmsObject cms) Checks whether the current user has the permissions to mass edit the alias table, and throws an exception otherwise.voidCmsSecurityManager.checkPublishPermissions(CmsDbContext dbc, CmsPublishList publishList) Checks if the current user has the permissions to publish the given publish list (which contains the information about the resources / project to publish).protected voidCmsSecurityManager.checkSystemLocks(CmsDbContext dbc, CmsResource resource) Checks if the given resource contains a resource that has a system lock.voidCmsDriverManager.chflags(CmsDbContext dbc, CmsResource resource, int flags) Changes the resource flags of a resource.voidCmsSecurityManager.chflags(CmsRequestContext context, CmsResource resource, int flags) Changes the resource flags of a resource.voidCmsDriverManager.chtype(CmsDbContext dbc, CmsResource resource, int type) Changes the resource type of a resource.voidCmsSecurityManager.chtype(CmsRequestContext context, CmsResource resource, int type) Changes the resource type of a resource.intCmsSecurityManager.cleanupPublishHistory(CmsRequestContext context, CmsPublishHistoryCleanupFilter filter) Cleans up publish history entries according to the given filter object.voidCmsModificationContext.close()Decrements the modification context's level counter by 1, and finally closes it if the counter reaches zero.protected booleanCmsPublishList.containsSubResources(CmsObject cms, CmsResource folder) Checks if the publish list contains all sub-resources of a given folder.voidCmsDriverManager.copyAccessControlEntries(CmsDbContext dbc, CmsResource source, CmsResource destination, boolean updateLastModifiedInfo) Copies the access control entries of a given resource to a destination resource.voidCmsSecurityManager.copyAccessControlEntries(CmsRequestContext context, CmsResource source, CmsResource destination) Copies the access control entries of a given resource to a destination resource.CmsDriverManager.copyResource(CmsDbContext dbc, CmsResource source, String destination, CmsResource.CmsResourceCopyMode siblingMode) Copies a resource.voidCmsSecurityManager.copyResource(CmsRequestContext context, CmsResource source, String destination, CmsResource.CmsResourceCopyMode siblingMode) Copies a resource.voidCmsDriverManager.copyResourceToProject(CmsDbContext dbc, CmsResource resource) Copies a resource to the current project of the user.voidCmsSecurityManager.copyResourceToProject(CmsRequestContext context, CmsResource resource) Copies a resource to the current project of the user.intCmsSecurityManager.countLockedResources(CmsRequestContext context, CmsUUID id) Counts the locked resources in this project.longCmsSecurityManager.countUsers(CmsRequestContext requestContext, CmsUserSearchParameters searchParams) Counts the total number of users which match the given search criteria.CmsDriverManager.createGroup(CmsDbContext dbc, CmsUUID id, String name, String description, int flags, String parent) Add a new group to the Cms.CmsSecurityManager.createGroup(CmsRequestContext context, String name, String description, int flags, String parent) Creates a new user group.CmsDriverManager.createOrganizationalUnit(CmsDbContext dbc, String ouFqn, String description, int flags, CmsResource resource) Creates a new organizational unit.CmsSecurityManager.createOrganizationalUnit(CmsRequestContext context, String ouFqn, String description, int flags, CmsResource resource) Creates a new organizational unit.CmsDriverManager.createProject(CmsDbContext dbc, String name, String description, String groupname, String managergroupname, CmsProject.CmsProjectType projecttype) Creates a project.CmsSecurityManager.createProject(CmsRequestContext context, String name, String description, String groupname, String managergroupname, CmsProject.CmsProjectType projecttype) Creates a project.CmsDriverManager.createPropertyDefinition(CmsDbContext dbc, String name) Creates a property definition.CmsSecurityManager.createPropertyDefinition(CmsRequestContext context, String name) Creates a property definition.voidCmsDriverManager.createPublishJob(CmsDbContext dbc, CmsPublishJobInfoBean publishJob) Creates a new publish job.CmsDriverManager.createResource(CmsDbContext dbc, String resourcename, int type, byte[] content, List<CmsProperty> properties) Creates a new resource of the given resource type with the provided content and properties.CmsDriverManager.createResource(CmsDbContext dbc, String resourcePath, CmsResource resource, byte[] content, List<CmsProperty> properties, boolean importCase) Creates a new resource with the provided content and properties.CmsSecurityManager.createResource(CmsRequestContext context, String resourcename, int type, byte[] content, List<CmsProperty> properties) Creates a new resource of the given resource type with the provided content and properties.CmsSecurityManager.createResource(CmsRequestContext context, String resourcePath, CmsResource resource, byte[] content, List<CmsProperty> properties) Creates a new resource with the provided content and properties.CmsDriverManager.createSibling(CmsDbContext dbc, CmsResource source, String destination, List<CmsProperty> properties) Creates a new sibling of the source resource.CmsSecurityManager.createSibling(CmsRequestContext context, CmsResource source, String destination, List<CmsProperty> properties) Creates a new sibling of the source resource.CmsDriverManager.createTempfileProject(CmsDbContext dbc) Creates the project for the temporary workplace files.CmsSecurityManager.createTempfileProject(CmsRequestContext context) Creates the project for the temporary workplace files.CmsDriverManager.createUser(CmsDbContext dbc, String name, String password, String description, Map<String, Object> additionalInfos) Creates a new user.CmsSecurityManager.createUser(CmsRequestContext context, String name, String password, String description, Map<String, Object> additionalInfos) Creates a new user.voidCmsDriverManager.deleteAliases(CmsDbContext dbc, CmsProject project, CmsAliasFilter filter) Deletes aliases indicated by a filter.voidCmsSecurityManager.deleteAliases(CmsRequestContext context, CmsAliasFilter filter) Deletes alias entries matching a filter.voidCmsDriverManager.deleteAllProperties(CmsDbContext dbc, String resourcename) Deletes all property values of a file or folder.voidCmsDriverManager.deleteAllStaticExportPublishedResources(CmsDbContext dbc, int linkType) Deletes all entries in the published resource table.voidCmsSecurityManager.deleteAllStaticExportPublishedResources(CmsRequestContext context, int linkType) Deletes all entries in the published resource table.voidCmsDriverManager.deleteGroup(CmsDbContext dbc, CmsGroup group, CmsUUID replacementId) Deletes a group, where all permissions, users and children of the group are transfered to a replacement group.voidCmsSecurityManager.deleteGroup(CmsRequestContext context, String name) Delete a user group.voidCmsSecurityManager.deleteGroup(CmsRequestContext context, CmsUUID groupId, CmsUUID replacementId) Deletes a group, where all permissions, users and children of the group are transfered to a replacement group.voidCmsDriverManager.deleteHistoricalVersions(CmsDbContext dbc, int versionsToKeep, int versionsDeleted, long timeDeleted, Predicate<I_CmsHistoryResource> clearDeletedFilter, I_CmsReport report) Deletes the versions from the history tables, keeping the given number of versions per resource.voidCmsSecurityManager.deleteHistoricalVersions(CmsRequestContext context, int versionsToKeep, int versionsDeleted, long timeDeleted, Predicate<I_CmsHistoryResource> clearDeletedFilter, I_CmsReport report) Deletes the versions from the history tables, keeping the given number of versions per resource.voidCmsDriverManager.deleteLogEntries(CmsDbContext dbc, CmsLogFilter filter) Deletes all log entries matching the given filter.voidCmsSecurityManager.deleteLogEntries(CmsRequestContext context, CmsLogFilter filter) Deletes all log entries matching the given filter.voidCmsDriverManager.deleteOrganizationalUnit(CmsDbContext dbc, CmsOrganizationalUnit organizationalUnit) Deletes an organizational unit.voidCmsSecurityManager.deleteOrganizationalUnit(CmsRequestContext context, CmsOrganizationalUnit organizationalUnit) Deletes an organizational unit.voidCmsDriverManager.deleteProject(CmsDbContext dbc, CmsProject deleteProject) Deletes a project.voidCmsDriverManager.deleteProject(CmsDbContext dbc, CmsProject deleteProject, boolean resetResources) Deletes a project.voidCmsSecurityManager.deleteProject(CmsRequestContext context, CmsUUID projectId) Deletes a project.voidCmsDriverManager.deletePropertyDefinition(CmsDbContext dbc, String name) Deletes a property definition.voidCmsSecurityManager.deletePropertyDefinition(CmsRequestContext context, String name) Deletes a property definition.voidCmsDriverManager.deletePublishJob(CmsDbContext dbc, CmsUUID publishHistoryId) Deletes a publish job identified by its history id.voidCmsDriverManager.deletePublishList(CmsDbContext dbc, CmsUUID publishHistoryId) Deletes the publish list assigned to a publish job.voidCmsDriverManager.deleteRelationsForResource(CmsDbContext dbc, CmsResource resource, CmsRelationFilter filter) Deletes all relations for the given resource matching the given filter.voidCmsSecurityManager.deleteRelationsForResource(CmsRequestContext context, CmsResource resource, CmsRelationFilter filter) Deletes all relations for the given resource matching the given filter.protected voidCmsDriverManager.deleteRelationsWithSiblings(CmsDbContext dbc, CmsResource resource) Deletes all relations for the given resource and all its siblings.voidCmsDriverManager.deleteResource(CmsDbContext dbc, CmsResource resource, CmsResource.CmsResourceDeleteMode siblingMode) Deletes a resource.protected voidCmsSecurityManager.deleteResource(CmsDbContext dbc, CmsResource resource, CmsResource.CmsResourceDeleteMode siblingMode) Internal recursive method for deleting a resource.voidCmsSecurityManager.deleteResource(CmsRequestContext context, CmsResource resource, CmsResource.CmsResourceDeleteMode siblingMode) Deletes a resource given its name.voidCmsDriverManager.deleteStaticExportPublishedResource(CmsDbContext dbc, String resourceName, int linkType, String linkParameter) Deletes an entry in the published resource table.voidCmsSecurityManager.deleteStaticExportPublishedResource(CmsRequestContext context, String resourceName, int linkType, String linkParameter) Deletes an entry in the published resource table.voidCmsDriverManager.deleteUser(CmsDbContext dbc, CmsProject project, String username, String replacementUsername) Deletes a user, where all permissions and resources attributes of the user were transfered to a replacement user, if given.voidCmsSecurityManager.deleteUser(CmsRequestContext context, String username) Deletes a user.protected voidCmsSecurityManager.deleteUser(CmsRequestContext context, CmsUser user, CmsUser replacement) Deletes a user, where all permissions and resources attributes of the user were transfered to a replacement user, if given.voidCmsSecurityManager.deleteUser(CmsRequestContext context, CmsUUID userId) Deletes a user.voidCmsSecurityManager.deleteUser(CmsRequestContext context, CmsUUID userId, CmsUUID replacementId) Deletes a user, where all permissions and resources attributes of the user were transfered to a replacement user.static <T> TCmsModificationContext.doWithModificationContext(CmsRequestContext requestContext, org.apache.commons.lang3.function.FailableSupplier<T, CmsException> runnable) Executes the given action and returns the result, wrapping the execution in a modification context.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.booleanCmsDriverManager.existsResourceId(CmsDbContext dbc, CmsUUID resourceId) Tests if a resource with the given resourceId does already exist in the Database.voidCmsDriverManager.fillPublishList(CmsDbContext dbc, CmsPublishList publishList) Fills the given publish list with the the VFS resources that actually get published.CmsSecurityManager.fillPublishList(CmsRequestContext context, CmsPublishList publishList) Fills the given publish list with the the VFS resources that actually get published.CmsDriverManager.getAccessControlEntries(CmsDbContext dbc, CmsResource resource, boolean getInherited) Returns the list of access control entries of a resource given its name.CmsSecurityManager.getAccessControlEntries(CmsRequestContext context, CmsResource resource, boolean getInherited) Returns the list of access control entries of a resource given its name.CmsDriverManager.getAccessControlList(CmsDbContext dbc, CmsResource resource) Returns the full access control list of a given resource.CmsDriverManager.getAccessControlList(CmsDbContext dbc, CmsResource resource, boolean inheritedOnly) Returns the access control list of a given resource.CmsSecurityManager.getAccessControlList(CmsRequestContext context, CmsResource resource, boolean inheritedOnly) Returns the access control list (summarized access control entries) of a given resource.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.CmsSecurityManager.getAliasesForSite(CmsRequestContext requestContext, String siteRoot) Gets the aliases for a given site.CmsAliasManager.getAliasesForStructureId(CmsObject cms, CmsUUID structureId) Gets the aliases for a given structure id.CmsDriverManager.getAllAccessControlEntries(CmsDbContext dbc) Reads all access control entries.CmsSecurityManager.getAllAccessControlEntries(CmsRequestContext context) Gets all access control entries.CmsDriverManager.getAllAccessibleProjects(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, boolean includeSubOus) Returns all projects which are owned by the current user or which are accessible by the current user.CmsSecurityManager.getAllAccessibleProjects(CmsRequestContext context, CmsOrganizationalUnit orgUnit, boolean includeSubOus) Returns all projects which are owned by the current user or which are accessible for the group of the user.CmsDriverManager.getAllHistoricalProjects(CmsDbContext dbc) Returns a list with all projects from history.CmsSecurityManager.getAllHistoricalProjects(CmsRequestContext context) Returns a list with all projects from history.CmsDriverManager.getAllManageableProjects(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, boolean includeSubOus) Returns all projects which are owned by the current user or which are manageable for the group of the user.CmsSecurityManager.getAllManageableProjects(CmsRequestContext context, CmsOrganizationalUnit orgUnit, boolean includeSubOus) Returns all projects which are owned by the current user or which are manageable for the group of the user.CmsDriverManager.getChildren(CmsDbContext dbc, CmsGroup group, boolean includeSubChildren) Returns all child groups of a group.CmsSecurityManager.getChildren(CmsRequestContext context, String groupname, boolean includeSubChildren) Returns all child groups of a group.longCmsDriverManager.getDateLastVisitedBy(CmsDbContext dbc, String poolName, CmsUser user, CmsResource resource) Returns the date when the resource was last visited by the user.longCmsSecurityManager.getDateLastVisitedBy(CmsRequestContext context, String poolName, CmsUser user, CmsResource resource) Returns the date when the resource was last visited by the user.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.longI_CmsSubscriptionDriver.getDateLastVisitedBy(CmsDbContext dbc, String poolName, CmsUser user, CmsResource resource) Returns the date when the resource was last visited by the user.CmsDriverManager.getGroups(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, boolean includeSubOus, boolean readRoles) Returns all groups of the given organizational unit.CmsSecurityManager.getGroups(CmsRequestContext context, CmsOrganizationalUnit orgUnit, boolean includeSubOus, boolean readRoles) Returns all groups of the given organizational unit.CmsDriverManager.getGroupsOfUser(CmsDbContext dbc, String username, boolean readRoles) Returns the groups of an user filtered by the specified IP address.CmsDriverManager.getGroupsOfUser(CmsDbContext dbc, String username, String ouFqn, boolean includeChildOus, boolean readRoles, boolean directGroupsOnly, String remoteAddress) Returns the groups of an user filtered by the specified IP address.CmsSecurityManager.getGroupsOfUser(CmsRequestContext context, String username, String ouFqn, boolean includeChildOus, boolean readRoles, boolean directGroupsOnly, String remoteAddress) Returns the list of groups to which the user directly belongs to.CmsDriverManager.getLock(CmsDbContext dbc, CmsResource resource) Returns the lock state of a resource.CmsSecurityManager.getLock(CmsRequestContext context, CmsResource resource) Returns the lock state of a resource.CmsDriverManager.getLockedResources(CmsDbContext dbc, CmsResource resource, CmsLockFilter filter) Returns all locked resources in a given folder.CmsSecurityManager.getLockedResources(CmsRequestContext context, CmsResource resource, CmsLockFilter filter) Returns all locked resources in a given folder.CmsDriverManager.getLockedResourcesObjects(CmsDbContext dbc, CmsResource resource, CmsLockFilter filter) Returns all locked resources in a given folder.CmsSecurityManager.getLockedResourcesObjects(CmsRequestContext context, CmsResource resource, CmsLockFilter filter) Returns all locked resources in a given folder.CmsDriverManager.getLockedResourcesObjectsWithCache(CmsDbContext dbc, CmsResource resource, CmsLockFilter filter, Map<String, CmsResource> cache) Returns all locked resources in a given folder, but uses a cache for resource lookups.CmsSecurityManager.getLockedResourcesObjectsWithCache(CmsRequestContext context, CmsResource resource, CmsLockFilter filter, Map<String, CmsResource> cache) Returns all locked resources in a given folder, but uses a cache for resource lookups.CmsDriverManager.getLogEntries(CmsDbContext dbc, CmsLogFilter filter) Returns all log entries matching the given filter.CmsSecurityManager.getLogEntries(CmsRequestContext context, CmsLogFilter filter) Returns all log entries matching the given filter.protected List<CmsResource> CmsSecurityManager.getManageableResources(CmsDbContext dbc, CmsRole role) Returns all resources of organizational units for which the current user has the given role role.CmsSecurityManager.getManageableResources(CmsRequestContext context, CmsRole role) Returns all resources of organizational units for which the current user has the given role role.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.CmsDriverManager.getOrganizationalUnits(CmsDbContext dbc, CmsOrganizationalUnit parent, boolean includeChildren) Returns all child organizational units of the given parent organizational unit including hierarchical deeper organization units if needed.CmsSecurityManager.getOrganizationalUnits(CmsRequestContext context, CmsOrganizationalUnit parent, boolean includeChildren) Returns all child organizational units of the given parent organizational unit including hierarchical deeper organization units if needed.CmsDriverManager.getOrgUnitsForRole(CmsDbContext dbc, CmsRole role, boolean includeSubOus) Returns all the organizational units for which the current user has the given role.CmsSecurityManager.getOrgUnitsForRole(CmsRequestContext requestContext, CmsRole role, boolean includeSubOus) Returns all the organizational units for which the current user has the given role.CmsDriverManager.getParent(CmsDbContext dbc, String groupname) Returns the parent group of a group.CmsSecurityManager.getParent(CmsRequestContext context, String groupname) Returns the parent group of a group.CmsDriverManager.getPermissions(CmsDbContext dbc, CmsResource resource, CmsUser user) Returns the set of permissions of the current user for a given resource.CmsSecurityManager.getPermissions(CmsRequestContext context, CmsResource resource, CmsUser user) Returns the set of permissions of the current user for a given resource.CmsDriverManager.getProjectId(CmsDbContext dbc, int id) Returns the uuid id for the given id.CmsSecurityManager.getProjectId(CmsRequestContext context, int id) Returns the uuid id for the given id, remove this method as soon as possible.CmsDriverManager.getRelatedResourcesToPublish(CmsDbContext dbc, CmsPublishList publishList, CmsRelationFilter filter) 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.CmsSecurityManager.getRelatedResourcesToPublish(CmsRequestContext context, CmsPublishList publishList, CmsRelationFilter filter) 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.CmsDriverManager.getRelationsForResource(CmsDbContext dbc, CmsResource resource, CmsRelationFilter filter) Returns all relations for the given resource matching the given filter.CmsSecurityManager.getRelationsForResource(CmsRequestContext context, CmsResource resource, CmsRelationFilter filter) Returns all relations for the given resource matching the given filter.CmsDriverManager.getResourceOrgUnits(CmsDbContext dbc, CmsResource resource) Returns the list of organizational units the given resource belongs to.CmsDriverManager.getResourcesForOrganizationalUnit(CmsDbContext dbc, CmsOrganizationalUnit orgUnit) Returns all resources of the given organizational unit.CmsSecurityManager.getResourcesForOrganizationalUnit(CmsRequestContext context, CmsOrganizationalUnit orgUnit) Returns all resources of the given organizational unit.CmsDriverManager.getResourcesForPrincipal(CmsDbContext dbc, CmsProject project, CmsUUID principalId, CmsPermissionSet permissions, boolean includeAttr) Returns all resources associated to a given principal via an ACE with the given permissions.CmsSecurityManager.getResourcesForPrincipal(CmsRequestContext context, CmsUUID principalId, CmsPermissionSet permissions, boolean includeAttr) Returns all resources associated to a given principal via an ACE with the given permissions.CmsAliasManager.getRewriteAliases(CmsObject cms, String siteRoot) Reads the rewrite aliases for a given site root.CmsDriverManager.getRewriteAliases(CmsDbContext dbc, CmsRewriteAliasFilter filter) Gets the rewrite aliases matching a given filter.CmsSecurityManager.getRewriteAliases(CmsRequestContext requestContext, CmsRewriteAliasFilter filter) Gets the rewrite aliases matching a given filter.CmsAliasManager.getRewriteAliasMatcher(CmsObject cms, String siteRoot) Gets the rewrite alias matcher for the given site.CmsDriverManager.getRoleGroups(CmsDbContext dbc, String roleGroupName, boolean directUsersOnly) Collects the groups which constitute a given role.CmsSecurityManager.getRoleGroups(CmsRequestContext context, CmsRole role, boolean directUsersOnly) Gets the groups which constitute a given role.CmsDriverManager.getRoleGroupsImpl(CmsDbContext dbc, String roleGroupName, boolean directUsersOnly, Map<String, Set<CmsGroup>> accumulator) Collects the groups which constitute a given role.CmsDriverManager.getRolesForResource(CmsDbContext dbc, CmsUser user, CmsResource resource) Returns all roles the given user has for the given resource.CmsSecurityManager.getRolesForResource(CmsRequestContext context, CmsUser user, CmsResource resource) Returns all roles the given user has for the given resource.CmsDriverManager.getRolesForUser(CmsDbContext dbc, CmsUser user) Returns all roles the given user has independent of the resource.CmsPublishList.getTopMovedFolders(CmsObject cms) Gets the list of moved folders which are not subfolders of other moved folders in the publish list.CmsDriverManager.getUsers(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, boolean recursive) Returns all direct users of the given organizational unit.CmsSecurityManager.getUsers(CmsRequestContext context, CmsOrganizationalUnit orgUnit, boolean recursive) Returns all users of the given organizational unit.CmsDriverManager.getUsersOfGroup(CmsDbContext dbc, String groupname, boolean includeOtherOuUsers, boolean directUsersOnly, boolean readRoles) Returns a list of users in a group.CmsSecurityManager.getUsersOfGroup(CmsRequestContext context, String groupname, boolean includeOtherOuUsers, boolean directUsersOnly, boolean readRoles) Returns a list of users in a group.CmsSecurityManager.getUsersPubList(CmsRequestContext context) Returns the current user's publish list.CmsDriverManager.getUsersWithoutAdditionalInfo(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, boolean recursive) Returns all direct users of the given organizational unit, without their additional info.CmsSecurityManager.getUsersWithoutAdditionalInfo(CmsRequestContext context, CmsOrganizationalUnit orgUnit, boolean recursive) Returns all users of the given organizational unit.CmsSecurityManager.hasPermissions(CmsDbContext dbc, CmsResource resource, CmsPermissionSet requiredPermissions, I_CmsPermissionHandler.LockCheck checkLock, CmsResourceFilter filter) Performs a non-blocking permission check on a resource.CmsSecurityManager.hasPermissions(CmsRequestContext context, CmsResource resource, CmsPermissionSet requiredPermissions, boolean checkLock, CmsResourceFilter filter) Performs a non-blocking permission check on a resource.CmsSecurityManager.hasPermissions(CmsRequestContext context, CmsResource resource, CmsPermissionSet requiredPermissions, I_CmsPermissionHandler.LockCheck checkLock, CmsResourceFilter filter) Performs a non-blocking permission check on a resource.voidCmsDriverManager.importAccessControlEntries(CmsDbContext dbc, CmsResource resource, List<CmsAccessControlEntry> acEntries) Writes a vector of access control entries as new access control entries of a given resource.voidCmsSecurityManager.importAccessControlEntries(CmsRequestContext context, CmsResource resource, List<CmsAccessControlEntry> acEntries) Writes a list of access control entries as new access control entries of a given resource.protected CmsAliasImportResultCmsAliasManager.importAlias(CmsObject cms, String siteRoot, String aliasPath, String vfsPath, CmsAliasMode mode) Imports a single alias.voidCmsImportFolder.importFolder(String importFolderName, String importPath, CmsObject cms) Import that will read from the real file system.CmsSecurityManager.importResource(CmsRequestContext context, String resourcePath, CmsResource resource, byte[] content, List<CmsProperty> properties, boolean importCase) Creates a new resource with the provided content and properties.CmsDriverManager.importRewriteAlias(CmsDbContext dbc, String siteRoot, String source, String target, CmsAliasMode mode) Imports a rewrite alias.CmsSecurityManager.importRewriteAlias(CmsRequestContext requestContext, String siteRoot, String source, String target, CmsAliasMode mode) Imports a rewrite alias.CmsDriverManager.importUser(CmsDbContext dbc, String id, String name, String password, String firstname, String lastname, String email, int flags, long dateCreated, Map<String, Object> additionalInfos) Creates a new user by import.CmsSecurityManager.importUser(CmsRequestContext context, String id, String name, String password, String firstname, String lastname, String email, int flags, long dateCreated, Map<String, Object> additionalInfos) Creates a new user by import.voidImport that will read from a ZIP file.intCmsDriverManager.incrementCounter(CmsDbContext dbc, String name) Increments a counter and returns its value before incrementing.intCmsSecurityManager.incrementCounter(CmsRequestContext context, String name) Increments a counter and returns its old value.voidCmsDriverManager.init(CmsConfigurationManager configurationManager, I_CmsDbContextFactory dbContextFactory) Initializes the driver and sets up all required modules and connections.voidCmsDriverManager.ResourceOUMap.init(CmsDriverManager driverManager, CmsDbContext dbc) Reads the OU resource data from the VFS and initializes this instance with it.voidI_CmsDriver.init(CmsDbContext dbc, CmsConfigurationManager configurationManager, List<String> successiveDrivers, CmsDriverManager driverManager) Initializes the driver.CmsDriverManager.lockedBy(CmsDbContext dbc, CmsResource resource) Returns the user, who had locked the resource.voidCmsDriverManager.lockResource(CmsDbContext dbc, CmsResource resource, CmsLockType type) Locks a resource.voidCmsSecurityManager.lockResource(CmsRequestContext context, CmsResource resource, CmsLockType type) Locks a resource.CmsSecurityManager.loginUser(CmsRequestContext context, String username, String password, CmsSecondFactorInfo code, String remoteAddress) Attempts to authenticate a user into OpenCms with the given password.voidCmsDriverManager.markResourceAsVisitedBy(CmsDbContext dbc, String poolName, CmsResource resource, CmsUser user) Mark the given resource as visited by the user.voidCmsSecurityManager.markResourceAsVisitedBy(CmsRequestContext context, String poolName, CmsResource resource, CmsUser user) Mark the given resource as visited by the user.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.CmsSecurityManager.mergePublishLists(CmsRequestContext context, CmsPublishList pubList1, CmsPublishList pubList2) Returns a new publish list that contains all resources of both given publish lists.voidCmsDriverManager.moveResource(CmsDbContext dbc, CmsResource source, String destination, boolean internal) Moves a resource.protected voidCmsSecurityManager.moveResource(CmsDbContext dbc, CmsResource source, String destination, Set<CmsResource> allMovedResources) Internal recursive method to move a resource.voidCmsSecurityManager.moveResource(CmsRequestContext context, CmsResource source, String destination) Moves a resource.CmsDriverManager.moveToLostAndFound(CmsDbContext dbc, CmsResource resource, boolean returnNameOnly) Moves a resource to the "lost and found" folder.CmsSecurityManager.moveToLostAndFound(CmsRequestContext context, CmsResource resource, boolean returnNameOnly) Moves a resource to the "lost and found" folder.CmsDriverManager.newDriverInstance(CmsParameterConfiguration configuration, String driverName, String driverPoolUrl) Method to create a new instance of a driver.voidCmsDbContext.pop()Processes the current database context.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.voidI_CmsProjectDriver.publishProject(CmsDbContext dbc, I_CmsReport report, CmsProject onlineProject, CmsPublishList publishList, int publishTag) Publishes a specified project to the online project.CmsDriverManager.readAccessControlEntry(CmsDbContext dbc, CmsResource resource, CmsUUID principal) Reads an access control entry from the cms.CmsDriverManager.readAliasByPath(CmsDbContext dbc, CmsProject project, String siteRoot, String path) Finds the alias with a given path.CmsSecurityManager.readAliasByPath(CmsRequestContext context, String siteRoot, String path) Reads the alias with a given path in a given site.CmsSecurityManager.readAliasesById(CmsRequestContext context, CmsUUID structureId) Reads the aliases for a resource with a given structure id.CmsDriverManager.readAliasesBySite(CmsDbContext dbc, CmsProject currentProject, String siteRoot) Reads the aliases for a given site root.CmsDriverManager.readAliasesByStructureId(CmsDbContext dbc, CmsProject project, CmsUUID structureId) Reads the aliases which point to a given structure id.CmsDriverManager.readAllAvailableVersions(CmsDbContext dbc, CmsResource resource) Reads all versions of the given resource.
This method returns a list with the history of the given resource, i.e.CmsSecurityManager.readAllAvailableVersions(CmsRequestContext context, CmsResource resource) Reads all historical versions of a resource.CmsDriverManager.readAllPropertyDefinitions(CmsDbContext dbc) Reads all property definitions for the given mapping type.CmsSecurityManager.readAllPropertyDefinitions(CmsRequestContext context) Reads all property definitions for the given mapping type.CmsDriverManager.readAllSubscribedResources(CmsDbContext dbc, String poolName, CmsPrincipal principal) Returns all resources subscribed by the given user or group.CmsSecurityManager.readAllSubscribedResources(CmsRequestContext context, String poolName, CmsPrincipal principal) Returns all resources subscribed by the given user or group.CmsSubscriptionManager.readAllSubscribedResources(CmsObject cms, CmsPrincipal principal) Returns all resources subscribed by the given user or group.CmsSecurityManager.readAllUrlNameMappingEntries(CmsRequestContext context, CmsUUID id) Reads all URL name mapping entries for a given structure id.CmsSecurityManager.readAncestor(CmsRequestContext context, CmsResource resource, CmsResourceFilter filter) Returns the first ancestor folder matching the filter criteria.CmsSecurityManager.readBestUrlName(CmsRequestContext context, CmsUUID id, Locale locale, List<Locale> defaultLocales) Reads the newest URL name which is mapped to the given structure id.CmsDriverManager.readChildResources(CmsDbContext dbc, CmsResource resource, CmsResourceFilter filter, boolean getFolders, boolean getFiles, boolean checkPermissions) Returns the child resources of a resource, that is the resources contained in a folder.CmsSecurityManager.readChildResources(CmsRequestContext context, CmsResource resource, CmsResourceFilter filter, boolean getFolders, boolean getFiles) Returns the child resources of a resource, that is the resources contained in a folder.CmsDriverManager.readDeletedResources(CmsDbContext dbc, CmsResource resource, boolean readTree, boolean isVfsManager) Reads all deleted (historical) resources below the given path, including the full tree below the path, if required.CmsSecurityManager.readDeletedResources(CmsRequestContext context, CmsResource resource, boolean readTree) Reads all deleted (historical) resources below the given path, including the full tree below the path, if required.CmsDriverManager.readFile(CmsDbContext dbc, CmsResource resource) Reads a file resource (including it's binary content) from the VFS, using the specified resource filter.CmsSecurityManager.readFile(CmsRequestContext context, CmsResource resource) Reads a file resource (including it's binary content) from the VFS.protected CmsFolderCmsSecurityManager.readFolder(CmsDbContext dbc, String resourcename, CmsResourceFilter filter) Reads a folder from the VFS, using the specified resource filter.CmsSecurityManager.readFolder(CmsRequestContext context, String resourcename, CmsResourceFilter filter) Reads a folder resource from the VFS, using the specified resource filter.CmsDriverManager.readFolderSizeStats(CmsDbContext dbc, CmsFolderSizeOptions options) CmsSecurityManager.readFolderSizeStats(CmsRequestContext context, CmsFolderSizeOptions options) Reads folder size statistis.CmsDriverManager.readGroup(CmsDbContext dbc, CmsUUID groupId) Reads a group based on its id.CmsSecurityManager.readGroup(CmsRequestContext context, String groupname) Reads a group based on its name.CmsSecurityManager.readGroup(CmsRequestContext context, CmsUUID groupId) Reads a group based on its id.CmsDriverManager.readHistoricalPrincipal(CmsDbContext dbc, CmsUUID principalId) Reads a principal (an user or group) from the historical archive based on its ID.CmsSecurityManager.readHistoricalPrincipal(CmsRequestContext context, CmsUUID principalId) Reads a principal (an user or group) from the historical archive based on its ID.CmsDriverManager.readHistoryProject(CmsDbContext dbc, int publishTag) Returns a historical project entry.CmsDriverManager.readHistoryProject(CmsDbContext dbc, CmsUUID projectId) Returns the latest historical project entry with the given id.CmsSecurityManager.readHistoryProject(CmsRequestContext context, int publishTag) Returns a historical project entry.CmsSecurityManager.readHistoryProject(CmsRequestContext context, CmsUUID projectId) Returns the latest historical project entry with the given id.CmsDriverManager.readHistoryPropertyObjects(CmsDbContext dbc, I_CmsHistoryResource historyResource) Reads the list of allobjects that belongs to the given historical resource.CmsPropertyCmsSecurityManager.readHistoryPropertyObjects(CmsRequestContext context, I_CmsHistoryResource resource) Reads the list of allobjects that belong to the given historical resource.CmsPropertyCmsSecurityManager.readIdForUrlName(CmsRequestContext context, String name) Reads the structure id which is mapped to the given URL name, or null if the name is not mapped to any structure IDs.voidCmsDriverManager.readLocks(CmsDbContext dbc) Reads the locks that were saved to the database in the previous run of OpenCms.voidCmsSecurityManager.readLocks()Reads the locks that were saved to the database in the previous run of OpenCms.CmsDriverManager.readOrganizationalUnit(CmsDbContext dbc, String ouFqn) Reads an organizational Unit based on its fully qualified name.CmsSecurityManager.readOrganizationalUnit(CmsRequestContext context, String ouFqn) Reads an organizational Unit based on its fully qualified name.CmsDriverManager.readOwner(CmsDbContext dbc, CmsProject project) Reads the owner of a project.CmsSecurityManager.readOwner(CmsRequestContext context, CmsProject project) Reads the owner of a project from the OpenCms.CmsSecurityManager.readParentFolder(CmsRequestContext context, CmsUUID structureId) Returns the parent folder to the given structure id.CmsDriverManager.readPath(CmsDbContext dbc, String path, CmsResourceFilter filter) Builds a list of resources for a given path.CmsSecurityManager.readPath(CmsRequestContext context, String path, CmsResourceFilter filter) Builds a list of resources for a given path.CmsDriverManager.readProject(CmsDbContext dbc, String name) Reads a project.CmsSecurityManager.readProject(String name) Reads a project.CmsSecurityManager.readProject(CmsUUID id) Reads a project given the projects id.CmsDriverManager.readProjectResources(CmsDbContext dbc, CmsProject project) Returns the list of all resource names that define the "view" of the given project.CmsSecurityManager.readProjectResources(CmsRequestContext context, CmsProject project) Returns the list of all resource names that define the "view" of the given project.CmsDriverManager.readProjectView(CmsDbContext dbc, CmsUUID projectId, CmsResourceState state) Reads all resources of a project that match a given state from the VFS.CmsSecurityManager.readProjectView(CmsRequestContext context, CmsUUID projectId, CmsResourceState state) Reads all resources of a project that match a given state from the VFS.CmsDriverManager.readPropertyDefinition(CmsDbContext dbc, String name) Reads a property definition.CmsSecurityManager.readPropertyDefinition(CmsRequestContext context, String name) Reads a property definition.CmsDriverManager.readPropertyObject(CmsDbContext dbc, CmsResource resource, String key, boolean search) Reads a property object from a resource specified by a property name.CmsDriverManager.readPropertyObject(CmsDbContext dbc, CmsResource resource, String key, boolean search, Locale locale) Reads a property object from a resource specified by a property name.CmsSecurityManager.readPropertyObject(CmsRequestContext context, CmsResource resource, String key, boolean search) Reads a property object from a resource specified by a property name.CmsSecurityManager.readPropertyObject(CmsRequestContext context, CmsResource resource, String key, boolean search, Locale locale) Reads a property object from a resource specified by a property name.CmsDriverManager.readPropertyObjects(CmsDbContext dbc, CmsResource resource, boolean search) Reads all property objects mapped to a specified resource from the database.CmsSecurityManager.readPropertyObjects(CmsRequestContext context, CmsResource resource, boolean search) Reads all property objects from a resource.CmsDriverManager.readPublishedResources(CmsDbContext dbc, CmsUUID publishHistoryId) Reads the resources that were published in a publish task for a given publish history ID.CmsSecurityManager.readPublishedResources(CmsRequestContext context, CmsUUID publishHistoryId) Reads the resources that were published in a publish task for a given publish history ID.CmsDriverManager.readPublishJob(CmsDbContext dbc, CmsUUID publishHistoryId) Reads a single publish job identified by its publish history id.CmsDriverManager.readPublishJobs(CmsDbContext dbc, long startTime, long endTime) Reads all available publish jobs.CmsDriverManager.readPublishList(CmsDbContext dbc, CmsUUID publishHistoryId) Reads the publish list assigned to a publish job.byte[]CmsDriverManager.readPublishReportContents(CmsDbContext dbc, CmsUUID publishHistoryId) Reads the publish report assigned to a publish job.CmsDriverManager.readResource(CmsDbContext dbc, CmsResource resource, int version) Reads an historical resource entry for the given resource and with the given version number.protected CmsResourceCmsSecurityManager.readResource(CmsDbContext dbc, String resourcePath, CmsResourceFilter filter) Reads a resource from the OpenCms VFS, using the specified resource filter.protected CmsResourceCmsSecurityManager.readResource(CmsDbContext dbc, CmsUUID structureID, CmsResourceFilter filter) Reads a resource from the OpenCms VFS, using the specified resource filter.CmsSecurityManager.readResource(CmsRequestContext context, String resourcePath, CmsResourceFilter filter) Reads a resource from the VFS, using the specified resource filter.CmsSecurityManager.readResource(CmsRequestContext context, CmsResource resource, int version) Reads the historical resource entry for the given resource with the given version number.CmsSecurityManager.readResource(CmsRequestContext context, CmsUUID structureID, CmsResourceFilter filter) Reads a resource from the VFS, using the specified resource filter.CmsDriverManager.readResources(CmsDbContext dbc, CmsResource parent, CmsResourceFilter filter, boolean readTree) Reads all resources below the given path matching the filter criteria, including the full tree below the path only in case thereadTreeparameter istrue.CmsSecurityManager.readResources(CmsRequestContext context, CmsResource parent, CmsResourceFilter filter, boolean readTree) Reads all resources below the given path matching the filter criteria, including the full tree below the path only in case thereadTreeparameter istrue.CmsDriverManager.readResourcesVisitedBy(CmsDbContext dbc, String poolName, CmsVisitedByFilter filter) Returns the resources that were visited by a user set in the filter.CmsSecurityManager.readResourcesVisitedBy(CmsRequestContext context, String poolName, CmsVisitedByFilter filter) Returns the resources that were visited by a user set in the filter.CmsSubscriptionManager.readResourcesVisitedBy(CmsObject cms, CmsVisitedByFilter filter) Returns the resources that were visited by a user set in the filter.CmsDriverManager.readResourcesWithProperty(CmsDbContext dbc, CmsResource folder, String propertyDefinition, String value, CmsResourceFilter filter) Reads all resources that have a value (containing the given value string) set for the specified property (definition) in the given path.CmsSecurityManager.readResourcesWithProperty(CmsRequestContext context, CmsResource folder, String propertyDefinition, String value, CmsResourceFilter filter) Reads all resources that have a value (containing the specified value) set for the specified property (definition) in the given path.CmsDriverManager.readResponsiblePrincipals(CmsDbContext dbc, CmsResource resource) Returns the set of users that are responsible for a specific resource.CmsSecurityManager.readResponsiblePrincipals(CmsRequestContext context, CmsResource resource) Returns a set of users that are responsible for a specific resource.CmsDriverManager.readResponsibleUsers(CmsDbContext dbc, CmsResource resource) Returns the set of users that are responsible for a specific resource.CmsSecurityManager.readResponsibleUsers(CmsRequestContext context, CmsResource resource) Returns a set of users that are responsible for a specific resource.CmsDriverManager.readSiblings(CmsDbContext dbc, CmsResource resource, CmsResourceFilter filter) Returns a List of all siblings of the specified resource, the specified resource being always part of the result set.CmsSecurityManager.readSiblings(CmsRequestContext context, CmsResource resource, CmsResourceFilter filter) Returns a List of all siblings of the specified resource, the specified resource being always part of the result set.CmsDriverManager.readStaticExportPublishedResourceParameters(CmsDbContext dbc, String rfsName) Returns the parameters of a resource in the table of all published template resources.CmsSecurityManager.readStaticExportPublishedResourceParameters(CmsRequestContext context, String rfsName) Returns the parameters of a resource in the table of all published template resources.CmsDriverManager.readStaticExportResources(CmsDbContext dbc, int parameterResources, long timestamp) Returns a list of all template resources which must be processed during a static export.CmsSecurityManager.readStaticExportResources(CmsRequestContext context, int parameterResources, long timestamp) Returns a list of all template resources which must be processed during a static export.CmsDriverManager.readSubscribedDeletedResources(CmsDbContext dbc, String poolName, CmsUser user, List<CmsGroup> groups, CmsResource parent, boolean includeSubFolders, long deletedFrom) Returns the subscribed history resources that were deleted.CmsSecurityManager.readSubscribedDeletedResources(CmsRequestContext context, String poolName, CmsUser user, List<CmsGroup> groups, CmsResource parent, boolean includeSubFolders, long deletedFrom) Returns the subscribed history resources that were deleted.CmsSubscriptionManager.readSubscribedDeletedResources(CmsObject cms, CmsUser user, boolean includeGroups, String folderPath, boolean includeSubFolders, long deletedFrom) Returns the subscribed history resources that were deleted.CmsDriverManager.readSubscribedResources(CmsDbContext dbc, String poolName, CmsSubscriptionFilter filter) Returns the resources that were subscribed by a user or group set in the filter.CmsSecurityManager.readSubscribedResources(CmsRequestContext context, String poolName, CmsSubscriptionFilter filter) Returns the resources that were subscribed by a user or group set in the filter.CmsSubscriptionManager.readSubscribedResources(CmsObject cms, CmsSubscriptionFilter filter) Returns the resources that were subscribed by a user or group set in the filter.CmsSecurityManager.readUrlNameMappings(CmsRequestContext context, CmsUrlNameMappingFilter filter) Reads the URL name mappings matching a given filter.CmsSecurityManager.readUrlNamesForAllLocales(CmsRequestContext context, CmsUUID id) Reads the newest URL names of a structure id for all locales.CmsDriverManager.readUser(CmsDbContext dbc, String username, String password) Returns a user object if the password for the user is correct.CmsDriverManager.readUser(CmsDbContext dbc, CmsUUID id) Returns a user object based on the id of a user.CmsSecurityManager.readUser(CmsRequestContext context, String username) Returns a user object.CmsSecurityManager.readUser(CmsRequestContext context, String username, String password) Returns a user object if the password for the user is correct.CmsSecurityManager.readUser(CmsRequestContext context, CmsUUID id) Returns a user object based on the id of a user.voidCmsDriverManager.removeAccessControlEntry(CmsDbContext dbc, CmsResource resource, CmsUUID principal) Removes an access control entry for a given resource and principal.voidCmsSecurityManager.removeAccessControlEntry(CmsRequestContext context, CmsResource resource, CmsUUID principal) Removes an access control entry for a given resource and principal.voidCmsDriverManager.removeResourceFromOrgUnit(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, CmsResource resource) Removes a resource from the given organizational unit.voidCmsSecurityManager.removeResourceFromOrgUnit(CmsRequestContext context, CmsOrganizationalUnit orgUnit, CmsResource resource) Removes a resource from the given organizational unit.voidCmsDriverManager.removeResourceFromProject(CmsDbContext dbc, CmsResource resource) Removes a resource from the current project of the user.voidCmsSecurityManager.removeResourceFromProject(CmsRequestContext context, CmsResource resource) Removes a resource from the current project of the user.voidCmsSecurityManager.removeResourceFromUsersPubList(CmsRequestContext context, Collection<CmsUUID> structureIds) Removes the given resource to the given user's publish list.voidCmsDriverManager.removeUserFromGroup(CmsDbContext dbc, String username, String groupname, boolean readRoles) Removes a user from a group.voidCmsSecurityManager.removeUserFromGroup(CmsRequestContext context, String username, String groupname, boolean readRoles) Removes a user from a group.voidCmsDriverManager.repairCategories(CmsDbContext dbc, CmsUUID projectId, CmsResource resource) Repairs broken categories.voidCmsDriverManager.replaceResource(CmsDbContext dbc, CmsResource resource, int type, byte[] content, List<CmsProperty> properties) Replaces the content, type and properties of a resource.voidCmsSecurityManager.replaceResource(CmsRequestContext context, CmsResource resource, int type, byte[] content, List<CmsProperty> properties) Replaces the content, type and properties of a resource.voidCmsDbContext.report(I_CmsReport report, CmsMessageContainer message, Throwable throwable) Reports an error to the given report (if available) and to the OpenCms log file.voidCmsDriverManager.resetPassword(CmsDbContext dbc, String username, String oldPassword, CmsSecondFactorInfo secondFactor, String newPassword) Resets the password for a specified user.voidCmsSecurityManager.resetPassword(CmsRequestContext context, String username, String oldPassword, CmsSecondFactorInfo secondFactor, String newPassword) Resets the password for a specified user.protected voidCmsDriverManager.resetResourcesInProject(CmsDbContext dbc, CmsUUID projectId, List<CmsResource> modifiedFiles, List<CmsResource> modifiedFolders) Resets the resources in a project to their online state.CmsSecurityManager.resourceOriginalPath(CmsRequestContext context, CmsResource resource) Returns the original path of given resource, that is the online path for the resource.CmsDriverManager.restoreDeletedResource(CmsDbContext dbc, CmsUUID structureId) Restores a deleted resource identified by its structure id from the historical archive.voidCmsSecurityManager.restoreDeletedResource(CmsRequestContext context, CmsUUID structureId) Restores a deleted resource identified by its structure id from the historical archive.CmsDriverManager.restoreResource(CmsDbContext dbc, CmsResource resource, int version) Restores a resource in the current project with a version from the historical archive.voidCmsSecurityManager.restoreResource(CmsRequestContext context, CmsResource resource, int version) Restores a resource in the current project with the given version from the historical archive.voidSaves 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.voidCmsDriverManager.saveAliases(CmsDbContext dbc, CmsProject project, CmsUUID structureId, List<CmsAlias> aliases) Saves a list of aliases for the same structure id, replacing any aliases for the same structure id.voidCmsSecurityManager.saveAliases(CmsRequestContext context, CmsResource resource, List<CmsAlias> aliases) Saves the aliases for a given resource.voidCmsAliasManager.saveRewriteAliases(CmsObject cms, String siteRoot, List<CmsRewriteAlias> newAliases) Saves the rewrite alias for a given site root.voidCmsDriverManager.saveRewriteAliases(CmsDbContext dbc, String siteRoot, List<CmsRewriteAlias> newAliases) Replaces the complete list of rewrite aliases for a given site root.voidCmsSecurityManager.saveRewriteAliases(CmsRequestContext requestContext, String siteRoot, List<CmsRewriteAlias> newAliases) Replaces the rewrite aliases for a given site root.CmsSecurityManager.searchUsers(CmsRequestContext requestContext, CmsUserSearchParameters searchParams) Searches users by search criteria.voidCmsSecurityManager.setDateExpired(CmsRequestContext context, CmsResource resource, long dateExpired) Changes the "expire" date of a resource.voidCmsSecurityManager.setDateLastModified(CmsRequestContext context, CmsResource resource, long dateLastModified) Changes the "last modified" time stamp of a resource.voidCmsSecurityManager.setDateReleased(CmsRequestContext context, CmsResource resource, long dateReleased) Changes the "release" date of a resource.voidCmsDriverManager.setParentGroup(CmsDbContext dbc, String groupName, String parentGroupName) Sets a new parent group for an already existing group.voidCmsSecurityManager.setParentGroup(CmsRequestContext context, String groupName, String parentGroupName) Sets a new parent-group for an already existing group.voidCmsDriverManager.setPassword(CmsDbContext dbc, String username, String newPassword) Sets the password for a user.voidCmsSecurityManager.setPassword(CmsRequestContext context, String username, String newPassword) Sets the password for a user.voidCmsSecurityManager.setRestricted(CmsRequestContext context, CmsResource resource, CmsGroup group, boolean restricted) Sets/clears the 'restricted' status for the given resource and group.voidCmsDriverManager.setSubscribedResourceAsDeleted(CmsDbContext dbc, String poolName, CmsResource resource) Marks a subscribed resource as deleted.voidCmsSecurityManager.setSubscribedResourceAsDeleted(CmsRequestContext context, String poolName, CmsResource resource) Marks a subscribed resource as deleted.voidCmsSubscriptionManager.setSubscribedResourceAsDeleted(CmsObject cms, CmsResource resource) Marks a subscribed resource as deleted.voidCmsDriverManager.setUsersOrganizationalUnit(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, CmsUser user) Moves an user to the given organizational unit.voidCmsSecurityManager.setUsersOrganizationalUnit(CmsRequestContext context, CmsOrganizationalUnit orgUnit, CmsUser user) Moves an user to the given organizational unit.voidCmsDriverManager.subscribeResourceFor(CmsDbContext dbc, String poolName, CmsPrincipal principal, CmsResource resource) Subscribes the user or group to the resource.voidCmsSecurityManager.subscribeResourceFor(CmsRequestContext context, String poolName, CmsPrincipal principal, CmsResource resource) Subscribes the user or group to the resource.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.voidCmsDbContext.throwException(CmsMessageContainer message, Throwable throwable) Returns an exception of the same type asthrowable, ifthrowableis an OpenCms Exception with the message as aCmsMessageContainerand thethrowableas a cause.voidCmsDriverManager.undelete(CmsDbContext dbc, CmsResource resource) Undelete the resource.voidCmsSecurityManager.undelete(CmsRequestContext context, CmsResource resource) Undelete the resource by resetting it's state.voidCmsDriverManager.undoChanges(CmsDbContext dbc, CmsResource resource, CmsResource.CmsResourceUndoMode mode) Undos all changes in the resource by restoring the version from the online project to the current offline project.voidCmsSecurityManager.undoChanges(CmsRequestContext context, CmsResource resource, CmsResource.CmsResourceUndoMode mode) Undos all changes in the resource by restoring the version from the online project to the current offline project.voidCmsSecurityManager.unlockProject(CmsRequestContext context, CmsUUID projectId) Unlocks all resources in this project.voidCmsDriverManager.unlockResource(CmsDbContext dbc, CmsResource resource, boolean force, boolean removeSystemLock) Unlocks a resource.voidCmsSecurityManager.unlockResource(CmsRequestContext context, CmsResource resource) Unlocks a resource.voidCmsDriverManager.unsubscribeAllDeletedResources(CmsDbContext dbc, String poolName, long deletedTo) Unsubscribes all deleted resources that were deleted before the specified time stamp.voidCmsSecurityManager.unsubscribeAllDeletedResources(CmsRequestContext context, String poolName, long deletedTo) Unsubscribes all deleted resources that were deleted before the specified time stamp.voidCmsSubscriptionManager.unsubscribeAllDeletedResources(CmsObject cms, long deletedTo) Unsubscribes all deleted resources that were deleted before the specified time stamp.voidCmsDriverManager.unsubscribeAllResourcesFor(CmsDbContext dbc, String poolName, CmsPrincipal principal) Unsubscribes the principal from all resources.voidCmsSecurityManager.unsubscribeAllResourcesFor(CmsRequestContext context, String poolName, CmsPrincipal principal) Unsubscribes the user or group from all resources.voidCmsSubscriptionManager.unsubscribeAllResourcesFor(CmsObject cms, CmsPrincipal principal) Unsubscribes the user or group from all resources.voidCmsDriverManager.unsubscribeResourceFor(CmsDbContext dbc, String poolName, CmsPrincipal principal, CmsResource resource) Unsubscribes the principal from the resource.voidCmsSecurityManager.unsubscribeResourceFor(CmsRequestContext context, String poolName, CmsPrincipal principal, CmsResource resource) Unsubscribes the principal from the resource.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.voidCmsDriverManager.unsubscribeResourceForAll(CmsDbContext dbc, String poolName, CmsResource resource) Unsubscribes all groups and users from the resource.voidCmsSecurityManager.unsubscribeResourceForAll(CmsRequestContext context, String poolName, CmsResource resource) Unsubscribes all groups and users 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.voidCmsDriverManager.updateLastLoginDate(CmsDbContext dbc, CmsUser user) Updates the last login date on the given user to the current time.voidCmsSecurityManager.updateLastLoginDate(CmsRequestContext context, CmsUser user) Updates the last login date on the given user to the current time.voidCmsSecurityManager.updateLog()Logs everything that has not been written to DB jet.voidCmsDriverManager.updateRelationsForResource(CmsDbContext dbc, CmsResource resource, List<CmsLink> links, boolean updateSiblingState) Updates/Creates the given relations for the given resource.voidCmsSecurityManager.updateRelationsForResource(CmsRequestContext context, CmsResource resource, List<CmsLink> relations, boolean updateSiblingState) Updates/Creates the relations for the given resource.booleanCmsDriverManager.userInGroup(CmsDbContext dbc, String username, String groupname, boolean readRoles) Returnstrueif a user is member of the given group.booleanCmsSecurityManager.userInGroup(CmsRequestContext context, String username, String groupname) Tests if a user is member of the given group.voidCmsDriverManager.writeAccessControlEntry(CmsDbContext dbc, CmsResource resource, CmsAccessControlEntry ace) Writes an access control entries to a given resource.voidCmsSecurityManager.writeAccessControlEntry(CmsRequestContext context, CmsResource resource, CmsAccessControlEntry ace) Writes an access control entries to a given resource.CmsDriverManager.writeFile(CmsDbContext dbc, CmsFile resource) Writes a resource to the OpenCms VFS, including it's content.CmsSecurityManager.writeFile(CmsRequestContext context, CmsFile resource) Writes a resource to the OpenCms VFS, including it's content.voidCmsDriverManager.writeGroup(CmsDbContext dbc, CmsGroup group) Writes an already existing group.voidCmsSecurityManager.writeGroup(CmsRequestContext context, CmsGroup group) Writes an already existing group.voidCmsSecurityManager.writeHistoryProject(CmsRequestContext context, int publishTag, long publishDate) Creates a historical entry of the current project.voidCmsDriverManager.writeLocks(CmsDbContext dbc) Writes the locks that are currently stored in-memory to the database to allow restoring them in future server startups.voidCmsSecurityManager.writeLocks()Writes the locks that are currently stored in-memory to the database to allow restoring them in later startups.voidCmsDriverManager.writeOrganizationalUnit(CmsDbContext dbc, CmsOrganizationalUnit organizationalUnit) Writes an already existing organizational unit.voidCmsSecurityManager.writeOrganizationalUnit(CmsRequestContext context, CmsOrganizationalUnit organizationalUnit) Writes an already existing organizational unit.voidCmsDriverManager.writeProject(CmsDbContext dbc, CmsProject project) Writes an already existing project.voidCmsSecurityManager.writeProject(CmsRequestContext context, CmsProject project) Writes an already existing project.voidCmsDriverManager.writePropertyObject(CmsDbContext dbc, CmsResource resource, CmsProperty property) Writes a property for a specified resource.voidCmsSecurityManager.writePropertyObject(CmsRequestContext context, CmsResource resource, CmsProperty property) Writes a property for a specified resource.voidCmsDriverManager.writePropertyObjects(CmsDbContext dbc, CmsResource resource, List<CmsProperty> properties, boolean updateState) Writes a list of properties for a specified resource.voidCmsSecurityManager.writePropertyObjects(CmsRequestContext context, CmsResource resource, List<CmsProperty> properties) Writes a list of properties for a specified resource.voidCmsDriverManager.writePublishJob(CmsDbContext dbc, CmsPublishJobInfoBean publishJob) Updates a publish job.voidCmsDriverManager.writePublishReport(CmsDbContext dbc, CmsPublishJobInfoBean publishJob) Writes the publish report for a publish job.voidCmsDriverManager.writeResource(CmsDbContext dbc, CmsResource resource) Writes a resource to the OpenCms VFS.voidCmsSecurityManager.writeResource(CmsRequestContext context, CmsResource resource) Writes a resource to the OpenCms VFS.voidCmsSecurityManager.writeResourceProjectLastModified(CmsRequestContext context, CmsResource resource, CmsProject project) Writes the 'projectlastmodified' field of a resource record.voidCmsDriverManager.writeStaticExportPublishedResource(CmsDbContext dbc, String resourceName, int linkType, String linkParameter, long timestamp) Inserts an entry in the published resource table.voidCmsSecurityManager.writeStaticExportPublishedResource(CmsRequestContext context, String resourceName, int linkType, String linkParameter, long timestamp) Inserts an entry in the published resource table.CmsSecurityManager.writeUrlNameMapping(CmsRequestContext context, Iterator<String> nameSeq, CmsUUID structureId, String locale, boolean replaceOnPublish) Writes a new URL name mapping for a given resource.voidCmsDriverManager.writeUser(CmsDbContext dbc, CmsUser user) Updates the user information.voidCmsSecurityManager.writeUser(CmsRequestContext context, CmsUser user) Updates the user information.Constructors in org.opencms.db that throw CmsExceptionModifierConstructorDescriptionCmsImportFolder(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. - 
Uses of CmsException in org.opencms.db.generic
Methods in org.opencms.db.generic that throw CmsExceptionModifier and TypeMethodDescriptionlongCmsSubscriptionDriver.getDateLastVisitedBy(CmsDbContext dbc, String poolName, CmsUser user, CmsResource resource) protected voidCmsUserDriver.internalCreateDefaultGroups(CmsDbContext dbc, String ouFqn, String ouDescription, boolean webuser) Creates the default groups and user for the given organizational unit.protected CmsOrganizationalUnitCmsUserDriver.internalCreateOrgUnitFromResource(CmsDbContext dbc, CmsResource resource) Returns the organizational unit represented by the given resource.protected CmsResourceCmsUserDriver.internalCreateResourceForOrgUnit(CmsDbContext dbc, String path, int flags) Creates a folder with the given path an properties, offline AND online.protected voidCmsUserDriver.internalDeleteOrgUnitResource(CmsDbContext dbc, CmsResource resource) Deletes a resource representing a organizational unit, offline AND online.protected CmsResourceCmsUserDriver.internalOrgUnitFolder(CmsDbContext dbc, CmsOrganizationalUnit orgUnit) Returns the folder for the given organizational units, or the base folder ifnull.CmsUserDriver.internalResourcesForOrgUnit(CmsDbContext dbc, CmsResource ouResource) Returns the list of root paths associated to the organizational unit represented by the given resource.protected voidCmsUserDriver.internalValidateResourceForOrgUnit(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, String rootPath) Validates the given root path to be in the scope of the resources of the given organizational unit.protected voidCmsUserDriver.internalWriteOrgUnitProperty(CmsDbContext dbc, CmsResource resource, CmsProperty property) Writes a property for an organizational unit resource, online AND offline.voidCmsProjectDriver.publishProject(CmsDbContext dbc, I_CmsReport report, CmsProject onlineProject, CmsPublishList publishList, int publishTag)  - 
Uses of CmsException in org.opencms.file
Subclasses of CmsException in org.opencms.fileModifier and TypeClassDescriptionclassSignals data access related issues, i.e.classSignals that an attempt to call a method has failed since it is not implemented.classUsed to signal VFS related issues, for example during file access.classSignals that a VFS resource unexpectedly exists.classSignals that an attempt to read a resource in the VFS denoted by a specified pathname has failed.Methods in org.opencms.file that return CmsExceptionModifier and TypeMethodDescriptionCmsDataAccessException.createException(CmsMessageContainer container, Throwable cause) CmsDataNotImplementedException.createException(CmsMessageContainer container, Throwable cause) CmsVfsException.createException(CmsMessageContainer container, Throwable cause) CmsVfsResourceAlreadyExistsException.createException(CmsMessageContainer container, Throwable cause) CmsVfsResourceNotFoundException.createException(CmsMessageContainer container, Throwable cause) Methods in org.opencms.file that throw CmsExceptionModifier and TypeMethodDescriptionvoidCmsObject.addRelationToResource(String resourceName, String targetPath, String type) Adds a new relation to the given resource.voidCmsObject.addRelationToResource(CmsResource resource, CmsResource target, String type) Adds a new relation to the given resource.voidCmsObject.addUserToGroup(String username, String groupname) Adds a user to a group.voidCmsObject.adjustLinks(String sourceFolder, String targetFolder) Adjusts all links in the target folder that point to the source folder so that they are kept "relative" in the target folder where possible.voidCmsObject.adjustLinks(List<String> sourceFiles, String targetParentFolder) This method works just likeCmsObject.adjustLinks(String, String), but you can specify multiple source files, and the target folder is interpreted as the folder into which the source files have been copied.voidCmsObject.adjustLinks(Map<String, String> sourceTargetMap, String targetParentFolder) This method works just likeCmsObject.adjustLinks(String, String), but instead of specifying a single source and target folder, you can specify multiple sources and the corresponding targets in a map of strings.voidCmsObject.chacc(String resourceName, String principalType, String principalName, int allowedPermissions, int deniedPermissions, int flags) Changes the access control for a given resource and a given principal(user/group).voidCmsObject.chacc(String resourceName, String principalType, String principalName, String permissionString) Changes the access control for a given resource and a given principal(user/group).voidCmsObject.changeLock(String resourcename) Changes the lock of a resource to the current user, that is "steals" the lock from another user.voidCmsObject.changeLock(CmsResource resource) Changes the lock of a resource to the current user, that is "steals" the lock from another user.CmsObject.changeResourcesInFolderWithProperty(String resourcename, String property, String oldValue, String newValue, boolean recursive) Returns a list with all sub resources of a given folder that have set the given property, matching the current property's value with the given old value and replacing it by a given new value.protected static voidCmsLinkRewriter.checkIsFolder(CmsResource resource) Checks whether a given resource is a folder and throws an exception otherwise.voidCmsObject.checkLoginUser(String userName, String password) Checks if a login for the given user name and password would work without taking two-factor authentication into account.voidChanges the resource flags of a resource.voidDeprecated.voidCmsObject.chtype(String resourcename, I_CmsResourceType type) Changes the resource type of a resource.voidCmsObject.chtype(CmsResource resource, I_CmsResourceType type) Changes the resource type of a resource.protected voidCmsLinkRewriter.copyLocaleRelations()Separate method for copying locale relations..voidCmsObject.copyResource(String source, String destination) Copies a resource.voidCmsObject.copyResource(String source, String destination, CmsResource.CmsResourceCopyMode siblingMode) Copies a resource.voidCmsObject.copyResourceToProject(String resourcename) Copies a resource to the current project of the user.voidCmsObject.copyResourceToProject(CmsResource resource) Copies a resource to the current project of the user.intCmsObject.countLockedResources(CmsUUID id) Counts the locked resources in a project.voidCopies access control entries of a given resource to another resource.CmsObject.createGroup(String groupFqn, String description, int flags, String parent) Creates a new user group.CmsObject.createProject(String name, String description, String groupname, String managergroupname) Creates a new project.CmsObject.createProject(String name, String description, String groupname, String managergroupname, CmsProject.CmsProjectType projecttype) Creates a new project.CmsObject.createPropertyDefinition(String name) Creates a property definition.CmsObject.createResource(String resourcename, int type) Deprecated.UseCmsObject.createResource(String, I_CmsResourceType)instead.CmsObject.createResource(String resourcename, int type, byte[] content, List<CmsProperty> properties) Deprecated.CmsObject.createResource(String sitePath, CmsResource resource, byte[] content, List<CmsProperty> properties) Creates a resource with the given properties and content.CmsObject.createResource(String resourcename, I_CmsResourceType type) Creates a new resource of the given resource type with empty content and no properties.CmsObject.createResource(String resourcename, I_CmsResourceType type, byte[] content, List<CmsProperty> properties) Creates a new resource of the given resource type with the provided content and properties.CmsObject.createSibling(String source, String destination, List<CmsProperty> properties) Creates a new sibling of the source resource.CmsObject.createTempfileProject()Creates the project for the temporary workplace files.CmsObject.createUser(String userFqn, String password, String description, Map<String, Object> additionalInfos) Creates a new user.Decodes a file's contents and return the content string and the encoding to use for writing the file back to the VFS.voidCmsObject.deleteAllStaticExportPublishedResources(int linkType) Deletes all published resource entries.voidCmsObject.deleteGroup(String group) Deletes a user group.voidCmsObject.deleteGroup(CmsUUID groupId, CmsUUID replacementId) Deletes a group, where all permissions, users and children of the group are transfered to a replacement group.voidCmsObject.deleteHistoricalVersions(int versionsToKeep, int versionsDeleted, long timeDeleted, Predicate<I_CmsHistoryResource> clearDeletedFilter, I_CmsReport report) Deletes the versions from the history tables, keeping the given number of versions per resource.voidCmsObject.deleteHistoricalVersions(int versionsToKeep, int versionsDeleted, long timeDeleted, I_CmsReport report) Deletes the versions from the history tables, keeping the given number of versions per resource.voidCmsObject.deleteLogEntries(CmsLogFilter filter) Deletes the log entries matching the given filter.voidCmsObject.deleteProject(CmsUUID id) Deletes a project.voidCmsObject.deletePropertyDefinition(String name) Deletes a property definition.voidCmsObject.deleteRelationsFromResource(String resourceName, CmsRelationFilter filter) Deletes the relations to a given resource.voidCmsObject.deleteRelationsFromResource(CmsResource resource, CmsRelationFilter filter) Deletes the relations to a given resource.voidCmsObject.deleteResource(String resourcename, CmsResource.CmsResourceDeleteMode siblingMode) Deletes a resource given its name.voidCmsObject.deleteResource(CmsResource res, CmsResource.CmsResourceDeleteMode deletePreserveSiblings) Deletes a resource.voidCmsObject.deleteStaticExportPublishedResource(String resourceName, int linkType, String linkParameter) Deletes a published resource entry.voidCmsObject.deleteUser(String username) Deletes a user.voidCmsObject.deleteUser(CmsUUID userId) Deletes a user.voidCmsObject.deleteUser(CmsUUID userId, CmsUUID replacementId) Deletes a user, where all permissions and resources attributes of the user were transfered to a replacement user.protected List<CmsRelation> CmsLinkRewriter.findRelationsFromTargetToSource()Finds relations from the target root folder or its children to the source root folder or its children.CmsObject.getAccessControlEntries(String resourceName) Returns the list of access control entries of a resource given its name.CmsObject.getAccessControlEntries(String resourceName, boolean getInherited) Returns the list of access control entries of a resource given its name.CmsObject.getAccessControlList(String resourceName) Returns the access control list (summarized access control entries) of a given resource.CmsObject.getAccessControlList(String resourceName, boolean inheritedOnly) Returns the access control list (summarized access control entries) of a given resource.CmsObject.getAllAccessControlEntries()Gets all access control entries for the current project.CmsObject.getAllHistoricalProjects()Returns a list with all projects from history.CmsObject.getAllUrlNames(CmsUUID id) Gets all URL names for a given structure id.CmsObject.getBlockingLockedResources(String resourceName) Returns a list of child resources to the given resource that can not be locked by the current user.CmsObject.getBlockingLockedResources(CmsResource resource) Returns a list of child resources to the given resource that can not be locked by the current user.CmsObject.getChildren(String groupname, boolean includeSubChildren) Returns all child groups of a group.protected StringCmsLinkRewriter.getConfiguredEncoding(CmsObject cms, CmsResource resource) Gets the encoding which is configured at the location of a given resource.CmsObject.getDetailName(CmsResource res, Locale locale, List<Locale> defaultLocales) Returns the detail name of a resource.CmsUser.getDisplayName(CmsObject cms, Locale locale) CmsObject.getFilesInFolder(String resourcename) Returns all file resources contained in a folder.CmsObject.getFilesInFolder(String resourcename, CmsResourceFilter filter) Returns all file resources contained in a folder.CmsObject.getGroupsOfUser(String username, boolean directGroupsOnly) Returns all the groups the given user belongs to.CmsObject.getGroupsOfUser(String username, boolean directGroupsOnly, boolean includeOtherOus) Returns all the groups the given user belongs to.CmsObject.getGroupsOfUser(String username, boolean directGroupsOnly, boolean includeOtherOus, String remoteAddress) Returns the groups of a user filtered by the specified IP address.Returns the lock state for a specified resource name.CmsObject.getLock(CmsResource resource) Returns the edition lock state for a specified resource.CmsObject.getLockedResources(String resourceName, CmsLockFilter filter) Returns all locked resources within a folder or matches the lock of the given resource.CmsObject.getLockedResources(CmsResource resource, CmsLockFilter filter) Returns all locked resources within a folder or matches the lock of the given resource.CmsObject.getLockedResourcesWithCache(CmsResource resource, CmsLockFilter filter, Map<String, CmsResource> cache) Returns all locked resources within a folder or matches the lock of the given resource, but uses a cache for resource lookup.CmsObject.getLogEntries(CmsLogFilter filter) Returns all log entries matching the given filter.CmsObject.getLostAndFoundName(String resourcename) Returns the name a resource would have if it were moved to the "lost and found" folder.protected List<CmsPair<CmsResource, CmsResource>> CmsLinkRewriter.getMatchingResources(String source, String target) Gets a list of resource pairs whose paths relative to the source/target roots passed match.Returns the parent group of a group.CmsObject.getPermissions(String resourceName) Returns the set of permissions of the current user for a given resource.CmsObject.getPermissions(String resourceName, String userName) Returns the set of permissions of a given user for a given resource.CmsObject.getRelationsForResource(String resourceName, CmsRelationFilter filter) Returns all relations for the given resource matching the given filter.CmsObject.getRelationsForResource(CmsResource resource, CmsRelationFilter filter) Returns all relations for the given resource matching the given filter.protected CmsResourceCmsLinkRewriter.getResource(CmsUUID structureId) Accesses a resource by structure id.CmsObject.getResourcesForPrincipal(CmsUUID principalId, CmsPermissionSet permissions, boolean includeAttr) Returns all resources associated to a given principal via an ACE with the given permissions.CmsObject.getResourcesInFolder(String resourcename, CmsResourceFilter filter) Returns all child resources of a resource, that is the resources contained in a folder.CmsObject.getSubFolders(String resourcename) Returns all folder resources contained in a folder.CmsObject.getSubFolders(String resourcename, CmsResourceFilter filter) Returns all folder resources contained in a folder.CmsObject.getUrlNamesForAllLocales(CmsUUID id) Returns the newest URL names for the given structure id for each locale.CmsObject.getUsersOfGroup(String groupname) Returns all direct users of a given group.CmsObject.getUsersOfGroup(String groupname, boolean includeOtherOus) Returns all direct users of a given group.booleanCmsObject.hasPermissions(CmsResource resource, CmsPermissionSet requiredPermissions) Checks if the current user has required permissions to access a given resource.booleanCmsObject.hasPermissions(CmsResource resource, CmsPermissionSet requiredPermissions, boolean checkLock, CmsResourceFilter filter) Checks if the current user has required permissions to access a given resource.voidCmsObject.importAccessControlEntries(CmsResource resource, List<CmsAccessControlEntry> acEntries) Writes a list of access control entries as new access control entries of a given resource.voidCmsObject.importRelation(String resourceName, String targetPath, String relationType) Imports a new relation to the given resource.CmsObject.importResource(String resourcename, CmsResource resource, byte[] content, List<CmsProperty> properties) Imports a resource to the OpenCms VFS.CmsObject.importResource(String resourcename, I_CmsReport report, CmsResource resource, byte[] content, List<CmsProperty> properties) Imports a resource to the OpenCms VFS.CmsObject.importUser(String id, String name, String password, String firstname, String lastname, String email, int flags, long dateCreated, Map<String, Object> additionalInfos) Creates a new user by import.intCmsObject.incrementCounter(String name) Increments a counter and returns its old value.protected voidCmsLinkRewriter.init()Reads the data needed for rewriting the relations from the VFS.voidCmsObject.lockResource(String resourcename) Locks a resource.voidCmsObject.lockResource(CmsResource resource) Locks a resource.voidCmsObject.lockResourceShallow(CmsResource resource) Locks the given resource with a shallow lock that is not inherited on subresources.voidCmsObject.lockResourceTemporary(String resourcename) Locks a resource temporary.voidCmsObject.lockResourceTemporary(CmsResource resource) Locks a resource temporary.Logs a user into the Cms, if the password is correct.Logs a user with a given ip address into the Cms, if the password is correct.CmsObject.loginUser(String username, String password, CmsSecondFactorInfo code) Logs in the user.CmsObject.loginUser(String username, String password, CmsSecondFactorInfo code, String remoteAddress) Logs a user with a given ip address into the Cms, if the password is correct.voidCmsObject.moveResource(String source, String destination) Moves a resource to the given destination.CmsObject.moveToLostAndFound(String resourcename) Moves a resource to the "lost and found" folder.CmsObject.readAllAvailableVersions(String resourceName) Reads all historical versions of a resource.
The reading excludes the file content, if the resource is a file.CmsObject.readAllAvailableVersions(CmsResource resource) Reads all available versions for a given resource.CmsObject.readAllPropertyDefinitions()Reads all property definitions.CmsObject.readAncestor(String resourcename, int type) Returns the first ancestor folder matching the resource type.CmsObject.readAncestor(String resourcename, CmsResourceFilter filter) Returns the first ancestor folder matching the filter criteria.CmsObject.readBestUrlName(CmsUUID id, Locale locale, List<Locale> defaultLocales) Reads the newest URL name which is mapped to the given structure id.CmsObject.readDefaultFile(String resourceNameOrID) Returns the default resource for the given folder.CmsObject.readDefaultFile(String resourceNameOrID, CmsResourceFilter filter) Returns the default resource for the given folder.CmsObject.readDeletedResources(String resourcename, boolean readTree) Reads all deleted (historical) resources below the given path, including the full tree below the path, if required.Reads a file resource (including it's binary content) from the VFS, using thefilter.CmsResourceFilter.DEFAULTCmsObject.readFile(String resourcename, CmsResourceFilter filter) Reads a file resource (including it's binary content) from the VFS, using the specified resource filter.CmsObject.readFile(CmsResource resource) Reads a file resource (including it's binary content) from the VFS, for the given resource (this may also be an historical version of the resource).CmsObject.readFolder(String resourcename) Reads a folder resource from the VFS, using thefilter.CmsResourceFilter.DEFAULTCmsObject.readFolder(String resourcename, CmsResourceFilter filter) Reads a folder resource from the VFS, using the specified resource filter.CmsObject.readFolderSizeStats(CmsFolderSizeOptions options) Reads a group based on its name.Reads a group based on its id.CmsObject.readHistoryPrincipal(CmsUUID principalId) Reads a principal (an user or group) from the historical archive based on its ID.CmsObject.readHistoryProject(int publishTag) Returns a historical project entry.CmsObject.readHistoryProject(CmsUUID projectId) Returns the latest historical project entry with the given id.CmsObject.readHistoryPropertyObjects(I_CmsHistoryResource resource) Reads the list of allobjects that belong to the given historical resource version.CmsPropertyCmsObject.readIdForUrlName(String name) This method retrieves the structure id which is mapped to a given URL name.CmsObject.readOwner(CmsProject project) Reads the owner of a project.CmsObject.readParentFolder(CmsUUID structureId) Returns the parent folder to the given structure id.CmsObject.readPath(String path, CmsResourceFilter filter) Builds a list of resources for a given path.CmsObject.readPath(CmsResource resource, CmsResourceFilter filter) Builds a list of resources for a given path.CmsObject.readProject(String name) Reads the project with the given name.CmsObject.readProject(CmsUUID id) Reads the project with the given id.CmsObject.readProjectResources(CmsProject project) Returns the list of all resource names that define the "view" of the given project.CmsObject.readProjectView(CmsUUID projectId, CmsResourceState state) Reads all resources of a project that match a given state from the VFS.CmsObject.readPropertyDefinition(String name) Reads a property definition.CmsObject.readPropertyObject(String resourcePath, String property, boolean search) Reads a property object from a resource specified by a property name.CmsObject.readPropertyObject(String resourcePath, String property, boolean search, Locale locale) Reads the locale specific version of a property object from a resource specified by a property name.CmsObject.readPropertyObject(CmsResource resource, String property, boolean search) Reads a property object from a resource specified by a property name.CmsObject.readPropertyObject(CmsResource resource, String property, boolean search, Locale locale) Reads the locale specific version of a property object from a resource specified by a property name.CmsObject.readPropertyObjects(String resourcePath, boolean search) Reads all property objects from a resource.CmsObject.readPropertyObjects(CmsResource resource, boolean search) Reads all property objects from a resource.CmsObject.readPublishedResources(CmsUUID publishHistoryId) Reads the resources that were published in a publish task for a given publish history ID.CmsObject.readRelations(CmsRelationFilter filter) Returns all relations matching the given filter.CmsObject.readResource(String resourcename) Reads a resource from the VFS, using thefilter.CmsResourceFilter.DEFAULTCmsObject.readResource(String resourcename, CmsResourceFilter filter) Reads a resource from the VFS, using the specified resource filter.CmsObject.readResource(CmsUUID structureID) Reads a resource from the VFS, using thefilter.CmsResourceFilter.DEFAULTCmsObject.readResource(CmsUUID structureID, int version) Reads the historical resource with the given version for the resource given the given structure id.CmsObject.readResource(CmsUUID structureID, CmsResourceFilter filter) Reads a resource from the VFS, using the specified resource filter.CmsObject.readResources(String resourcename, CmsResourceFilter filter) Reads all resources below the given path matching the filter criteria, including the full tree below the path.CmsObject.readResources(String resourcename, CmsResourceFilter filter, boolean readTree) Reads all resources below the given path matching the filter criteria, including the full tree below the path only in case thereadTreeparameter istrue.CmsObject.readResources(CmsResource resource, CmsResourceFilter filter, boolean readTree) Reads all resources below the given resource matching the filter criteria, including the full tree below the path only in case thereadTreeparameter istrue.CmsObject.readResourcesWithProperty(String propertyDefinition) Reads all resources that have a value set for the specified property.CmsObject.readResourcesWithProperty(String path, String propertyDefinition) Reads all resources that have a value set for the specified property in the given path.CmsObject.readResourcesWithProperty(String path, String propertyDefinition, String value) Reads all resources that have a value (containing the specified value) set for the specified property in the given path.CmsObject.readResourcesWithProperty(String path, String propertyDefinition, String value, CmsResourceFilter filter) Reads all resources that have a value (containing the specified value) set for the specified property in the given path.CmsObject.readResponsiblePrincipals(CmsResource resource) Returns a set of principals that are responsible for a specific resource.CmsObject.readResponsibleUsers(CmsResource resource) Returns a set of users that are responsible for a specific resource.CmsObject.readSiblings(String resourcename, CmsResourceFilter filter) Returns a list of all siblings of the specified resource, the specified resource being always part of the result set.CmsObject.readSiblings(CmsResource resource, CmsResourceFilter filter) Returns a list of all siblings of the specified resource, the specified resource being always part of the result set.CmsObject.readSiblingsForResourceId(CmsUUID resourceId, CmsResourceFilter filter) Reads all resources with the given resource id.CmsObject.readStaticExportPublishedResourceParameters(String rfsName) Returns the parameters of a resource in the list of all published template resources.CmsObject.readStaticExportResources(int parameterResources, long timestamp) Returns a list of all template resources which must be processed during a static export.protected List<CmsResource> Reads the resources in a subtree.CmsObject.readUrlNameMappings(CmsUrlNameMappingFilter filter) Reads the URL name mappings matching a given filter.CmsObject.readUrlNamesForAllLocales(CmsUUID structureId) Reads the URL names for all locales.Reads a user based on its name.Returns a user, if the password is correct.Reads a user based on its id.voidCmsObject.removeResourceFromProject(String resourcename) Removes a resource from the current project of the user.voidCmsObject.removeUserFromGroup(String username, String groupname) Removes a user from a group.voidCmsObject.renameResource(String source, String destination) Renames a resource to the given destination name, this is identical to amoveoperation.voidCmsObject.replaceResource(String resourcename, int type, byte[] content, List<CmsProperty> properties) Deprecated.voidCmsObject.replaceResource(String resourcename, I_CmsResourceType type, byte[] content, List<CmsProperty> properties) Replaces the content, type and properties of a resource.voidCmsObject.restoreDeletedResource(CmsUUID structureId) Restores a deleted resource identified by its structure id from the historical archive.voidCmsObject.restoreResourceVersion(CmsUUID structureId, int version) Restores a resource in the current project with a version from the historical archive.protected voidCmsLinkRewriter.rewriteContent(CmsFile file, Collection<CmsRelation> relations) Rewrites the links included in the content itself.voidCmsLinkRewriter.rewriteLinks()Starts the link rewriting process.protected voidCmsLinkRewriter.rewriteLinks(CmsResource resource, Collection<CmsRelation> relations) Rewrites the links for a single resource.protected voidCmsLinkRewriter.rewriteOtherRelations(CmsResource res, Collection<CmsRelation> relations) Rewrites relations which are not derived from links in the content itself.voidRemoves an access control entry of a given principal from a given resource.voidCmsObject.setDateExpired(String resourcename, long dateExpired, boolean recursive) Changes the "expire" date of a resource.voidCmsObject.setDateExpired(CmsResource resource, long dateExpired, boolean recursive) Changes the "expire" date of a resource.voidCmsObject.setDateLastModified(String resourcename, long dateLastModified, boolean recursive) Changes the "last modified" time stamp of a resource.voidCmsObject.setDateReleased(String resourcename, long dateReleased, boolean recursive) Changes the "release" date of a resource.voidCmsObject.setDateReleased(CmsResource resource, long dateReleased, boolean recursive) Changes the "release" date of a resource.voidCmsObject.setParentGroup(String groupName, String parentGroupName) Sets a new parent-group for an already existing group.voidCmsObject.setPassword(String username, String newPassword) Sets the password for a user.voidCmsObject.setPassword(String username, String oldPassword, String newPassword) Sets the password for a specified user.voidCmsObject.setPassword(String username, String oldPassword, CmsSecondFactorInfo secondFactor, String newPassword) Sets the password for a specified user.voidCmsObject.setRestricted(CmsResource res, String groupName, boolean restricted) Sets/clears the 'restricted' status for the given resource and group.voidCmsObject.undeleteResource(String resourcename, boolean recursive) Undeletes a resource.voidCmsObject.undoChanges(String resourcename, CmsResource.CmsResourceUndoMode mode) Undoes all changes to a resource by restoring the version from the online project to the current offline project.voidCmsObject.unlockProject(CmsUUID id) Unlocks all resources of a project.voidCmsObject.unlockResource(String resourcename) Unlocks a resource.voidCmsObject.unlockResource(CmsResource resource) Unlocks a resource.voidCmsObject.updateLastLoginDate(CmsUser user) Updates the last login date on the given user to the current time.booleanCmsObject.userInGroup(String username, String groupname) Tests if a user is member of the given group.Writes a resource to the OpenCms VFS, including it's content.voidCmsObject.writeGroup(CmsGroup group) Writes an already existing group.voidCmsObject.writeHistoryProject(int publishTag, long publishDate) Creates a historical entry of the current project.voidCmsObject.writeProject(CmsProject project) Writes an already existing project.voidCmsObject.writeProjectLastModified(CmsResource resource, CmsProject project) Writes the 'projectlastmodified' field of a resource record.voidCmsObject.writePropertyObject(String resourcename, CmsProperty property) Writes a property for a specified resource.voidCmsObject.writePropertyObjects(String resourcename, List<CmsProperty> properties) Writes a list of properties for a specified resource.voidCmsObject.writePropertyObjects(CmsResource res, List<CmsProperty> properties) Writes a list of properties for a specified resource.voidCmsObject.writeResource(CmsResource resource) Writes a resource.voidCmsObject.writeStaticExportPublishedResource(String resourceName, int linkType, String linkParameter, long timestamp) Writes a published resource entry.CmsObject.writeUrlNameMapping(String name, CmsUUID structureId, String locale, boolean replaceOnPublish) Writes a new URL name mapping for a given resource.CmsObject.writeUrlNameMapping(Iterator<String> nameSeq, CmsUUID structureId, String locale, boolean replaceOnPublish) Writes a new URL name mapping for a given resource.voidUpdates the user information. - 
Uses of CmsException in org.opencms.file.collectors
Methods in org.opencms.file.collectors that throw CmsExceptionModifier 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 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) 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) 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.intA_CmsResourceCollector.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. - 
Uses of CmsException in org.opencms.file.history
Methods in org.opencms.file.history that throw CmsExceptionModifier and TypeMethodDescriptionstatic CmsResourceCmsHistoryResourceHandler.getResourceWithHistory(CmsObject cms, String resourceUri) Returns the correct resource for the given URI, taken into account historical versions marked by theversionparameter. - 
Uses of CmsException in org.opencms.file.quota
Methods in org.opencms.file.quota that throw CmsExceptionModifier and TypeMethodDescriptionvoidCmsFolderSizeTable.loadAll()Loads all folder size data.voidCmsFolderSizeTable.updateSingle(String rootPath) Updates the folder size for a single folder, not including subfolders.voidCmsFolderSizeTable.updateTree(String rootPath) Updates the information for a complete subtree. - 
Uses of CmsException in org.opencms.file.types
Methods in org.opencms.file.types that throw CmsExceptionModifier 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.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.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.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.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 CmsException in org.opencms.file.wrapper
Methods in org.opencms.file.wrapper that throw CmsExceptionModifier and TypeMethodDescriptionA_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) voidCmsObjectWrapper.copyResource(String source, String destination, CmsResource.CmsResourceCopyMode siblingMode) Copies a resource.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) CmsObjectWrapper.createResource(String resourcename, int type) Creates a new resource of the given resource type with empty content and no properties.CmsObjectWrapper.createResource(String resourcename, int type, byte[] content, List<CmsProperty> properties) Creates a new resource of the given resource type with the provided content and 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) 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) voidCmsObjectWrapper.deleteResource(String resourcename, CmsResource.CmsResourceDeleteMode siblingMode) Deletes a resource given its name.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) CmsObjectWrapper.getLock(CmsResource resource) Returns the lock state for a specified 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.CmsObjectWrapper.getResourcesInFolder(String resourcename, CmsResourceFilter filter) Returns all child resources of a resource, that is the resources contained in a folder.booleanA_CmsResourceExtensionWrapper.lockResource(CmsObject cms, String resourcename, boolean temporary) booleanA_CmsResourceWrapper.lockResource(CmsObject cms, String resourcename, boolean temporary) voidCmsObjectWrapper.lockResource(String resourcename) Locks a resource.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.voidCmsObjectWrapper.lockResourceTemporary(String resourceName) Locks a resource temporarily.booleanA_CmsResourceExtensionWrapper.moveResource(CmsObject cms, String source, String destination) booleanA_CmsResourceWrapper.moveResource(CmsObject cms, String source, String destination) voidCmsObjectWrapper.moveResource(String source, String destination) Moves a resource to the given 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.A_CmsResourceExtensionWrapper.readFile(CmsObject cms, String resourcename, CmsResourceFilter filter) A_CmsResourceWrapper.readFile(CmsObject cms, String resourcename, CmsResourceFilter filter) CmsObjectWrapper.readFile(String resourcename, CmsResourceFilter filter) Reads a file resource (including it's binary content) from the VFS, using the specified resource 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.CmsObjectWrapper.readProperties(String path) Reads the properties for a resource with a specific path, if it exists.CmsObjectWrapper.readPropertyObject(CmsResource resource, String property, boolean search) Delegate method forCmsObject.readPropertyObject(CmsResource, String, boolean).A_CmsResourceWrapper.readResource(CmsObject cms, String resourcename, CmsResourceFilter filter) CmsObjectWrapper.readResource(String resourcename, CmsResourceFilter filter) Reads a resource from the VFS, using thefilter.CmsResourceFilter.DEFAULTCmsObjectWrapper.readResource(CmsUUID structureID, CmsResourceFilter filter) Delegate method forCmsObject.readResource(CmsUUID, CmsResourceFilter).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.Delegate method forCmsObject.readUser(CmsUUID).booleanA_CmsResourceExtensionWrapper.unlockResource(CmsObject cms, String resourcename) booleanA_CmsResourceWrapper.unlockResource(CmsObject cms, String resourcename) voidCmsObjectWrapper.unlockResource(String resourcename) Unlocks a resource.booleanCmsResourceWrapperPropertyFile.unlockResource(CmsObject cms, String resourcename) booleanCmsResourceWrapperXmlPage.unlockResource(CmsObject cms, String resourcename) booleanI_CmsResourceWrapper.unlockResource(CmsObject cms, String resourcename) Unlocks a resource.Writes a resource to the OpenCms VFS, including it's content.Writes a resource, including it's content.voidCmsObjectWrapper.writeProperties(String path, Map<String, CmsProperty> props) Writes properties to the resource with the given path, if it existsstatic 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. - 
Uses of CmsException in org.opencms.flex
Subclasses of CmsException in org.opencms.flexMethods in org.opencms.flex that return CmsExceptionModifier and TypeMethodDescriptionCmsFlexCacheException.createException(CmsMessageContainer container, Throwable cause) Methods in org.opencms.flex that throw CmsExceptionModifier and TypeMethodDescriptionstatic CmsFlexBucketConfigurationCmsFlexBucketConfiguration.loadFromVfsFile(CmsObject cms, String path) Loads a flex bucket configuration from the OpenCms VFS. - 
Uses of CmsException in org.opencms.gwt
Methods in org.opencms.gwt that throw CmsExceptionModifier 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.protected CmsBrokenLinkBeanCmsBrokenLinkRenderer.createSitemapBrokenLinkBean(CmsResource resource) Creates a "broken link" bean based on a resource.protected CmsBrokenLinkBeanCmsVfsService.createSitemapBrokenLinkBean(CmsResource resource) Creates a "broken link" bean based on a resource.protected CmsLockActionRecordCmsGwtService.ensureLock(String sitepath) Locks the given resource with a temporary, if not already locked by the current user.protected CmsLockActionRecordCmsGwtService.ensureLock(CmsResource resource) Locks the given resource with a temporary, if not already locked by the current user.protected CmsLockActionRecordCmsGwtService.ensureLock(CmsResource resource, boolean shallow) Locks the given resource with a temporary, if not already locked by the current user.protected CmsLockActionRecordCmsGwtService.ensureLock(CmsUUID structureId) Locks the given resource with a temporary, if not already locked by the current user.protected voidCmsGwtService.ensureSession()Ensures that the user session is still valid.CmsAliasHelper.exportAliasesAsCsv(CmsObject cms) Returns the comma separated alias data.protected List<CmsAliasBean> CmsAliasHelper.getAliasesForPage(CmsUUID uuid) Implementation of the getAliasesForPage method.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.CmsPropertyEditorHelper.getDefaultProperties(List<CmsUUID> structureIds) Internal method for computing the default property configurations for a list of structure ids.protected CmsLockInfoHelper method for locking a resource which returns some information on whether the locking failed, and why.protected CmsLockInfoHelper method for locking a resource which returns some information on whether the locking failed, and why.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.CmsListItemWidgetCmsVfsService.getResourceHistoryInternal(CmsUUID structureId) Internal version of getResourceHistory.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 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.CmsTemplateFinder.getTemplates()Returns the available templates.static I_CmsValidationServiceCmsCoreService.getValidationService(String name) Internal helper method for getting a validation service.static <T> TCmsCoreService.instantiate(Class<T> anInterface, String className) Instantiates a class given its name using its default constructor.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.CmsPropertyEditorHelper.loadPropertyData(CmsUUID id) Loads the data needed for editing the properties of a resource.protected CmsVfsEntryBeanCmsVfsService.makeEntryBean(CmsResource resource, boolean root) Helper method for creating a VFS entry bean from a resource.protected List<CmsVfsEntryBean> CmsVfsService.makeEntryBeans(List<CmsResource> resources, boolean root) Helper method for creating a list of VFS entry beans from a list of the corresponding resources.CmsVfsService.renameResourceInternal(CmsUUID structureId, String newName) Internal implementation for renaming a resource.CmsBrokenLinkRenderer.renderBrokenLink(CmsResource target, CmsResource source) Renders the source of a broken link as a list of CmsBrokenLinkBean instances.CmsBrokenLinkRenderer.renderBrokenLinkDefault(CmsResource target, CmsResource source) The default method for rendering broken link sources.CmsBrokenLinkRenderer.renderBrokenLinkGroupContainer(CmsResource target, CmsResource source) Renders the broken links for a group container.CmsBrokenLinkRenderer.renderBrokenLinkInheritanceGroup(CmsResource target, CmsResource source) Renders broken links from an inheritance group.voidCmsAliasHelper.saveAliases(CmsUUID structureId, List<CmsAliasBean> aliasBeans) Saves aliases.voidCmsPropertyEditorHelper.saveProperties(CmsPropertyChangeSet changes) Saves a set of property changes.CmsAliasHelper.validateAliases(CmsUUID uuid, Map<String, String> aliasPaths) The internal method used for validating aliases. - 
Uses of CmsException in org.opencms.i18n
Subclasses of CmsException in org.opencms.i18nModifier and TypeClassDescriptionclassUsed to signal issues with the localization support, for example during localized messages access.Methods in org.opencms.i18n that return CmsExceptionModifier and TypeMethodDescriptionCmsMessageException.createException(CmsMessageContainer container, Throwable cause) Methods in org.opencms.i18n that throw CmsExceptionModifier and TypeMethodDescriptionvoidCmsLocaleGroupService.attachLocaleGroup(CmsResource secondaryPage, CmsResource primaryPage) Adds a resource to a locale group.voidCmsLocaleGroupService.attachLocaleGroupIndirect(CmsResource first, CmsResource second) Smarter method to connect a resource to a locale group.voidCmsLocaleGroupService.detachLocaleGroup(CmsResource firstPage, CmsResource secondPage) Removes a locale group relation between two resources.CmsLocaleGroupService.findLocalizationRoot(CmsResource resource) Tries to find the 'best' localized subsitemap parent folder for a resource.static CmsMessageToBundleIndexReads the bundle information for the whole system.CmsLocaleGroupService.readDefaultFileLocaleGroup(CmsResource resource) Reads the locale group of a default file.CmsLocaleGroupService.readLocaleGroup(CmsResource resource) Reads a locale group from the VFS. - 
Uses of CmsException in org.opencms.i18n.tools
Methods in org.opencms.i18n.tools that throw CmsExceptionModifier and TypeMethodDescriptionvoidCmsContainerPageCopier.adjustLocalesForElement(CmsResource elementResource, CmsResource originalResource) Converts locales for the copied container element.voidCmsContainerPageCopier.copyPageOnly(CmsResource originalPage, String targetPageRootPath) Copies the given container page to the provided root path.CmsContainerPageCopier.replaceContainerElement(CmsResource targetPage, CmsContainerElementBean originalElement) Produces the replacement for a container page element to use in a copy of an existing container page.voidCmsContainerPageCopier.replaceElements(CmsResource containerPage) Replaces the elements in the copied container page with copies, if appropriate based on the current copy mode.voidCmsContainerPageCopier.run(CmsResource source, CmsResource target) Starts the page copying process.voidCmsContainerPageCopier.run(CmsResource source, CmsResource target, String targetName) Starts the page copying process. - 
Uses of CmsException in org.opencms.importexport
Subclasses of CmsException in org.opencms.importexportModifier and TypeClassDescriptionclassSignals an error during import or export of OpenCms data.Methods in org.opencms.importexport that return CmsExceptionModifier and TypeMethodDescriptionCmsImportExportException.createException(CmsMessageContainer container, Throwable cause) Methods in org.opencms.importexport that throw CmsExceptionModifier and TypeMethodDescriptionprotected voidCmsExport.exportOrgUnit(org.dom4j.Element parent, CmsOrganizationalUnit orgunit) Exports one single organizational unit with all it's data.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.voidCmsVfsImportExportHandler.importData(CmsObject cms, String importFile, String importPath, I_CmsReport report) Deprecated.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. - 
Uses of CmsException in org.opencms.jlan
Methods in org.opencms.jlan with parameters of type CmsExceptionModifier and TypeMethodDescriptionstatic IOExceptionCmsJlanDiskInterface.convertCmsException(CmsException e) Tries to convert a CmsException to the matching exception type from JLAN.Methods in org.opencms.jlan that throw CmsExceptionModifier and TypeMethodDescriptionprotected voidCmsJlanNetworkFile.ensureLock()Make sure that this resource is locked.protected CmsObjectWrapperCmsJlanDiskInterface.getCms(org.alfresco.jlan.server.SrvSession session, org.alfresco.jlan.server.filesys.TreeConnection connection) Creates a CmsObjectWrapper for the current session.CmsJlanRepository.getCms(org.alfresco.jlan.server.SrvSession session, org.alfresco.jlan.server.filesys.TreeConnection connection) Creates a CmsObjectWrapper for the current session.protected CmsJlanNetworkFileCmsJlanDiskInterface.getFileForPath(org.alfresco.jlan.server.SrvSession session, org.alfresco.jlan.server.filesys.TreeConnection connection, String path) Helper method to get a network file object given a path.protected CmsJlanNetworkFileCmsJlanDiskInterface.getFileForPath(CmsObjectWrapper cms, org.alfresco.jlan.server.SrvSession session, org.alfresco.jlan.server.filesys.TreeConnection connection, String path) Helper method to get a network file object given a path.voidCmsJlanRepository.initializeCms(CmsObject cms) protected voidCmsJlanNetworkFile.load(boolean needContent) Loads the file data from the VFS.voidMoves this file to a different path. - 
Uses of CmsException in org.opencms.jsp
Methods in org.opencms.jsp that return CmsExceptionModifier and TypeMethodDescriptionCmsJspLoginBean.getLoginException()Returns the exception that was thrown after login, or null if no Exception was thrown (i.e.Methods in org.opencms.jsp with parameters of type CmsExceptionModifier and TypeMethodDescriptionstatic voidCmsJspLoginBean.logLoginException(CmsRequestContext requestContext, String userName, CmsException currentLoginException) Logs any login exception.Methods in org.opencms.jsp that throw CmsExceptionModifier and TypeMethodDescriptionstatic StringCmsJspTagEdit.createResource(CmsObject cmsObject, String newLink, Locale locale, String sitePath, String modelFileName, String mode, String postCreateHandler) Creates a new resource.protected voidCmsJspTagContentLoad.doLoadNextFile()Load the next file name from the initialized list of file names.static List<CmsContainerElementBean> CmsJspTagContainer.getGroupContainerElements(CmsObject cms, CmsContainerElementBean element, javax.servlet.ServletRequest req, String containerType) Returns the element group elements.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) static StringCmsJspTagImage.imageTagAction(String src, CmsImageScaler scaler, Map<String, String> attributes, boolean partialTag, boolean noDim, javax.servlet.ServletRequest req) Internal action method to create the tag content.static StringCmsJspTagImage.imageTagAction(String src, CmsImageScaler scaler, Map<String, String> attributes, boolean partialTag, javax.servlet.ServletRequest req) Internal action method to create the tag content.static CmsJspImageBeanCmsJspTagScaleImage.imageTagAction(CmsObject cms, String imageUri, CmsImageScaler targetScaler, List<String> hiDpiVariantList) Internal action method to create the scaled image bean.static voidCmsJspTagEditable.insertEditEmpty(javax.servlet.jsp.PageContext context, I_CmsXmlContentContainer container, CmsDirectEditMode mode, String id) Inserts direct edit for empty collector lists.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.static StringCmsJspTagPdf.pdfTagAction(javax.servlet.ServletRequest request, String format, String content, String localeStr, String filename, SortedMap<String, String> params, String paramEncoding) The implementation of the tag.static StringCmsJspTagPdfThumbnail.pdfTagAction(javax.servlet.ServletRequest request, String file, int width, int height, String format) The implementation of the tag.CmsJspTagProperty.propertiesTagAction(String action, javax.servlet.ServletRequest req) Internal action method.static StringCmsJspTagProperty.propertyTagAction(String property, String action, String defaultValue, boolean escape, javax.servlet.ServletRequest req) Internal action method.static StringCmsJspTagProperty.propertyTagAction(String property, String action, String defaultValue, boolean escape, javax.servlet.ServletRequest req, Locale locale) Internal action method.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. - 
Uses of CmsException in org.opencms.jsp.decorator
Methods in org.opencms.jsp.decorator that throw CmsExceptionModifier and TypeMethodDescriptionvoidCmsDecoratorConfiguration.addDecorations(CmsDecorationDefintion decorationDefinition) Adds decorations defined in aobject to the map of all decorations.CmsDecorationDefintionCmsDecorationDefintion.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.Constructors in org.opencms.jsp.decorator that throw CmsExceptionModifierConstructorDescriptionCmsDecorationMap(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. - 
Uses of CmsException in org.opencms.jsp.parse
Methods in org.opencms.jsp.parse that throw CmsExceptionModifier and TypeMethodDescriptionprotected abstract I_CmsHtmlNodeVisitorA_CmsConfiguredHtmlParser.createVisitorInstance()Subclasses have to create their desired instance for parsing the html here.Returns the result of subsequent parsing to the <cms:parse< tag implementation. - 
Uses of CmsException in org.opencms.jsp.search.config.parser.simplesearch.preconfiguredrestrictions
Methods in org.opencms.jsp.search.config.parser.simplesearch.preconfiguredrestrictions that throw CmsExceptionModifier and TypeMethodDescriptionstatic CmsRestrictionRuleParses the provided restriction rule. - 
Uses of CmsException in org.opencms.jsp.userdata
Methods in org.opencms.jsp.userdata that throw CmsExceptionModifier and TypeMethodDescriptionCalled by the user data request function JSP to handle the user data request logic.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). - 
Uses of CmsException in org.opencms.jsp.util
Methods in org.opencms.jsp.util that throw CmsExceptionModifier 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.CmsJspContentAccessBean.getAttachments()Gets an attachment bean, trying to automatically find the right locale for the current page.static CmsJspContentAttachmentsBeanCmsJspContentAttachmentsBean.getAttachmentsForCurrentPage(CmsObject cms, CmsResource content) Gets the attachments / detail-only contents for the current page (i.e.CmsJspContentAccessValueWrapper.getJson()Gets the default JSON representation of a value.CmsJspStandardContextBean.getSchemaInfo(String typeOrXsd) Gets the schema information bean for the given type or XSD.voidCmsJspStandardContextBean.initPage()Initializes the requested container page.voidCmsJspStandardContextBean.CmsContainerElementWrapper.initResource(CmsObject cms) booleanCmsJspStandardContextBean.CmsContainerElementWrapper.isGroupContainer(CmsObject cms) booleanCmsJspStandardContextBean.CmsContainerElementWrapper.isInheritedContainer(CmsObject cms) protected CmsDynamicFunctionBeanCmsJspStandardContextBean.readDynamicFunctionBean(String configuredName) Reads a dynamic function bean, given its name in the module configuration.CmsJspVfsAccessBean.readFilesInFolder(String resourcePath) Reads the resources in the given folder.CmsJspVfsAccessBean.readFilesInFolder(String resourcePath, String filterString) Reads the resources in the given folder using the provided filter.CmsJspVfsAccessBean.readSubsiteFor(String path) Reads the sub site folder resource.voidCmsMacroFormatterResolver.resolve()Resolves the macro.protected CmsResourceA_CmsJspCustomContextBean.toResource(Object input) Convert the input to a CmsResource using the current context.protected I_CmsXmlDocumentConverts the input (typically a specification of an XML file) to an XML document.Constructors in org.opencms.jsp.util that throw CmsExceptionModifierConstructorDescriptionCmsJspContentAttachmentsBean(CmsObject cms, CmsResource pageResource) Initializes this bean with the contents of a detail-only page.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. - 
Uses of CmsException in org.opencms.loader
Subclasses of CmsException in org.opencms.loaderModifier and TypeClassDescriptionclassSignals exceptions occuring during the resource loading process.Methods in org.opencms.loader that return CmsExceptionModifier and TypeMethodDescriptionCmsLoaderException.createException(CmsMessageContainer container, Throwable cause) Methods in org.opencms.loader that throw CmsExceptionModifier and TypeMethodDescriptionbyte[]CmsDumpLoader.dump(CmsObject cms, CmsResource resource, 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[]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[]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.getDefaultTypeForName(String resourcename) Returns the default resource type for the given resource name, using the configured resource type file extensions.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.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) I_CmsFileNameGenerator.getUrlNameSequence(String baseName) Returns a sequence of URL name candidates for the given base name as an iterator.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) 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.protected CmsResourceCmsJspLoader.readJspResource(CmsFlexController controller, String jspName) Returns the jsp resource identified by the given name, using the controllers cms context.voidCmsDumpLoader.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) 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.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)  - 
Uses of CmsException in org.opencms.lock
Subclasses of CmsException in org.opencms.lockModifier and TypeClassDescriptionclassSignals that a particular action was invoked on resource with an insufficient lock state.Methods in org.opencms.lock that return CmsExceptionModifier and TypeMethodDescriptionCmsLockException.createException(CmsMessageContainer container, Throwable cause) Methods in org.opencms.lock that throw CmsExceptionModifier and TypeMethodDescriptionvoidCmsLockManager.addResource(CmsDbContext dbc, CmsResource resource, CmsUser user, CmsProject project, CmsLockType type) Adds a resource to the lock manager.static 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.CmsLockManager.getLock(CmsDbContext dbc, CmsResource resource) Returns the lock state of the given resource.CmsLockManager.getLock(CmsDbContext dbc, CmsResource resource, boolean includeSiblings) Returns the lock state of the given resource.CmsLockManager.getLockedResources(CmsDbContext dbc, CmsResource resource, CmsLockFilter filter) Returns all exclusive locked resources matching the given resource and filter.CmsLockManager.getLockedResourcesWithCache(CmsDbContext dbc, CmsResource resource, CmsLockFilter filter, Map<String, CmsResource> cache) Returns all exclusive locked resources matching the given resource and filter, but uses a cache for resource loookups.CmsLockManager.getLocks(CmsDbContext dbc, String resourceName, CmsLockFilter filter) Returns all exclusive locked resources matching the given resource name and filter.booleanCmsLockManager.hasSystemLocks(CmsDbContext dbc, CmsResource resource) Returnstrueif the given resource contains a resource that has a system lock.static CmsLockUtil.LockedFileCmsLockUtil.LockedFile.lockResource(CmsObject cms, CmsResource resource) Lock and read a file.voidCmsLockManager.readLocks(CmsDbContext dbc) Reads the latest saved locks from the database and installs them to this lock manager.voidCmsLockManager.removeDeletedResource(CmsDbContext dbc, String resourceName) Removes a resource after it has been deleted by the driver manager.CmsLockManager.removeResource(CmsDbContext dbc, CmsResource resource, boolean forceUnlock, boolean removeSystemLock) Removes a resource from the lock manager.voidCmsLockManager.writeLocks(CmsDbContext dbc) Writes the locks that are currently stored in-memory to the database to allow restoring them in later startups. - 
Uses of CmsException in org.opencms.mail
Constructors in org.opencms.mail that throw CmsExceptionModifierConstructorDescriptionCmsVfsDataSource(CmsObject cms, CmsResource resource) Creates a new data source for the given VFS resource. - 
Uses of CmsException in org.opencms.main
Subclasses of CmsException in org.opencms.mainModifier and TypeClassDescriptionclassA multi exception is a container for several exception messages that may be caused by an internal operation.classThis exeption is thrown by a class which implements org.opencms.main.I_CmsResourceInit.Fields in org.opencms.main with type parameters of type CmsExceptionModifier and TypeFieldDescriptionprotected List<CmsException> CmsMultiException.m_exceptionsThe list of internal exceptions.Methods in org.opencms.main that return CmsExceptionModifier and TypeMethodDescriptionCmsException.createException(CmsMessageContainer container, Throwable cause) Creates a copied instance of this localized exception.CmsMultiException.createException(CmsMessageContainer container, Throwable cause) CmsResourceInitException.createException(CmsMessageContainer container, Throwable cause) Methods in org.opencms.main that return types with arguments of type CmsExceptionModifier and TypeMethodDescriptionCmsMultiException.getExceptions()Returns the (unmodifiable) List of exceptions that are stored in this multi exception.Methods in org.opencms.main with parameters of type CmsExceptionModifier and TypeMethodDescriptionvoidCmsMultiException.addException(CmsException exception) Adds an Exception to the list of Exceptions kept in this multi Exception.Method parameters in org.opencms.main with type arguments of type CmsExceptionModifier and TypeMethodDescriptionvoidCmsMultiException.addExceptions(List<CmsException> exceptions) Adds all Exceptions in the given List to the list of Exceptions kept in this multi Exception.protected voidCmsMultiException.setExceptions(List<CmsException> exceptions) Updates the internal list of stored exceptions.Methods in org.opencms.main that throw CmsExceptionModifier and TypeMethodDescriptionvoidCmsSessionManager.checkCreateSessionForUser(CmsUser user) Checks whether a new session can be created for the user, and throws an exception if not.protected CmsObjectOpenCmsSolrHandler.getCmsObject(javax.servlet.http.HttpServletRequest req) Returns the CMS object.protected CmsObjectOpenCmsSpellcheckHandler.getCmsObject(javax.servlet.http.HttpServletRequest req) Returns the CMS object.protected voidOpenCmsCore.initCmsContextForUI(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, CmsUIServlet servlet) Initializes the OpenCms context for Vaadin UI servlet.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 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 org.opencms.main.OpenCmsSolrHandler.ContextOpenCmsSolrHandler.initializeRequest(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) Initialized the search request and sets the local parameter.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.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.voidSets the locale of the current user.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.Constructor parameters in org.opencms.main with type arguments of type CmsExceptionModifierConstructorDescriptionCmsMultiException(List<CmsException> exceptions) Creates a new multi exception for the given list ofinstances.CmsException - 
Uses of CmsException in org.opencms.module
Methods in org.opencms.module that throw CmsExceptionModifier 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 toresultCmsModule.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.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.booleanCmsModuleImportExportRepository.deleteModule(String fileName) Deletes the module corresponding to the given virtual module file name.CmsModuleImportExportRepository.getExportedModuleData(String virtualModuleFileName, CmsProject project) Exports a module and returns the export zip file content in a byte array.voidCmsModuleImportExportHandler.importData(CmsObject cms, String importFile, String importPath, I_CmsReport report) Deprecated.voidCmsModuleImportExportHandler.importData(CmsObject cms, I_CmsReport report) voidCmsModuleImportExportRepository.importModule(String name, byte[] content) Imports module data.voidCmsModuleUpdater.importRelations(CmsObject cms) Update relations for all imported resources.protected voidCmsModuleUpdater.parseLinks(CmsObject cms) Parses links for XMLContents etc.protected voidCmsModuleUpdater.processDeletions(CmsObject cms, List<CmsResource> toDelete) Handles the file deletions.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.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. - 
Uses of CmsException in org.opencms.newsletter
Methods in org.opencms.newsletter that throw CmsExceptionModifier and TypeMethodDescriptionvoidI_CmsNewsletter.addAttachment(CmsObject cms, CmsResource resource) Adds a OpenCms resource as an attachment to the newsletter.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 CmsException in org.opencms.notification
Methods in org.opencms.notification that throw CmsExceptionModifier and TypeMethodDescriptionprotected Collection<CmsContentNotification> CmsNotificationCandidates.getContentNotifications()Returns a collection of CmsContentNotifications, one for each responsible that receives a notification.CmsNotificationCandidates.notifyResponsibles()Sends all notifications to the responsible users.Constructors in org.opencms.notification that throw CmsExceptionModifierConstructorDescriptionCollects all resources that will expire in short time, or will become valid, or are not modified since a long time. - 
Uses of CmsException in org.opencms.pdftools
Constructors in org.opencms.pdftools that throw CmsExceptionModifierConstructorDescriptionCmsPdfLink(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.CmsPdfUserAgent(CmsObject cms) Creates a new instance. - 
Uses of CmsException in org.opencms.publish
Subclasses of CmsException in org.opencms.publishMethods in org.opencms.publish that return CmsExceptionModifier and TypeMethodDescriptionCmsPublishException.createException(CmsMessageContainer container, Throwable cause) Methods in org.opencms.publish that throw CmsExceptionModifier and TypeMethodDescriptionprotected voidCmsPublishEngine.abortPublishJob(CmsUUID userId, CmsPublishJobEnqueued publishJob, boolean removeJob) Aborts the given publish job.voidCmsPublishManager.abortPublishJob(CmsObject cms, CmsPublishJobEnqueued publishJob, boolean removeJob) Aborts the given publish job.protected voidCmsPublishHistory.add(CmsPublishJobInfoBean publishJob) Adds the given publish job to the list.protected voidCmsPublishQueue.add(CmsPublishJobInfoBean publishJob) Pushes a new publish job with the given information in publish queue.voidCmsPublishListVerifier.checkPublishList(CmsPublishList publishList) Checks whether the given publish job is OK, and throws an exception otherwise.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.protected byte[]CmsPublishEngine.getReportContents(CmsPublishJobFinished publishJob) Returns the content of the publish report assigned to the given publish job.byte[]CmsPublishManager.getReportContents(CmsPublishJobFinished publishJob) Returns the content of the publish report assigned to the given 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 voidCmsPublishEngine.lockPublishList(CmsPublishJobInfoBean publishJob) Sets publish locks of resources in a publish list.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, 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.protected voidCmsPublishHistory.remove(CmsPublishJobInfoBean publishJob) Removes the given job from the list.protected voidCmsPublishQueue.remove(CmsPublishJobInfoBean publishJob) Removes the given job from the list.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.protected voidCmsPublishEngine.unlockPublishList(CmsPublishJobInfoBean publishJob) Removes all publish locks of resources in a publish list of a publish job.Constructors in org.opencms.publish that throw CmsExceptionModifierConstructorDescriptionprotectedCmsPublishJobInfoBean(CmsObject cms, CmsPublishList publishList, I_CmsReport report) The Default constructor. - 
Uses of CmsException in org.opencms.relations
Methods in org.opencms.relations that throw CmsExceptionModifier 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.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.static StringCmsCategory.getCategoryPath(String rootPath, String baseFolder) Returns the category path for the given root path.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.voidCmsCategoryService.moveCategory(CmsObject cms, String oldCatPath, String newCatPath, String referencePath) Renames/Moves a category from the old path to the new one.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 that throw CmsException - 
Uses of CmsException in org.opencms.repository
Methods in org.opencms.repository that throw CmsExceptionModifier and TypeMethodDescriptionvoidvoidCopies the item found at the source path to the destination path.voidvoidCreates a new item at the given path.voidvoidDeletes the item at the given path.Returns the item found at the given path.CmsRepositorySession.getProperties(String path) I_CmsRepositorySession.getProperties(String path) Gets the properties for the given path.voidI_CmsRepository.initializeCms(CmsObject cms) Initializes this repository with an admin CMS object.Returns a list with all items found directly in the given path.booleanCmsRepositorySession.lock(String path, CmsRepositoryLockInfo lock) booleanI_CmsRepositorySession.lock(String path, CmsRepositoryLockInfo lock) Creates a new lock on the item at the path with the given information in the lock info.abstract I_CmsRepositorySessionLogin a user given the username and the password.voidvoidMoves an item from a source path to a destination path.voidCmsRepositorySession.save(String path, InputStream inputStream, boolean overwrite) voidI_CmsRepositorySession.save(String path, InputStream inputStream, boolean overwrite) Saves an item at the given path.voidCmsRepositorySession.updateProperties(String path, Map<CmsPropertyName, String> properties) voidI_CmsRepositorySession.updateProperties(String path, Map<CmsPropertyName, String> properties) Updates the properties for the given path. - 
Uses of CmsException in org.opencms.rmi
Constructors in org.opencms.rmi that throw CmsExceptionModifierConstructorDescriptionCmsRemoteShell(String additionalCommandsNames, int port) Creates a new instance. - 
Uses of CmsException in org.opencms.scheduler
Subclasses of CmsException in org.opencms.schedulerModifier and TypeClassDescriptionclassDescribes errors that occur in the context of the OpenCms scheduler.Methods in org.opencms.scheduler that return CmsExceptionModifier and TypeMethodDescriptionCmsSchedulerException.createException(CmsMessageContainer container, Throwable cause)  - 
Uses of CmsException in org.opencms.search
Subclasses of CmsException in org.opencms.searchModifier and TypeClassDescriptionclassSignals an error during an indexing operation.classSignals an error during a search operation.Methods in org.opencms.search that return CmsExceptionModifier and TypeMethodDescriptionCmsIndexException.createException(CmsMessageContainer container, Throwable cause) CmsSearchException.createException(CmsMessageContainer container, Throwable cause) Methods in org.opencms.search that throw CmsExceptionModifier and TypeMethodDescriptionprotected I_CmsSearchDocumentCmsIndexingThread.createIndexDocument(CmsObject cms, CmsResource res, I_CmsSearchIndex index, int count, I_CmsReport report) Creates the search index document.voidCmsSearchManager.rebuildAllIndexes(I_CmsReport report) Rebuilds (if required creates) all configured indexes.voidCmsSearchManager.rebuildIndex(String indexName, I_CmsReport report) Rebuilds (if required creates) the index with the given name.voidCmsSearchManager.rebuildIndexes(List<String> indexNames, I_CmsReport report) Rebuilds (if required creates) the List of indexes with the given name.protected voidCmsSearchManager.updateIndex(I_CmsSearchIndex index, I_CmsReport report, List<CmsPublishedResource> resourcesToIndex) Updates (if required creates) the index with the given name.protected voidCmsSearchManager.updateIndexIncremental(CmsObject cms, I_CmsSearchIndex index, I_CmsReport report, List<CmsPublishedResource> resourcesToIndex) Incrementally updates the given index. - 
Uses of CmsException in org.opencms.search.documents
Subclasses of CmsException in org.opencms.search.documentsModifier and TypeClassDescriptionclassSignals an error during content extraction of an empty document.Methods in org.opencms.search.documents that return CmsExceptionModifier and TypeMethodDescriptionCmsIndexNoContentException.createException(CmsMessageContainer container, Throwable cause) Methods in org.opencms.search.documents that throw CmsExceptionModifier 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.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.A_CmsVfsDocument.getDocumentKeys(List<String> resourceTypes, List<String> mimeTypes) I_CmsDocumentFactory.getDocumentKeys(List<String> resourceTypes, List<String> mimeTypes) Returns the list of accepted keys for the resource types that can be indexed using this document factory.protected CmsFileA_CmsVfsDocument.readFile(CmsObject cms, CmsResource resource) Upgrades the given resource to aCmsFilewith content. - 
Uses of CmsException in org.opencms.search.fields
Methods in org.opencms.search.fields that throw CmsExceptionModifier and TypeMethodDescriptionprotected 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.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. - 
Uses of CmsException in org.opencms.search.galleries
Methods in org.opencms.search.galleries that throw CmsExceptionModifier and TypeMethodDescriptionCmsGallerySearch.getResult(CmsGallerySearchParameters params) Returns the gallery search result list.static CmsGallerySearchResultCmsGallerySearch.searchById(CmsObject cms, CmsUUID structureId, Locale locale) Searches by structure id.CmsGallerySearch.searchById(CmsUUID id, Locale locale) Searches by structure id.CmsGallerySearch.searchByPath(String path, Locale locale) Searches by structure id.static CmsGallerySearchResultCmsGallerySearch.searchByPath(CmsObject cms, String rootPath, Locale locale) Searches by structure id.voidSet the name of the index to search.voidCmsGallerySearch.setIndexForProject(CmsObject cms) Sets the index name according to the current project. - 
Uses of CmsException in org.opencms.search.solr
Methods in org.opencms.search.solr that throw CmsExceptionModifier and TypeMethodDescriptionCmsSolrDocumentContainerPage.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. - 
Uses of CmsException in org.opencms.security
Subclasses of CmsException in org.opencms.securityModifier and TypeClassDescriptionclassSignals that an attempt to authenticate (login) has a user has failed.classCustom login exception whose message will be displayed to the user if the login fails.classSignals that an attempt to encrypt a password was not successful.classA permission violation occurs if a user without tries to access or maipulate a VFS resource without the required permissions.classA role violation occurs if a user without permissions tries to access a protected OpenCms system feature that can only be accessed by users in certain roles.classUsed to signal security related issues, for example example during file access and login.classSignals that an attempt to authenticate (login) a user has failed because the user had to many invalid logins.Methods in org.opencms.security that return CmsExceptionModifier and TypeMethodDescriptionCmsAuthentificationException.createException(CmsMessageContainer container, Throwable cause) CmsCustomLoginException.createException(CmsMessageContainer container, Throwable cause) CmsPasswordEncryptionException.createException(CmsMessageContainer container, Throwable cause) CmsPermissionViolationException.createException(CmsMessageContainer container, Throwable cause) CmsRoleViolationException.createException(CmsMessageContainer container, Throwable cause) CmsSecurityException.createException(CmsMessageContainer container, Throwable cause) CmsUserDisabledException.createException(CmsMessageContainer container, Throwable cause) Methods in org.opencms.security that throw CmsExceptionModifier 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.voidCmsPasswordInfo.applyChanges()Sets the new password for the current logged in user.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.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.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.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.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.CmsDefaultPermissionHandler.hasPermissions(CmsDbContext dbc, CmsResource resource, CmsPermissionSet requiredPermissions, I_CmsPermissionHandler.LockCheck checkLock, CmsResourceFilter filter) I_CmsPermissionHandler.hasPermissions(CmsDbContext dbc, CmsResource resource, CmsPermissionSet requiredPermissions, I_CmsPermissionHandler.LockCheck checkLock, CmsResourceFilter filter) Performs a non-blocking permission check on a resource.CmsDefaultAuthorizationHandler.initCmsObject(javax.servlet.http.HttpServletRequest request, String userName, String pwd) I_CmsAuthorizationHandler.initCmsObject(javax.servlet.http.HttpServletRequest request, String userName, String pwd) Authenticates the current request with additional user information.voidCmsOrgUnitManager.initialize(CmsObject cms) Initializes the organizational units.voidCmsPersistentLoginTokenHandler.invalidateToken(CmsUser user, String token) Invalidates all tokens for the given user.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.voidCmsOrgUnitManager.setUsersOrganizationalUnit(CmsObject cms, String ouFqn, String userName) Moves an user to the given organizational unit.voidCmsOrgUnitManager.writeOrganizationalUnit(CmsObject cms, CmsOrganizationalUnit organizationalUnit) Writes an already existing organizational unit. - 
Uses of CmsException in org.opencms.security.twofactor
Methods in org.opencms.security.twofactor that throw CmsExceptionModifier and TypeMethodDescriptionCmsTwoFactorAuthenticationUserPolicy.UserCheckContext.getGroupNames()Gets the set of names of the groups the user belongs to. - 
Uses of CmsException in org.opencms.site
Methods in org.opencms.site that throw CmsExceptionModifier and TypeMethodDescriptionvoidAdds a site.CmsSiteManagerImpl.getSiteTitle(CmsObject cms, CmsResource resource) Returns the site title.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 CmsException in org.opencms.site.xmlsitemap
Methods in org.opencms.site.xmlsitemap that throw CmsExceptionModifier and TypeMethodDescriptionprotected voidCmsDetailPageDuplicateEliminatingSitemapGenerator.addDetailLinks(CmsResource containerPage, Locale locale) protected voidCmsXmlSitemapGenerator.addDetailLinks(CmsResource containerPage, Locale locale) Adds the detail page links for a given page to the results.protected longCmsXmlSitemapGenerator.computeContainerPageModificationDate(CmsResource containerPage) Computes the container the container page modification date from its referenced contents.static CmsXmlSitemapGeneratorCmsXmlSitemapActionElement.createSitemapGenerator(String className, String folderRootPath) Creates an XML sitemap generator instance given a class name and the root path for the sitemap.CmsDetailPageDuplicateEliminatingSitemapGenerator.generateSitemapBeans()CmsXmlSitemapGenerator.generateSitemapBeans()Generates a list of XML sitemap entry beans for the root folder which has been set in the constructor.protected List<CmsResource> CmsXmlSitemapGenerator.getDirectPages()Gets the list of pages which should be directly added to the XML sitemap.voidCmsXmlSeoConfiguration.load(CmsObject cms, CmsResource resource) Loads the bean data from the given resource.static CmsXmlSitemapGeneratorCmsXmlSitemapActionElement.prepareSitemapGenerator(CmsResource seoFileRes, CmsXmlSeoConfiguration config) Constructs an XML sitemap generator given an XML sitemap configuration file.CmsXmlSitemapGenerator.renderSitemap()Generates a sitemap and formats it as a string.Constructors in org.opencms.site.xmlsitemap that throw CmsExceptionModifierConstructorDescriptionCmsDetailPageDuplicateEliminatingSitemapGenerator(String sitemapPath) Constructor.CmsXmlSitemapGenerator(String folderRootPath) Creates a new sitemap generator instance. - 
Uses of CmsException in org.opencms.staticexport
Subclasses of CmsException in org.opencms.staticexportModifier and TypeClassDescriptionclassDescribes errors that occur in the context of OpenCms scheduler.Methods in org.opencms.staticexport that return CmsExceptionModifier and TypeMethodDescriptionCmsStaticExportException.createException(CmsMessageContainer container, Throwable cause) Methods in org.opencms.staticexport that throw CmsExceptionModifier and TypeMethodDescriptionprotected voidCmsStaticExportManager.createExportFolder(String exportPath, String rfsName) Creates the parent folder for a exported resource in the RFS.voidCmsAfterPublishStaticExportHandler.doExportAfterPublish(List<CmsPublishedResource> resources, I_CmsReport report) Does the actual static export.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 voidCmsAfterPublishStaticExportHandler.exportAfterPublish(CmsUUID publishHistoryId, I_CmsReport report) Starts the static export on publish.voidCmsStaticExportManager.exportFullStaticRender(boolean purgeFirst, I_CmsReport report) Starts a complete static export of all resources.protected booleanCmsAfterPublishStaticExportHandler.exportNonTemplateResources(CmsObject cms, List<CmsPublishedResource> publishedResources, I_CmsReport report) Exports all non template resources found in a list of published resources.CmsAfterPublishStaticExportHandler.getAllResources(CmsObject cms) Returns all resources within the current OpenCms site that are not marked as internal.CmsStaticExportExportRule.getExportResources(CmsObject cms) Returns a set ofobjects containing all resources specified by theCmsPublishedResource<export-resources>node of this rule.protected List<CmsPublishedResource> CmsAfterPublishStaticExportHandler.getRelatedResources(CmsObject cms, List<CmsPublishedResource> publishedResources) Creates a list 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 Set<CmsPublishedResource> CmsAfterPublishStaticExportHandler.getSiblings(CmsObject cms, CmsPublishedResource pubResource) Returns all siblings of the published resource as list ofCmsPublishedResource.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 voidCmsStaticExportManager.writeResource(javax.servlet.http.HttpServletRequest req, String exportPath, String rfsName, CmsResource resource, byte[] content) Writes a resource to the given export path with the given rfs name and the given content. - 
Uses of CmsException in org.opencms.synchronize
Subclasses of CmsException in org.opencms.synchronizeModifier and TypeClassDescriptionclassThrown by a class which implements org.opencms.file.I_CmsSyncModifications.Methods in org.opencms.synchronize that return CmsExceptionModifier and TypeMethodDescriptionCmsSynchronizeException.createException(CmsMessageContainer container, Throwable cause) Methods in org.opencms.synchronize that throw CmsExceptionModifier and TypeMethodDescriptionvoidCmsSynchronizeSettings.checkValues(CmsObject cms) Performs a check if the values that have been set are valid.Constructors in org.opencms.synchronize that throw CmsExceptionModifierConstructorDescriptionCmsSynchronize(CmsObject cms, CmsSynchronizeSettings settings, I_CmsReport report) Creates a new CmsSynchronize object which automatically start the synchronization process. - 
Uses of CmsException in org.opencms.ugc
Methods in org.opencms.ugc that throw CmsExceptionModifier and TypeMethodDescriptionprotected CmsXmlContentCmsUgcSession.addContentValues(CmsFile file, Map<String, String> contentValues) Adds the given values to the content document.voidCmsUgcSession.finish()Finishes the session and publishes the changed resources if necessary.CmsUgcSession.getValues()Returns the content values.CmsUgcConfigurationReader.readConfiguration(CmsFile configFile) Reads the given configuration file.Constructors in org.opencms.ugc that throw CmsExceptionModifierConstructorDescriptionCmsUgcSession(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 CmsException in org.opencms.ui
Methods in org.opencms.ui that throw CmsExceptionModifier and TypeMethodDescriptionvoidCmsUserIconHelper.setUserImage(CmsObject cms, CmsUser user, String rootPath) Sets the user image for the given user. - 
Uses of CmsException in org.opencms.ui.apps
Methods in org.opencms.ui.apps that throw CmsExceptionModifier and TypeMethodDescriptionprotected voidCmsFileExplorer.readFolder(CmsUUID folderId) Reads the given folder.protected voidCmsFileExplorer.readFolder(CmsUUID folderId, boolean clearFilter) Reads the given folder.Constructors in org.opencms.ui.apps that throw CmsException - 
Uses of CmsException in org.opencms.ui.apps.cacheadmin
Methods in org.opencms.ui.apps.cacheadmin that throw CmsExceptionModifier and TypeMethodDescriptionCmsImageCacheHelper.getSingleSize(CmsObject cms, String resPath) Reads the size of a single image. - 
Uses of CmsException in org.opencms.ui.apps.search
Methods in org.opencms.ui.apps.search that throw CmsExceptionModifier and TypeMethodDescriptionprotected voidCmsSourceSearchForm.updateSearchRoot()Updates the search root. - 
Uses of CmsException in org.opencms.ui.apps.sessions
Methods in org.opencms.ui.apps.sessions that throw CmsException - 
Uses of CmsException in org.opencms.ui.apps.user
Methods in org.opencms.ui.apps.user that throw CmsExceptionModifier 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.CmsAccountsApp.getUsersWithoutAdditionalInfo(CmsObject cms, I_CmsOuTreeType type, String ou, boolean recursive) Gets list of users for organizational unit.protected voidCmsUserTable.openInfoDialog(CmsUUID id) Opens the user info dialog.CmsAccountsApp.readGroupsForOu(CmsObject cms, String ou, I_CmsOuTreeType type, boolean subOus) Reads the list of groups for an organizational unit. - 
Uses of CmsException in org.opencms.ui.components.fileselect
Methods in org.opencms.ui.components.fileselect that throw CmsExceptionModifier and TypeMethodDescriptionvoidCmsResourceTreeContainer.update(CmsObject cms, CmsUUID id, CmsResourceFilter filter) Updates the item for the given structure id.Constructors in org.opencms.ui.components.fileselect that throw CmsExceptionModifierConstructorDescriptionCmsNavigationFilter(CmsObject cms, CmsResource root) Creates a new instance.Creates a new instance.CmsResourceSelectDialog(CmsResourceFilter filter, CmsObject cms) public constructor with given CmsObject.CmsResourceSelectDialog(CmsResourceFilter filter, CmsObject _cms, CmsResourceSelectDialog.Options options) public constructor. - 
Uses of CmsException in org.opencms.ui.dialogs
Methods in org.opencms.ui.dialogs that throw CmsExceptionModifier 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.protected voidCmsCopyMoveDialog.performSingleOperation(CmsResource source, CmsResource target, String name, CmsCopyMoveDialog.Action action, boolean overwrite, Map<String, String> macroMap) Performs the single resource operation.protected voidCmsCopyMoveDialog.performSingleOperation(CmsResource source, CmsResource target, CmsCopyMoveDialog.Action action, boolean overwrite, Map<String, String> makroMap) Performs the single resource operation.protected voidCmsSecureExportDialog.saveData()Touches the selected files.voidCmsCopyMoveDialog.setTargetFolder(CmsUUID structureId) Preselects the target folder.protected voidCmsTouchDialog.touchFiles()Touches the selected files.CmsUndeleteDialog.undelete()Undeletes the selected filesConstructors in org.opencms.ui.dialogs that throw CmsExceptionModifierConstructorDescriptionCmsChangeTypeDialog(I_CmsDialogContext context) Creates a new instance.Creates a new instance. - 
Uses of CmsException in org.opencms.ui.dialogs.availability
Methods in org.opencms.ui.dialogs.availability that throw CmsExceptionModifier and TypeMethodDescriptionCmsAvailabilityDialog.changeAvailability()Actually performs the availability change. - 
Uses of CmsException in org.opencms.ui.dialogs.history
Methods in org.opencms.ui.dialogs.history that throw CmsExceptionModifier and TypeMethodDescriptionvoidCmsHistoryDialog.tryCompare()Opens the 'compare' view for the two selected versions of the resource. - 
Uses of CmsException in org.opencms.ui.dialogs.history.diff
Methods in org.opencms.ui.dialogs.history.diff that throw CmsExceptionModifier and TypeMethodDescriptioncom.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> 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.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. - 
Uses of CmsException in org.opencms.ui.editors.messagebundle
Methods in org.opencms.ui.editors.messagebundle that throw CmsExceptionModifier and TypeMethodDescriptionvoidCmsMessageBundleEditorModel.deleteDescriptorIfNecessary()When the descriptor was added while editing, but the change was not saved, it has to be removed when the editor is closed.com.vaadin.v7.data.util.IndexedContainerCmsMessageBundleEditorModel.getContainerForCurrentLocale()Returns the container filled according to the current locale.voidCmsMessageBundleEditorModel.save()Saves the messages for all languages that were opened in the editor.voidCmsMessageBundleEditorModel.saveAsPropertyBundle()Saves the loaded XML bundle as property bundle.Constructors in org.opencms.ui.editors.messagebundle that throw CmsException - 
Uses of CmsException in org.opencms.ui.favorites
Methods in org.opencms.ui.favorites that throw CmsExceptionModifier and TypeMethodDescriptionCmsFavoriteDAO.loadFavorites()Loads the favorite list.voidCmsFavoriteDAO.saveFavorites(List<CmsFavoriteEntry> favorites) Saves the favorites.CmsFavoriteEntry.updateContextAndGetFavoriteUrl(CmsObject cms) Prepares the CmsObject for jumping to this favorite location, and returns the appropriate URL.Constructors in org.opencms.ui.favorites that throw CmsExceptionModifierConstructorDescriptionCmsFavoriteDAO(CmsObject cms) Creates a new instance.CmsFavoriteDAO(CmsObject cms, String userName) Creates a new instance.CmsFavoriteDialog(I_CmsFavoriteContext context, CmsFavoriteDAO favDao) Creates a new dialog instance. - 
Uses of CmsException in org.opencms.ui.login
Methods in org.opencms.ui.login that throw CmsExceptionModifier 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.displayVaadinLoginDialog(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Returns the initial HTML for the Vaadin based login dialog.static StringCmsLoginController.getLoginTarget(CmsObject currentCms, CmsWorkplaceSettings settings, String requestedResource) Gets the login target link.CmsTokenValidator.validateToken(CmsObject cms, String token, long maxAgeMillis) Validates the authentication token against the token stored in the user's additional info. - 
Uses of CmsException in org.opencms.ui.sitemap
Methods in org.opencms.ui.sitemap that throw CmsExceptionModifier and TypeMethodDescriptionCmsSitemapTreeDataProvider.getSitemapService()Gets the sitemap service.voidCmsLocaleComparePanel.initialize(CmsUUID id, Locale initialComparisonLocale) Initializes the locale comparison view.voidCmsSitemapTreeNodeData.initialize(CmsObject cms) Initializes the bean.protected voidCmsLocaleComparePanel.initTree(CmsResource rootRes) Initializes the tree with the given resource as a root.voidCmsLocaleComparePanel.switchToLocale(Locale locale) Switches the root locale to the given value.Constructors in org.opencms.ui.sitemap that throw CmsExceptionModifierConstructorDescriptionCmsLocaleLinkTargetSelectionDialog(I_CmsDialogContext context, I_CmsLocaleCompareContext localeContext) Creates a new instance. - 
Uses of CmsException in org.opencms.ui.util
Methods in org.opencms.ui.util that throw CmsExceptionModifier and TypeMethodDescriptionCmsNewResourceBuilder.createResource()Triggers the resource creation.CmsNewResourceBuilder.PropertyEditorHelper.loadPropertyData(CmsUUID id) Loads the data needed for editing the properties of a resource.Constructors in org.opencms.ui.util that throw CmsException - 
Uses of CmsException in org.opencms.util
Subclasses of CmsException in org.opencms.utilModifier and TypeClassDescriptionclassUsed to signal issues with the real local file system (RFS), for example during file access.Methods in org.opencms.util that return CmsExceptionModifier and TypeMethodDescriptionCmsRfsException.createException(CmsMessageContainer container, Throwable cause) Methods in org.opencms.util that throw CmsExceptionModifier and TypeMethodDescriptionstatic 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).static voidCmsVfsUtil.createFolder(CmsObject cms, String rootPath) Creates a folder and its parent folders if they don't exist.CmsMacroResolver.getBundleMapFromResources(Properties resourceBundle, CmsResource descriptor, CmsObject clonedCms) Reads a bundle (key, value, descriptor) from Descriptor Resource and property resource.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 CmsException in org.opencms.webdav
Methods in org.opencms.webdav with parameters of type CmsExceptionModifier and TypeMethodDescriptionstatic intCmsDavUtil.getStatusForException(CmsException e) Gets the HTTP status code to use for an exception. - 
Uses of CmsException in org.opencms.widgets
Subclasses of CmsException in org.opencms.widgetsModifier and TypeClassDescriptionclassDescribes errors that occur in the context of the OpenCms widgets.Methods in org.opencms.widgets that return CmsExceptionModifier and TypeMethodDescriptionCmsWidgetException.createException(CmsMessageContainer container, Throwable cause)  - 
Uses of CmsException in org.opencms.workflow
Subclasses of CmsException in org.opencms.workflowModifier and TypeClassDescriptionclassAn exception which indicates that a user tried to execute an invalid workflow action.classAn exception which indicates that the user tried to trigger a workflow action for a set of resources for which some parent folder is not included in the set, but has the resource state 'new'.Methods in org.opencms.workflow that throw CmsExceptionModifier 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 voidCmsExtendedWorkflowManager.cleanupEmptyWorkflowProjects(List<CmsProject> projects) Cleans up empty workflow projects.protected voidCmsExtendedWorkflowManager.cleanupProjectIfEmpty(CmsProject project) Removes a project if there are no longer any resources which have been last modified in that project.protected voidCmsExtendedWorkflowManager.clearLocks(CmsProject project, List<CmsResource> resources) Ensures that the resources to be released are unlocked.protected CmsPublishResourceCmsDefaultPublishResourceFormatter.createPublishResource(CmsResource resource) Creates a publish resource bean from a resource.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.CmsDefaultPublishResourceFormatter.AlreadyPublishedValidator.getInfoForResource(CmsResource resource) CmsDefaultPublishResourceFormatter.BlockingLockedValidator.getInfoForResource(CmsResource resource) CmsDefaultPublishResourceFormatter.I_PublishResourceValidator.getInfoForResource(CmsResource resource) Gets the status information for an excluded resource.I_CmsPublishResourceFormatter.getPublishResources()Gets the publish resource beans created by this formatter.CmsExtendedRealProjectWrapper.getResources(CmsObject cms, Map<String, String> params, String workflowId) voidCmsDefaultPublishResourceFormatter.initialize(CmsPublishOptions options, CmsPublishRelationFinder.ResourceMap resources) voidI_CmsPublishResourceFormatter.initialize(CmsPublishOptions options, CmsPublishRelationFinder.ResourceMap resources) Initializes the formatter.protected booleanCmsExtendedWorkflowManager.isProjectEmpty(CmsProject project) Checks whether there are resources which have last been modified in a given project.protected booleanCmsExtendedWorkflowManager.isProjectManager(CmsObject userCms) Checks whether the user for a given CMS context can manage workflow projects. - 
Uses of CmsException in org.opencms.workplace
Subclasses of CmsException in org.opencms.workplaceModifier and TypeClassDescriptionclassSignals that an exceptional program flow happens in the workplace.Methods in org.opencms.workplace that return CmsExceptionModifier and TypeMethodDescriptionCmsWorkplaceException.createException(CmsMessageContainer container, Throwable cause) Methods in org.opencms.workplace that throw CmsExceptionModifier and TypeMethodDescriptionCmsDialog.buildLockHeaderBox()Returns the html code to build the header box.voidChecks the lock state of the resource and locks it if the autolock feature is enabled.voidCmsWorkplace.checkLock(String resource, CmsLockType type) Checks the lock state of the resource and locks it if the autolock feature is enabled.CmsWorkplaceManager.createTempFile(CmsObject cms, String resourceName, CmsUUID currentProjectId) Creates a temporary file which is needed while working in an editor with preview option.CmsDialog.getState()Gets a formatted file state string.voidCmsWorkplaceManager.initialize(CmsObject cms) Initializes the workplace manager with the OpenCms system configuration.protected voidCmsWorkplace.switchToCurrentProject()Helper method to change back from the temporary project to the current project.protected CmsUUIDCmsWorkplace.switchToTempProject()Helper method to change the current project to the temporary file project. - 
Uses of CmsException in org.opencms.workplace.comparison
Methods in org.opencms.workplace.comparison that throw CmsExceptionModifier and TypeMethodDescriptionstatic 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.Constructors in org.opencms.workplace.comparison that throw CmsExceptionModifierConstructorDescriptionCmsXmlDocumentComparison(CmsObject cms, CmsFile res1, CmsFile res2) Creates a new xml document comparison. - 
Uses of CmsException in org.opencms.workplace.editors
Methods in org.opencms.workplace.editors that throw CmsExceptionModifier and TypeMethodDescriptionabstract voidCmsEditor.actionExit()Performs the exit editor action.voidCmsEditor.checkLock(String resource, CmsLockType type) protected voidCmsEditor.commitTempFile()Writes the content of a temporary file back to the original file.protected voidCmsXmlContentEditor.commitTempFile()protected StringCmsEditor.createTempFile()Creates a temporary file which is needed while working in an editor with preview option.protected CmsObjectCmsEditor.getCloneCms()Returns a cloned cms instance that prevents the time range resource filter check.CmsEditorHandler.getEditorUri(String resource, CmsJspActionElement jsp) I_CmsEditorHandler.getEditorUri(String resource, CmsJspActionElement jsp) Returns the editor URI which will be used for the selected resource in the OpenCms VFS to the editor selector class.protected voidCmsDefaultPageEditor.performSaveContent(String body, Locale locale) Saves the editor content to the temporary file.protected voidCmsDialogCopyLanguage.transferContents(CmsXmlContent content, Locale sourceLocale, List<Locale> destLocales) Copies the contents from a source locale to a number of destination locales by overwriting them. - 
Uses of CmsException in org.opencms.workplace.editors.directedit
Methods in org.opencms.workplace.editors.directedit that throw CmsExceptionModifier and TypeMethodDescriptionprotected StringCmsDirectEditDefaultProvider.getContentAsString(CmsFile file) Helper method to convert the content of a resource to a string.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.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.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 CmsException in org.opencms.workplace.explorer
Methods in org.opencms.workplace.explorer that throw CmsExceptionModifier and TypeMethodDescriptionvoidCmsExplorerTypeAccess.createAccessControlList(String resourceType) Creates the access control list from the temporary map.CmsResourceUtil.getNoEditReason(Locale locale) Checks is the current resource can be edited by the current user.CmsResourceUtil.getNoEditReason(Locale locale, boolean ignoreExpiration) Checks is the current resource can be edited by the current user. - 
Uses of CmsException in org.opencms.xml
Subclasses of CmsException in org.opencms.xmlModifier and TypeClassDescriptionclassSignals that an error occurred while processing an xml resource.Methods in org.opencms.xml that return CmsExceptionModifier and TypeMethodDescriptionCmsXmlException.createException(CmsMessageContainer container, Throwable cause) Methods in org.opencms.xml that throw CmsExceptionModifier and TypeMethodDescriptionstatic 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.voidCmsXmlFileTransformer.run()Performs the transformation on all resources of the configured type.Constructors in org.opencms.xml that throw CmsExceptionModifierConstructorDescriptionCmsXmlFileTransformer(CmsObject cms, String path, String type, String xslName, InputStream xslStream, I_CmsReport report) Creates a new instance. - 
Uses of CmsException in org.opencms.xml.containerpage
Methods in org.opencms.xml.containerpage that throw CmsExceptionModifier and TypeMethodDescriptionbyte[]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 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 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.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.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.CmsXmlGroupContainerHandler.getJSHeadIncludes(CmsObject cms, CmsResource resource) CmsXmlInheritGroupContainerHandler.getJSHeadIncludes(CmsObject cms, CmsResource resource) 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.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.static voidCmsFormatterConfiguration.initialize(CmsObject cms) Initialize the formatter configuration.voidCmsContainerElementBean.initResource(CmsObject cms) Initializes the resource and the site path of this element.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.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.CmsHtmlRedirectHandler.prepareForWrite(CmsObject cms, CmsXmlContent content, CmsFile file) CmsListConfigContentHandler.prepareForWrite(CmsObject cms, CmsXmlContent content, CmsFile file) CmsXmlContainerPageHandler.prepareForWrite(CmsObject cms, CmsXmlContent content, CmsFile file) 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.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, 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.voidCmsXmlContainerPage.writeContainerPage(CmsObject cms, CmsContainerPageBean cntPage) Saves a container page in in-memory XML structure.Constructors in org.opencms.xml.containerpage that throw CmsExceptionModifierConstructorDescriptionprotectedCmsXmlContainerPage(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.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. - 
Uses of CmsException in org.opencms.xml.containerpage.mutable
Methods in org.opencms.xml.containerpage.mutable that throw CmsExceptionModifier and TypeMethodDescriptionbyte[]CmsContainerPageWrapper.marshal()Marshals the page data without writing it to the VFS.voidCmsContainerPageWrapper.saveToVfs()Saves the page data to the VFS, using the same resource from which this object was created.Constructors in org.opencms.xml.containerpage.mutable that throw CmsExceptionModifierConstructorDescriptionCmsContainerPageWrapper(CmsObject cms, CmsResource res) Creates a new instance by reading the container page from a file. - 
Uses of CmsException in org.opencms.xml.content
Methods in org.opencms.xml.content that throw CmsExceptionModifier and TypeMethodDescriptionbooleanI_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.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.voidCmsMappingResolutionContext.commitUrlNameMappings()Writes all the stored URL name mappings to the database.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.CmsDefaultXmlContentHandler.createRootCms(CmsObject cms) Copies a given CMS context and set the copy's site root to '/'.voidCmsMappingResolutionContext.finalizeMappings()Finalizes the mappings.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.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.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.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.getUriForId(CmsObject cms, CmsUUID id) Returns a sitemap or VFS path given a sitemap entry id or structure id.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.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.voidCmsMappingResolutionContext.setAttribute(CmsResource res, CmsMappingResolutionContext.AttributeType type, Long value) Helper method for setting release/expiration date.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 CmsFileCmsDefaultXmlContentHandler.writeCategories(CmsObject cms, CmsFile file, CmsXmlContent content) Writes the categories if a category widget is present.Constructors in org.opencms.xml.content that throw CmsExceptionModifierConstructorDescriptionprotectedCmsXmlContent(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. - 
Uses of CmsException in org.opencms.xml.page
Methods in org.opencms.xml.page that throw CmsExceptionModifier and TypeMethodDescriptionstatic I_CmsXmlDocumentFactory method to unmarshal (read) a XML document instance from a filename in the VFS, using the request attributes as cache.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 CmsException in org.opencms.xml.templatemapper
Constructors in org.opencms.xml.templatemapper that throw CmsExceptionModifierConstructorDescriptionCmsTemplateMapperConfiguration(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 CmsException in org.opencms.xml.xml2json
Methods in org.opencms.xml.xml2json that throw CmsExceptionModifier and TypeMethodDescriptionvoidCmsResourceDataJsonHelper.addProperties(JSONObject result) Adds property data to the result object.I_CmsApiAuthorizationHandler.initCmsObject(CmsObject adminCms, javax.servlet.http.HttpServletRequest request) Authenticates a user from a request and returns a CmsObject initialized with that user.CmsResourceDataJsonHelper.properties(boolean inherited) Creates a JSON object with the properties of the resource. - 
Uses of CmsException in org.opencms.xml.xml2json.document
Methods in org.opencms.xml.xml2json.document that throw CmsExceptionModifier and TypeMethodDescriptionCmsJsonDocumentContainerPage.getJson()CmsJsonDocumentFolder.getJson()CmsJsonDocumentList.getJson()CmsJsonDocumentResource.getJson()CmsJsonDocumentXmlContent.getJson()I_CmsJsonDocument.getJson()Returns the JSON document.protected voidCmsJsonDocumentResource.insertJsonResource()If the request parameter "wrapper" is set, inserts information about this resource into the JSON document.protected voidCmsJsonDocumentResource.insertJsonResourceProperties()Inserts the properties of this resource into the JSON document.protected voidCmsJsonDocumentXmlContent.insertJsonWrapper()Inserts a wrapper with resource information into this JSON document. - 
Uses of CmsException in org.opencms.xml.xml2json.handler
Methods in org.opencms.xml.xml2json.handler that throw CmsExceptionModifier and TypeMethodDescriptionCmsJsonHandlerContext.getContent()Loads the XML content.CmsJsonHandlerContext.getFile()Gets the file for the path. - 
Uses of CmsException in org.opencms.xml.xml2json.renderer
Methods in org.opencms.xml.xml2json.renderer that throw CmsExceptionModifier and TypeMethodDescriptionvoidCmsJsonRendererXmlContent.initialize(CmsObject cms) Initializes the renderer.voidCmsJsonRendererXmlContent.initialize(CmsJsonHandlerContext context) voidI_CmsJsonRendererXmlContent.initialize(CmsObject cms) Initializes the context for the renderer.voidI_CmsJsonRendererXmlContent.initialize(CmsJsonHandlerContext context) Initializes the context for the renderer.Constructors in org.opencms.xml.xml2json.renderer that throw CmsException 
CmsObject.chtype(String, I_CmsResourceType)instead.