public class WebdavPropertyManager
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| static java.util.Map<java.lang.String,java.util.Map<java.lang.String,WebdavProperty>> | memoryPropertiesThis is an in Memory Property manager used to handle
 PROPPATCH even if JCMS will handle it | 
| Constructor and Description | 
|---|
| WebdavPropertyManager() | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | addProperty(WebdavProperty property,
           java.lang.String resourcePath)Add a property for the given resource path | 
| static void | copyProperties(java.lang.String sourcePath,
              java.lang.String targetPath)Copy all properties from a given resource to another. | 
| static java.util.Set<WebdavProperty> | getProperties(java.lang.String resourcePath)Return all the properties for a given resource | 
| static WebdavProperty | getProperty(WebdavProperty propertyModel,
           java.lang.String resourcePath)Retrieve the in memory property instance matching the specified property model for the given resource path | 
| static void | moveProperties(java.lang.String sourcePath,
              java.lang.String targetPath)Move all properties from a given resource to another. | 
| static void | removeProperties(java.lang.String resourcePath)Remove all properties for a given resource | 
| static void | removeProperty(WebdavProperty property,
              java.lang.String resourcePath)Remove a property for the given resource path | 
| static void | setProperties(java.lang.String resourcePath,
             java.util.Set<WebdavProperty> properties)Overrided properties for a given resource path | 
public static final java.util.Map<java.lang.String,java.util.Map<java.lang.String,WebdavProperty>> memoryProperties
public static void addProperty(WebdavProperty property, java.lang.String resourcePath)
property - the property to addresourcePath - the path of the resourcepublic static WebdavProperty getProperty(WebdavProperty propertyModel, java.lang.String resourcePath)
propertyModel - the property to find (its value is not used)resourcePath - the path of the resourcepublic static void removeProperty(WebdavProperty property, java.lang.String resourcePath)
property - the property to removeresourcePath - the path of the resourcepublic static void setProperties(java.lang.String resourcePath,
                                 java.util.Set<WebdavProperty> properties)
resourcePath - the path of the resourceproperties - the Map of propertiespublic static java.util.Set<WebdavProperty> getProperties(java.lang.String resourcePath)
resourcePath - the path of the resourcepublic static void removeProperties(java.lang.String resourcePath)
resourcePath - the path of the resourcepublic static void moveProperties(java.lang.String sourcePath,
                                  java.lang.String targetPath)
sourcePath - the path of the source resource from which properties will be removedtargetPath - the path of the target resource to which properties will be addedpublic static void copyProperties(java.lang.String sourcePath,
                                  java.lang.String targetPath)
sourcePath - the path of the source resource from which properties are copiedtargetPath - the path of the target resource to which properties will be addedCopyright © 2001-2019 Jalios SA. All Rights Reserved.