Uses of Class
org.opencms.relations.CmsRelation
Packages that use CmsRelation
Package
Description
This package contains the server-side classes for the publish module.
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.
Contains functions to import and export resources from the OpenCms VFS.
Classes to handle the OpenCms publish process.
Classes to represent and validate the internal and external links/relations of resources in the OpenCms VFS.
-
Uses of CmsRelation in org.opencms.ade.publish
Methods in org.opencms.ade.publish with parameters of type CmsRelationModifier and TypeMethodDescriptionCmsPublish.relationToBean(CmsRelation relation) Creates a publish resource bean from the target information of a relation object. -
Uses of CmsRelation in org.opencms.cmis
Methods in org.opencms.cmis that return CmsRelationModifier and TypeMethodDescriptionCmsCmisRelationHelper.RelationKey.getRelation()Gets the relation object.Methods in org.opencms.cmis with parameters of type CmsRelationModifier and TypeMethodDescriptionprotected org.apache.chemistry.opencmis.commons.data.AllowableActionsCmsCmisRelationHelper.collectAllowableActions(CmsObject cms, CmsResource file, CmsRelation relation) Collects the allowable actions for a relation.protected org.apache.chemistry.opencmis.commons.data.ObjectDataCmsCmisRelationHelper.collectObjectData(CmsCmisCallContext context, CmsObject cms, CmsResource resource, CmsRelation relation, Set<String> filter, boolean includeAllowableActions, boolean includeAcl) Fills in an ObjectData record.protected org.apache.chemistry.opencmis.commons.data.PropertiesCmsCmisRelationHelper.collectProperties(CmsObject cms, CmsResource resource, CmsRelation relation, Set<String> orgfilter, org.apache.chemistry.opencmis.commons.impl.server.ObjectInfoImpl objectInfo) Gathers all base properties of a file or folder.protected StringCmsCmisRelationHelper.createReadableName(CmsRelation relation) Creates a user-readable name from the given relation object. -
Uses of CmsRelation in org.opencms.db
Methods in org.opencms.db that return types with arguments of type CmsRelationModifier and TypeMethodDescriptionCmsDriverManager.getRelationsForResource(CmsDbContext dbc, CmsResource resource, CmsRelationFilter filter) Returns all relations for the given resource matching the given filter.CmsSecurityManager.getRelationsForResource(CmsRequestContext context, CmsResource resource, CmsRelationFilter filter) Returns all relations for the given resource matching the given filter.I_CmsVfsDriver.readRelations(CmsDbContext dbc, CmsUUID projectId, CmsResource resource, CmsRelationFilter filter) Reads all relations with the given filter for the given resource.CmsDriverManager.validateRelations(CmsDbContext dbc, CmsPublishList publishList, I_CmsReport report) Validates the relations for the given resources.CmsSecurityManager.validateRelations(CmsRequestContext context, CmsPublishList publishList, I_CmsReport report) Validates the relations for the given resources.Methods in org.opencms.db with parameters of type CmsRelationModifier and TypeMethodDescriptionvoidI_CmsVfsDriver.createRelation(CmsDbContext dbc, CmsUUID projectId, CmsRelation relation) Creates a newCmsRelationobject in the database.Method parameters in org.opencms.db with type arguments of type CmsRelationModifier and TypeMethodDescriptionvoidCmsDriverManager.ResourceOUMap.init(Collection<CmsRelation> ouRelations, Collection<CmsOrganizationalUnit> ous) Initializes the OU resource data. -
Uses of CmsRelation in org.opencms.db.generic
Methods in org.opencms.db.generic that return CmsRelationModifier and TypeMethodDescriptionprotected CmsRelationCmsVfsDriver.internalReadRelation(ResultSet res) Creates a newCmsRelationobject from the given result set entry.Methods in org.opencms.db.generic that return types with arguments of type CmsRelationModifier and TypeMethodDescriptionCmsVfsDriver.readRelations(CmsDbContext dbc, CmsUUID projectId, CmsResource resource, CmsRelationFilter filter) Methods in org.opencms.db.generic with parameters of type CmsRelationModifier and TypeMethodDescriptionvoidCmsVfsDriver.createRelation(CmsDbContext dbc, CmsUUID projectId, CmsRelation relation) -
Uses of CmsRelation in org.opencms.file
Methods in org.opencms.file that return types with arguments of type CmsRelationModifier and TypeMethodDescriptionprotected List<CmsRelation> CmsLinkRewriter.findRelationsFromTargetToSource()Finds relations from the target root folder or its children to the source root folder or its children.CmsObject.getRelationsForResource(String resourceName, CmsRelationFilter filter) Returns all relations for the given resource matching the given filter.CmsObject.getRelationsForResource(CmsResource resource, CmsRelationFilter filter) Returns all relations for the given resource matching the given filter.CmsObject.readRelations(CmsRelationFilter filter) Returns all relations matching the given filter.Method parameters in org.opencms.file with type arguments of type CmsRelationModifier and TypeMethodDescriptionprotected voidCmsLinkRewriter.rewriteContent(CmsFile file, Collection<CmsRelation> relations) Rewrites the links included in the content itself.protected voidCmsLinkRewriter.rewriteLinks(CmsResource resource, Collection<CmsRelation> relations) Rewrites the links for a single resource.protected voidCmsLinkRewriter.rewriteOtherRelations(CmsResource res, Collection<CmsRelation> relations) Rewrites relations which are not derived from links in the content itself. -
Uses of CmsRelation in org.opencms.importexport
Fields in org.opencms.importexport with type parameters of type CmsRelationModifier and TypeFieldDescriptionprotected Map<String, List<CmsRelation>> CmsImportVersion5.m_importedRelationsDeprecated.Stores all relations defined in the import file to be created after all resources has been imported. -
Uses of CmsRelation in org.opencms.publish
Methods in org.opencms.publish that return types with arguments of type CmsRelationModifier and TypeMethodDescriptionCmsPublishManager.validateRelations(CmsObject cms, CmsPublishList publishList, I_CmsReport report) Validates the relations for the given resources. -
Uses of CmsRelation in org.opencms.relations
Fields in org.opencms.relations with type parameters of type CmsRelationModifier and TypeFieldDescriptionstatic final Comparator<CmsRelation> CmsRelation.COMPARATORA comparator for the source invalid input: '&' target path plus the relation type of 2 relations.protected Map<String, List<CmsRelation>> CmsInternalLinksValidator.m_brokenRelationsThe internal computed broken relations map.protected Map<String, List<CmsRelation>> CmsRelationDeleteValidator.m_brokenRelationsThe internal computed broken relations map.protected Map<String, List<CmsRelation>> CmsRelationPublishValidator.m_brokenRelationsThe internal computed broken relations map.Methods in org.opencms.relations that return CmsRelationModifier and TypeMethodDescriptionCmsRelation.withTargetId(CmsUUID id) Copies this relation, but sets the target id in the copy to the given value.Methods in org.opencms.relations that return types with arguments of type CmsRelationModifier and TypeMethodDescriptionCmsInternalLinksValidator.getBrokenLinksForResource(String resourceName) Returns all broken links for the given resource.CmsRelationValidatorInfoEntry.getRelations()Returns all the relations for this entry.protected List<CmsRelation> CmsRelationSystemValidator.validateLinks(CmsDbContext dbc, CmsResource resource, Map<String, CmsResource> fileLookup, CmsProject project, I_CmsReport report) Validates the links for the specified resource.CmsRelationSystemValidator.validateResources(CmsDbContext dbc, CmsPublishList publishList, I_CmsReport report) Validates the relations against the online project.CmsRelationDeleteValidator.values()CmsRelationPublishValidator.values()Methods in org.opencms.relations with parameters of type CmsRelationModifier and TypeMethodDescriptionprotected booleanCmsRelationSystemValidator.checkLinkForDeletedLinkTarget(CmsRelation relation, String link, Map<String, CmsResource> fileLookup) Checks a link to a resource which has been deleted.protected booleanCmsRelationSystemValidator.checkLinkForNewOrChangedLinkSource(CmsDbContext dbc, CmsResource resource, CmsRelation relation, String link, CmsProject project, Map<String, CmsResource> fileLookup) Checks a link from a resource which has changed.Constructor parameters in org.opencms.relations with type arguments of type CmsRelationModifierConstructorDescriptionCmsRelationValidatorInfoEntry(String entryName, String resourceName, String siteName, String siteRoot, List<CmsRelation> relations) Default constructor.