Uses of Class
org.opencms.file.CmsVfsException
Package
Description
Low-level database connection and access functionality.
This important package provides the methods to access the OpenCms VFS repository with the permissions
of an authenticated user.
The implementations of the core resource types for the VFS are located here.
-
Uses of CmsVfsException in org.opencms.db
Modifier and TypeClassDescriptionclass
Signals 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.Modifier and TypeMethodDescriptionCmsDriverManager.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.void
CmsSecurityManager.checkOfflineProject
(CmsDbContext dbc) Checks if the project in the given database context is not the "Online" project, and throws an Exception if this is the case.CmsSecurityManager.createResource
(CmsRequestContext context, String resourcePath, CmsResource resource, byte[] content, List<CmsProperty> properties) Creates a new resource with the provided content and properties.void
CmsDbContext.report
(I_CmsReport report, CmsMessageContainer message, Throwable throwable) Reports an error to the given report (if available) and to the OpenCms log file.void
CmsDbContext.throwException
(CmsMessageContainer message, Throwable throwable) Returns an exception of the same type asthrowable
, ifthrowable
is an OpenCms Exception with the message as aCmsMessageContainer
and thethrowable
as a cause. -
Uses of CmsVfsException in org.opencms.file
Modifier and TypeClassDescriptionclass
Signals that a VFS resource unexpectedly exists.class
Signals that an attempt to read a resource in the VFS denoted by a specified pathname has failed. -
Uses of CmsVfsException in org.opencms.file.types
Modifier and TypeMethodDescriptionCmsResourceTypeImage.writeFile
(CmsObject cms, CmsSecurityManager securityManager, CmsFile resource)