Uses of Class
org.opencms.file.CmsResource.CmsResourceDeleteMode
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.
This package contains classes and interfaces used to access OpenCms through a wrapped
CmsObject
.-
Uses of CmsResource.CmsResourceDeleteMode in org.opencms.db
Modifier and TypeMethodDescriptionCmsUserSettings.getDialogDeleteFileMode()
Returns the default setting for file deletion.Modifier and TypeMethodDescriptionvoid
CmsDriverManager.deleteResource
(CmsDbContext dbc, CmsResource resource, CmsResource.CmsResourceDeleteMode siblingMode) Deletes a resource.protected void
CmsSecurityManager.deleteResource
(CmsDbContext dbc, CmsResource resource, CmsResource.CmsResourceDeleteMode siblingMode) Internal recursive method for deleting a resource.void
CmsSecurityManager.deleteResource
(CmsRequestContext context, CmsResource resource, CmsResource.CmsResourceDeleteMode siblingMode) Deletes a resource given its name.void
CmsUserSettings.setDialogDeleteFileMode
(CmsResource.CmsResourceDeleteMode mode) Sets the default setting for file deletion. -
Uses of CmsResource.CmsResourceDeleteMode in org.opencms.file
Modifier and TypeFieldDescriptionstatic final CmsResource.CmsResourceDeleteMode
CmsResource.DELETE_PRESERVE_SIBLINGS
Signals that siblings of this resource should not be deleted.static final CmsResource.CmsResourceDeleteMode
CmsResource.DELETE_REMOVE_SIBLINGS
Signals that siblings of this resource should be deleted.protected static final CmsResource.CmsResourceDeleteMode
CmsResource.CmsResourceDeleteMode.MODE_DELETE_PRESERVE_SIBLINGS
Signals that siblings of this resource should not be deleted.protected static final CmsResource.CmsResourceDeleteMode
CmsResource.CmsResourceDeleteMode.MODE_DELETE_REMOVE_SIBLINGS
Signals that siblings of this resource should be deleted.Modifier and TypeMethodDescriptionCmsResource.CmsResourceDeleteMode.valueOf
(int mode) Returns the delete mode object from the old delete mode integer.Modifier and TypeMethodDescriptionvoid
CmsObject.deleteResource
(String resourcename, CmsResource.CmsResourceDeleteMode siblingMode) Deletes a resource given its name.void
CmsObject.deleteResource
(CmsResource res, CmsResource.CmsResourceDeleteMode deletePreserveSiblings) Deletes a resource. -
Uses of CmsResource.CmsResourceDeleteMode in org.opencms.file.types
Modifier and TypeMethodDescriptionvoid
A_CmsResourceType.deleteResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsResource.CmsResourceDeleteMode siblingMode) void
CmsResourceTypeJsp.deleteResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsResource.CmsResourceDeleteMode siblingMode) void
CmsResourceTypePlain.deleteResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsResource.CmsResourceDeleteMode siblingMode) void
CmsResourceTypeXmlContent.deleteResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsResource.CmsResourceDeleteMode siblingMode) void
I_CmsResourceType.deleteResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsResource.CmsResourceDeleteMode siblingMode) Deletes a resource given its name. -
Uses of CmsResource.CmsResourceDeleteMode in org.opencms.file.wrapper
Modifier and TypeMethodDescriptionboolean
A_CmsResourceExtensionWrapper.deleteResource
(CmsObject cms, String resourcename, CmsResource.CmsResourceDeleteMode siblingMode) boolean
A_CmsResourceWrapper.deleteResource
(CmsObject cms, String resourcename, CmsResource.CmsResourceDeleteMode siblingMode) void
CmsObjectWrapper.deleteResource
(String resourcename, CmsResource.CmsResourceDeleteMode siblingMode) Deletes a resource given its name.boolean
CmsResourceWrapperModules.deleteResource
(CmsObject cms, String resourcename, CmsResource.CmsResourceDeleteMode siblingMode) boolean
CmsResourceWrapperModulesNonLazy.deleteResource
(CmsObject cms, String resourcename, CmsResource.CmsResourceDeleteMode siblingMode) boolean
CmsResourceWrapperPropertyFile.deleteResource
(CmsObject cms, String resourcename, CmsResource.CmsResourceDeleteMode siblingMode) boolean
CmsResourceWrapperXmlPage.deleteResource
(CmsObject cms, String resourcename, CmsResource.CmsResourceDeleteMode siblingMode) boolean
I_CmsResourceWrapper.deleteResource
(CmsObject cms, String resourcename, CmsResource.CmsResourceDeleteMode siblingMode) Deletes a resource given its name.