| org.apache.cocoon.components.repository.helpers.RepositoryPropertyHelper
All known Subclasses: org.apache.cocoon.components.repository.impl.WebDAVRepositoryPropertyHelper,
RepositoryPropertyHelper | public interface RepositoryPropertyHelper (Code) | | A property helper interface intended to be used
by flowscripts or corresponding wrapper components.
|
Method Summary | |
List | getAllProperties(String uri) get all properties
Parameters: uri - the uri of the resource. | Map | getProperties(String uri, Set propNames) get multiple properties
Parameters: uri - the uri of the resource. Parameters: propNames - a Set containing the property names. | SourceProperty | getProperty(String uri, String name, String namespace) get a single property
Parameters: uri - the uri of the resource. Parameters: name - the name of the property. Parameters: namespace - the namespace of the property. | boolean | setProperties(String uri, Map properties) set multiple properties
Parameters: uri - the uri of the resource. Parameters: properties - a Map containing the properties to set. | boolean | setProperty(String uri, String name, String namespace, String value) set a single property to a String value
Parameters: uri - the uri of the resource. Parameters: name - the name of the property. Parameters: namespace - the namespace of the property. Parameters: value - the String value to set the property to. | boolean | setProperty(String uri, String name, String namespace, Node value) set a single property to a W3C Node value
Parameters: uri - the uri of the resource. Parameters: name - the name of the property. Parameters: namespace - the namespace of the property. Parameters: value - the DOM value to set the property to. |
getProperties | Map getProperties(String uri, Set propNames) throws ProcessingException(Code) | | get multiple properties
Parameters: uri - the uri of the resource. Parameters: propNames - a Set containing the property names. a Map containing the property values. throws: ProcessingException - |
setProperties | boolean setProperties(String uri, Map properties) throws ProcessingException(Code) | | set multiple properties
Parameters: uri - the uri of the resource. Parameters: properties - a Map containing the properties to set. a boolean indicating success. throws: ProcessingException - |
setProperty | boolean setProperty(String uri, String name, String namespace, String value) throws ProcessingException(Code) | | set a single property to a String value
Parameters: uri - the uri of the resource. Parameters: name - the name of the property. Parameters: namespace - the namespace of the property. Parameters: value - the String value to set the property to. a boolean indicating success. throws: ProcessingException - |
setProperty | boolean setProperty(String uri, String name, String namespace, Node value) throws ProcessingException(Code) | | set a single property to a W3C Node value
Parameters: uri - the uri of the resource. Parameters: name - the name of the property. Parameters: namespace - the namespace of the property. Parameters: value - the DOM value to set the property to. a boolean indicating success. throws: ProcessingException - |
|
|