Esri Geoportal Server
1.2.9

com.esri.gpt.catalog.lucene
Class LuceneIndexObserverArray

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<LuceneIndexObserver>
              extended by com.esri.gpt.catalog.lucene.LuceneIndexObserverArray
All Implemented Interfaces:
Serializable, Cloneable, Iterable<LuceneIndexObserver>, Collection<LuceneIndexObserver>, List<LuceneIndexObserver>, RandomAccess

public class LuceneIndexObserverArray
extends ArrayList<LuceneIndexObserver>

Array of Lucene index observers

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
LuceneIndexObserverArray()
           
 
Method Summary
 void onDocumentDelete(String[] uuids)
          Called BEFORE index document is being deleted.
 void onDocumentDeleted(String[] uuids)
          Called AFTER index document has been deleted.
 void onDocumentUpdate(Document document, String uuid)
          Called BEFORE index document is being updated.
 void onDocumentUpdated(Document document, String uuid)
          Called AFTER index document has been updated.
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

LuceneIndexObserverArray

public LuceneIndexObserverArray()
Method Detail

onDocumentUpdate

public void onDocumentUpdate(Document document,
                             String uuid)
                      throws Exception
Called BEFORE index document is being updated.

Parameters:
document - Lucene document
uuid - document UUID
Throws:
Exception - if processing notification fails

onDocumentUpdated

public void onDocumentUpdated(Document document,
                              String uuid)
                       throws Exception
Called AFTER index document has been updated.

Parameters:
document - Lucene document
uuid - document UUID
Throws:
Exception - if processing notification fails

onDocumentDelete

public void onDocumentDelete(String[] uuids)
                      throws Exception
Called BEFORE index document is being deleted.

Parameters:
uuids - UUIDs of documents to delete
Throws:
Exception - if processing notification fails

onDocumentDeleted

public void onDocumentDeleted(String[] uuids)
                       throws Exception
Called AFTER index document has been deleted.

Parameters:
uuids - UUIDs of documents to delete
Throws:
Exception - if processing notification fails

Esri Geoportal Server
1.2.9

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.