Uses of Class
org.opencms.file.CmsResource.CmsResourceUndoMode
-
Packages that use CmsResource.CmsResourceUndoMode Package Description org.opencms.db Low-level database connection and access functionality.org.opencms.file This important package provides the methods to access the OpenCms VFS repository with the permissions of an authenticated user.org.opencms.file.types The implementations of the core resource types for the VFS are located here. -
-
Uses of CmsResource.CmsResourceUndoMode in org.opencms.db
Methods in org.opencms.db with parameters of type CmsResource.CmsResourceUndoMode Modifier and Type Method Description void
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
Fields in org.opencms.file declared as CmsResource.CmsResourceUndoMode Modifier and Type Field Description static CmsResource.CmsResourceUndoMode
CmsResource.CmsResourceUndoMode. MODE_UNDO_CONTENT
Indicates that the undo method will only undo content changes.static CmsResource.CmsResourceUndoMode
CmsResource.CmsResourceUndoMode. MODE_UNDO_CONTENT_RECURSIVE
Indicates that the undo method will only recursive undo content changes.static CmsResource.CmsResourceUndoMode
CmsResource.CmsResourceUndoMode. MODE_UNDO_MOVE_CONTENT
Indicates that the undo method will undo move operations and content changes.static CmsResource.CmsResourceUndoMode
CmsResource.CmsResourceUndoMode. MODE_UNDO_MOVE_CONTENT_RECURSIVE
Indicates that the undo method will undo move operations and recursive content changes.static CmsResource.CmsResourceUndoMode
CmsResource. UNDO_CONTENT
Indicates that the undo method will only undo content changes.static CmsResource.CmsResourceUndoMode
CmsResource. UNDO_CONTENT_RECURSIVE
Indicates that the undo method will only recursive undo content changes.static CmsResource.CmsResourceUndoMode
CmsResource. UNDO_MOVE_CONTENT
Indicates that the undo method will undo move operations and content changes.static CmsResource.CmsResourceUndoMode
CmsResource. UNDO_MOVE_CONTENT_RECURSIVE
Indicates that the undo method will undo move operations and recursive content changes.Methods in org.opencms.file that return CmsResource.CmsResourceUndoMode Modifier and Type Method Description static CmsResource.CmsResourceUndoMode
CmsResource.CmsResourceUndoMode. getUndoMode(boolean move, boolean recursive)
Gets the undo mode for the given parameters.CmsResource.CmsResourceUndoMode
CmsResource.CmsResourceUndoMode. includeMove()
Returns a mode that includes the move operation with the same semantic as this mode.static CmsResource.CmsResourceUndoMode
CmsResource.CmsResourceUndoMode. valueOf(int mode)
Returns the undo mode object from the old undo mode integer.Methods in org.opencms.file with parameters of type CmsResource.CmsResourceUndoMode Modifier and Type Method Description void
CmsObject. undoChanges(java.lang.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
Methods in org.opencms.file.types with parameters of type CmsResource.CmsResourceUndoMode Modifier and Type Method Description void
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.
-