| 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.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
CmsContainerConfigurationCache.update(CmsUUID structureId,
java.lang.String rootPath,
int type,
CmsResourceState state)
Updates a resource in the cache.
|
| Modifier and Type | Method and Description |
|---|---|
CmsResourceState |
CmsElementSettingsConfig.getState()
The state.
|
| Constructor and Description |
|---|
CmsElementSettingsConfig(CmsContainerElementData elementData,
CmsResourceState state,
java.util.ArrayList<CmsAdditionalInfoBean> additionalInfo,
java.lang.String schema)
Creates a new instance.
|
| Constructor and 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.
|
| Modifier and Type | Method and Description |
|---|---|
CmsResourceState |
CmsClientSitemapEntry.getResourceState()
Returns the resource state.
|
CmsResourceState |
CmsAdditionalEntryInfo.getResourceState()
Returns the resource state.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CmsClientSitemapEntry.setResourceState(CmsResourceState resourceState)
Sets the resource state.
|
void |
CmsAdditionalEntryInfo.setResourceState(CmsResourceState resourceState)
Sets the resource state.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
CmsPublishedResource.CmsPublishedResourceState
Add new resource states under consideration of the move operation.
|
| Modifier and Type | Field and 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.
|
| Modifier and Type | Method and 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.
|
| Modifier and Type | Method and 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.
|
| Constructor and 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.
|
| Modifier and Type | Method and 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.
|
| Modifier and Type | Method and 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.
|
| Modifier and Type | Field and 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.
|
| Modifier and Type | Method and Description |
|---|---|
CmsResourceState |
CmsResourceBuilder.getState()
Gets the state.
|
CmsResourceState |
CmsResource.getState()
Returns the state of this resource.
|
CmsResourceState |
CmsResourceFilter.getState()
Returns the state for this filter.
|
CmsResourceState |
I_CmsResource.getState()
Returns the state of this resource.
|
| Modifier and Type | Method and 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 |
CmsResourceBuilder.setState(CmsResourceState state)
Sets the state.
|
void |
CmsResource.setState(CmsResourceState state)
Sets the state of this resource.
|
| Constructor and 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,
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.
|
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.
|
| Constructor and 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.
|
| Modifier and Type | Method and Description |
|---|---|
CmsResourceState |
CmsCoreService.getResourceState(CmsUUID structureId) |
| Modifier and Type | Method and Description |
|---|---|
CmsResourceState |
CmsListInfoBean.getResourceState()
Returns the resourceState.
|
CmsResourceState |
CmsResourceStatusBean.getStateBean()
Gets the resource state object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CmsListInfoBean.setResourceState(CmsResourceState resourceState)
Sets the resourceState.
|
void |
CmsResourceStatusBean.setStateBean(CmsResourceState stateBean)
Sets the resource state object.
|
| Modifier and Type | Method and Description |
|---|---|
CmsResourceState |
I_CmsCoreService.getResourceState(CmsUUID structureId)
Gets the resource state for a resource with a given path.
|
| Modifier and Type | Method and Description |
|---|---|
void |
I_CmsCoreServiceAsync.getResourceState(CmsUUID structureId,
com.google.gwt.user.client.rpc.AsyncCallback<CmsResourceState> callback)
Gets the resource state of a resource.
|
| Constructor and 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.
|
| Modifier and Type | Method and 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,
CmsResourceState state,
boolean showLocks,
boolean showDetailIcon)
Initializes the content.
|
void |
CmsResourceIcon.initContent(CmsResourceUtil resUtil,
com.vaadin.server.Resource iconResource,
CmsResourceState state,
boolean showLocks,
boolean showDetailIcon)
Initializes the content.
|
| Constructor and Description |
|---|
CmsResourceIcon(CmsResourceUtil resUtil,
CmsResourceState state,
boolean showLocks)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
Messages.getStateKey(CmsResourceState state)
Create constant name.
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
Messages.getStateKey(CmsResourceState state)
Create state message key for resource name.
|