|
eXo JCR :: Component :: Extension Service 1.15.0-CR2 | |||||||||
| 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(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. |
| 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 String getContentEncoding()
getContentEncoding in interface NodeRepresentation
public long getContentLenght()
throws javax.jcr.RepositoryException
getContentLenght in interface NodeRepresentationjavax.jcr.RepositoryException
public 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(String name)
throws javax.jcr.RepositoryException
getProperty in interface NodeRepresentationname - the name of properties.
javax.jcr.RepositoryException
public Collection<org.exoplatform.common.util.HierarchicalProperty> getProperties(String name)
throws javax.jcr.RepositoryException
getProperties in interface NodeRepresentationname - the name of properties.
javax.jcr.RepositoryException
public Collection<String> getPropertyNames()
throws javax.jcr.RepositoryException
getPropertyNames in interface NodeRepresentationjavax.jcr.RepositoryException
public InputStream getInputStream()
throws IOException,
javax.jcr.RepositoryException
getInputStream in interface NodeRepresentationIOException
javax.jcr.RepositoryExceptionpublic javax.jcr.Node getNode()
getNode in interface NodeRepresentation
public void addProperties(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
addProperty in interface NodeRepresentationproperty - .
javax.jcr.UnsupportedRepositoryOperationException
public void removeProperty(String name)
throws javax.jcr.UnsupportedRepositoryOperationException
removeProperty in interface NodeRepresentationname - .
javax.jcr.UnsupportedRepositoryOperationException
|
eXo JCR :: Component :: Extension Service 1.15.0-CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||