|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NodeTypeHandler
Defines a handler that extracts the necessary information from a
MuleMessage
in order to store content in a JCR container while
trying to comply to the constraint of the desired node type.
Method Summary | |
---|---|
javax.jcr.Node |
createNode(javax.jcr.Session session,
javax.jcr.Node targetNode,
String nodeRelPath,
org.mule.api.MuleMessage message)
Handles the creation of a new node. |
String |
getNodeTypeName()
The node type name that will be used to register to the manager. |
void |
initialize(NodeTypeHandlerManager manager)
Called once, when the handler is created. |
void |
updateContent(javax.jcr.Session session,
javax.jcr.Node node,
org.mule.api.MuleMessage message)
Handles a node content update. |
Method Detail |
---|
void initialize(NodeTypeHandlerManager manager)
nodeTypeManager
- String getNodeTypeName()
javax.jcr.Node createNode(javax.jcr.Session session, javax.jcr.Node targetNode, String nodeRelPath, org.mule.api.MuleMessage message) throws javax.jcr.RepositoryException, IOException
session
- targetNode
- nodeRelPath
- message
-
javax.jcr.RepositoryException
IOException
void updateContent(javax.jcr.Session session, javax.jcr.Node node, org.mule.api.MuleMessage message) throws javax.jcr.RepositoryException, IOException
session
- node
- message
-
javax.jcr.RepositoryException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |