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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Field and 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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
void |
A_CmsResourceType.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.
|
void |
A_CmsResourceTypeFolderBase.undoChanges(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
CmsResource.CmsResourceUndoMode mode) |
void |
CmsResourceTypePlain.undoChanges(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
CmsResource.CmsResourceUndoMode mode) |
void |
CmsResourceTypeJsp.undoChanges(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
CmsResource.CmsResourceUndoMode mode) |