|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.jcr.ext.resource.AbstractXMLViewNodeRepresentation
public abstract class AbstractXMLViewNodeRepresentation
Created by The eXo Platform SAS .
| Field Summary | |
|---|---|
protected boolean |
isSystem
|
| Constructor Summary | |
|---|---|
protected |
AbstractXMLViewNodeRepresentation(javax.jcr.Node node)
AbstractXMLViewNodeRepresentation. |
| Method Summary | |
|---|---|
void |
addProperties(java.util.Collection<org.exoplatform.common.util.HierarchicalProperty> properties)
adds multivalued property. |
void |
addProperty(org.exoplatform.common.util.HierarchicalProperty property)
adds single property. |
java.lang.String |
getContentEncoding()
|
long |
getContentLenght()
|
java.io.InputStream |
getInputStream()
|
long |
getLastModified()
Get date of last modified if available. |
java.lang.String |
getMediaType()
|
javax.jcr.Node |
getNode()
|
java.util.Collection<org.exoplatform.common.util.HierarchicalProperty> |
getProperties(java.lang.String name)
|
org.exoplatform.common.util.HierarchicalProperty |
getProperty(java.lang.String name)
|
java.util.Collection<java.lang.String> |
getPropertyNames()
|
void |
removeProperty(java.lang.String name)
removes property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean isSystem
| Constructor Detail |
|---|
protected AbstractXMLViewNodeRepresentation(javax.jcr.Node node)
node - | Method Detail |
|---|
public java.lang.String getContentEncoding()
getContentEncoding in interface NodeRepresentation
public long getContentLenght()
throws javax.jcr.RepositoryException
getContentLenght in interface NodeRepresentationjavax.jcr.RepositoryException
public java.lang.String getMediaType()
throws javax.jcr.RepositoryException
getMediaType in interface NodeRepresentationjavax.jcr.RepositoryException
public long getLastModified()
throws javax.jcr.RepositoryException
NodeRepresentation
getLastModified in interface NodeRepresentationjavax.jcr.RepositoryException
public org.exoplatform.common.util.HierarchicalProperty getProperty(java.lang.String name)
throws javax.jcr.RepositoryException
getProperty in interface NodeRepresentationname - the name of properties.
javax.jcr.RepositoryException
public java.util.Collection<org.exoplatform.common.util.HierarchicalProperty> getProperties(java.lang.String name)
throws javax.jcr.RepositoryException
getProperties in interface NodeRepresentationname - the name of properties.
javax.jcr.RepositoryException
public java.util.Collection<java.lang.String> getPropertyNames()
throws javax.jcr.RepositoryException
getPropertyNames in interface NodeRepresentationjavax.jcr.RepositoryException
public java.io.InputStream getInputStream()
throws java.io.IOException,
javax.jcr.RepositoryException
getInputStream in interface NodeRepresentationjava.io.IOException
javax.jcr.RepositoryExceptionpublic javax.jcr.Node getNode()
getNode in interface NodeRepresentation
public void addProperties(java.util.Collection<org.exoplatform.common.util.HierarchicalProperty> properties)
throws javax.jcr.UnsupportedRepositoryOperationException
NodeRepresentation
addProperties in interface NodeRepresentationproperties - .
javax.jcr.UnsupportedRepositoryOperationException
public void addProperty(org.exoplatform.common.util.HierarchicalProperty property)
throws javax.jcr.UnsupportedRepositoryOperationException
NodeRepresentation
addProperty in interface NodeRepresentationproperty - .
javax.jcr.UnsupportedRepositoryOperationException
public void removeProperty(java.lang.String name)
throws javax.jcr.UnsupportedRepositoryOperationException
NodeRepresentation
removeProperty in interface NodeRepresentationname - .
javax.jcr.UnsupportedRepositoryOperationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||