Uses of Class
org.opencms.file.CmsResource.CmsResourceCopyMode
Package
Description
Reads and writes the XML based OpenCms configuration files.
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
.Utility functions for String manipulation and other often used tasks.
-
Uses of CmsResource.CmsResourceCopyMode in org.opencms.configuration
Modifier and TypeMethodDescriptionCmsConfigurationCopyResource.getType()
Returns the type of the copy, for example "as new", "as sibling" etc. -
Uses of CmsResource.CmsResourceCopyMode in org.opencms.db
Modifier and TypeMethodDescriptionCmsUserSettings.getDialogCopyFileMode()
Gets the default copy mode when copying a file of the user.CmsUserSettings.getDialogCopyFolderMode()
Gets the default copy mode when copying a folder of the user.Modifier and TypeMethodDescriptionvoid
CmsDriverManager.copyResource
(CmsDbContext dbc, CmsResource source, String destination, CmsResource.CmsResourceCopyMode siblingMode) Copies a resource.void
CmsSecurityManager.copyResource
(CmsRequestContext context, CmsResource source, String destination, CmsResource.CmsResourceCopyMode siblingMode) Copies a resource.void
CmsUserSettings.setDialogCopyFileMode
(CmsResource.CmsResourceCopyMode mode) Sets the default copy mode when copying a file of the user.void
CmsUserSettings.setDialogCopyFolderMode
(CmsResource.CmsResourceCopyMode mode) Sets the default copy mode when copying a folder of the user. -
Uses of CmsResource.CmsResourceCopyMode in org.opencms.file
Modifier and TypeFieldDescriptionstatic final CmsResource.CmsResourceCopyMode
CmsResource.COPY_AS_NEW
Copy mode for copy resources as new resource.static final CmsResource.CmsResourceCopyMode
CmsResource.COPY_AS_SIBLING
Copy mode for copy resources as sibling.static final CmsResource.CmsResourceCopyMode
CmsResource.COPY_PRESERVE_SIBLING
Copy mode to preserve siblings during copy.protected static final CmsResource.CmsResourceCopyMode
CmsResource.CmsResourceCopyMode.MODE_COPY_AS_NEW
Copy mode for copy resources as new resource.protected static final CmsResource.CmsResourceCopyMode
CmsResource.CmsResourceCopyMode.MODE_COPY_AS_SIBLING
Copy mode for copy resources as sibling.protected static final CmsResource.CmsResourceCopyMode
CmsResource.CmsResourceCopyMode.MODE_COPY_PRESERVE_SIBLING
Copy mode to preserve siblings during copy.Modifier and TypeMethodDescriptionCmsResource.CmsResourceCopyMode.valueOf
(int mode) Returns the copy mode object from the old copy mode integer.Modifier and TypeMethodDescriptionvoid
CmsObject.copyResource
(String source, String destination, CmsResource.CmsResourceCopyMode siblingMode) Copies a resource. -
Uses of CmsResource.CmsResourceCopyMode in org.opencms.file.types
Modifier and TypeMethodDescriptionvoid
A_CmsResourceType.copyResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource source, String destination, CmsResource.CmsResourceCopyMode siblingMode) void
A_CmsResourceTypeFolderBase.copyResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource source, String destination, CmsResource.CmsResourceCopyMode siblingMode) void
I_CmsResourceType.copyResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource source, String destination, CmsResource.CmsResourceCopyMode siblingMode) Copies a resource. -
Uses of CmsResource.CmsResourceCopyMode in org.opencms.file.wrapper
Modifier and TypeMethodDescriptionboolean
A_CmsResourceExtensionWrapper.copyResource
(CmsObject cms, String source, String destination, CmsResource.CmsResourceCopyMode siblingMode) boolean
A_CmsResourceWrapper.copyResource
(CmsObject cms, String source, String destination, CmsResource.CmsResourceCopyMode siblingMode) void
CmsObjectWrapper.copyResource
(String source, String destination, CmsResource.CmsResourceCopyMode siblingMode) Copies a resource.boolean
CmsResourceWrapperXmlPage.copyResource
(CmsObject cms, String source, String destination, CmsResource.CmsResourceCopyMode siblingMode) boolean
I_CmsResourceWrapper.copyResource
(CmsObject cms, String source, String destination, CmsResource.CmsResourceCopyMode siblingMode) Copies a resource. -
Uses of CmsResource.CmsResourceCopyMode in org.opencms.util
Modifier and TypeMethodDescriptionstatic void
CmsMacroResolver.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 void
CmsMacroResolver.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).