org.apache.jackrabbit.ocm.manager.collectionconverter.impl
Class MultiValueCollectionConverterImpl
java.lang.Object
org.apache.jackrabbit.ocm.manager.collectionconverter.impl.AbstractCollectionConverterImpl
org.apache.jackrabbit.ocm.manager.collectionconverter.impl.MultiValueCollectionConverterImpl
- All Implemented Interfaces:
- CollectionConverter
public class MultiValueCollectionConverterImpl
- extends AbstractCollectionConverterImpl
Collection Mapping/convertion implementation used for multi values properties
This collection mapping strategy maps a collection into a JCR multi value property
- Author:
- Christophe Lombart, Alexandru Popescu, Boni Gopalan
Method Summary |
protected ManageableObjects |
doGetCollection(Session session,
Node parentNode,
CollectionDescriptor collectionDescriptor,
Class collectionFieldClass)
|
protected void |
doInsertCollection(Session session,
Node parentNode,
CollectionDescriptor collectionDescriptor,
ManageableObjects objects)
|
protected boolean |
doIsNull(Session session,
Node parentNode,
CollectionDescriptor collectionDescriptor,
Class collectionFieldClass)
|
protected void |
doUpdateCollection(Session session,
Node parentNode,
CollectionDescriptor collectionDescriptor,
ManageableObjects objects)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiValueCollectionConverterImpl
public MultiValueCollectionConverterImpl(Map atomicTypeConverters,
ObjectConverter objectConverter,
Mapper mapper)
- Constructor
- Parameters:
atomicTypeConverters
- objectConverter
- mapper
-
doInsertCollection
protected void doInsertCollection(Session session,
Node parentNode,
CollectionDescriptor collectionDescriptor,
ManageableObjects objects)
throws RepositoryException
- Specified by:
doInsertCollection
in class AbstractCollectionConverterImpl
- Throws:
RepositoryException
- See Also:
AbstractCollectionConverterImpl#doInsertCollection(Session, Node, CollectionDescriptor, ManageableCollection)
doUpdateCollection
protected void doUpdateCollection(Session session,
Node parentNode,
CollectionDescriptor collectionDescriptor,
ManageableObjects objects)
throws RepositoryException
- Specified by:
doUpdateCollection
in class AbstractCollectionConverterImpl
- Throws:
RepositoryException
- See Also:
AbstractCollectionConverterImpl#doUpdateCollection(Session, Node, CollectionDescriptor, ManageableCollection)
doGetCollection
protected ManageableObjects doGetCollection(Session session,
Node parentNode,
CollectionDescriptor collectionDescriptor,
Class collectionFieldClass)
throws RepositoryException
- Specified by:
doGetCollection
in class AbstractCollectionConverterImpl
- Throws:
RepositoryException
- See Also:
AbstractCollectionConverterImpl.doGetCollection(Session, Node, CollectionDescriptor, Class)
doIsNull
protected boolean doIsNull(Session session,
Node parentNode,
CollectionDescriptor collectionDescriptor,
Class collectionFieldClass)
throws RepositoryException
- Specified by:
doIsNull
in class AbstractCollectionConverterImpl
- Throws:
RepositoryException
- See Also:
AbstractCollectionConverterImpl.doIsNull(Session, Node, CollectionDescriptor, Class)
Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.