|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jalios.jcms.webdav.WebdavPropertyManager
public class WebdavPropertyManager
Field Summary | |
---|---|
static Map<String,Map<String,WebdavProperty>> |
memoryProperties
This is an in Memory Property manager used to handle PROPPATCH even if JCMS will handle it |
Constructor Summary | |
---|---|
WebdavPropertyManager()
|
Method Summary | |
---|---|
static void |
addProperty(WebdavProperty property,
String resourcePath)
Add a property for the given resource path |
static void |
copyProperties(String sourcePath,
String targetPath)
Copy all properties from a given resource to another. |
static Set<WebdavProperty> |
getProperties(String resourcePath)
Return all the properties for a given resource |
static WebdavProperty |
getProperty(WebdavProperty propertyModel,
String resourcePath)
Retrieve the in memory property instance matching the specified property model for the given resource path |
static void |
moveProperties(String sourcePath,
String targetPath)
Move all properties from a given resource to another. |
static void |
removeProperties(String resourcePath)
Remove all properties for a given resource |
static void |
removeProperty(WebdavProperty property,
String resourcePath)
Remove a property for the given resource path |
static void |
setProperties(String resourcePath,
Set<WebdavProperty> properties)
Overrided properties for a given resource path |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Map<String,Map<String,WebdavProperty>> memoryProperties
Constructor Detail |
---|
public WebdavPropertyManager()
Method Detail |
---|
public static void addProperty(WebdavProperty property, String resourcePath)
property
- the property to addresourcePath
- the path of the resourcepublic static WebdavProperty getProperty(WebdavProperty propertyModel, String resourcePath)
propertyModel
- the property to find (its value is not used)resourcePath
- the path of the resource
public static void removeProperty(WebdavProperty property, String resourcePath)
property
- the property to removeresourcePath
- the path of the resourcepublic static void setProperties(String resourcePath, Set<WebdavProperty> properties)
resourcePath
- the path of the resourceproperties
- the Map of propertiespublic static Set<WebdavProperty> getProperties(String resourcePath)
resourcePath
- the path of the resource
public static void removeProperties(String resourcePath)
resourcePath
- the path of the resourcepublic static void moveProperties(String sourcePath, 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(String sourcePath, 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 added
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |