|
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.NodeRepresentationService
public class NodeRepresentationService
Created by The eXo Platform SAS .
| Constructor Summary | |
|---|---|
NodeRepresentationService(org.exoplatform.container.ExoContainerContext containerContext)
|
|
| Method Summary | |
|---|---|
void |
addNodeRepresentationFactory(String nodeType,
NodeRepresentationFactory representationFactory)
Add new NodeRepresentationFactory for node type. |
Collection<String> |
getKeys()
|
NodeRepresentation |
getNodeRepresentation(javax.jcr.Node node,
String mediaTypeHint)
Get NodeRepresentation for given node. |
Collection<String> |
getNodeTypes()
|
void |
start()
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NodeRepresentationService(org.exoplatform.container.ExoContainerContext containerContext)
| Method Detail |
|---|
public void addNodeRepresentationFactory(String nodeType,
NodeRepresentationFactory representationFactory)
nodeType - the node type.representationFactory - the NodeRepresentationFactory.
public NodeRepresentation getNodeRepresentation(javax.jcr.Node node,
String mediaTypeHint)
throws javax.jcr.RepositoryException
node - the jcr node.mediaTypeHint - the mimetype hint or null if not known.
javax.jcr.RepositoryExceptionpublic Collection<String> getNodeTypes()
public Collection<String> getKeys()
public void start()
start in interface org.picocontainer.Startablepublic void stop()
stop in interface org.picocontainer.Startable
|
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 | |||||||||