org.apache.jackrabbit.ocm.manager.collectionconverter.impl
Class BeanReferenceCollectionConverterImpl
java.lang.Object
org.apache.jackrabbit.ocm.manager.collectionconverter.impl.AbstractCollectionConverterImpl
org.apache.jackrabbit.ocm.manager.collectionconverter.impl.BeanReferenceCollectionConverterImpl
- All Implemented Interfaces:
- CollectionConverter
public class BeanReferenceCollectionConverterImpl
- extends AbstractCollectionConverterImpl
Collection Mapping used to map a reference/uuid property list into a java bean collection (readonly).
Only the uuid can be modified, not the associated object
- Author:
- Christophe Lombart
Method Summary |
protected ManageableObjects |
doGetCollection(javax.jcr.Session session,
javax.jcr.Node parentNode,
CollectionDescriptor collectionDescriptor,
java.lang.Class collectionFieldClass)
|
protected void |
doInsertCollection(javax.jcr.Session session,
javax.jcr.Node parentNode,
CollectionDescriptor collectionDescriptor,
ManageableObjects objects)
|
protected boolean |
doIsNull(javax.jcr.Session session,
javax.jcr.Node parentNode,
CollectionDescriptor collectionDescriptor,
java.lang.Class collectionFieldClass)
|
protected void |
doUpdateCollection(javax.jcr.Session session,
javax.jcr.Node parentNode,
CollectionDescriptor collectionDescriptor,
ManageableObjects objects)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanReferenceCollectionConverterImpl
public BeanReferenceCollectionConverterImpl(java.util.Map atomicTypeConverters,
ObjectConverter objectConverter,
Mapper mapper)
- Constructor
- Parameters:
atomicTypeConverters
- objectConverter
- mapper
-
doInsertCollection
protected void doInsertCollection(javax.jcr.Session session,
javax.jcr.Node parentNode,
CollectionDescriptor collectionDescriptor,
ManageableObjects objects)
throws javax.jcr.RepositoryException
- Specified by:
doInsertCollection
in class AbstractCollectionConverterImpl
- Throws:
javax.jcr.RepositoryException
- See Also:
AbstractCollectionConverterImpl#doInsertCollection(Session, Node, CollectionDescriptor, ManageableCollection)
doUpdateCollection
protected void doUpdateCollection(javax.jcr.Session session,
javax.jcr.Node parentNode,
CollectionDescriptor collectionDescriptor,
ManageableObjects objects)
throws javax.jcr.RepositoryException
- Specified by:
doUpdateCollection
in class AbstractCollectionConverterImpl
- Throws:
javax.jcr.RepositoryException
- See Also:
AbstractCollectionConverterImpl#doUpdateCollection(Session, Node, CollectionDescriptor, ManageableCollection)
doGetCollection
protected ManageableObjects doGetCollection(javax.jcr.Session session,
javax.jcr.Node parentNode,
CollectionDescriptor collectionDescriptor,
java.lang.Class collectionFieldClass)
throws javax.jcr.RepositoryException
- Specified by:
doGetCollection
in class AbstractCollectionConverterImpl
- Throws:
javax.jcr.RepositoryException
- See Also:
AbstractCollectionConverterImpl.doGetCollection(Session, Node, CollectionDescriptor, Class)
doIsNull
protected boolean doIsNull(javax.jcr.Session session,
javax.jcr.Node parentNode,
CollectionDescriptor collectionDescriptor,
java.lang.Class collectionFieldClass)
throws javax.jcr.RepositoryException
- Specified by:
doIsNull
in class AbstractCollectionConverterImpl
- Throws:
javax.jcr.RepositoryException
- See Also:
AbstractCollectionConverterImpl.doIsNull(Session, Node, CollectionDescriptor, Class)
Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.