FileDocCategorySizeDatePackage
StorageModifierStub.javaAPI DocApache Lucene 2.1.05954Wed Feb 14 10:46:02 GMT 2007org.apache.lucene.gdata.storage.lucenestorage

StorageModifierStub

public class StorageModifierStub extends org.apache.lucene.gdata.storage.lucenestorage.StorageModifier
author
Simon Willnauer

Fields Summary
public boolean
throwException
Constructors Summary
public StorageModifierStub()

        
        super(new StorageCoreControllerStub(), new IndexModifier(new RAMDirectory(),new StandardAnalyzer(),true), new StorageBuffer(1),1, 1);
    
public StorageModifierStub(org.apache.lucene.gdata.storage.lucenestorage.StorageCoreController controller, IndexModifier modifier, org.apache.lucene.gdata.storage.lucenestorage.StorageBuffer buffer, int persitsFactor, int optimizeInterval)

param
controller
param
modifier
param
buffer
param
persitsFactor
param
optimizeInterval
throws
IOException
throws
StorageException

        
        super(new StorageCoreControllerStub(), new IndexModifier(new RAMDirectory(),new StandardAnalyzer(),true), new StorageBuffer(1),1, 1);
        
        // TODO Auto-generated constructor stub
    
Methods Summary
protected voidclose()

see
org.apache.lucene.gdata.storage.lucenestorage.StorageModifier#close()

        if(throwException)
            throw new IOException();
        
    
public voidcreateAccount(StorageAccountWrapper account)

see
org.apache.lucene.gdata.storage.lucenestorage.StorageModifier#createAccount(org.apache.lucene.gdata.storage.lucenestorage.StorageAccountWrapper)

        if(throwException)
            throw new StorageException();
        
    
public voidcreateFeed(StorageFeedWrapper wrapper)

see
org.apache.lucene.gdata.storage.lucenestorage.StorageModifier#createFeed(org.apache.lucene.gdata.storage.lucenestorage.StorageFeedWrapper)

        if(throwException)
            throw new StorageException();
        
    
public voiddeleteAccount(java.lang.String accountName)

see
org.apache.lucene.gdata.storage.lucenestorage.StorageModifier#deleteAccount(java.lang.String)

        if(throwException)
            throw new StorageException();
        
    
public voiddeleteEntry(StorageEntryWrapper wrapper)

see
org.apache.lucene.gdata.storage.lucenestorage.StorageModifier#deleteEntry(org.apache.lucene.gdata.storage.lucenestorage.StorageEntryWrapper)

        if(throwException)
            throw new StorageException();
        
    
public voiddeleteFeed(java.lang.String feedId)

see
org.apache.lucene.gdata.storage.lucenestorage.StorageModifier#deleteFeed(java.lang.String)

        if(throwException)
            throw new StorageException();
        
    
public voidforceWrite()

see
org.apache.lucene.gdata.storage.lucenestorage.StorageModifier#forceWrite()

        if(throwException)
            throw new IOException();
        
    
public voidinsertEntry(StorageEntryWrapper wrapper)

see
org.apache.lucene.gdata.storage.lucenestorage.StorageModifier#insertEntry(org.apache.lucene.gdata.storage.lucenestorage.StorageEntryWrapper)

        if(throwException)
            throw new StorageException();
        
    
public voidupdateAccount(StorageAccountWrapper user)

see
org.apache.lucene.gdata.storage.lucenestorage.StorageModifier#updateAccount(org.apache.lucene.gdata.storage.lucenestorage.StorageAccountWrapper)

        if(throwException)
            throw new StorageException();
        
    
public voidupdateEntry(StorageEntryWrapper wrapper)

see
org.apache.lucene.gdata.storage.lucenestorage.StorageModifier#updateEntry(org.apache.lucene.gdata.storage.lucenestorage.StorageEntryWrapper)

        if(throwException)
            throw new StorageException();
        if(wrapper != null)
            wrapper.getEntry();
    
public voidupdateFeed(StorageFeedWrapper wrapper)

see
org.apache.lucene.gdata.storage.lucenestorage.StorageModifier#updateFeed(org.apache.lucene.gdata.storage.lucenestorage.StorageFeedWrapper)

        if(throwException)
            throw new StorageException();