| 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.
|
| Modifier and Type | Method and Description |
|---|---|
protected static CmsRelationType |
CmsCmisRelationHelper.getRelationType(java.lang.String typeName)
Gets a relation type by name.
|
| Modifier and Type | Method and 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.
|
| Modifier and Type | Field and Description |
|---|---|
protected CmsRelationType |
CmsImportVersion10.m_relationType
The relation type value.
|
| Modifier and Type | Method and Description |
|---|---|
CmsRelationType |
CmsImportVersion7.getRelationType()
Deprecated.
Returns the relationType.
|
CmsRelationType |
CmsImportVersion10.getRelationType()
Returns the relationType.
|
CmsRelationType |
CmsImportVersion10.RelationData.getType()
Gets the relation type.
|
| Constructor and Description |
|---|
RelationData(java.lang.String target,
CmsUUID targetId,
CmsRelationType type)
Creates a new instance.
|
| Modifier and Type | Method and 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.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<CmsRelationType> |
CmsResourceManager.getRelationTypes()
Returns an unmodifiable List of the configured
CmsRelationType objects. |
| Modifier and Type | Field and Description |
|---|---|
static CmsRelationType |
CmsRelationType.CATEGORY
Constant for the category of an
OpenCmsVfsFile. |
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.JSP_STRONG
Constant for the all types of links in a jsp file using the
link.strong macro. |
static CmsRelationType |
CmsRelationType.JSP_WEAK
Constant for the all types of links in a jsp file using the
link.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 the
OpenCmsVfsFile values in xml content that were defined as 'strong' links. |
static CmsRelationType |
CmsRelationType.XML_WEAK
Constant for the
OpenCmsVfsFile 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.
|
| Modifier and Type | Method and Description |
|---|---|
CmsRelationType |
CmsLink.getType()
Returns the type of this link.
|
CmsRelationType |
CmsRelation.getType()
Returns the relation type.
|
static CmsRelationType |
CmsRelationType.valueOf(int id)
Parses an
int into a relation type. |
static CmsRelationType |
CmsRelationType.valueOf(java.lang.String name)
Parses an
String 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.
|
| Modifier and Type | Method and 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.
|
| Modifier and Type | Method and Description |
|---|---|
CmsRelationFilter |
CmsRelationFilter.filterType(CmsRelationType type)
Returns an extended filter with the given type restriction.
|
boolean |
CmsRelationFilter.matchType(CmsRelationType type)
Returns
true 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.
|
| Modifier and Type | Method and 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.
|
| Constructor and Description |
|---|
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.
|
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.
|
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.
|
| Modifier and Type | Method and 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.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<java.lang.String,CmsRelationType> |
CmsDefaultXmlContentHandler.m_relations
The relation check rules.
|
| Modifier and Type | Method and Description |
|---|---|
CmsRelationType |
CmsDefaultXmlContentHandler.getRelationType(I_CmsXmlContentValue value)
Deprecated.
|
CmsRelationType |
I_CmsXmlContentHandler.getRelationType(I_CmsXmlContentValue value)
Deprecated.
|
CmsRelationType |
CmsDefaultXmlContentHandler.getRelationType(java.lang.String xpath) |
CmsRelationType |
I_CmsXmlContentHandler.getRelationType(java.lang.String path)
Returns the relation type for the given path.
|
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.
|
| Modifier and Type | Method and 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.
|
| Modifier and Type | Method and Description |
|---|---|
protected CmsRelationType |
A_CmsXmlContentValue.getRelationType(java.lang.String path)
Returns the relation type for the given path.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
CmsXmlVfsFileValue.fillEntry(org.dom4j.Element element,
CmsUUID id,
java.lang.String rootPath,
CmsRelationType type)
Fills the given element with a
CmsXmlVfsFileValue for the given data. |
static void |
CmsXmlCategoryValue.fillEntry(org.dom4j.Element element,
CmsUUID id,
java.lang.String rootPath,
CmsRelationType type)
Fills the given element with a
CmsXmlCategoryValue for the given data. |