|
eXo JCR :: Component :: Extension Service 1.16.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.representation.NtFileNodeRepresentation
public class NtFileNodeRepresentation
| Constructor Summary | |
|---|---|
NtFileNodeRepresentation(javax.jcr.Node node,
NodeRepresentation content)
|
|
| 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 |
| Constructor Detail |
|---|
public NtFileNodeRepresentation(javax.jcr.Node node,
NodeRepresentation content)
throws javax.jcr.RepositoryException
node - content -
javax.jcr.RepositoryException| 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.RepositoryExceptionpublic javax.jcr.Node getNode()
getNode in interface NodeRepresentation
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.RepositoryException
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.16.0-CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||