程序包 | 说明 |
---|---|
org.opencms.cmis | |
org.opencms.db |
Low-level database connection and access functionality.
|
org.opencms.db.generic |
Generic (ANSI-SQL) implementation of the OpenCms database connector.
|
org.opencms.db.jpa | |
org.opencms.file |
This important package provides the methods to access the OpenCms VFS repository with the permissions
of an authenticated user.
|
org.opencms.file.types |
The implementations of the core resource types for the VFS are located here.
|
org.opencms.file.wrapper |
This package contains classes and interfaces used to access OpenCms through a wrapped
CmsObject . |
org.opencms.gwt |
Provides core support for GWT.
|
org.opencms.importexport |
Contains functions to import and export resources from the OpenCms VFS.
|
org.opencms.monitor |
Contains functions to monitor the OpenCms system status.
|
org.opencms.search.fields |
These classes control the mapping of the OpenCms content to the Lucene search fields.
|
org.opencms.search.galleries |
Implements the search functions for the OpenCms Gallery search index,
which is used by the Advanced Direct Edit (ADE) functions.
|
org.opencms.search.solr | |
org.opencms.site.xmlsitemap | |
org.opencms.workplace.commons |
Contains often used OpenCms Workplace dialogs, for example
for file operations, user preferences and project based operations like publishing.
|
org.opencms.workplace.explorer |
Contains the functions that generate the Workplace "Explorer" view, also contains
the "New resource" wizard.
|
限定符和类型 | 方法和说明 |
---|---|
protected java.util.List<CmsProperty> |
A_CmsCmisRepository.getOpenCmsProperties(java.util.Map<java.lang.String,org.apache.chemistry.opencmis.commons.data.PropertyData<?>> properties)
Helper method to create OpenCms property objects from a map of CMIS properties.
|
限定符和类型 | 方法和说明 |
---|---|
CmsProperty |
CmsDriverManager.readPropertyObject(CmsDbContext dbc,
CmsResource resource,
java.lang.String key,
boolean search)
Reads a property object from a resource specified by a property name.
|
CmsProperty |
I_CmsVfsDriver.readPropertyObject(CmsDbContext dbc,
java.lang.String key,
CmsProject project,
CmsResource resource)
Reads a property object from the database specified by it's key name mapped to a resource.
|
CmsProperty |
CmsSecurityManager.readPropertyObject(CmsRequestContext context,
CmsResource resource,
java.lang.String key,
boolean search)
Reads a property object from a resource specified by a property name.
|
限定符和类型 | 方法和说明 |
---|---|
java.util.List<CmsProperty> |
CmsDriverManager.readHistoryPropertyObjects(CmsDbContext dbc,
I_CmsHistoryResource historyResource)
Reads the list of all
objects that belongs to the given historical resource. |
java.util.List<CmsProperty> |
CmsSecurityManager.readHistoryPropertyObjects(CmsRequestContext context,
I_CmsHistoryResource resource)
Reads the list of all
objects that belong to the given historical resource. |
java.util.List<CmsProperty> |
I_CmsHistoryDriver.readProperties(CmsDbContext dbc,
I_CmsHistoryResource historicalResource)
Returns a list of all properties of a historical file or folder.
|
java.util.List<CmsProperty> |
I_CmsVfsDriver.readPropertyObjects(CmsDbContext dbc,
CmsProject project,
CmsResource resource)
Reads all property objects mapped to a specified resource from the database.
|
java.util.List<CmsProperty> |
CmsDriverManager.readPropertyObjects(CmsDbContext dbc,
CmsResource resource,
boolean search)
Reads all property objects mapped to a specified resource from the database.
|
java.util.List<CmsProperty> |
CmsSecurityManager.readPropertyObjects(CmsRequestContext context,
CmsResource resource,
boolean search)
Reads all property objects from a 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.
|
void |
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.
|
限定符和类型 | 方法和说明 |
---|---|
CmsResource |
CmsDriverManager.createResource(CmsDbContext dbc,
java.lang.String resourcePath,
CmsResource resource,
byte[] content,
java.util.List<CmsProperty> properties,
boolean importCase)
Creates a new resource with the provided content and properties.
|
CmsResource |
CmsDriverManager.createResource(CmsDbContext dbc,
java.lang.String resourcename,
int type,
byte[] content,
java.util.List<CmsProperty> properties)
Creates a new resource of the given resource type
with the provided content and properties.
|
CmsResource |
CmsSecurityManager.createResource(CmsRequestContext context,
java.lang.String resourcePath,
CmsResource resource,
byte[] content,
java.util.List<CmsProperty> properties)
Creates a new resource with the provided content and properties.
|
CmsResource |
CmsSecurityManager.createResource(CmsRequestContext context,
java.lang.String resourcename,
int type,
byte[] content,
java.util.List<CmsProperty> properties)
Creates a new resource of the given resource type with the provided content and properties.
|
CmsResource |
CmsDriverManager.createSibling(CmsDbContext dbc,
CmsResource source,
java.lang.String destination,
java.util.List<CmsProperty> properties)
Creates a new sibling of the source resource.
|
CmsResource |
CmsSecurityManager.createSibling(CmsRequestContext context,
CmsResource source,
java.lang.String destination,
java.util.List<CmsProperty> properties)
Creates a new sibling of the source resource.
|
CmsResource |
CmsSecurityManager.importResource(CmsRequestContext context,
java.lang.String resourcePath,
CmsResource resource,
byte[] content,
java.util.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,
java.util.List<CmsProperty> properties)
Replaces the content, type and properties of a resource.
|
void |
CmsSecurityManager.replaceResource(CmsRequestContext context,
CmsResource resource,
int type,
byte[] content,
java.util.List<CmsProperty> properties)
Replaces the content, type and properties of a resource.
|
void |
I_CmsHistoryDriver.writeProperties(CmsDbContext dbc,
CmsResource resource,
java.util.List<CmsProperty> properties,
int publishTag)
Writes the properties of a resource to the history.
|
void |
I_CmsVfsDriver.writePropertyObjects(CmsDbContext dbc,
CmsProject project,
CmsResource resource,
java.util.List<CmsProperty> properties)
Writes a list of property objects to the database mapped to a specified resource.
|
void |
CmsDriverManager.writePropertyObjects(CmsDbContext dbc,
CmsResource resource,
java.util.List<CmsProperty> properties,
boolean updateState)
Writes a list of properties for a specified resource.
|
void |
CmsSecurityManager.writePropertyObjects(CmsRequestContext context,
CmsResource resource,
java.util.List<CmsProperty> properties)
Writes a list of properties for a specified resource.
|
void |
I_CmsHistoryDriver.writeResource(CmsDbContext dbc,
CmsResource resource,
java.util.List<CmsProperty> properties,
int publishTag)
Writes a resource to the history.
|
限定符和类型 | 方法和说明 |
---|---|
CmsProperty |
CmsVfsDriver.readPropertyObject(CmsDbContext dbc,
java.lang.String key,
CmsProject project,
CmsResource resource) |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<CmsProperty> |
CmsHistoryDriver.readProperties(CmsDbContext dbc,
I_CmsHistoryResource resource) |
java.util.List<CmsProperty> |
CmsVfsDriver.readPropertyObjects(CmsDbContext dbc,
CmsProject project,
CmsResource resource) |
限定符和类型 | 方法和说明 |
---|---|
protected 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) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
CmsHistoryDriver.internalAddToPropMap(java.util.Map<java.lang.String,CmsProperty> propertyMap,
I_CmsHistoryResource resource,
java.lang.String propertyKey,
java.lang.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,
java.util.List<CmsProperty> properties,
CmsUUID publishHistoryId,
int publishTag)
Writes the needed history entries.
|
void |
CmsHistoryDriver.writeProperties(CmsDbContext dbc,
CmsResource resource,
java.util.List<CmsProperty> properties,
int publishTag) |
void |
CmsVfsDriver.writePropertyObjects(CmsDbContext dbc,
CmsProject project,
CmsResource resource,
java.util.List<CmsProperty> properties) |
void |
CmsHistoryDriver.writeResource(CmsDbContext dbc,
CmsResource resource,
java.util.List<CmsProperty> properties,
int publishTag) |
限定符和类型 | 方法和说明 |
---|---|
CmsProperty |
CmsVfsDriver.readPropertyObject(CmsDbContext dbc,
java.lang.String key,
CmsProject project,
CmsResource resource) |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<CmsProperty> |
CmsHistoryDriver.readProperties(CmsDbContext dbc,
I_CmsHistoryResource resource) |
java.util.List<CmsProperty> |
CmsVfsDriver.readPropertyObjects(CmsDbContext dbc,
CmsProject project,
CmsResource resource) |
限定符和类型 | 方法和说明 |
---|---|
protected 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) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
CmsHistoryDriver.internalAddToPropMap(java.util.Map<java.lang.String,CmsProperty> propertyMap,
I_CmsHistoryResource resource,
java.lang.String propertyKey,
java.lang.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,
java.util.List<CmsProperty> properties,
CmsUUID publishHistoryId,
int publishTag)
Writes the needed history entries.
|
void |
CmsHistoryDriver.writeProperties(CmsDbContext dbc,
CmsResource resource,
java.util.List<CmsProperty> properties,
int publishTag) |
void |
CmsVfsDriver.writePropertyObjects(CmsDbContext dbc,
CmsProject project,
CmsResource resource,
java.util.List<CmsProperty> properties) |
void |
CmsHistoryDriver.writeResource(CmsDbContext dbc,
CmsResource resource,
java.util.List<CmsProperty> properties,
int publishTag) |
限定符和类型 | 方法和说明 |
---|---|
CmsProperty |
CmsProperty.clone()
Creates a clone of this property.
|
CmsProperty |
CmsProperty.cloneAsProperty()
Creates a clone of this property that already is of type
. |
static CmsProperty |
CmsProperty.get(java.lang.String name,
java.util.List<CmsProperty> list)
Searches in a list for the first occurrence of a
CmsProperty object with the given name. |
static CmsProperty |
CmsProperty.getNullProperty()
Returns the null property object.
|
CmsProperty |
CmsObject.readPropertyObject(CmsResource resource,
java.lang.String property,
boolean search)
Reads a property object from a resource specified by a property name.
|
CmsProperty |
CmsObject.readPropertyObject(java.lang.String resourcePath,
java.lang.String property,
boolean search)
Reads a property object from a resource specified by a property name.
|
限定符和类型 | 方法和说明 |
---|---|
java.util.List<CmsProperty> |
CmsObject.readHistoryPropertyObjects(I_CmsHistoryResource resource)
Reads the list of all
objects that belong to the given historical resource version. |
java.util.List<CmsProperty> |
CmsObject.readPropertyObjects(CmsResource resource,
boolean search)
Reads all property objects from a resource.
|
java.util.List<CmsProperty> |
CmsObject.readPropertyObjects(java.lang.String resourcePath,
boolean search)
Reads all property objects from a resource.
|
static java.util.List<CmsProperty> |
CmsProperty.setAutoCreatePropertyDefinitions(java.util.List<CmsProperty> list,
boolean value)
Calls
for each
property object in the given List with the given value parameter. |
static java.util.List<CmsProperty> |
CmsProperty.setFrozen(java.util.List<CmsProperty> list)
Calls
for each
CmsProperty object in the given List if it is not already frozen. |
static java.util.List<CmsProperty> |
CmsProperty.toList(java.util.Map<java.lang.String,java.lang.String> map)
Transforms a Map of String values into a list of
CmsProperty objects with the property name set from the
Map key, and the structure value set from the Map value. |
static java.util.Map<java.lang.String,CmsProperty> |
CmsProperty.toObjectMap(java.lang.Iterable<CmsProperty> properties)
Stores a collection of properties in a map, with the property names as keys.
|
限定符和类型 | 方法和说明 |
---|---|
int |
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.
|
void |
CmsObject.writePropertyObject(java.lang.String resourcename,
CmsProperty property)
Writes a property for a specified resource.
|
限定符和类型 | 方法和说明 |
---|---|
CmsResource |
CmsObject.createResource(java.lang.String sitePath,
CmsResource resource,
byte[] content,
java.util.List<CmsProperty> properties)
Creates a resource with the given properties and content.
|
CmsResource |
CmsObject.createResource(java.lang.String resourcename,
int type,
byte[] content,
java.util.List<CmsProperty> properties)
Creates a new resource of the given resource type
with the provided content and properties.
|
CmsResource |
CmsObject.createSibling(java.lang.String source,
java.lang.String destination,
java.util.List<CmsProperty> properties)
Creates a new sibling of the source resource.
|
static CmsProperty |
CmsProperty.get(java.lang.String name,
java.util.List<CmsProperty> list)
Searches in a list for the first occurrence of a
CmsProperty object with the given name. |
CmsResource |
CmsObject.importResource(java.lang.String resourcename,
CmsResource resource,
byte[] content,
java.util.List<CmsProperty> properties)
Imports a resource to the OpenCms VFS.
|
void |
CmsObject.replaceResource(java.lang.String resourcename,
int type,
byte[] content,
java.util.List<CmsProperty> properties)
Replaces the content, type and properties of a resource.
|
static java.util.List<CmsProperty> |
CmsProperty.setAutoCreatePropertyDefinitions(java.util.List<CmsProperty> list,
boolean value)
Calls
for each
property object in the given List with the given value parameter. |
static java.util.List<CmsProperty> |
CmsProperty.setFrozen(java.util.List<CmsProperty> list)
Calls
for each
CmsProperty object in the given List if it is not already frozen. |
static java.util.Map<java.lang.String,java.lang.String> |
CmsProperty.toMap(java.util.List<CmsProperty> list)
Transforms a list of
CmsProperty objects into a Map which uses the property name as
Map key (String), and the property value as Map value (String). |
static java.util.Map<java.lang.String,CmsProperty> |
CmsProperty.toObjectMap(java.lang.Iterable<CmsProperty> properties)
Stores a collection of properties in a map, with the property names as keys.
|
void |
CmsObject.writePropertyObjects(CmsResource res,
java.util.List<CmsProperty> properties)
Writes a list of properties for a specified resource.
|
void |
CmsObject.writePropertyObjects(java.lang.String resourcename,
java.util.List<CmsProperty> properties)
Writes a list of properties for a specified resource.
|
限定符和类型 | 字段和说明 |
---|---|
protected java.util.List<CmsProperty> |
A_CmsResourceType.m_defaultProperties
The list of configured default properties.
|
限定符和类型 | 方法和说明 |
---|---|
java.util.List<CmsProperty> |
I_CmsResourceType.getConfiguredDefaultProperties()
Returns the configured default properties for this resource type in an unmodifiable List.
|
java.util.List<CmsProperty> |
A_CmsResourceType.getConfiguredDefaultProperties()
Returns the default properties for this resource type in an unmodifiable List.
|
java.util.List<CmsProperty> |
CmsResourceTypeImage.CmsImageAdjuster.getProperties()
Returns the image properties.
|
protected java.util.List<CmsProperty> |
A_CmsResourceType.processDefaultProperties(java.util.List<CmsProperty> properties,
CmsMacroResolver resolver)
Returns a list of property objects that are attached to the resource on creation.
|
限定符和类型 | 方法和说明 |
---|---|
void |
A_CmsResourceType.addDefaultProperty(CmsProperty property)
Adds a default property to this resource type,
allowed only during the configuration phase.
|
void |
I_CmsResourceType.writePropertyObject(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
CmsProperty property)
Writes a property for a specified resource.
|
void |
A_CmsResourceType.writePropertyObject(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
CmsProperty property) |
限定符和类型 | 方法和说明 |
---|---|
CmsResource |
CmsResourceTypeXmlContent.createResource(CmsObject cms,
CmsSecurityManager securityManager,
java.lang.String resourcename,
byte[] content,
java.util.List<CmsProperty> properties) |
CmsResource |
I_CmsResourceType.createResource(CmsObject cms,
CmsSecurityManager securityManager,
java.lang.String resourcename,
byte[] content,
java.util.List<CmsProperty> properties)
Creates a new resource of the given resource type
with the provided content and properties.
|
CmsResource |
A_CmsResourceTypeFolderBase.createResource(CmsObject cms,
CmsSecurityManager securityManager,
java.lang.String resourcename,
byte[] content,
java.util.List<CmsProperty> properties) |
CmsResource |
CmsResourceTypeImage.createResource(CmsObject cms,
CmsSecurityManager securityManager,
java.lang.String resourcename,
byte[] content,
java.util.List<CmsProperty> properties) |
CmsResource |
A_CmsResourceType.createResource(CmsObject cms,
CmsSecurityManager securityManager,
java.lang.String resourcename,
byte[] content,
java.util.List<CmsProperty> properties) |
CmsResource |
CmsResourceTypeXmlContainerPage.createResource(CmsObject cms,
CmsSecurityManager securityManager,
java.lang.String resourcename,
byte[] content,
java.util.List<CmsProperty> properties) |
CmsResource |
I_CmsResourceType.createSibling(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource source,
java.lang.String destination,
java.util.List<CmsProperty> properties)
Creates a new sibling of the source resource.
|
CmsResource |
A_CmsResourceType.createSibling(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource source,
java.lang.String destination,
java.util.List<CmsProperty> properties) |
protected java.util.Locale |
CmsResourceTypeXmlContent.getLocaleForNewContent(CmsObject cms,
CmsSecurityManager securityManager,
java.lang.String resourcename,
java.util.List<CmsProperty> properties)
Gets the locale which should be used for creating an empty content.
|
protected java.util.Locale |
CmsResourceTypeXmlAdeConfiguration.getLocaleForNewContent(CmsObject cms,
CmsSecurityManager securityManager,
java.lang.String resourcename,
java.util.List<CmsProperty> properties)
This overridden method ensures that configurations will always be created with an english locale node.
|
CmsResource |
I_CmsResourceType.importResource(CmsObject cms,
CmsSecurityManager securityManager,
java.lang.String resourcename,
CmsResource resource,
byte[] content,
java.util.List<CmsProperty> properties)
Imports a resource to the OpenCms VFS.
|
CmsResource |
CmsResourceTypeImage.importResource(CmsObject cms,
CmsSecurityManager securityManager,
java.lang.String resourcename,
CmsResource resource,
byte[] content,
java.util.List<CmsProperty> properties) |
CmsResource |
A_CmsResourceType.importResource(CmsObject cms,
CmsSecurityManager securityManager,
java.lang.String resourcename,
CmsResource resource,
byte[] content,
java.util.List<CmsProperty> properties) |
protected java.util.List<CmsProperty> |
A_CmsResourceType.processDefaultProperties(java.util.List<CmsProperty> properties,
CmsMacroResolver resolver)
Returns a list of property objects that are attached to the resource on creation.
|
void |
I_CmsResourceType.replaceResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
int type,
byte[] content,
java.util.List<CmsProperty> properties)
Replaces the content, type and properties of a resource.
|
void |
A_CmsResourceTypeFolderBase.replaceResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
int type,
byte[] content,
java.util.List<CmsProperty> properties) |
void |
CmsResourceTypeImage.replaceResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
int type,
byte[] content,
java.util.List<CmsProperty> properties) |
void |
CmsResourceTypeJsp.replaceResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
int type,
byte[] content,
java.util.List<CmsProperty> properties) |
void |
A_CmsResourceType.replaceResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
int type,
byte[] content,
java.util.List<CmsProperty> properties) |
void |
CmsResourceTypePlain.replaceResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
int type,
byte[] content,
java.util.List<CmsProperty> properties) |
void |
I_CmsResourceType.writePropertyObjects(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
java.util.List<CmsProperty> properties)
Writes a list of properties for a specified resource.
|
void |
A_CmsResourceType.writePropertyObjects(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
java.util.List<CmsProperty> properties) |
构造器和说明 |
---|
CmsResourceTypeImage.CmsImageAdjuster(byte[] content,
java.lang.String rootPath,
java.util.List<CmsProperty> properties,
CmsImageScaler downScaler)
Creates a new image data container.
|
限定符和类型 | 方法和说明 |
---|---|
CmsProperty |
CmsObjectWrapper.readPropertyObject(CmsResource resource,
java.lang.String property,
boolean search)
Delegate method for
CmsObject.readPropertyObject(CmsResource, String, boolean) . |
限定符和类型 | 方法和说明 |
---|---|
CmsResource |
I_CmsResourceWrapper.createResource(CmsObject cms,
java.lang.String resourcename,
int type,
byte[] content,
java.util.List<CmsProperty> properties)
Creates a new resource of the given resource type
with the provided content and properties.
|
CmsResource |
CmsResourceWrapperPreventCreateNameCI.createResource(CmsObject cms,
java.lang.String resourcepath,
int type,
byte[] content,
java.util.List<CmsProperty> properties) |
CmsResource |
CmsResourceWrapperReplaceDeleted.createResource(CmsObject cms,
java.lang.String resourcename,
int type,
byte[] content,
java.util.List<CmsProperty> properties) |
CmsResource |
CmsResourceWrapperPropertyFile.createResource(CmsObject cms,
java.lang.String resourcename,
int type,
byte[] content,
java.util.List<CmsProperty> properties) |
CmsResource |
CmsResourceWrapperXmlPage.createResource(CmsObject cms,
java.lang.String resourcename,
int type,
byte[] content,
java.util.List<CmsProperty> properties) |
CmsResource |
A_CmsResourceWrapper.createResource(CmsObject cms,
java.lang.String resourcename,
int type,
byte[] content,
java.util.List<CmsProperty> properties) |
CmsResource |
A_CmsResourceExtensionWrapper.createResource(CmsObject cms,
java.lang.String resourcename,
int type,
byte[] content,
java.util.List<CmsProperty> properties) |
CmsResource |
CmsObjectWrapper.createResource(java.lang.String resourcename,
int type,
byte[] content,
java.util.List<CmsProperty> properties)
Creates a new resource of the given resource type with the provided content and properties.
|
限定符和类型 | 方法和说明 |
---|---|
protected java.util.Map<java.lang.String,CmsProperty> |
CmsGwtService.getPropertiesByName(java.util.List<CmsProperty> properties)
Converts a list of properties to a map.
|
限定符和类型 | 方法和说明 |
---|---|
protected java.util.Map<java.lang.String,CmsClientProperty> |
CmsVfsService.convertProperties(java.util.List<CmsProperty> properties)
Converts CmsProperty objects to CmsClientProperty objects.
|
protected java.util.Map<java.lang.String,CmsProperty> |
CmsGwtService.getPropertiesByName(java.util.List<CmsProperty> properties)
Converts a list of properties to a map.
|
限定符和类型 | 字段和说明 |
---|---|
protected java.util.Map<java.lang.String,java.util.List<CmsProperty>> |
A_CmsImport.m_linkPropertyStorage
已过时。
Storage for all pointer properties which must be converted into links.
|
限定符和类型 | 方法和说明 |
---|---|
protected java.util.List<CmsProperty> |
A_CmsImport.readPropertiesFromManifest(org.dom4j.Element parentElement,
java.util.List<java.lang.String> ignoredPropertyKeys)
已过时。
Reads all properties below a specified parent element from the
manifest.xml . |
限定符和类型 | 方法和说明 |
---|---|
protected boolean |
CmsExport.isIgnoredProperty(CmsProperty property)
Checks if a property should be written to the export or not.
|
限定符和类型 | 方法和说明 |
---|---|
protected java.util.Locale |
A_CmsImport.getLocale(java.lang.String destination,
java.util.List<CmsProperty> properties)
已过时。
Returns the appropriate locale for the given destination.
|
protected CmsResource |
CmsImportVersion5.importResource(java.lang.String source,
java.lang.String destination,
I_CmsResourceType type,
java.lang.String uuidstructure,
java.lang.String uuidresource,
long datelastmodified,
java.lang.String userlastmodified,
long datecreated,
java.lang.String usercreated,
long datereleased,
long dateexpired,
java.lang.String flags,
java.util.List<CmsProperty> properties)
已过时。
Imports a resource (file or folder) into the cms.
|
限定符和类型 | 方法和说明 |
---|---|
CmsProperty |
CmsMemoryMonitor.getCachedProperty(java.lang.String key)
Returns the property cached with the given cache key or
null if not found. |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<CmsProperty> |
CmsMemoryMonitor.getCachedPropertyList(java.lang.String key)
Returns the property list cached with the given cache key or
null if not found. |
限定符和类型 | 方法和说明 |
---|---|
void |
CmsMemoryMonitor.cacheProperty(java.lang.String key,
CmsProperty property)
Caches the given property under the given cache key.
|
限定符和类型 | 方法和说明 |
---|---|
void |
CmsMemoryMonitor.cachePropertyList(java.lang.String key,
java.util.List<CmsProperty> propertyList)
Caches the given property list under the given cache key.
|
限定符和类型 | 方法和说明 |
---|---|
protected I_CmsSearchDocument |
CmsSearchFieldConfigurationOldCategories.appendCategories(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.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,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Extends the given document by resource category information based on properties.
|
protected I_CmsSearchDocument |
CmsSearchFieldConfiguration.appendCategories(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Extends the given document by resource category information based on properties.
|
protected I_CmsSearchDocument |
CmsSearchFieldConfiguration.appendCategories(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.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,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Extends the given document by a field that contains the extracted content blob.
|
protected I_CmsSearchDocument |
CmsSearchFieldConfiguration.appendContentBlob(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.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,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Extends the given document by fields for date of creation, content and last modification.
|
protected I_CmsSearchDocument |
CmsSearchFieldConfiguration.appendDates(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.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,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Extends the given document by the mappings for the given field.
|
protected I_CmsSearchDocument |
CmsSearchFieldConfiguration.appendFieldMapping(I_CmsSearchDocument document,
CmsSearchField field,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.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,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Extends the given document by the configured field mappings.
|
protected I_CmsSearchDocument |
CmsSearchFieldConfiguration.appendFieldMappings(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Extends the given document by the configured field mappings.
|
I_CmsSearchDocument |
I_CmsSearchFieldAppdender.appendFields(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Can append one or more fields to an document.
|
I_CmsSearchDocument |
I_CmsSearchFieldAppdender.appendFields(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Can append one or more fields to an document.
|
I_CmsSearchDocument |
CmsSearchFieldConfiguration.appendFields(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Appends the specific search fields to the document.
|
I_CmsSearchDocument |
CmsSearchFieldConfiguration.appendFields(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Appends the specific search fields to the document.
|
protected I_CmsSearchDocument |
CmsSearchFieldConfiguration.appendFileSize(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Extends the given document by the "size" field.
|
protected I_CmsSearchDocument |
CmsSearchFieldConfiguration.appendFileSize(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.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,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Extends the given document by the "res_locales" field.
|
protected I_CmsSearchDocument |
CmsSearchFieldConfiguration.appendLocales(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extraction,
java.util.List<CmsProperty> properties,
java.util.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,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Extends the given document by fields for VFS path lookup.
|
protected I_CmsSearchDocument |
CmsSearchFieldConfiguration.appendPath(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.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,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Appends all direct properties, that are not empty or white space only to the document.
|
protected I_CmsSearchDocument |
CmsSearchFieldConfiguration.appendProperties(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extraction,
java.util.List<CmsProperty> properties,
java.util.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,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Extends the given document by a field that contains the resource type name.
|
protected I_CmsSearchDocument |
CmsSearchFieldConfiguration.appendType(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Extends the given document by a field that contains the resource type name.
|
java.lang.String |
I_CmsSearchFieldMapping.getStringValue(CmsObject cms,
CmsResource res,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Returns the String value extracted form the provided data according to the rules of this mapping type.
|
java.lang.String |
I_CmsSearchFieldMapping.getStringValue(CmsObject cms,
CmsResource res,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Returns the String value extracted form the provided data according to the rules of this mapping type.
|
java.lang.String |
CmsSearchFieldMapping.getStringValue(CmsObject cms,
CmsResource res,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched) |
java.lang.String |
CmsSearchFieldMapping.getStringValue(CmsObject cms,
CmsResource res,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched) |
protected I_CmsSearchDocument |
CmsSearchFieldConfiguration.setBoost(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Extends the given document with a boost factor.
|
protected I_CmsSearchDocument |
CmsSearchFieldConfiguration.setBoost(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Extends the given document with a boost factor.
|
限定符和类型 | 方法和说明 |
---|---|
protected I_CmsSearchDocument |
CmsGallerySearchFieldConfiguration.appendFieldMappings(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Extends the given document by the configured field mappings.
|
protected I_CmsSearchDocument |
CmsGallerySearchFieldConfiguration.appendFieldMappings(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Extends the given document by the configured field mappings.
|
protected I_CmsSearchDocument |
CmsGallerySearchFieldConfiguration.appendMultipleFieldMapping(I_CmsSearchDocument document,
CmsSearchField field,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Extends the given document by the gallery index special multiple language filed mappings for the given field.
|
protected I_CmsSearchDocument |
CmsGallerySearchFieldConfiguration.appendMultipleFieldMapping(I_CmsSearchDocument document,
CmsSearchField field,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Extends the given document by the gallery index special multiple language filed mappings for the given field.
|
static java.lang.String |
CmsGallerySearchInfoProvider.getAdditionalInfo(CmsObject cms,
CmsResource res,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Provides additional information to be stored in the gallery search index.
|
static java.lang.String |
CmsGallerySearchInfoProvider.getAdditionalInfo(CmsObject cms,
CmsResource res,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Provides additional information to be stored in the gallery search index.
|
static java.lang.String |
CmsGallerySearchInfoProvider.getContainerTypes(CmsObject cms,
CmsResource res,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Provides the container types to be stored in the gallery search index.
|
static java.lang.String |
CmsGallerySearchInfoProvider.getContainerTypes(CmsObject cms,
CmsResource res,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Provides the container types to be stored in the gallery search index.
|
java.lang.String |
CmsGallerySearchFieldMapping.getStringValue(CmsObject cms,
CmsResource res,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Returns the String value extracted form the provided data according to the rules of this mapping type.
|
java.lang.String |
CmsGallerySearchFieldMapping.getStringValue(CmsObject cms,
CmsResource res,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Returns the String value extracted form the provided data according to the rules of this mapping type.
|
限定符和类型 | 方法和说明 |
---|---|
protected I_CmsSearchDocument |
CmsSolrFieldConfiguration.appendDates(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched) |
protected I_CmsSearchDocument |
CmsSolrFieldConfiguration.appendDates(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched) |
protected I_CmsSearchDocument |
CmsSolrFieldConfiguration.appendFieldMapping(I_CmsSearchDocument document,
CmsSearchField sfield,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched) |
protected I_CmsSearchDocument |
CmsSolrFieldConfiguration.appendFieldMapping(I_CmsSearchDocument document,
CmsSearchField sfield,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched) |
protected I_CmsSearchDocument |
CmsSolrFieldConfiguration.appendFieldMappings(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched) |
protected I_CmsSearchDocument |
CmsSolrFieldConfiguration.appendFieldMappings(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched) |
I_CmsSearchDocument |
CmsSolrFieldConfiguration.appendFields(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Appends the Solr specific search fields to the document.
|
I_CmsSearchDocument |
CmsSolrFieldConfiguration.appendFields(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Appends the Solr specific search fields to the document.
|
protected I_CmsSearchDocument |
CmsSolrFieldConfiguration.appendLocales(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extraction,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched) |
protected I_CmsSearchDocument |
CmsSolrFieldConfiguration.appendLocales(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extraction,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched) |
protected I_CmsSearchDocument |
CmsSolrFieldConfiguration.appendProperties(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extraction,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched) |
protected I_CmsSearchDocument |
CmsSolrFieldConfiguration.appendProperties(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extraction,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched) |
限定符和类型 | 方法和说明 |
---|---|
protected static java.lang.String |
CmsXmlSitemapGenerator.getChangeFrequency(java.util.List<CmsProperty> properties)
Gets the change frequency for a sitemap entry from a list of properties.
|
限定符和类型 | 方法和说明 |
---|---|
static java.util.Map<java.lang.String,CmsProperty> |
CmsPropertyAdvanced.getPropertyMap(java.util.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.
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
CmsCommentImages.writeProperty(CmsResource res,
java.lang.String propName,
java.lang.String propValue,
CmsProperty currentProperty)
Writes a property value for a resource, if the value was changed.
|
protected void |
CmsDialogMultiPropertyEdit.writeProperty(CmsResource res,
java.lang.String propName,
java.lang.String propValue,
CmsProperty currentProperty)
Writes a property value for a resource, if the value was changed.
|
限定符和类型 | 方法和说明 |
---|---|
static java.util.Map<java.lang.String,CmsProperty> |
CmsPropertyAdvanced.getPropertyMap(java.util.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.
|
限定符和类型 | 方法和说明 |
---|---|
protected static CmsProperty |
CmsNewResource.createPropertyObject(java.lang.String name,
java.lang.String value)
Creates a single property object and sets the value individual or shared depending on the OpenCms settings.
|
限定符和类型 | 方法和说明 |
---|---|
protected static java.util.List<CmsProperty> |
CmsNewResource.createResourceProperties(CmsObject cms,
java.lang.String resourceName,
java.lang.String resTypeName,
java.lang.String title)
Returns the properties to create automatically with the new VFS resource.
|
protected java.util.List<CmsProperty> |
CmsNewResource.createResourceProperties(java.lang.String resourceName,
java.lang.String resTypeName,
java.lang.String title)
Returns the properties to create automatically with the new VFS resource.
|