1 package org.roller.model; 2 3 import org.roller.RollerException; 4 import org.roller.business.search.operations.IndexOperation; 5 import org.roller.pojos.UserData; 6 import org.roller.pojos.WeblogEntryData; 7 8 12 public interface IndexManager 13 { 14 15 public abstract boolean isInconsistentAtStartup(); 16 17 18 public void rebuildUserIndex() throws RollerException; 19 20 21 public void removeUserIndex(UserData user) throws RollerException; 22 23 24 public void removeEntryIndexOperation(WeblogEntryData entry) throws RollerException; 25 26 27 public void addEntryIndexOperation(WeblogEntryData entry) throws RollerException; 28 29 30 public void addEntryReIndexOperation(WeblogEntryData entry) throws RollerException; 31 32 33 public abstract void executeIndexOperationNow(final IndexOperation op); 34 35 38 public abstract void release(); 39 40 41 public abstract void shutdown(); 42 } | Popular Tags |