Uses of Class
org.opencms.db.CmsResourceState
-
Packages that use CmsResourceState Package Description org.opencms.ade.containerpage.inherited Contains classes used for reading and caching inheritance groups.org.opencms.ade.containerpage.shared Contains the shared container page editor classes.org.opencms.ade.publish.shared Classes for the publish dialog which are used by both the client and the server.org.opencms.ade.sitemap.shared Shared Client-Server side of the sitemap view.org.opencms.db Low-level database connection and access functionality.org.opencms.db.generic Generic (ANSI-SQL) implementation of the OpenCms database connector.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.history This package contains the classes to deal with the OpenCms VFS history archive.org.opencms.gwt Provides core support for GWT.org.opencms.gwt.shared Core shared stuff.org.opencms.gwt.shared.rpc Shared RPC interfaces.org.opencms.search Implements the main full text search and indexing functions available in OpenCms.org.opencms.ui.components Contains some reusable GUI components for Vaadin UI.org.opencms.workplace The base classes for the OpenCms Workplace (standard dialog, tab dialog, report based dialog) and the Workplace configuration classes are located here.org.opencms.workplace.explorer 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 CmsResourceState Modifier and Type Method Description protected void
CmsContainerConfigurationCache. update(CmsUUID structureId, java.lang.String rootPath, int type, CmsResourceState state)
Updates a resource in the cache. -
Uses of CmsResourceState in org.opencms.ade.containerpage.shared
Methods in org.opencms.ade.containerpage.shared that return CmsResourceState Modifier and Type Method Description CmsResourceState
CmsElementSettingsConfig. getState()
The state.Constructors in org.opencms.ade.containerpage.shared with parameters of type CmsResourceState Constructor Description CmsElementSettingsConfig(CmsContainerElementData elementData, CmsResourceState state, java.util.ArrayList<CmsAdditionalInfoBean> additionalInfo, java.lang.String schema)
Creates a new instance. -
Uses of CmsResourceState in org.opencms.ade.publish.shared
Constructors in org.opencms.ade.publish.shared with parameters of type CmsResourceState Constructor Description CmsPublishResource(CmsUUID id, java.lang.String name, java.lang.String title, java.lang.String resourceType, CmsResourceState state, CmsPermissionInfo permissionInfo, long dateLastModified, java.lang.String userLastModified, java.lang.String dateLastModifiedStr, boolean removable, CmsPublishResourceInfo info, java.util.List<CmsPublishResource> related)
Creates a new publish group bean. -
Uses of CmsResourceState in org.opencms.ade.sitemap.shared
Methods in org.opencms.ade.sitemap.shared that return CmsResourceState Modifier and Type Method Description CmsResourceState
CmsAdditionalEntryInfo. getResourceState()
Returns the resource state.CmsResourceState
CmsClientSitemapEntry. getResourceState()
Returns the resource state.Methods in org.opencms.ade.sitemap.shared with parameters of type CmsResourceState Modifier and Type Method Description void
CmsAdditionalEntryInfo. setResourceState(CmsResourceState resourceState)
Sets the resource state.void
CmsClientSitemapEntry. setResourceState(CmsResourceState resourceState)
Sets the resource state. -
Uses of CmsResourceState in org.opencms.db
Subclasses of CmsResourceState in org.opencms.db Modifier and Type Class Description static class
CmsPublishedResource.CmsPublishedResourceState
Add new resource states under consideration of the move operation.Fields in org.opencms.db declared as CmsResourceState Modifier and Type Field Description static CmsResourceState
CmsResourceState. STATE_CHANGED
Indicates if a resource has been changed in the offline version when compared to the online version.static CmsResourceState
CmsResourceState. STATE_DELETED
Indicates if a resource has been deleted in the offline version when compared to the online version.static 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 CmsResourceState
CmsResourceState. STATE_NEW
Indicates if a resource is new in the offline version when compared to the online version.static CmsResourceState
CmsResourceState. STATE_UNCHANGED
Indicates if a resource is unchanged in the offline version when compared to the online version.Methods in org.opencms.db that return CmsResourceState Modifier and Type Method Description CmsResourceState
CmsPublishedResource. getMovedState()
Returns the resource state including move operation information.CmsResourceState
CmsPublishedResource.CmsPublishedResourceState. getResourceState()
Returns the corresponding resource state for this publish resource state.CmsResourceState
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.Methods in org.opencms.db with parameters of type CmsResourceState Modifier and Type Method Description java.util.List<CmsResource>
CmsDriverManager. readProjectView(CmsDbContext dbc, CmsUUID projectId, CmsResourceState state)
Reads all resources of a project that match a given state from the VFS.java.util.List<CmsResource>
CmsSecurityManager. readProjectView(CmsRequestContext context, CmsUUID projectId, CmsResourceState state)
Reads all resources of a project that match a given state from the VFS.java.util.List<CmsResource>
I_CmsVfsDriver. readResources(CmsDbContext dbc, CmsUUID currentProject, CmsResourceState state, int mode)
Reads all resources inside a given project and with a given state.java.util.List<CmsResource>
I_CmsVfsDriver. readResourceTree(CmsDbContext dbc, CmsUUID projectId, java.lang.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.Constructors in org.opencms.db with parameters of type CmsResourceState Constructor Description CmsPublishedResource(CmsResource resource, int publishTag, CmsResourceState state)
Creates an object for published VFS resources.CmsPublishedResource(CmsUUID structureId, CmsUUID resourceId, int publishTag, java.lang.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 CmsResourceState Modifier and Type Method Description protected 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.Methods in org.opencms.db.generic with parameters of type CmsResourceState Modifier and Type Method Description protected void
CmsProjectDriver. internalWriteHistory(CmsDbContext dbc, CmsResource resource, CmsResourceState state, java.util.List<CmsProperty> properties, CmsUUID publishHistoryId, int publishTag)
Writes the needed history entries.protected void
CmsVfsDriver. prepareStateCondition(CmsUUID projectId, CmsResourceState state, int mode, java.lang.StringBuffer conditions, java.util.List<java.lang.Object> params)
Appends the appropriate selection criteria related with the resource state.java.util.List<CmsResource>
CmsVfsDriver. readResources(CmsDbContext dbc, CmsUUID projectId, CmsResourceState state, int mode)
java.util.List<CmsResource>
CmsVfsDriver. readResourceTree(CmsDbContext dbc, CmsUUID projectId, java.lang.String parentPath, int type, CmsResourceState state, long lastModifiedAfter, long lastModifiedBefore, long releasedAfter, long releasedBefore, long expiredAfter, long expiredBefore, int mode)
protected java.util.List<CmsResource>
CmsVfsDriver. readTypesInResourceTree(CmsDbContext dbc, CmsUUID projectId, java.lang.String parentPath, java.util.List<java.lang.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 CmsResourceState Modifier and Type Field Description static CmsResourceState
CmsResource. STATE_CHANGED
Indicates if a resource has been changed in the offline version when compared to the online version.static CmsResourceState
CmsResource. STATE_DELETED
Indicates if a resource has been deleted in the offline version when compared to the online version.static 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 CmsResourceState
CmsResource. STATE_NEW
Indicates if a resource is new in the offline version when compared to the online version.static CmsResourceState
CmsResource. STATE_UNCHANGED
Indicates if a resource is unchanged in the offline version when compared to the online version.Methods in org.opencms.file that return CmsResourceState Modifier and Type Method Description CmsResourceState
CmsResource. getState()
Returns the state of this resource.CmsResourceState
CmsResourceBuilder. getState()
Gets the state.CmsResourceState
CmsResourceFilter. getState()
Returns the state for this filter.CmsResourceState
I_CmsResource. getState()
Returns the state of this resource.Methods in org.opencms.file with parameters of type CmsResourceState Modifier and Type Method Description CmsResourceFilter
CmsResourceFilter. addExcludeState(CmsResourceState state)
Returns an extended filter in order to avoid the given type in the filtered resources.CmsResourceFilter
CmsResourceFilter. addRequireState(CmsResourceState state)
Returns an extended filter to guarantee a distinct resource state of the filtered resources.java.util.List<CmsResource>
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.Constructors in org.opencms.file with parameters of type CmsResourceState Constructor Description CmsFile(CmsUUID structureId, CmsUUID resourceId, java.lang.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, java.lang.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, java.lang.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, java.lang.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 CmsResourceState Constructor Description CmsHistoryFile(int publishTag, CmsUUID structureId, CmsUUID resourceId, java.lang.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, java.lang.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 Modifier and Type Method Description CmsResourceState
CmsCoreService. getResourceState(CmsUUID structureId)
-
Uses of CmsResourceState in org.opencms.gwt.shared
Methods in org.opencms.gwt.shared that return CmsResourceState Modifier and Type Method Description CmsResourceState
CmsListInfoBean. getResourceState()
Returns the resourceState.CmsResourceState
CmsResourceStatusBean. getStateBean()
Gets the resource state object.Methods in org.opencms.gwt.shared with parameters of type CmsResourceState Modifier and Type Method Description void
CmsListInfoBean. setResourceState(CmsResourceState resourceState)
Sets the resourceState.void
CmsResourceStatusBean. setStateBean(CmsResourceState stateBean)
Sets the resource state object. -
Uses of CmsResourceState in org.opencms.gwt.shared.rpc
Methods in org.opencms.gwt.shared.rpc that return CmsResourceState Modifier and Type Method Description CmsResourceState
I_CmsCoreService. getResourceState(CmsUUID structureId)
Gets the resource state for a resource with a given path.Method parameters in org.opencms.gwt.shared.rpc with type arguments of type CmsResourceState Modifier and Type Method Description void
I_CmsCoreServiceAsync. getResourceState(CmsUUID structureId, com.google.gwt.user.client.rpc.AsyncCallback<CmsResourceState> callback)
Gets the resource state of a resource. -
Uses of CmsResourceState in org.opencms.search
Constructors in org.opencms.search with parameters of type CmsResourceState Constructor Description CmsSearchResource(CmsUUID structureId, CmsUUID resourceId, java.lang.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 CmsResourceState Modifier and Type Method Description static java.lang.String
CmsResourceIcon. getIconHTML(CmsResourceUtil resUtil, CmsResourceState state, boolean showLocks)
Returns the icon HTML.static java.lang.String
CmsResourceTable. getStateStyle(CmsResourceState state)
Gets the CSS style name for the given resource state.static java.lang.String
CmsResourceIcon. getTreeCaptionHTML(java.lang.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.Constructors in org.opencms.ui.components with parameters of type CmsResourceState Constructor Description CmsResourceIcon(CmsResourceUtil resUtil, CmsResourceState state, boolean showLocks)
Constructor. -
Uses of CmsResourceState in org.opencms.workplace
Methods in org.opencms.workplace with parameters of type CmsResourceState Modifier and Type Method Description static java.lang.String
Messages. getStateKey(CmsResourceState state)
Create constant name. -
Uses of CmsResourceState in org.opencms.workplace.explorer
Methods in org.opencms.workplace.explorer with parameters of type CmsResourceState Modifier and Type Method Description static java.lang.String
Messages. getStateKey(CmsResourceState state)
Create state message key for resource name.
-