public interface NodeRepresentation
| Modifier and Type | Method and Description |
|---|---|
void |
addProperties(Collection<org.exoplatform.common.util.HierarchicalProperty> properties)
adds multivalued property.
|
void |
addProperty(org.exoplatform.common.util.HierarchicalProperty property)
adds single property.
|
String |
getContentEncoding() |
long |
getContentLenght() |
InputStream |
getInputStream() |
long |
getLastModified()
Get date of last modified if available.
|
String |
getMediaType() |
javax.jcr.Node |
getNode() |
Collection<org.exoplatform.common.util.HierarchicalProperty> |
getProperties(String name) |
org.exoplatform.common.util.HierarchicalProperty |
getProperty(String name) |
Collection<String> |
getPropertyNames() |
void |
removeProperty(String name)
removes property.
|
String getMediaType() throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionlong getContentLenght()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionString getContentEncoding()
InputStream getInputStream() throws IOException, javax.jcr.RepositoryException
IOExceptionjavax.jcr.RepositoryExceptionCollection<String> getPropertyNames() throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionorg.exoplatform.common.util.HierarchicalProperty getProperty(String name) throws javax.jcr.RepositoryException
name - the name of properties.javax.jcr.RepositoryExceptionCollection<org.exoplatform.common.util.HierarchicalProperty> getProperties(String name) throws javax.jcr.RepositoryException
name - the name of properties.javax.jcr.RepositoryExceptionvoid addProperty(org.exoplatform.common.util.HierarchicalProperty property)
throws javax.jcr.UnsupportedRepositoryOperationException
property - .javax.jcr.UnsupportedRepositoryOperationExceptionvoid addProperties(Collection<org.exoplatform.common.util.HierarchicalProperty> properties) throws javax.jcr.UnsupportedRepositoryOperationException
properties - .javax.jcr.UnsupportedRepositoryOperationExceptionvoid removeProperty(String name) throws javax.jcr.UnsupportedRepositoryOperationException
name - .javax.jcr.UnsupportedRepositoryOperationExceptionlong getLastModified()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionjavax.jcr.Node getNode()
Copyright © 2003–2021 eXo Platform SAS. All rights reserved.