程序包 | 说明 |
---|---|
org.opencms.ade.publish |
This package contains the server-side classes for the publish module
|
org.opencms.cmis | |
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.importexport |
Contains functions to import and export resources from the OpenCms VFS.
|
org.opencms.publish |
Classes to handle the OpenCms publish process.
|
org.opencms.relations |
Classes to represent and validate the internal and external links/relations of resources in the OpenCms VFS.
|
限定符和类型 | 方法和说明 |
---|---|
CmsPublishResource |
CmsPublish.relationToBean(CmsRelation relation)
Creates a publish resource bean from the target information of a relation object.
|
限定符和类型 | 方法和说明 |
---|---|
CmsRelation |
CmsCmisRelationHelper.RelationKey.getRelation()
Gets the relation object.
|
限定符和类型 | 方法和说明 |
---|---|
protected org.apache.chemistry.opencmis.commons.data.AllowableActions |
CmsCmisRelationHelper.collectAllowableActions(CmsObject cms,
CmsResource file,
CmsRelation relation)
Collects the allowable actions for a relation.
|
protected org.apache.chemistry.opencmis.commons.data.ObjectData |
CmsCmisRelationHelper.collectObjectData(CmsCmisCallContext context,
CmsObject cms,
CmsResource resource,
CmsRelation relation,
java.util.Set<java.lang.String> filter,
boolean includeAllowableActions,
boolean includeAcl)
Fills in an ObjectData record.
|
protected org.apache.chemistry.opencmis.commons.data.Properties |
CmsCmisRelationHelper.collectProperties(CmsObject cms,
CmsResource resource,
CmsRelation relation,
java.util.Set<java.lang.String> orgfilter,
org.apache.chemistry.opencmis.commons.impl.server.ObjectInfoImpl objectInfo)
Gathers all base properties of a file or folder.
|
protected java.lang.String |
CmsCmisRelationHelper.createReadableName(CmsRelation relation)
Creates a user-readable name from the given relation object.
|
限定符和类型 | 方法和说明 |
---|---|
java.util.List<CmsRelation> |
CmsDriverManager.getRelationsForResource(CmsDbContext dbc,
CmsResource resource,
CmsRelationFilter filter)
Returns all relations for the given resource matching the given filter.
|
java.util.List<CmsRelation> |
CmsSecurityManager.getRelationsForResource(CmsRequestContext context,
CmsResource resource,
CmsRelationFilter filter)
Returns all relations for the given resource matching the given filter.
|
java.util.List<CmsRelation> |
I_CmsVfsDriver.readRelations(CmsDbContext dbc,
CmsUUID projectId,
CmsResource resource,
CmsRelationFilter filter)
Reads all relations with the given filter for the given resource.
|
java.util.Map<java.lang.String,java.util.List<CmsRelation>> |
CmsDriverManager.validateRelations(CmsDbContext dbc,
CmsPublishList publishList,
I_CmsReport report)
Validates the relations for the given resources.
|
java.util.Map<java.lang.String,java.util.List<CmsRelation>> |
CmsSecurityManager.validateRelations(CmsRequestContext context,
CmsPublishList publishList,
I_CmsReport report)
Validates the relations for the given resources.
|
限定符和类型 | 方法和说明 |
---|---|
void |
I_CmsVfsDriver.createRelation(CmsDbContext dbc,
CmsUUID projectId,
CmsRelation relation)
Creates a new
CmsRelation object in the database. |
限定符和类型 | 方法和说明 |
---|---|
protected CmsRelation |
CmsVfsDriver.internalReadRelation(java.sql.ResultSet res)
Creates a new
CmsRelation object from the given result set entry. |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<CmsRelation> |
CmsVfsDriver.readRelations(CmsDbContext dbc,
CmsUUID projectId,
CmsResource resource,
CmsRelationFilter filter) |
限定符和类型 | 方法和说明 |
---|---|
void |
CmsVfsDriver.createRelation(CmsDbContext dbc,
CmsUUID projectId,
CmsRelation relation) |
限定符和类型 | 方法和说明 |
---|---|
protected CmsRelation |
CmsVfsDriver.internalReadRelation(I_CmsDAOResourceRelations rr)
Creates a new
CmsRelation object from the given result set entry. |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<CmsRelation> |
CmsVfsDriver.readRelations(CmsDbContext dbc,
CmsUUID projectId,
CmsResource resource,
CmsRelationFilter filter) |
限定符和类型 | 方法和说明 |
---|---|
void |
CmsVfsDriver.createRelation(CmsDbContext dbc,
CmsUUID projectId,
CmsRelation relation) |
限定符和类型 | 方法和说明 |
---|---|
protected java.util.List<CmsRelation> |
CmsLinkRewriter.findRelationsFromTargetToSource()
Finds relations from the target root folder or its children to the source root folder or its children.
|
java.util.List<CmsRelation> |
CmsObject.getRelationsForResource(CmsResource resource,
CmsRelationFilter filter)
Returns all relations for the given resource matching the given filter.
|
java.util.List<CmsRelation> |
CmsObject.getRelationsForResource(java.lang.String resourceName,
CmsRelationFilter filter)
Returns all relations for the given resource matching the given filter.
|
java.util.List<CmsRelation> |
CmsObject.readRelations(CmsRelationFilter filter)
Returns all relations matching the given filter.
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
CmsLinkRewriter.rewriteContent(CmsFile file,
java.util.Collection<CmsRelation> relations)
Rewrites the links included in the content itself.
|
protected void |
CmsLinkRewriter.rewriteLinks(CmsResource resource,
java.util.Collection<CmsRelation> relations)
Rewrites the links for a single resource.
|
protected void |
CmsLinkRewriter.rewriteOtherRelations(CmsResource res,
java.util.Collection<CmsRelation> relations)
Rewrites relations which are not derived from links in the content itself.
|
限定符和类型 | 字段和说明 |
---|---|
protected java.util.Map<java.lang.String,java.util.List<CmsRelation>> |
CmsImportVersion5.m_importedRelations
已过时。
Stores all relations defined in the import file to be created after all resources has been imported.
|
限定符和类型 | 方法和说明 |
---|---|
java.util.Map<java.lang.String,java.util.List<CmsRelation>> |
CmsPublishManager.validateRelations(CmsObject cms,
CmsPublishList publishList,
I_CmsReport report)
Validates the relations for the given resources.
|
限定符和类型 | 字段和说明 |
---|---|
static java.util.Comparator<CmsRelation> |
CmsRelation.COMPARATOR
A comparator for the source & target path plus the relation type of 2 relations.
|
protected java.util.Map<java.lang.String,java.util.List<CmsRelation>> |
CmsRelationDeleteValidator.m_brokenRelations
The internal computed broken relations map.
|
protected java.util.Map<java.lang.String,java.util.List<CmsRelation>> |
CmsInternalLinksValidator.m_brokenRelations
The internal computed broken relations map.
|
protected java.util.Map<java.lang.String,java.util.List<CmsRelation>> |
CmsRelationPublishValidator.m_brokenRelations
The internal computed broken relations map.
|
限定符和类型 | 方法和说明 |
---|---|
java.util.List<CmsRelation> |
CmsInternalLinksValidator.getBrokenLinksForResource(java.lang.String resourceName)
Returns all broken links for the given resource.
|
java.util.List<CmsRelation> |
CmsRelationValidatorInfoEntry.getRelations()
Returns all the relations for this entry.
|
protected java.util.List<CmsRelation> |
CmsRelationSystemValidator.validateLinks(CmsDbContext dbc,
CmsResource resource,
java.util.Map<java.lang.String,CmsResource> fileLookup,
CmsProject project,
I_CmsReport report)
Validates the links for the specified resource.
|
java.util.Map<java.lang.String,java.util.List<CmsRelation>> |
CmsRelationSystemValidator.validateResources(CmsDbContext dbc,
CmsPublishList publishList,
I_CmsReport report)
Validates the relations against the online project.
|
java.util.Collection<java.util.List<CmsRelation>> |
CmsRelationDeleteValidator.values() |
java.util.Collection<java.util.List<CmsRelation>> |
CmsRelationPublishValidator.values() |
限定符和类型 | 方法和说明 |
---|---|
protected boolean |
CmsRelationSystemValidator.checkLinkForDeletedLinkTarget(CmsRelation relation,
java.lang.String link,
java.util.Map<java.lang.String,CmsResource> fileLookup,
com.google.common.collect.HashMultimap<java.lang.String,java.lang.String> relationTargets)
Checks a link to a resource which has been deleted.
|
protected boolean |
CmsRelationSystemValidator.checkLinkForNewOrChangedLinkSource(CmsDbContext dbc,
CmsResource resource,
CmsRelation relation,
java.lang.String link,
CmsProject project,
java.util.Map<java.lang.String,CmsResource> fileLookup)
Checks a link from a resource which has changed.
|
构造器和说明 |
---|
CmsRelationValidatorInfoEntry(java.lang.String entryName,
java.lang.String resourceName,
java.lang.String siteName,
java.lang.String siteRoot,
java.util.List<CmsRelation> relations)
Default constructor.
|