Uses of Class
org.opencms.relations.CmsRelationType
Packages that use CmsRelationType
Package
Description
Low-level database connection and access functionality.
Contains functions to import and export resources from the OpenCms VFS.
Low-level functions to manage the loading of resources from the OpenCms VFS.
Classes to represent and validate the internal and external links/relations of resources in the OpenCms VFS.
Contains the functionality for the static HTML page export.
Contains functions for structured content storage using XML, commonly called "XML content" in OpenCms.
Contains the basic XML content type definitions, used for XML content and XML pages.
-
Uses of CmsRelationType in org.opencms.cmis
Methods in org.opencms.cmis that return CmsRelationTypeModifier and TypeMethodDescriptionprotected static CmsRelationTypeCmsCmisRelationHelper.getRelationType(String typeName) Gets a relation type by name. -
Uses of CmsRelationType in org.opencms.db
Methods in org.opencms.db with parameters of type CmsRelationTypeModifier and TypeMethodDescriptionvoidCmsDriverManager.addRelationToResource(CmsDbContext dbc, CmsResource resource, CmsResource target, CmsRelationType type, boolean importCase) Adds a new relation to the given resource.voidCmsSecurityManager.addRelationToResource(CmsRequestContext context, CmsResource resource, CmsResource target, CmsRelationType type, boolean importCase) Adds a new relation to a given resource. -
Uses of CmsRelationType in org.opencms.importexport
Fields in org.opencms.importexport declared as CmsRelationTypeModifier and TypeFieldDescriptionprotected CmsRelationTypeCmsImportVersion10.m_relationTypeThe relation type value.Methods in org.opencms.importexport that return CmsRelationTypeModifier and TypeMethodDescriptionCmsImportVersion10.getRelationType()Returns the relationType.CmsImportVersion7.getRelationType()Deprecated.Returns the relationType.CmsImportVersion10.RelationData.getType()Gets the relation type.Constructors in org.opencms.importexport with parameters of type CmsRelationTypeModifierConstructorDescriptionRelationData(String target, CmsUUID targetId, CmsRelationType type) Creates a new instance. -
Uses of CmsRelationType in org.opencms.loader
Methods in org.opencms.loader that return CmsRelationTypeModifier and TypeMethodDescriptionCmsResourceManager.addRelationType(String name, String type) Adds a new relation type from the XML configuration to the list of user defined relation types.Methods in org.opencms.loader that return types with arguments of type CmsRelationTypeModifier and TypeMethodDescriptionCmsResourceManager.getRelationTypes()Returns an unmodifiable List of the configuredCmsRelationTypeobjects. -
Uses of CmsRelationType in org.opencms.relations
Fields in org.opencms.relations declared as CmsRelationTypeModifier and TypeFieldDescriptionstatic final CmsRelationTypeCmsRelationType.CATEGORYConstant for the category of anOpenCmsVfsFile.static final CmsRelationTypeCmsLink.DEFAULT_TYPEDefault link type.static final CmsRelationTypeCmsRelationType.DETAIL_ONLYConstant for the type of relations between a detail content and its detail-only container pages.static final CmsRelationTypeCmsRelationType.EMBEDDED_IMAGEConstant for the<img src=''>tag in a html page/element.static final CmsRelationTypeCmsRelationType.EMBEDDED_OBJECTConstant for the<embed src=''>tag in a html page/element.static final CmsRelationTypeCmsRelationType.HYPERLINKConstant for the<a href=''>tag in a html page/element.static final CmsRelationTypeCmsRelationType.INDEX_CONTENTConstant for the index content relation, telling that a change of a linked resource should trigger re-indexing of the content of the linking XML.static final CmsRelationTypeCmsRelationType.JSP_STRONGConstant for the all types of links in a jsp file using thelink.strongmacro.static final CmsRelationTypeCmsRelationType.JSP_WEAKConstant for the all types of links in a jsp file using thelink.weakmacro.static final CmsRelationTypeCmsRelationType.LOCALE_VARIANTConstant for the type of relations between resources which are locale variants.static final CmsRelationTypeCmsRelationType.OU_RESOURCEConstant for the organizational units resource associations.static final CmsRelationTypeCmsRelationType.XML_STRONGConstant for theOpenCmsVfsFilevalues in xml content that were defined as 'strong' links.static final CmsRelationTypeCmsRelationType.XML_WEAKConstant for theOpenCmsVfsFilevalues in xml content that were defined as 'weak' links.static final CmsRelationTypeCmsRelationType.XSDConstant for the weak links from xmlcontent to the used xsd.Methods in org.opencms.relations that return CmsRelationTypeModifier and TypeMethodDescriptionCmsLink.getType()Returns the type of this link.CmsLinkInfo.getType()Gets the relation type.CmsRelation.getType()Returns the relation type.static CmsRelationTypeCmsRelationType.valueOf(int id) Parses anintinto a relation type.static CmsRelationTypeParses anStringinto a relation type.static CmsRelationTypeCmsRelationType.valueOfJsp(String name) Parses the given value into a valid enumeration element for a JSP relation type.static CmsRelationTypeCmsRelationType.valueOfXml(String name) Parses the given value into a valid enumeration element for a XML relation type.Methods in org.opencms.relations that return types with arguments of type CmsRelationTypeModifier and TypeMethodDescriptionstatic List<CmsRelationType> CmsRelationType.filterDefinedInContent(Collection<CmsRelationType> relationTypes) Returns all relation types in the given list that define relations in the content.static List<CmsRelationType> CmsRelationType.filterInternal(Collection<CmsRelationType> relationTypes) Returns all internal defined relation types in the given list.static List<CmsRelationType> CmsRelationType.filterNotDefinedInContent(Collection<CmsRelationType> relationTypes) Returns all relation types in the given list that are not defined in the content.static List<CmsRelationType> CmsRelationType.filterStrong(Collection<CmsRelationType> relationTypes) Returns all strong relation types in the given list.static List<CmsRelationType> CmsRelationType.filterUserDefined(Collection<CmsRelationType> relationTypes) Returns all user defined relation types in the given list.static List<CmsRelationType> CmsRelationType.filterWeak(Collection<CmsRelationType> relationTypes) Returns all weak relation types in the given list.static List<CmsRelationType> CmsRelationType.getAll()Returns all relation types.static List<CmsRelationType> CmsRelationType.getAllDefinedInContent()Returns all relation types for relations defined in the content.static List<CmsRelationType> CmsRelationType.getAllInternal()Returns all internally defined relation types.static List<CmsRelationType> CmsRelationType.getAllNotDefinedInContent()Returns all relation types for relations that are not defined in the content.static List<CmsRelationType> CmsRelationType.getAllStrong()Returns all strong relation types.static List<CmsRelationType> CmsRelationType.getAllUserDefined()Returns all user defined relation types.static List<CmsRelationType> CmsRelationType.getAllWeak()Returns all weak relation types.CmsRelationFilter.getTypes()Returns the types to filter.Methods in org.opencms.relations with parameters of type CmsRelationTypeModifier and TypeMethodDescriptionCmsRelationFilter.filterType(CmsRelationType type) Returns an extended filter with the given type restriction.booleanCmsRelationFilter.matchType(CmsRelationType type) Returnstrueif the given relation type matches this filter.static voidCmsLinkUpdateUtil.updateType(org.dom4j.Element element, CmsRelationType type) Updates the type for a link xml element node.Method parameters in org.opencms.relations with type arguments of type CmsRelationTypeModifier and TypeMethodDescriptionstatic List<CmsRelationType> CmsRelationType.filterDefinedInContent(Collection<CmsRelationType> relationTypes) Returns all relation types in the given list that define relations in the content.static List<CmsRelationType> CmsRelationType.filterInternal(Collection<CmsRelationType> relationTypes) Returns all internal defined relation types in the given list.static List<CmsRelationType> CmsRelationType.filterNotDefinedInContent(Collection<CmsRelationType> relationTypes) Returns all relation types in the given list that are not defined in the content.static List<CmsRelationType> CmsRelationType.filterStrong(Collection<CmsRelationType> relationTypes) Returns all strong relation types in the given list.static List<CmsRelationType> CmsRelationType.filterUserDefined(Collection<CmsRelationType> relationTypes) Returns all user defined relation types in the given list.static List<CmsRelationType> CmsRelationType.filterWeak(Collection<CmsRelationType> relationTypes) Returns all weak relation types in the given list.Constructors in org.opencms.relations with parameters of type CmsRelationTypeModifierConstructorDescriptionCmsLink(String name, CmsRelationType type, String uri, boolean internal) Creates a new link object without a reference to the xml page link element.CmsLink(String name, CmsRelationType type, CmsUUID structureId, String uri, boolean internal) Creates a new link object without a reference to the xml page link element.CmsLinkInfo(CmsUUID structureId, String target, String query, String anchor, CmsRelationType type, boolean internal) Creates a new instance.CmsRelation(CmsResource source, CmsResource target, CmsRelationType type) Creates a new relation object of the given type between the given resources.CmsRelation(CmsUUID sourceId, String sourcePath, CmsUUID targetId, String targetPath, CmsRelationType type) Base constructor. -
Uses of CmsRelationType in org.opencms.staticexport
Methods in org.opencms.staticexport with parameters of type CmsRelationTypeModifier and TypeMethodDescriptionCmsLinkTable.addLink(CmsRelationType type, String targetUri, boolean internal) Adds a new link to the link table.protected voidCmsLinkProcessor.processLink(org.htmlparser.Tag tag, String attr, CmsRelationType type) Process a tag having a link in the given attribute, considering the link as the given type. -
Uses of CmsRelationType in org.opencms.xml.content
Fields in org.opencms.xml.content with type parameters of type CmsRelationTypeModifier and TypeFieldDescriptionprotected Map<String, CmsRelationType> CmsDefaultXmlContentHandler.m_relationsThe relation check rules.Methods in org.opencms.xml.content that return CmsRelationTypeModifier and TypeMethodDescriptionCmsDefaultXmlContentHandler.getRelationType(String xpath) CmsDefaultXmlContentHandler.getRelationType(String xpath, CmsRelationType defaultType) CmsDefaultXmlContentHandler.getRelationType(I_CmsXmlContentValue value) Deprecated.I_CmsXmlContentHandler.getRelationType(String path) Returns the relation type for the given path.I_CmsXmlContentHandler.getRelationType(String xpath, CmsRelationType defaultType) Returns the relation type for the given path.I_CmsXmlContentHandler.getRelationType(I_CmsXmlContentValue value) Deprecated.Methods in org.opencms.xml.content with parameters of type CmsRelationTypeModifier and TypeMethodDescriptionCmsDefaultXmlContentHandler.getRelationType(String xpath, CmsRelationType defaultType) I_CmsXmlContentHandler.getRelationType(String xpath, CmsRelationType defaultType) Returns the relation type for the given path. -
Uses of CmsRelationType in org.opencms.xml.types
Methods in org.opencms.xml.types that return CmsRelationTypeModifier and TypeMethodDescriptionprotected CmsRelationTypeA_CmsXmlContentValue.getRelationType(String path) Returns the relation type for the given path.Methods in org.opencms.xml.types with parameters of type CmsRelationTypeModifier and TypeMethodDescriptionstatic voidCmsXmlCategoryValue.fillEntry(org.dom4j.Element element, CmsUUID id, String rootPath, CmsRelationType type) Fills the given element with aCmsXmlCategoryValuefor the given data.static voidCmsXmlVfsFileValue.fillEntry(org.dom4j.Element element, CmsUUID id, String rootPath, CmsRelationType type) Fills the given element with aCmsXmlVfsFileValuefor the given data.
I_CmsXmlContentHandler.getRelationType(String)withI_CmsXmlContentValue.getPath()instead