Uses of Class
org.opencms.db.CmsResourceState
Package
Description
Contains classes used for reading and caching inheritance groups.
Contains the shared container page editor classes.
Classes for the publish dialog which are used by both the client and the server.
Shared Client-Server side of the sitemap view.
Low-level database connection and access functionality.
Generic (ANSI-SQL) implementation of the OpenCms database connector.
This important package provides the methods to access the OpenCms VFS repository with the permissions
of an authenticated user.
This package contains the classes to deal with the OpenCms VFS history archive.
Provides core support for GWT.
Core shared stuff.
Shared RPC interfaces.
Implements the main full text search and indexing functions available in OpenCms.
Contains some reusable GUI components for Vaadin UI.
The base classes for the OpenCms Workplace
(standard dialog, tab dialog, report based dialog)
and the Workplace configuration classes are located here.
Contains the functions that generate the Workplace "Explorer" view, also contains
the "New resource" wizard.
-
Uses of CmsResourceState in org.opencms.ade.containerpage.inherited
Modifier and TypeMethodDescriptionprotected void
CmsContainerConfigurationCache.update
(CmsUUID structureId, String rootPath, int type, CmsResourceState state) Updates a resource in the cache. -
Uses of CmsResourceState in org.opencms.db
Modifier and TypeClassDescriptionstatic class
Add new resource states under consideration of the move operation.Modifier and TypeFieldDescriptionstatic final CmsResourceState
CmsResourceState.STATE_CHANGED
Indicates if a resource has been changed in the offline version when compared to the online version.static final CmsResourceState
CmsResourceState.STATE_DELETED
Indicates if a resource has been deleted in the offline version when compared to the online version.static final CmsResourceState
CmsResourceState.STATE_KEEP
Special state value that indicates the current state must be kept on a resource, this value must never be written to the database.static final CmsResourceState
CmsResourceState.STATE_NEW
Indicates if a resource is new in the offline version when compared to the online version.static final CmsResourceState
CmsResourceState.STATE_UNCHANGED
Indicates if a resource is unchanged in the offline version when compared to the online version.Modifier and TypeMethodDescriptionCmsPublishedResource.getMovedState()
Returns the resource state including move operation information.CmsPublishedResource.CmsPublishedResourceState.getResourceState()
Returns the corresponding resource state for this publish resource state.CmsPublishedResource.getState()
Returns the resource state of the published resource.static CmsResourceState
CmsResourceState.valueOf
(int state) Returns the resource state object from the resource state integer.Modifier and TypeMethodDescriptionCmsDriverManager.readProjectView
(CmsDbContext dbc, CmsUUID projectId, CmsResourceState state) Reads all resources of a project that match a given state from the VFS.CmsSecurityManager.readProjectView
(CmsRequestContext context, CmsUUID projectId, CmsResourceState state) Reads all resources of a project that match a given state from the VFS.I_CmsVfsDriver.readResources
(CmsDbContext dbc, CmsUUID currentProject, CmsResourceState state, int mode) Reads all resources inside a given project and with a given state.I_CmsVfsDriver.readResourceTree
(CmsDbContext dbc, CmsUUID projectId, String parent, int type, CmsResourceState state, long startTime, long endTime, long releasedAfter, long releasedBefore, long expiredAfter, long expiredBefore, int mode) Reads all resources inside a given project matching the criteria specified by parameter values.void
CmsPublishedResource.setState
(CmsResourceState state) Sets the resource state of the published resource.ModifierConstructorDescriptionCmsPublishedResource
(CmsResource resource, int publishTag, CmsResourceState state) Creates an object for published VFS resources.CmsPublishedResource
(CmsUUID structureId, CmsUUID resourceId, int publishTag, String rootPath, int resourceType, boolean isFolder, CmsResourceState resourceState, int siblingCount) Creates an object for published VFS resources. -
Uses of CmsResourceState in org.opencms.db.generic
Modifier and TypeMethodDescriptionprotected CmsResourceState
CmsProjectDriver.fixMovedResource
(CmsDbContext dbc, CmsProject onlineProject, CmsResource offlineResource, CmsUUID publishHistoryId, int publishTag) Checks if the given resource (by id) is available in the online project, if there exists a resource with a different path (a moved file), then the online entry is moved to the right (new) location before publishing.protected CmsResourceState
CmsVfsDriver.internalReadResourceState
(CmsDbContext dbc, CmsUUID projectId, CmsResource resource) Returns the resource state of the given resource.protected CmsResourceState
CmsVfsDriver.internalReadStructureState
(CmsDbContext dbc, CmsUUID projectId, CmsResource resource) Returns the structure state of the given resource.Modifier and TypeMethodDescriptionprotected void
CmsProjectDriver.internalWriteHistory
(CmsDbContext dbc, CmsResource resource, CmsResourceState state, List<CmsProperty> properties, CmsUUID publishHistoryId, int publishTag) Writes the needed history entries.protected void
CmsVfsDriver.prepareStateCondition
(CmsUUID projectId, CmsResourceState state, int mode, StringBuffer conditions, List<Object> params) Appends the appropriate selection criteria related with the resource state.CmsVfsDriver.readResources
(CmsDbContext dbc, CmsUUID projectId, CmsResourceState state, int mode) CmsVfsDriver.readResourceTree
(CmsDbContext dbc, CmsUUID projectId, String parentPath, int type, CmsResourceState state, long lastModifiedAfter, long lastModifiedBefore, long releasedAfter, long releasedBefore, long expiredAfter, long expiredBefore, int mode) protected List<CmsResource>
CmsVfsDriver.readTypesInResourceTree
(CmsDbContext dbc, CmsUUID projectId, String parentPath, List<Integer> types, CmsResourceState state, long lastModifiedAfter, long lastModifiedBefore, long releasedAfter, long releasedBefore, long expiredAfter, long expiredBefore, int mode) Reads all resources inside a given project matching the criteria specified by parameter values. -
Uses of CmsResourceState in org.opencms.file
Modifier and TypeFieldDescriptionstatic final CmsResourceState
CmsResource.STATE_CHANGED
Indicates if a resource has been changed in the offline version when compared to the online version.static final CmsResourceState
CmsResource.STATE_DELETED
Indicates if a resource has been deleted in the offline version when compared to the online version.static final CmsResourceState
CmsResource.STATE_KEEP
Special state value that indicates the current state must be kept on a resource, this value must never be written to the database.static final CmsResourceState
CmsResource.STATE_NEW
Indicates if a resource is new in the offline version when compared to the online version.static final CmsResourceState
CmsResource.STATE_UNCHANGED
Indicates if a resource is unchanged in the offline version when compared to the online version.Modifier and TypeMethodDescriptionCmsResource.getState()
Returns the state of this resource.CmsResourceBuilder.getState()
Gets the state.CmsResourceFilter.getState()
Returns the state for this filter.I_CmsResource.getState()
Returns the state of this resource.Modifier and TypeMethodDescriptionCmsResourceFilter.addExcludeState
(CmsResourceState state) Returns an extended filter in order to avoid the given type in the filtered resources.CmsResourceFilter.addRequireState
(CmsResourceState state) Returns an extended filter to guarantee a distinct resource state of the filtered resources.CmsObject.readProjectView
(CmsUUID projectId, CmsResourceState state) Reads all resources of a project that match a given state from the VFS.void
CmsResource.setState
(CmsResourceState state) Sets the state of this resource.void
CmsResourceBuilder.setState
(CmsResourceState state) Sets the state.ModifierConstructorDescriptionCmsFile
(CmsUUID structureId, CmsUUID resourceId, String path, int type, int flags, CmsUUID projectId, CmsResourceState state, long dateCreated, CmsUUID userCreated, long dateLastModified, CmsUUID userLastModified, long dateReleased, long dateExpired, int linkCount, int length, long dateContent, int version, byte[] content) Constructor, creates a new file object.CmsFolder
(CmsUUID structureId, CmsUUID resourceId, String path, int type, int flags, CmsUUID projectId, CmsResourceState state, long dateCreated, CmsUUID userCreated, long dateLastModified, CmsUUID userLastModified, long dateReleased, long dateExpired, int version) Constructor, creates a new CmsFolder object.CmsResource
(CmsUUID structureId, CmsUUID resourceId, String rootPath, int type, boolean isFolder, int flags, CmsUUID projectId, CmsResourceState state, long dateCreated, CmsUUID userCreated, long dateLastModified, CmsUUID userLastModified, long dateReleased, long dateExpired, int linkCount, int size, long dateContent, int version) Creates a new CmsRecource object.CmsResource
(CmsUUID structureId, CmsUUID resourceId, String rootPath, I_CmsResourceType type, int flags, CmsUUID projectId, CmsResourceState state, long dateCreated, CmsUUID userCreated, long dateLastModified, CmsUUID userLastModified, long dateReleased, long dateExpired, int linkCount, int size, long dateContent, int version) Creates a new CmsRecource object. -
Uses of CmsResourceState in org.opencms.file.history
ModifierConstructorDescriptionCmsHistoryFile
(int publishTag, CmsUUID structureId, CmsUUID resourceId, String path, int type, int flags, CmsUUID projectId, CmsResourceState state, long dateCreated, CmsUUID userCreated, long dateLastModified, CmsUUID userLastModified, long dateReleased, long dateExpired, int size, long dateContent, int version, CmsUUID parentId, byte[] content, int resourceVersion, int structureVersion) Default Constructor.CmsHistoryFolder
(int publishTag, CmsUUID structureId, CmsUUID resourceId, String path, int type, int flags, CmsUUID projectId, CmsResourceState state, long dateCreated, CmsUUID userCreated, long dateLastModified, CmsUUID userLastModified, long dateReleased, long dateExpired, int version, CmsUUID parentId, int resourceVersion, int structureVersion) Default Constructor. -
Uses of CmsResourceState in org.opencms.gwt
-
Uses of CmsResourceState in org.opencms.search
ModifierConstructorDescriptionCmsSearchResource
(CmsUUID structureId, CmsUUID resourceId, String path, int type, int flags, CmsUUID projectId, CmsResourceState state, long dateCreated, CmsUUID userCreated, long dateLastModified, CmsUUID userLastModified, long dateReleased, long dateExpired, int linkCount, int length, long dateContent, int version, I_CmsSearchDocument doc) Constructor, creates a new file object. -
Uses of CmsResourceState in org.opencms.ui.components
Modifier and TypeMethodDescriptionstatic String
CmsResourceIcon.getIconHTML
(CmsResourceUtil resUtil, CmsResourceState state, boolean showLocks) Returns the icon HTML.static String
CmsResourceTable.getStateStyle
(CmsResourceState state) Gets the CSS style name for the given resource state.static String
CmsResourceIcon.getTreeCaptionHTML
(String resourceName, CmsResourceUtil resUtil, CmsResourceState state, boolean showLocks) Returns the tree caption HTML including the resource icon.void
CmsResourceIcon.initContent
(CmsResourceUtil resUtil, com.vaadin.server.Resource iconResource, CmsResourceState state, boolean showLocks, boolean showDetailIcon) Initializes the content.void
CmsResourceIcon.initContent
(CmsResourceUtil resUtil, CmsResourceState state, boolean showLocks, boolean showDetailIcon) Initializes the content.ModifierConstructorDescriptionCmsResourceIcon
(CmsResourceUtil resUtil, CmsResourceState state, boolean showLocks) Constructor. -
Uses of CmsResourceState in org.opencms.workplace
Modifier and TypeMethodDescriptionstatic String
Messages.getStateKey
(CmsResourceState state) Create constant name. -
Uses of CmsResourceState in org.opencms.workplace.explorer
Modifier and TypeMethodDescriptionstatic String
Messages.getStateKey
(CmsResourceState state) Create state message key for resource name.