|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ObjectConverter
Convert any kind of beans into JCR nodes & properties
| Method Summary | |
|---|---|
java.lang.Object |
getObject(javax.jcr.Session session,
java.lang.Class clazz,
java.lang.String path)
Retrieve an object from the JCR repo |
java.lang.Object |
getObject(javax.jcr.Session session,
java.lang.String path)
Retrieve an object from the JCR repo |
java.lang.String |
getPath(javax.jcr.Session session,
java.lang.Object object)
Get the object JCR path |
void |
insert(javax.jcr.Session session,
javax.jcr.Node parentNode,
java.lang.String nodeName,
java.lang.Object object)
Insert the object |
void |
insert(javax.jcr.Session session,
java.lang.Object object)
Insert the object |
void |
retrieveAllMappedAttributes(javax.jcr.Session session,
java.lang.Object object)
Retrieve all mapped attributes for the given persistent object. |
void |
retrieveMappedAttribute(javax.jcr.Session session,
java.lang.Object object,
java.lang.String attributeName)
Retrieve the specified attribute for the given persistent object. |
void |
update(javax.jcr.Session session,
javax.jcr.Node objectNode,
java.lang.Object object)
Update the object |
void |
update(javax.jcr.Session session,
javax.jcr.Node parentNode,
java.lang.String nodeName,
java.lang.Object object)
Update the object |
void |
update(javax.jcr.Session session,
java.lang.Object object)
Update the object |
void |
update(javax.jcr.Session session,
java.lang.String uuId,
java.lang.Object object)
Update the object |
| Method Detail |
|---|
void insert(javax.jcr.Session session,
java.lang.Object object)
throws ObjectContentManagerException
session - the JCR sessionobject - the object to insert
ObjectContentManagerException - when it is not possible to insert the object
void update(javax.jcr.Session session,
java.lang.Object object)
throws ObjectContentManagerException
session - the JCR sessionobject - the object to update
ObjectContentManagerException - when it is not possible to update the object
java.lang.Object getObject(javax.jcr.Session session,
java.lang.String path)
throws ObjectContentManagerException
session - The JCR sessionclazz - The class assigned to the object to retrievepath - the JCR path
ObjectContentManagerException - when it is not possible to retrieve the object
java.lang.Object getObject(javax.jcr.Session session,
java.lang.Class clazz,
java.lang.String path)
throws ObjectContentManagerException
session - The JCR sessionclazz - The class assigned to the object to retrievepath - the JCR path
ObjectContentManagerException - when it is not possible to retrieve the object
void retrieveMappedAttribute(javax.jcr.Session session,
java.lang.Object object,
java.lang.String attributeName)
session - The JCR sessionobject - The persistent objectattributeName - The name of the attribute to retrieve
void retrieveAllMappedAttributes(javax.jcr.Session session,
java.lang.Object object)
session - The JCR sessionobject - The persistent object
void insert(javax.jcr.Session session,
javax.jcr.Node parentNode,
java.lang.String nodeName,
java.lang.Object object)
throws ObjectContentManagerException
session - the JCR sessionparentNode - The parent node used to store the new JCR element (object)nodeName - The node name used to store the objectobject - the object to insert
ObjectContentManagerException - when it is not possible to insert the object
void update(javax.jcr.Session session,
javax.jcr.Node objectNode,
java.lang.Object object)
throws ObjectContentManagerException
session - the JCR sessionobjectNode - The node to store the objectobject - the object to update
ObjectContentManagerException - when it is not possible to update the object
void update(javax.jcr.Session session,
javax.jcr.Node parentNode,
java.lang.String nodeName,
java.lang.Object object)
throws ObjectContentManagerException
session - the JCR sessionparentNode - The parent node used to store the new JCR element (object)nodeName - The node name used to store the objectobject - the object to update
ObjectContentManagerException - when it is not possible to update the object
void update(javax.jcr.Session session,
java.lang.String uuId,
java.lang.Object object)
session - the JCR sessionuuId - The UUID of the node to get updated.object - the object to update
ObjectContentManagerException - when it is not possible to update the object
java.lang.String getPath(javax.jcr.Session session,
java.lang.Object object)
throws ObjectContentManagerException
session - the JCR sessionobject - the object for which the path has to be retrieve
ObjectContentManagerException - when it is not possible to retrieve the object path
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||