Uses of Class
org.opencms.relations.CmsRelationFilter
Packages that use CmsRelationFilter
Package
Description
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.
Classes to represent and validate the internal and external links/relations of resources in the OpenCms VFS.
-
Uses of CmsRelationFilter in org.opencms.db
Methods in org.opencms.db with parameters of type CmsRelationFilterModifier and TypeMethodDescriptionvoid
I_CmsVfsDriver.deleteRelations
(CmsDbContext dbc, CmsUUID projectId, CmsResource resource, CmsRelationFilter filter) Deletes all relations with the given filter for the given resource.void
CmsDriverManager.deleteRelationsForResource
(CmsDbContext dbc, CmsResource resource, CmsRelationFilter filter) Deletes all relations for the given resource matching the given filter.void
CmsSecurityManager.deleteRelationsForResource
(CmsRequestContext context, CmsResource resource, CmsRelationFilter filter) Deletes all relations for the given resource matching the given filter.CmsDriverManager.getRelatedResourcesToPublish
(CmsDbContext dbc, CmsPublishList publishList, CmsRelationFilter filter) Returns a new publish list that contains the unpublished resources related to all resources in the given publish list, the related resources exclude all resources in the given publish list and also locked (by other users) resources.CmsSecurityManager.getRelatedResourcesToPublish
(CmsRequestContext context, CmsPublishList publishList, CmsRelationFilter filter) Returns a new publish list that contains the unpublished resources related to all resources in the given publish list, the related resources exclude all resources in the given publish list and also locked (by other users) resources.CmsDriverManager.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. -
Uses of CmsRelationFilter in org.opencms.db.generic
Methods in org.opencms.db.generic with parameters of type CmsRelationFilterModifier and TypeMethodDescriptionvoid
CmsVfsDriver.deleteRelations
(CmsDbContext dbc, CmsUUID projectId, CmsResource resource, CmsRelationFilter filter) protected String
CmsVfsDriver.prepareRelationConditions
(CmsUUID projectId, CmsRelationFilter filter, CmsResource resource, List<Object> params, boolean checkSource) Build the whole WHERE sql statement part for the given relation filter.CmsVfsDriver.readRelations
(CmsDbContext dbc, CmsUUID projectId, CmsResource resource, CmsRelationFilter filter) -
Uses of CmsRelationFilter in org.opencms.file
Methods in org.opencms.file with parameters of type CmsRelationFilterModifier and TypeMethodDescriptionvoid
CmsObject.deleteRelationsFromResource
(String resourceName, CmsRelationFilter filter) Deletes the relations to a given resource.void
CmsObject.deleteRelationsFromResource
(CmsResource resource, CmsRelationFilter filter) Deletes the relations to a given resource.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. -
Uses of CmsRelationFilter in org.opencms.relations
Fields in org.opencms.relations declared as CmsRelationFilterModifier and TypeFieldDescriptionstatic final CmsRelationFilter
CmsRelationFilter.ALL
To filter all sources and targets.static final CmsRelationFilter
CmsRelationFilter.SOURCES
To filter all sources.static final CmsRelationFilter
CmsRelationFilter.TARGETS
To filter all targets.Methods in org.opencms.relations that return CmsRelationFilterModifier and TypeMethodDescriptionCmsRelationFilter.filterDefinedInContent()
Returns an extended filter with defined in content type restriction.CmsRelationFilter.filterIncludeChildren()
Returns an extended filter that will extend the result to the given path and all its subresources.CmsRelationFilter.filterInternal()
Returns an extended filter with internal type restriction.CmsRelationFilter.filterNotDefinedInContent()
Returns an extended filter with not defined in content type restriction.CmsRelationFilter.filterPath
(String path) Returns an extended filter with the given source relation path restriction.CmsRelationFilter.filterResource
(CmsResource resource) Returns an extended filter with the given resource (path and id) restriction.CmsRelationFilter.filterStrong()
Returns an extended filter with strong type restriction.CmsRelationFilter.filterStructureId
(CmsUUID structureId) Returns an extended filter with the given structure id restriction.CmsRelationFilter.filterType
(CmsRelationType type) Returns an extended filter with the given type restriction.CmsRelationFilter.filterUserDefined()
Returns an extended filter with user defined type restriction.CmsRelationFilter.filterWeak()
Returns an extended filter with weak type restriction.static CmsRelationFilter
CmsRelationFilter.relationsFromStructureId
(CmsUUID structureId) Utility method which prepares a filter for relations which point *from* a given structure id.static CmsRelationFilter
CmsRelationFilter.relationsToStructureId
(CmsUUID structureId) Utility method which prepares a filter for relations which point *to* a given structure id.