Uses of Class
org.opencms.db.CmsResourceState
Packages that use 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
Methods in org.opencms.ade.containerpage.inherited with parameters of type CmsResourceStateModifier and TypeMethodDescriptionprotected voidCmsContainerConfigurationCache.update(CmsUUID structureId, String rootPath, int type, CmsResourceState state) Updates a resource in the cache. -
Uses of CmsResourceState in org.opencms.db
Subclasses of CmsResourceState in org.opencms.dbModifier and TypeClassDescriptionstatic classAdd new resource states under consideration of the move operation.Fields in org.opencms.db declared as CmsResourceStateModifier and TypeFieldDescriptionstatic final CmsResourceStateCmsResourceState.STATE_CHANGEDIndicates if a resource has been changed in the offline version when compared to the online version.static final CmsResourceStateCmsResourceState.STATE_DELETEDIndicates if a resource has been deleted in the offline version when compared to the online version.static final CmsResourceStateCmsResourceState.STATE_KEEPSpecial state value that indicates the current state must be kept on a resource, this value must never be written to the database.static final CmsResourceStateCmsResourceState.STATE_NEWIndicates if a resource is new in the offline version when compared to the online version.static final CmsResourceStateCmsResourceState.STATE_UNCHANGEDIndicates if a resource is unchanged in the offline version when compared to the online version.Methods in org.opencms.db that return CmsResourceStateModifier 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 CmsResourceStateCmsResourceState.valueOf(int state) Returns the resource state object from the resource state integer.Methods in org.opencms.db with parameters of type CmsResourceStateModifier 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.voidCmsPublishedResource.setState(CmsResourceState state) Sets the resource state of the published resource.Constructors in org.opencms.db with parameters of type CmsResourceStateModifierConstructorDescriptionCmsPublishedResource(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
Methods in org.opencms.db.generic that return CmsResourceStateModifier and TypeMethodDescriptionprotected CmsResourceStateCmsProjectDriver.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 CmsResourceStateCmsVfsDriver.internalReadResourceState(CmsDbContext dbc, CmsUUID projectId, CmsResource resource) Returns the resource state of the given resource.protected CmsResourceStateCmsVfsDriver.internalReadStructureState(CmsDbContext dbc, CmsUUID projectId, CmsResource resource) Returns the structure state of the given resource.Methods in org.opencms.db.generic with parameters of type CmsResourceStateModifier and TypeMethodDescriptionprotected voidCmsProjectDriver.internalWriteHistory(CmsDbContext dbc, CmsResource resource, CmsResourceState state, List<CmsProperty> properties, CmsUUID publishHistoryId, int publishTag) Writes the needed history entries.protected voidCmsVfsDriver.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
Fields in org.opencms.file declared as CmsResourceStateModifier and TypeFieldDescriptionstatic final CmsResourceStateCmsResource.STATE_CHANGEDIndicates if a resource has been changed in the offline version when compared to the online version.static final CmsResourceStateCmsResource.STATE_DELETEDIndicates if a resource has been deleted in the offline version when compared to the online version.static final CmsResourceStateCmsResource.STATE_KEEPSpecial state value that indicates the current state must be kept on a resource, this value must never be written to the database.static final CmsResourceStateCmsResource.STATE_NEWIndicates if a resource is new in the offline version when compared to the online version.static final CmsResourceStateCmsResource.STATE_UNCHANGEDIndicates if a resource is unchanged in the offline version when compared to the online version.Methods in org.opencms.file that return CmsResourceStateModifier 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.Methods in org.opencms.file with parameters of type CmsResourceStateModifier 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.voidCmsResource.setState(CmsResourceState state) Sets the state of this resource.voidCmsResourceBuilder.setState(CmsResourceState state) Sets the state.Constructors in org.opencms.file with parameters of type CmsResourceStateModifierConstructorDescriptionCmsFile(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
Constructors in org.opencms.file.history with parameters of type CmsResourceStateModifierConstructorDescriptionCmsHistoryFile(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
Methods in org.opencms.gwt that return CmsResourceState -
Uses of CmsResourceState in org.opencms.search
Constructors in org.opencms.search with parameters of type CmsResourceStateModifierConstructorDescriptionCmsSearchResource(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
Methods in org.opencms.ui.components with parameters of type CmsResourceStateModifier and TypeMethodDescriptionstatic StringCmsResourceIcon.getIconHTML(CmsResourceUtil resUtil, CmsResourceState state, boolean showLocks) Returns the icon HTML.static StringCmsResourceTable.getStateStyle(CmsResourceState state) Gets the CSS style name for the given resource state.static StringCmsResourceIcon.getTreeCaptionHTML(String resourceName, CmsResourceUtil resUtil, CmsResourceState state, boolean showLocks) Returns the tree caption HTML including the resource icon.voidCmsResourceIcon.initContent(CmsResourceUtil resUtil, com.vaadin.server.Resource iconResource, CmsResourceState state, boolean showLocks, boolean showDetailIcon) Initializes the content.voidCmsResourceIcon.initContent(CmsResourceUtil resUtil, CmsResourceState state, boolean showLocks, boolean showDetailIcon) Initializes the content.Constructors in org.opencms.ui.components with parameters of type CmsResourceStateModifierConstructorDescriptionCmsResourceIcon(CmsResourceUtil resUtil, CmsResourceState state, boolean showLocks) Constructor.CmsResourceInfo(String top, String bottom, com.vaadin.server.Resource iconResource, CmsResourceState resourceState) Constructor. -
Uses of CmsResourceState in org.opencms.workplace
Methods in org.opencms.workplace with parameters of type CmsResourceStateModifier and TypeMethodDescriptionstatic StringMessages.getStateKey(CmsResourceState state) Create constant name. -
Uses of CmsResourceState in org.opencms.workplace.explorer
Methods in org.opencms.workplace.explorer with parameters of type CmsResourceStateModifier and TypeMethodDescriptionstatic StringMessages.getStateKey(CmsResourceState state) Create state message key for resource name.