Uses of Class
org.opencms.file.CmsResource.CmsResourceUndoMode
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 CmsResource.CmsResourceUndoMode in org.opencms.db
Modifier and TypeMethodDescriptionvoid
CmsDriverManager.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.void
CmsSecurityManager.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. -
Uses of CmsResource.CmsResourceUndoMode in org.opencms.file
Modifier and TypeFieldDescriptionstatic final CmsResource.CmsResourceUndoMode
CmsResource.CmsResourceUndoMode.MODE_UNDO_CONTENT
Indicates that the undo method will only undo content changes.static final CmsResource.CmsResourceUndoMode
CmsResource.CmsResourceUndoMode.MODE_UNDO_CONTENT_RECURSIVE
Indicates that the undo method will only recursive undo content changes.static final CmsResource.CmsResourceUndoMode
CmsResource.CmsResourceUndoMode.MODE_UNDO_MOVE_CONTENT
Indicates that the undo method will undo move operations and content changes.static final CmsResource.CmsResourceUndoMode
CmsResource.CmsResourceUndoMode.MODE_UNDO_MOVE_CONTENT_RECURSIVE
Indicates that the undo method will undo move operations and recursive content changes.static final CmsResource.CmsResourceUndoMode
CmsResource.UNDO_CONTENT
Indicates that the undo method will only undo content changes.static final CmsResource.CmsResourceUndoMode
CmsResource.UNDO_CONTENT_RECURSIVE
Indicates that the undo method will only recursive undo content changes.static final CmsResource.CmsResourceUndoMode
CmsResource.UNDO_MOVE_CONTENT
Indicates that the undo method will undo move operations and content changes.static final CmsResource.CmsResourceUndoMode
CmsResource.UNDO_MOVE_CONTENT_RECURSIVE
Indicates that the undo method will undo move operations and recursive content changes.Modifier and TypeMethodDescriptionCmsResource.CmsResourceUndoMode.getUndoMode
(boolean move, boolean recursive) Gets the undo mode for the given parameters.CmsResource.CmsResourceUndoMode.includeMove()
Returns a mode that includes the move operation with the same semantic as this mode.CmsResource.CmsResourceUndoMode.valueOf
(int mode) Returns the undo mode object from the old undo mode integer.Modifier and TypeMethodDescriptionvoid
CmsObject.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. -
Uses of CmsResource.CmsResourceUndoMode in org.opencms.file.types
Modifier and TypeMethodDescriptionvoid
A_CmsResourceType.undoChanges
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsResource.CmsResourceUndoMode mode) void
A_CmsResourceTypeFolderBase.undoChanges
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsResource.CmsResourceUndoMode mode) void
CmsResourceTypeJsp.undoChanges
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsResource.CmsResourceUndoMode mode) void
CmsResourceTypePlain.undoChanges
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsResource.CmsResourceUndoMode mode) void
I_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.