Uses of Class
org.opencms.file.CmsProperty
Package
Description
Server side of the sitemap view.
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.
The implementations of the core resource types for the VFS are located here.
This package contains classes and interfaces used to access OpenCms through a wrapped
CmsObject
.Provides core support for GWT.
Contains functions to import and export resources from the OpenCms VFS.
OpenCms modules provide a powerful, standardized way to extend
the core OpenCms functionality.
Contains functions to monitor the OpenCms system status.
These classes control the mapping of the OpenCms content to the Lucene search fields.
The package contains the Solr search integration.
Contains classes related to XML sitemap generation.
-
Uses of CmsProperty in org.opencms.ade.sitemap
Modifier and TypeMethodDescriptionstatic CmsClientProperty
CmsVfsSitemapService.createClientProperty
(CmsProperty prop, boolean preserveOrigin) Creates a client property bean from a server-side property. -
Uses of CmsProperty in org.opencms.cmis
Modifier and TypeMethodDescriptionprotected List<CmsProperty>
A_CmsCmisRepository.getOpenCmsProperties
(Map<String, org.apache.chemistry.opencmis.commons.data.PropertyData<?>> properties) Helper method to create OpenCms property objects from a map of CMIS properties. -
Uses of CmsProperty in org.opencms.db
Modifier and TypeMethodDescriptionCmsDriverManager.readPropertyObject
(CmsDbContext dbc, CmsResource resource, String key, boolean search) Reads a property object from a resource specified by a property name.CmsDriverManager.readPropertyObject
(CmsDbContext dbc, CmsResource resource, String key, boolean search, Locale locale) Reads a property object from a resource specified by a property name.CmsSecurityManager.readPropertyObject
(CmsRequestContext context, CmsResource resource, String key, boolean search) Reads a property object from a resource specified by a property name.CmsSecurityManager.readPropertyObject
(CmsRequestContext context, CmsResource resource, String key, boolean search, Locale locale) Reads a property object from a resource specified by a property name.I_CmsVfsDriver.readPropertyObject
(CmsDbContext dbc, String key, CmsProject project, CmsResource resource) Reads a property object from the database specified by it's key name mapped to a resource.Modifier and TypeMethodDescriptionCmsDriverManager.readHistoryPropertyObjects
(CmsDbContext dbc, I_CmsHistoryResource historyResource) Reads the list of all
objects that belongs to the given historical resource.CmsProperty
CmsSecurityManager.readHistoryPropertyObjects
(CmsRequestContext context, I_CmsHistoryResource resource) Reads the list of all
objects that belong to the given historical resource.CmsProperty
I_CmsHistoryDriver.readProperties
(CmsDbContext dbc, I_CmsHistoryResource historicalResource) Returns a list of all properties of a historical file or folder.CmsDriverManager.readPropertyObjects
(CmsDbContext dbc, CmsResource resource, boolean search) Reads all property objects mapped to a specified resource from the database.CmsSecurityManager.readPropertyObjects
(CmsRequestContext context, CmsResource resource, boolean search) Reads all property objects from a resource.I_CmsVfsDriver.readPropertyObjects
(CmsDbContext dbc, CmsProject project, CmsResource resource) Reads all property objects mapped to a specified resource from the database.Modifier and TypeMethodDescriptionvoid
CmsDriverManager.writePropertyObject
(CmsDbContext dbc, CmsResource resource, CmsProperty property) Writes a property for a specified resource.void
CmsSecurityManager.writePropertyObject
(CmsRequestContext context, CmsResource resource, CmsProperty property) Writes a property for a specified resource.void
I_CmsVfsDriver.writePropertyObject
(CmsDbContext dbc, CmsProject project, CmsResource resource, CmsProperty property) Writes a property object to the database mapped to a specified resource.Modifier and TypeMethodDescriptionCmsDriverManager.createResource
(CmsDbContext dbc, String resourcename, int type, byte[] content, List<CmsProperty> properties) Creates a new resource of the given resource type with the provided content and properties.CmsDriverManager.createResource
(CmsDbContext dbc, String resourcePath, CmsResource resource, byte[] content, List<CmsProperty> properties, boolean importCase) Creates a new resource with the provided content and properties.CmsSecurityManager.createResource
(CmsRequestContext context, String resourcename, int type, byte[] content, List<CmsProperty> properties) Creates a new resource of the given resource type with the provided content and properties.CmsSecurityManager.createResource
(CmsRequestContext context, String resourcePath, CmsResource resource, byte[] content, List<CmsProperty> properties) Creates a new resource with the provided content and properties.CmsDriverManager.createSibling
(CmsDbContext dbc, CmsResource source, String destination, List<CmsProperty> properties) Creates a new sibling of the source resource.CmsSecurityManager.createSibling
(CmsRequestContext context, CmsResource source, String destination, List<CmsProperty> properties) Creates a new sibling of the source resource.CmsSecurityManager.importResource
(CmsRequestContext context, String resourcePath, CmsResource resource, byte[] content, List<CmsProperty> properties, boolean importCase) Creates a new resource with the provided content and properties.void
CmsDriverManager.replaceResource
(CmsDbContext dbc, CmsResource resource, int type, byte[] content, List<CmsProperty> properties) Replaces the content, type and properties of a resource.void
CmsSecurityManager.replaceResource
(CmsRequestContext context, CmsResource resource, int type, byte[] content, List<CmsProperty> properties) Replaces the content, type and properties of a resource.void
I_CmsHistoryDriver.writeProperties
(CmsDbContext dbc, CmsResource resource, List<CmsProperty> properties, int publishTag) Writes the properties of a resource to the history.void
CmsDriverManager.writePropertyObjects
(CmsDbContext dbc, CmsResource resource, List<CmsProperty> properties, boolean updateState) Writes a list of properties for a specified resource.void
CmsSecurityManager.writePropertyObjects
(CmsRequestContext context, CmsResource resource, List<CmsProperty> properties) Writes a list of properties for a specified resource.void
I_CmsVfsDriver.writePropertyObjects
(CmsDbContext dbc, CmsProject project, CmsResource resource, List<CmsProperty> properties) Writes a list of property objects to the database mapped to a specified resource.void
I_CmsHistoryDriver.writeResource
(CmsDbContext dbc, CmsResource resource, List<CmsProperty> properties, int publishTag) Writes a resource to the history. -
Uses of CmsProperty in org.opencms.db.generic
Modifier and TypeMethodDescriptionCmsVfsDriver.readPropertyObject
(CmsDbContext dbc, String key, CmsProject project, CmsResource resource) Modifier and TypeMethodDescriptionCmsHistoryDriver.readProperties
(CmsDbContext dbc, I_CmsHistoryResource resource) CmsVfsDriver.readPropertyObjects
(CmsDbContext dbc, CmsProject project, CmsResource resource) Modifier and TypeMethodDescriptionprotected void
CmsUserDriver.internalWriteOrgUnitProperty
(CmsDbContext dbc, CmsResource resource, CmsProperty property) Writes a property for an organizational unit resource, online AND offline.void
CmsVfsDriver.writePropertyObject
(CmsDbContext dbc, CmsProject project, CmsResource resource, CmsProperty property) Modifier and TypeMethodDescriptionprotected void
CmsHistoryDriver.internalAddToPropMap
(Map<String, CmsProperty> propertyMap, I_CmsHistoryResource resource, String propertyKey, String propertyValue, int mappingType) Updates the property map for the given resource with the given property data.protected void
CmsProjectDriver.internalWriteHistory
(CmsDbContext dbc, CmsResource resource, CmsResourceState state, List<CmsProperty> properties, CmsUUID publishHistoryId, int publishTag) Writes the needed history entries.void
CmsHistoryDriver.writeProperties
(CmsDbContext dbc, CmsResource resource, List<CmsProperty> properties, int publishTag) void
CmsVfsDriver.writePropertyObjects
(CmsDbContext dbc, CmsProject project, CmsResource resource, List<CmsProperty> properties) void
CmsHistoryDriver.writeResource
(CmsDbContext dbc, CmsResource resource, List<CmsProperty> properties, int publishTag) -
Uses of CmsProperty in org.opencms.file
Modifier and TypeMethodDescriptionCmsProperty.clone()
Creates a clone of this property.CmsProperty.cloneAsProperty()
Creates a clone of this property that already is of type
.CmsProperty
static final CmsProperty
CmsProperty.get
(String name, List<CmsProperty> list) Searches in a list for the first occurrence of aCmsProperty
object with the given name.static final CmsProperty
CmsProperty.getNullProperty()
Returns the null property object.CmsObject.readPropertyObject
(String resourcePath, String property, boolean search) Reads a property object from a resource specified by a property name.CmsObject.readPropertyObject
(String resourcePath, String property, boolean search, Locale locale) Reads the locale specific version of a property object from a resource specified by a property name.CmsObject.readPropertyObject
(CmsResource resource, String property, boolean search) Reads a property object from a resource specified by a property name.CmsObject.readPropertyObject
(CmsResource resource, String property, boolean search, Locale locale) Reads the locale specific version of a property object from a resource specified by a property name.static CmsProperty
CmsProperty.wrapIfNull
(CmsProperty prop) Wraps a null value into a null property, and returns all other values unchanged.Modifier and TypeMethodDescriptionstatic Map<String,
CmsProperty> CmsProperty.getPropertyMap
(List<CmsProperty> list) Transforms a list of CmsProperty objects with structure and resource values into a map with CmsProperty object values keyed by property keys.CmsObject.readHistoryPropertyObjects
(I_CmsHistoryResource resource) Reads the list of all
objects that belong to the given historical resource version.CmsProperty
CmsObject.readPropertyObjects
(String resourcePath, boolean search) Reads all property objects from a resource.CmsObject.readPropertyObjects
(CmsResource resource, boolean search) Reads all property objects from a resource.static final List<CmsProperty>
CmsProperty.setAutoCreatePropertyDefinitions
(List<CmsProperty> list, boolean value) Calls
for each property object in the given List with the givensetAutoCreatePropertyDefinition(boolean)
value
parameter.static final List<CmsProperty>
CmsProperty.setFrozen
(List<CmsProperty> list) Calls
for eachsetFrozen(boolean)
CmsProperty
object in the given List if it is not already frozen.static List<CmsProperty>
Transforms a Map of String values into a list ofCmsProperty
objects with the property name set from the Map key, and the structure value set from the Map value.static Map<String,
CmsProperty> CmsProperty.toObjectMap
(Iterable<CmsProperty> properties) Stores a collection of properties in a map, with the property names as keys.Modifier and TypeMethodDescriptionint
CmsProperty.compareTo
(CmsProperty obj) Compares this property to another Object.boolean
CmsProperty.isIdentical
(CmsProperty property) Tests if a given CmsProperty is identical to this CmsProperty object.static CmsProperty
CmsProperty.wrapIfNull
(CmsProperty prop) Wraps a null value into a null property, and returns all other values unchanged.void
CmsObject.writePropertyObject
(String resourcename, CmsProperty property) Writes a property for a specified resource.Modifier and TypeMethodDescriptionCmsObject.createResource
(String resourcename, int type, byte[] content, List<CmsProperty> properties) Deprecated.CmsObject.createResource
(String sitePath, CmsResource resource, byte[] content, List<CmsProperty> properties) Creates a resource with the given properties and content.CmsObject.createResource
(String resourcename, I_CmsResourceType type, byte[] content, List<CmsProperty> properties) Creates a new resource of the given resource type with the provided content and properties.CmsObject.createSibling
(String source, String destination, List<CmsProperty> properties) Creates a new sibling of the source resource.static final CmsProperty
CmsProperty.get
(String name, List<CmsProperty> list) Searches in a list for the first occurrence of aCmsProperty
object with the given name.static String
CmsProperty.getLocaleSpecificPropertyValue
(Map<String, CmsProperty> propertiesMap, String key, Locale locale) Returns the value for the best matching local-specific property version.static Map<String,
CmsProperty> CmsProperty.getPropertyMap
(List<CmsProperty> list) Transforms a list of CmsProperty objects with structure and resource values into a map with CmsProperty object values keyed by property keys.CmsObject.importResource
(String resourcename, CmsResource resource, byte[] content, List<CmsProperty> properties) Imports a resource to the OpenCms VFS.CmsObject.importResource
(String resourcename, I_CmsReport report, CmsResource resource, byte[] content, List<CmsProperty> properties) Imports a resource to the OpenCms VFS.void
CmsObject.replaceResource
(String resourcename, int type, byte[] content, List<CmsProperty> properties) Deprecated.void
CmsObject.replaceResource
(String resourcename, I_CmsResourceType type, byte[] content, List<CmsProperty> properties) Replaces the content, type and properties of a resource.static final List<CmsProperty>
CmsProperty.setAutoCreatePropertyDefinitions
(List<CmsProperty> list, boolean value) Calls
for each property object in the given List with the givensetAutoCreatePropertyDefinition(boolean)
value
parameter.static final List<CmsProperty>
CmsProperty.setFrozen
(List<CmsProperty> list) Calls
for eachsetFrozen(boolean)
CmsProperty
object in the given List if it is not already frozen.CmsProperty.toMap
(List<CmsProperty> list) Transforms a list ofCmsProperty
objects into a Map which uses the property name as Map key (String), and the property value as Map value (String).static Map<String,
CmsProperty> CmsProperty.toObjectMap
(Iterable<CmsProperty> properties) Stores a collection of properties in a map, with the property names as keys.void
CmsObject.writePropertyObjects
(String resourcename, List<CmsProperty> properties) Writes a list of properties for a specified resource.void
CmsObject.writePropertyObjects
(CmsResource res, List<CmsProperty> properties) Writes a list of properties for a specified resource. -
Uses of CmsProperty in org.opencms.file.types
Modifier and TypeFieldDescriptionprotected List<CmsProperty>
A_CmsResourceType.m_defaultProperties
The list of configured default properties.Modifier and TypeMethodDescriptionA_CmsResourceType.getConfiguredDefaultProperties()
Returns the default properties for this resource type in an unmodifiable List.CmsResourceTypeLocaleIndependentXmlContent.getConfiguredDefaultProperties()
I_CmsResourceType.getConfiguredDefaultProperties()
Returns the configured default properties for this resource type in an unmodifiable List.CmsResourceTypeImage.CmsImageAdjuster.getProperties()
Returns the image properties.protected List<CmsProperty>
A_CmsResourceType.processDefaultProperties
(List<CmsProperty> properties, CmsMacroResolver resolver) Returns a list of property objects that are attached to the resource on creation.protected List<CmsProperty>
CmsResourceTypeImage.tryAddImageSizeFromSvg
(byte[] content, List<CmsProperty> properties) Tries to use the viewbox from the SVG data to determine the image size and add it to the list of properties.Modifier and TypeMethodDescriptionvoid
A_CmsResourceType.addDefaultProperty
(CmsProperty property) Adds a default property to this resource type, allowed only during the configuration phase.void
A_CmsResourceType.writePropertyObject
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsProperty property) void
I_CmsResourceType.writePropertyObject
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, CmsProperty property) Writes a property for a specified resource.Modifier and TypeMethodDescriptionA_CmsResourceType.createResource
(CmsObject cms, CmsSecurityManager securityManager, String resourcename, byte[] content, List<CmsProperty> properties) A_CmsResourceTypeFolderBase.createResource
(CmsObject cms, CmsSecurityManager securityManager, String resourcename, byte[] content, List<CmsProperty> properties) CmsResourceTypeImage.createResource
(CmsObject cms, CmsSecurityManager securityManager, String resourcename, byte[] content, List<CmsProperty> properties) CmsResourceTypeXmlContainerPage.createResource
(CmsObject cms, CmsSecurityManager securityManager, String resourcename, byte[] content, List<CmsProperty> properties) CmsResourceTypeXmlContent.createResource
(CmsObject cms, CmsSecurityManager securityManager, String resourcename, byte[] content, List<CmsProperty> properties) CmsResourceTypeXmlPage.createResource
(CmsObject cms, CmsSecurityManager securityManager, String resourcename, byte[] content, List<CmsProperty> properties) I_CmsResourceType.createResource
(CmsObject cms, CmsSecurityManager securityManager, String resourcename, byte[] content, List<CmsProperty> properties) Creates a new resource of the given resource type with the provided content and properties.A_CmsResourceType.createSibling
(CmsObject cms, CmsSecurityManager securityManager, CmsResource source, String destination, List<CmsProperty> properties) I_CmsResourceType.createSibling
(CmsObject cms, CmsSecurityManager securityManager, CmsResource source, String destination, List<CmsProperty> properties) Creates a new sibling of the source resource.protected Locale
CmsResourceTypeLocaleIndependentXmlContent.getLocaleForNewContent
(CmsObject cms, CmsSecurityManager securityManager, String resourcename, List<CmsProperty> properties) This overridden method ensures that configurations will always be created with an english locale node.protected Locale
CmsResourceTypeXmlAdeConfiguration.getLocaleForNewContent
(CmsObject cms, CmsSecurityManager securityManager, String resourcename, List<CmsProperty> properties) This overridden method ensures that configurations will always be created with an english locale node.protected Locale
CmsResourceTypeXmlContent.getLocaleForNewContent
(CmsObject cms, CmsSecurityManager securityManager, String resourcename, List<CmsProperty> properties) Gets the locale which should be used for creating an empty content.A_CmsResourceType.importResource
(CmsObject cms, CmsSecurityManager securityManager, I_CmsReport report, String resourcename, CmsResource resource, byte[] content, List<CmsProperty> properties) CmsResourceTypeImage.importResource
(CmsObject cms, CmsSecurityManager securityManager, I_CmsReport report, String resourcename, CmsResource resource, byte[] content, List<CmsProperty> properties) I_CmsResourceType.importResource
(CmsObject cms, CmsSecurityManager securityManager, I_CmsReport report, String resourcename, CmsResource resource, byte[] content, List<CmsProperty> properties) Imports a resource to the OpenCms VFS.protected List<CmsProperty>
A_CmsResourceType.processDefaultProperties
(List<CmsProperty> properties, CmsMacroResolver resolver) Returns a list of property objects that are attached to the resource on creation.void
A_CmsResourceType.replaceResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int type, byte[] content, List<CmsProperty> properties) void
A_CmsResourceType.replaceResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, I_CmsResourceType type, byte[] content, List<CmsProperty> properties) void
A_CmsResourceTypeFolderBase.replaceResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int type, byte[] content, List<CmsProperty> properties) void
CmsResourceTypeImage.replaceResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int type, byte[] content, List<CmsProperty> properties) void
CmsResourceTypeJsp.replaceResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int type, byte[] content, List<CmsProperty> properties) void
CmsResourceTypePlain.replaceResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int type, byte[] content, List<CmsProperty> properties) void
I_CmsResourceType.replaceResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, int type, byte[] content, List<CmsProperty> properties) void
I_CmsResourceType.replaceResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, I_CmsResourceType type, byte[] content, List<CmsProperty> properties) Replaces the content, type and properties of a resource.protected List<CmsProperty>
CmsResourceTypeImage.tryAddImageSizeFromSvg
(byte[] content, List<CmsProperty> properties) Tries to use the viewbox from the SVG data to determine the image size and add it to the list of properties.void
A_CmsResourceType.writePropertyObjects
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, List<CmsProperty> properties) void
I_CmsResourceType.writePropertyObjects
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, List<CmsProperty> properties) Writes a list of properties for a specified resource.ModifierConstructorDescriptionCmsImageAdjuster
(byte[] content, String rootPath, List<CmsProperty> properties, CmsImageScaler downScaler) Creates a new image data container. -
Uses of CmsProperty in org.opencms.file.wrapper
Modifier and TypeMethodDescriptionCmsObjectWrapper.readPropertyObject
(CmsResource resource, String property, boolean search) Delegate method forCmsObject.readPropertyObject(CmsResource, String, boolean)
.Modifier and TypeMethodDescriptionCmsObjectWrapper.readProperties
(String path) Reads the properties for a resource with a specific path, if it exists.Modifier and TypeMethodDescriptionA_CmsResourceExtensionWrapper.createResource
(CmsObject cms, String resourcename, int type, byte[] content, List<CmsProperty> properties) A_CmsResourceWrapper.createResource
(CmsObject cms, String resourcename, int type, byte[] content, List<CmsProperty> properties) CmsObjectWrapper.createResource
(String resourcename, int type, byte[] content, List<CmsProperty> properties) Creates a new resource of the given resource type with the provided content and properties.CmsResourceWrapperModules.createResource
(CmsObject cms, String resourcename, int type, byte[] content, List<CmsProperty> properties) CmsResourceWrapperModulesNonLazy.createResource
(CmsObject cms, String resourcename, int type, byte[] content, List<CmsProperty> properties) CmsResourceWrapperPreventCreateNameCI.createResource
(CmsObject cms, String resourcepath, int type, byte[] content, List<CmsProperty> properties) CmsResourceWrapperPreventCreateNameRegex.createResource
(CmsObject cms, String resourcepath, int type, byte[] content, List<CmsProperty> properties) CmsResourceWrapperPropertyFile.createResource
(CmsObject cms, String resourcename, int type, byte[] content, List<CmsProperty> properties) CmsResourceWrapperReplaceDeleted.createResource
(CmsObject cms, String resourcename, int type, byte[] content, List<CmsProperty> properties) CmsResourceWrapperXmlPage.createResource
(CmsObject cms, String resourcename, int type, byte[] content, List<CmsProperty> properties) I_CmsResourceWrapper.createResource
(CmsObject cms, String resourcename, int type, byte[] content, List<CmsProperty> properties) Creates a new resource of the given resource type with the provided content and properties.void
CmsObjectWrapper.writeProperties
(String path, Map<String, CmsProperty> props) Writes properties to the resource with the given path, if it exists -
Uses of CmsProperty in org.opencms.gwt
Modifier and TypeMethodDescriptionprotected Map<String,
CmsProperty> CmsGwtService.getPropertiesByName
(List<CmsProperty> properties) Converts a list of properties to a map.protected Map<String,
CmsProperty> CmsPropertyEditorHelper.getPropertiesByName
(List<CmsProperty> properties) Converts a list of properties to a map.Modifier and TypeMethodDescriptionprotected Map<String,
CmsClientProperty> CmsPropertyEditorHelper.convertProperties
(List<CmsProperty> properties) Converts CmsProperty objects to CmsClientProperty objects.protected Map<String,
CmsProperty> CmsGwtService.getPropertiesByName
(List<CmsProperty> properties) Converts a list of properties to a map.protected Map<String,
CmsProperty> CmsPropertyEditorHelper.getPropertiesByName
(List<CmsProperty> properties) Converts a list of properties to a map. -
Uses of CmsProperty in org.opencms.importexport
Modifier and TypeFieldDescriptionprotected Map<String,
List<CmsProperty>> A_CmsImport.m_linkPropertyStorage
Deprecated.Storage for all pointer properties which must be converted into links.protected Map<String,
CmsProperty> CmsImportVersion10.m_properties
The map of properties for current imported resource.Modifier and TypeMethodDescriptionprotected List<CmsProperty>
A_CmsImport.readPropertiesFromManifest
(org.dom4j.Element parentElement, List<String> ignoredPropertyKeys) Deprecated.Reads all properties below a specified parent element from themanifest.xml
.Modifier and TypeMethodDescriptionprotected boolean
CmsExport.isIgnoredProperty
(CmsProperty property) Checks if a property should be written to the export or not.Modifier and TypeMethodDescriptionprotected Locale
A_CmsImport.getLocale
(String destination, List<CmsProperty> properties) Deprecated.Returns the appropriate locale for the given destination.protected CmsResource
CmsImportVersion5.importResource
(String source, String destination, I_CmsResourceType type, String uuidstructure, String uuidresource, long datelastmodified, String userlastmodified, long datecreated, String usercreated, long datereleased, long dateexpired, String flags, List<CmsProperty> properties) Deprecated.Imports a resource (file or folder) into the cms. -
Uses of CmsProperty in org.opencms.module
Modifier and TypeMethodDescriptionCmsResourceImportData.getProperties()
Gets the map of properties, with property names as keys.ModifierConstructorDescriptionCmsResourceImportData
(CmsResource resource, String path, byte[] content, List<CmsProperty> properties, List<CmsAccessControlEntry> aces, List<CmsImportVersion10.RelationData> relationData, boolean hasStructureId, boolean hasDateLastModified, String typeName) Creats a new instance. -
Uses of CmsProperty in org.opencms.monitor
Modifier and TypeMethodDescriptionCmsMemoryMonitor.getCachedProperty
(String key) Returns the property cached with the given cache key ornull
if not found.Modifier and TypeMethodDescriptionCmsMemoryMonitor.getCachedPropertyList
(String key) Returns the property list cached with the given cache key ornull
if not found.Modifier and TypeMethodDescriptionvoid
CmsMemoryMonitor.cacheProperty
(String key, CmsProperty property) Caches the given property under the given cache key.Modifier and TypeMethodDescriptionvoid
CmsMemoryMonitor.cachePropertyList
(String key, List<CmsProperty> propertyList) Caches the given property list under the given cache key. -
Uses of CmsProperty in org.opencms.search.fields
Modifier and TypeMethodDescriptionprotected I_CmsSearchDocument
CmsSearchFieldConfiguration.appendAdditionalValuesToDcoument
(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extraction, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) Overriding this method allows to append some 'extra' values/fields to a document without overriding theCmsSearchFieldConfiguration.createDocument(org.opencms.file.CmsObject, org.opencms.file.CmsResource, org.opencms.search.I_CmsSearchIndex, org.opencms.search.extractors.I_CmsExtractionResult)
method itself.protected I_CmsSearchDocument
CmsSearchFieldConfiguration.appendCategories
(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) Extends the given document by resource category information based on properties.protected I_CmsSearchDocument
CmsSearchFieldConfigurationOldCategories.appendCategories
(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) Extends the given document by resource category information based on properties.protected I_CmsSearchDocument
CmsSearchFieldConfiguration.appendContentBlob
(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) Extends the given document by a field that contains the extracted content blob.protected I_CmsSearchDocument
CmsSearchFieldConfiguration.appendDates
(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) Extends the given document by fields for date of creation, content and last modification.protected I_CmsSearchDocument
CmsSearchFieldConfiguration.appendFieldMapping
(I_CmsSearchDocument document, CmsSearchField field, CmsObject cms, CmsResource resource, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) Extends the given document by the mappings for the given field.protected I_CmsSearchDocument
CmsSearchFieldConfiguration.appendFieldMappings
(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) Extends the given document by the configured field mappings.protected I_CmsSearchDocument
CmsSearchFieldConfiguration.appendFileSize
(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) Extends the given document by the "size" field.protected I_CmsSearchDocument
CmsSearchFieldConfiguration.appendLocales
(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extraction, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) Extends the given document by the "res_locales" field.protected I_CmsSearchDocument
CmsSearchFieldConfiguration.appendPath
(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) Extends the given document by fields for VFS path lookup.protected I_CmsSearchDocument
CmsSearchFieldConfiguration.appendProperties
(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extraction, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) Appends all direct properties, that are not empty or white space only to the document.protected I_CmsSearchDocument
CmsSearchFieldConfiguration.appendType
(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) Extends the given document by a field that contains the resource type name.CmsGeoCoordinateFieldMapping.getStringValue
(CmsObject cms, CmsResource res, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) CmsMacroResolvingSearchFieldMapping.getStringValue
(CmsObject cms, CmsResource res, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) Calls the super method and resolves macros in the returned value.CmsMacroSearchFieldMapping.getStringValue
(CmsObject cms, CmsResource res, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) CmsSearchFieldMapping.getStringValue
(CmsObject cms, CmsResource res, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) I_CmsSearchFieldMapping.getStringValue
(CmsObject cms, CmsResource res, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) Returns the String value extracted form the provided data according to the rules of this mapping type. -
Uses of CmsProperty in org.opencms.search.solr
Modifier and TypeMethodDescriptionprotected I_CmsSearchDocument
CmsSolrFieldConfiguration.appendAdditionalValuesToDcoument
(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) protected I_CmsSearchDocument
CmsSolrFieldConfiguration.appendDates
(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) protected I_CmsSearchDocument
CmsSolrFieldConfiguration.appendFieldMapping
(I_CmsSearchDocument document, CmsSearchField sfield, CmsObject cms, CmsResource resource, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) protected I_CmsSearchDocument
CmsSolrFieldConfiguration.appendFieldMappings
(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) protected I_CmsSearchDocument
CmsSolrFieldConfiguration.appendLocales
(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extraction, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) protected I_CmsSearchDocument
CmsSolrFieldConfiguration.appendProperties
(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extraction, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) -
Uses of CmsProperty in org.opencms.site.xmlsitemap
Modifier and TypeMethodDescriptionprotected static String
CmsXmlSitemapGenerator.getChangeFrequency
(List<CmsProperty> properties) Gets the change frequency for a sitemap entry from a list of properties.protected static double
CmsXmlSitemapGenerator.getPriority
(List<CmsProperty> properties) Gets the page priority from a list of properties.
CmsObject.createResource(String, I_CmsResourceType, byte[], List)
instead.