程序包 | 说明 |
---|---|
org.opencms.ade.containerpage.inherited | |
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.db.jpa | |
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.client |
Core client side support.
|
org.opencms.gwt.client.util |
Utility classes 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.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.
|
org.opencms.workplace.tools.projects |
This package contains the tool classes for the account management related administration views.
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
CmsContainerConfigurationCache.update(CmsUUID structureId,
java.lang.String rootPath,
int type,
CmsResourceState state)
Updates a resource in the cache.
|
限定符和类型 | 方法和说明 |
---|---|
CmsResourceState |
CmsPublishResource.getState()
Returns the state.
|
构造器和说明 |
---|
CmsPublishResource(CmsUUID id,
java.lang.String name,
java.lang.String title,
java.lang.String resourceType,
CmsResourceState state,
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.
|
限定符和类型 | 方法和说明 |
---|---|
CmsResourceState |
CmsAdditionalEntryInfo.getResourceState()
Returns the resource state.
|
CmsResourceState |
CmsClientSitemapEntry.getResourceState()
Returns the resource state.
|
限定符和类型 | 方法和说明 |
---|---|
void |
CmsAdditionalEntryInfo.setResourceState(CmsResourceState resourceState)
Sets the resource state.
|
void |
CmsClientSitemapEntry.setResourceState(CmsResourceState resourceState)
Sets the resource state.
|
限定符和类型 | 类和说明 |
---|---|
static class |
CmsPublishedResource.CmsPublishedResourceState
Add new resource states under consideration of the move operation.
|
限定符和类型 | 字段和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
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.
|
构造器和说明 |
---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
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.
|
限定符和类型 | 字段和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
CmsResourceState |
I_CmsResource.getState()
Returns the state of this resource.
|
CmsResourceState |
CmsResourceFilter.getState()
Returns the state for this filter.
|
限定符和类型 | 方法和说明 |
---|---|
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.
|
构造器和说明 |
---|
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.
|
构造器和说明 |
---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
CmsResourceState |
CmsCoreService.getResourceState(CmsUUID structureId) |
限定符和类型 | 方法和说明 |
---|---|
void |
CmsCoreProvider.getResourceState(CmsUUID structureId,
com.google.gwt.user.client.rpc.AsyncCallback<CmsResourceState> callback)
Fetches the state of a resource from the server.
|
限定符和类型 | 方法和说明 |
---|---|
static java.lang.String |
CmsResourceStateUtil.getStateName(CmsResourceState state)
Returns the human-readable name of a resource state.
|
static java.lang.String |
CmsResourceStateUtil.getStateStyle(CmsResourceState state)
Returns the text style for a given resource state.
|
限定符和类型 | 方法和说明 |
---|---|
CmsResourceState |
CmsListInfoBean.getResourceState()
Returns the resourceState.
|
CmsResourceState |
CmsResourceStatusBean.getStateBean()
Gets the resource state object.
|
限定符和类型 | 方法和说明 |
---|---|
void |
CmsListInfoBean.setResourceState(CmsResourceState resourceState)
Sets the resourceState.
|
void |
CmsResourceStatusBean.setStateBean(CmsResourceState stateBean)
Sets the resource state object.
|
限定符和类型 | 方法和说明 |
---|---|
CmsResourceState |
I_CmsCoreService.getResourceState(CmsUUID structureId)
Gets the resource state for a resource with a given path.
|
限定符和类型 | 方法和说明 |
---|---|
void |
I_CmsCoreServiceAsync.getResourceState(CmsUUID structureId,
com.google.gwt.user.client.rpc.AsyncCallback<CmsResourceState> callback)
Gets the resource state of a resource.
|
构造器和说明 |
---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
static java.lang.String |
Messages.getStateKey(CmsResourceState state)
Create constant name.
|
限定符和类型 | 方法和说明 |
---|---|
static java.lang.String |
Messages.getStateKey(CmsResourceState state)
Create state message key for resource name.
|
构造器和说明 |
---|
CmsProjectFilesCollector(A_CmsListExplorerDialog wp,
CmsUUID projectId,
CmsResourceState state)
Constructor, creates a new instance.
|