org.ektorp.impl.docref
Class ViewBasedCollection

java.lang.Object
  extended by org.ektorp.impl.docref.ViewBasedCollection
All Implemented Interfaces:
java.lang.reflect.InvocationHandler
Direct Known Subclasses:
LazyLoadingViewBasedCollection

public class ViewBasedCollection
extends java.lang.Object
implements java.lang.reflect.InvocationHandler


Nested Class Summary
 class ViewBasedCollection.RememberRemovedIterator
           
 class ViewBasedCollection.RememberRemovedListIterator
           
 
Constructor Summary
ViewBasedCollection(java.lang.String id, CouchDbConnector couchDbConnector, java.lang.Class<?> clazz, DocumentReferences documentReferences, ConstructibleAnnotatedCollection constructibleField, org.codehaus.jackson.map.ObjectMapper objectMapper)
           
 
Method Summary
 java.util.Collection<BulkDeleteDocument> getPendingRemoval()
           
protected  void initialize()
           
 boolean initialized()
           
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewBasedCollection

public ViewBasedCollection(java.lang.String id,
                           CouchDbConnector couchDbConnector,
                           java.lang.Class<?> clazz,
                           DocumentReferences documentReferences,
                           ConstructibleAnnotatedCollection constructibleField,
                           org.codehaus.jackson.map.ObjectMapper objectMapper)
                    throws java.lang.IllegalArgumentException,
                           java.lang.InstantiationException,
                           java.lang.IllegalAccessException,
                           java.lang.reflect.InvocationTargetException
Throws:
java.lang.IllegalArgumentException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
Method Detail

initialize

protected void initialize()
                   throws java.io.IOException
Throws:
java.io.IOException

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Throws:
java.lang.Throwable

initialized

public boolean initialized()

getPendingRemoval

public java.util.Collection<BulkDeleteDocument> getPendingRemoval()


Copyright © 2011. All Rights Reserved.