Package org.opencms.db
package org.opencms.db
Low-level database connection and access functionality.
You should usually not access the OpenCms database directly.
To access the OpenCms VFS repository, obtain a
which will encapsulate the current users permissions.CmsObject
- Since:
- 6.0.0
-
ClassDescriptionThis class represents an alias from a virtual path to a resource in the VFS.This class is used for filtering aliases in database operations.The alias manager provides access to the aliases stored in the database.Generates the cache keys for the user and permission caches.The settings of the OpenCms memory monitor.A query fragment which aggregates the results from a list of other query fragments.Signals that a data source consistency problem has been detected.Wraps context information to access the OpenCms database.A default implementation of
I_CmsDbContextFactory
.Signals that an attempt to create an object was not successfull because it already exists.Signals that an attempt to read an object from a data source, that is supposed to exist, was not successfull.Signals that a low-level exception occurred when accessing the OpenCms database.Signals that an IO exception occurred when reading from or writing to the OpenCms database.Signals that a foreign key in the VFS STRUCTURE, RESOURCES or FILES database tables is either invalid or empty.Deprecated.Database connection pool class using HikariCP.Used to signal sql related issues.Generic database utility functions.Provides access to the names of the OpenCms default users and groups.The OpenCms driver manager.Enum for distinguishing between login modes.Resource list which additionally knows whether it should be cacheable in the resource list cache or not.Special key class for caching the resource OU data with a Guava LoadingCache.Helper class used to store information about resources assigned to OUs in a cache.Contains the data of a single export point.Provides methods to write export points to the "real" file system.Allows to import resources from the filesystem or a ZIP file into the OpenCms VFS.Provides functions used to check the validity of a user login.A message to display when a user logs in to the system.Wrapper forCmsSelectQuery
objects which adds SQL code for results paging.A prepared statement parameter of type 'int'.A prepared statement of type 'long'.A prepared statement parameter of type 'string'.Represents the state of a published resource *before* it got published.Add new resource states under consideration of the move operation.A container for all new/changed/deteled Cms resources that are published together.Enumeration class for the different resource states.This class represents an alias which does not just map a fixed path to a fixed resource, but instead uses a regular expression substitution to determine the target path.Filter class used for selecting rewrite aliases from the database.Helper class used for matching rewrite aliases to incoming request URIs.The result of a match operation.The OpenCms security manager.A class for generating SQL SELECT statements.A simple query fragment which takes its SQL string and query parameters as constructor arguments.Class for generating an SQL boolean expression.Superclass for all SQL manager implementations.A helper class used to accumulate SQL fragments together with the corresponding query parameters.Provides filters for getting resources subscribed by a user or group in a specified time range.Manager that provides methods to subscribe resources to users, read subscribed or unvisited resources and more.The read modes to get subscribed resources of a user or group.An alternative export point driver which replaces the RFS targets of some export points with locations in a temporary export folder.Provides the user export settings.Object to conveniently access and modify the users workplace settings.Enumeration class for workplace search result styles.A enum for the different upload variants.This resource handler checks if a resource has to be marked as visited by the current user.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.Provides filters for getting resources visited by a user in a specified time range.A bean which represents a user having visited a page.A filter which contains criteria for readingCmsVisitEntry
instances from the database.Describes the cache key generating methods.This interface defines a factory to create runtime info objects.Generic base driver interface.Provides methods to write export points to the "real" file system.Definitions of all required history driver methods.An interface which represents a parameter value which is going to be used in an SQL prepared statement.Definitions of all required project driver methods.An interface for classes which are used to generate SQL statements.The interface for drivers handling subscriptions and user tracking.Definitions of all required user driver methods.Definitions of all required VFS driver methods.Convenience class to access the localized messages of this OpenCms package.