Uses of Class
org.opencms.relations.CmsRelationType
-
Packages that use CmsRelationType Package Description org.opencms.cmis org.opencms.db Low-level database connection and access functionality.org.opencms.importexport Contains functions to import and export resources from the OpenCms VFS.org.opencms.loader Low-level functions to manage the loading of resources from the OpenCms VFS.org.opencms.relations Classes to represent and validate the internal and external links/relations of resources in the OpenCms VFS.org.opencms.staticexport Contains the functionality for the static HTML page export.org.opencms.xml.content Contains functions for structured content storage using XML, commonly called "XML content" in OpenCms.org.opencms.xml.types 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 CmsRelationType Modifier and Type Method Description protected static CmsRelationType
CmsCmisRelationHelper. getRelationType(java.lang.String typeName)
Gets a relation type by name. -
Uses of CmsRelationType in org.opencms.db
Methods in org.opencms.db with parameters of type CmsRelationType Modifier and Type Method Description void
CmsDriverManager. addRelationToResource(CmsDbContext dbc, CmsResource resource, CmsResource target, CmsRelationType type, boolean importCase)
Adds a new relation to the given resource.void
CmsSecurityManager. 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 CmsRelationType Modifier and Type Field Description protected CmsRelationType
CmsImportVersion10. m_relationType
The relation type value.Methods in org.opencms.importexport that return CmsRelationType Modifier and Type Method Description CmsRelationType
CmsImportVersion10. getRelationType()
Returns the relationType.CmsRelationType
CmsImportVersion7. getRelationType()
Deprecated.Returns the relationType.CmsRelationType
CmsImportVersion10.RelationData. getType()
Gets the relation type.Constructors in org.opencms.importexport with parameters of type CmsRelationType Constructor Description RelationData(java.lang.String target, CmsUUID targetId, CmsRelationType type)
Creates a new instance. -
Uses of CmsRelationType in org.opencms.loader
Methods in org.opencms.loader that return CmsRelationType Modifier and Type Method Description CmsRelationType
CmsResourceManager. addRelationType(java.lang.String name, java.lang.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 CmsRelationType Modifier and Type Method Description java.util.List<CmsRelationType>
CmsResourceManager. getRelationTypes()
Returns an unmodifiable List of the configuredCmsRelationType
objects. -
Uses of CmsRelationType in org.opencms.relations
Fields in org.opencms.relations declared as CmsRelationType Modifier and Type Field Description static CmsRelationType
CmsRelationType. CATEGORY
Constant for the category of anOpenCmsVfsFile
.static CmsRelationType
CmsLink. DEFAULT_TYPE
Default link type.static CmsRelationType
CmsRelationType. DETAIL_ONLY
Constant for the type of relations between a detail content and its detail-only container pages.static CmsRelationType
CmsRelationType. EMBEDDED_IMAGE
Constant for the<img src=''>
tag in a html page/element.static CmsRelationType
CmsRelationType. EMBEDDED_OBJECT
Constant for the<embed src=''>
tag in a html page/element.static CmsRelationType
CmsRelationType. HYPERLINK
Constant for the<a href=''>
tag in a html page/element.static CmsRelationType
CmsRelationType. INDEX_CONTENT
Constant for the index content relation, telling the content of a linked resource should be merged into the content of the linking XML.static CmsRelationType
CmsRelationType. JSP_STRONG
Constant for the all types of links in a jsp file using thelink.strong
macro.static CmsRelationType
CmsRelationType. JSP_WEAK
Constant for the all types of links in a jsp file using thelink.weak
macro.static CmsRelationType
CmsRelationType. LOCALE_VARIANT
Constant for the type of relations between resources which are locale variants.static CmsRelationType
CmsRelationType. OU_RESOURCE
Constant for the organizational units resource associations.static CmsRelationType
CmsRelationType. XML_STRONG
Constant for theOpenCmsVfsFile
values in xml content that were defined as 'strong' links.static CmsRelationType
CmsRelationType. XML_WEAK
Constant for theOpenCmsVfsFile
values in xml content that were defined as 'weak' links.static CmsRelationType
CmsRelationType. XSD
Constant for the weak links from xmlcontent to the used xsd.Methods in org.opencms.relations that return CmsRelationType Modifier and Type Method Description CmsRelationType
CmsLink. getType()
Returns the type of this link.CmsRelationType
CmsLinkInfo. getType()
Gets the relation type.CmsRelationType
CmsRelation. getType()
Returns the relation type.static CmsRelationType
CmsRelationType. valueOf(int id)
Parses anint
into a relation type.static CmsRelationType
CmsRelationType. valueOf(java.lang.String name)
Parses anString
into a relation type.static CmsRelationType
CmsRelationType. valueOfJsp(java.lang.String name)
Parses the given value into a valid enumeration element for a JSP relation type.static CmsRelationType
CmsRelationType. valueOfXml(java.lang.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 CmsRelationType Modifier and Type Method Description static java.util.List<CmsRelationType>
CmsRelationType. filterDefinedInContent(java.util.Collection<CmsRelationType> relationTypes)
Returns all relation types in the given list that define relations in the content.static java.util.List<CmsRelationType>
CmsRelationType. filterInternal(java.util.Collection<CmsRelationType> relationTypes)
Returns all internal defined relation types in the given list.static java.util.List<CmsRelationType>
CmsRelationType. filterNotDefinedInContent(java.util.Collection<CmsRelationType> relationTypes)
Returns all relation types in the given list that are not defined in the content.static java.util.List<CmsRelationType>
CmsRelationType. filterStrong(java.util.Collection<CmsRelationType> relationTypes)
Returns all strong relation types in the given list.static java.util.List<CmsRelationType>
CmsRelationType. filterUserDefined(java.util.Collection<CmsRelationType> relationTypes)
Returns all user defined relation types in the given list.static java.util.List<CmsRelationType>
CmsRelationType. filterWeak(java.util.Collection<CmsRelationType> relationTypes)
Returns all weak relation types in the given list.static java.util.List<CmsRelationType>
CmsRelationType. getAll()
Returns all relation types.static java.util.List<CmsRelationType>
CmsRelationType. getAllDefinedInContent()
Returns all relation types for relations defined in the content.static java.util.List<CmsRelationType>
CmsRelationType. getAllInternal()
Returns all internally defined relation types.static java.util.List<CmsRelationType>
CmsRelationType. getAllNotDefinedInContent()
Returns all relation types for relations that are not defined in the content.static java.util.List<CmsRelationType>
CmsRelationType. getAllStrong()
Returns all strong relation types.static java.util.List<CmsRelationType>
CmsRelationType. getAllUserDefined()
Returns all user defined relation types.static java.util.List<CmsRelationType>
CmsRelationType. getAllWeak()
Returns all weak relation types.java.util.Set<CmsRelationType>
CmsRelationFilter. getTypes()
Returns the types to filter.Methods in org.opencms.relations with parameters of type CmsRelationType Modifier and Type Method Description CmsRelationFilter
CmsRelationFilter. filterType(CmsRelationType type)
Returns an extended filter with the given type restriction.boolean
CmsRelationFilter. matchType(CmsRelationType type)
Returnstrue
if the given relation type matches this filter.static void
CmsLinkUpdateUtil. 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 CmsRelationType Modifier and Type Method Description static java.util.List<CmsRelationType>
CmsRelationType. filterDefinedInContent(java.util.Collection<CmsRelationType> relationTypes)
Returns all relation types in the given list that define relations in the content.static java.util.List<CmsRelationType>
CmsRelationType. filterInternal(java.util.Collection<CmsRelationType> relationTypes)
Returns all internal defined relation types in the given list.static java.util.List<CmsRelationType>
CmsRelationType. filterNotDefinedInContent(java.util.Collection<CmsRelationType> relationTypes)
Returns all relation types in the given list that are not defined in the content.static java.util.List<CmsRelationType>
CmsRelationType. filterStrong(java.util.Collection<CmsRelationType> relationTypes)
Returns all strong relation types in the given list.static java.util.List<CmsRelationType>
CmsRelationType. filterUserDefined(java.util.Collection<CmsRelationType> relationTypes)
Returns all user defined relation types in the given list.static java.util.List<CmsRelationType>
CmsRelationType. filterWeak(java.util.Collection<CmsRelationType> relationTypes)
Returns all weak relation types in the given list.Constructors in org.opencms.relations with parameters of type CmsRelationType Constructor Description CmsLink(java.lang.String name, CmsRelationType type, java.lang.String uri, boolean internal)
Creates a new link object without a reference to the xml page link element.CmsLink(java.lang.String name, CmsRelationType type, CmsUUID structureId, java.lang.String uri, boolean internal)
Creates a new link object without a reference to the xml page link element.CmsLinkInfo(CmsUUID structureId, java.lang.String target, java.lang.String query, java.lang.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, java.lang.String sourcePath, CmsUUID targetId, java.lang.String targetPath, CmsRelationType type)
Base constructor. -
Uses of CmsRelationType in org.opencms.staticexport
Methods in org.opencms.staticexport with parameters of type CmsRelationType Modifier and Type Method Description CmsLink
CmsLinkTable. addLink(CmsRelationType type, java.lang.String targetUri, boolean internal)
Adds a new link to the link table.protected void
CmsLinkProcessor. processLink(org.htmlparser.Tag tag, java.lang.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 CmsRelationType Modifier and Type Field Description protected java.util.Map<java.lang.String,CmsRelationType>
CmsDefaultXmlContentHandler. m_relations
The relation check rules.Methods in org.opencms.xml.content that return CmsRelationType Modifier and Type Method Description CmsRelationType
CmsDefaultXmlContentHandler. getRelationType(java.lang.String xpath)
CmsRelationType
CmsDefaultXmlContentHandler. getRelationType(java.lang.String xpath, CmsRelationType defaultType)
CmsRelationType
CmsDefaultXmlContentHandler. getRelationType(I_CmsXmlContentValue value)
Deprecated.CmsRelationType
I_CmsXmlContentHandler. getRelationType(java.lang.String path)
Returns the relation type for the given path.CmsRelationType
I_CmsXmlContentHandler. getRelationType(java.lang.String xpath, CmsRelationType defaultType)
Returns the relation type for the given path.CmsRelationType
I_CmsXmlContentHandler. getRelationType(I_CmsXmlContentValue value)
Deprecated.Methods in org.opencms.xml.content with parameters of type CmsRelationType Modifier and Type Method Description CmsRelationType
CmsDefaultXmlContentHandler. getRelationType(java.lang.String xpath, CmsRelationType defaultType)
CmsRelationType
I_CmsXmlContentHandler. getRelationType(java.lang.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 CmsRelationType Modifier and Type Method Description protected CmsRelationType
A_CmsXmlContentValue. getRelationType(java.lang.String path)
Returns the relation type for the given path.Methods in org.opencms.xml.types with parameters of type CmsRelationType Modifier and Type Method Description static void
CmsXmlCategoryValue. fillEntry(org.dom4j.Element element, CmsUUID id, java.lang.String rootPath, CmsRelationType type)
Fills the given element with aCmsXmlCategoryValue
for the given data.static void
CmsXmlVfsFileValue. fillEntry(org.dom4j.Element element, CmsUUID id, java.lang.String rootPath, CmsRelationType type)
Fills the given element with aCmsXmlVfsFileValue
for the given data.
-