|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.fh_mannheim.mm.dms.indexserver.Monitor
de.fh_mannheim.mm.dms.indexserver.IndexServer
de.fh_mannheim.mm.dms.indexserver.gui.UIIndexServer
User Interface for Index Server with event handling.
| Field Summary | |
static int |
EVENT_COUNT
|
static int |
IMPORT_UPLOADS_EVENT
|
static int |
WEIGHTS_ADJUSTED_EVENT
Events for display callbacks |
| Method Summary | |
boolean |
addCategory()
Adds new category. |
boolean |
addStopword()
Adds new stopword. |
boolean |
addUpload()
Adds new upload order. |
boolean |
addUploadDirectory()
Adds all files of a directory. |
boolean |
addUser()
Adds new user. |
boolean |
adjustWeights()
Adjust weights. |
int |
cleanUpDatabase()
Cleans database by deleting all missing files. |
boolean |
clearLogfile()
Deletes logfile. |
MainWindow |
createMainWindow()
Creates a new MainWindow and sets it as actual setting. |
boolean |
deleteUpload(int nUploadID)
Delete existing upload order. |
boolean |
deleteUpload(java.lang.String strFilename)
Delete existing upload order. |
boolean |
editCategory(Category cat)
Edit a category. |
boolean |
editCategory(java.lang.String strCategory)
Edit a category. |
void |
exitHandler(javax.swing.JFrame window)
Exit Handler. |
boolean |
exportCategories()
Export categories. |
boolean |
exportStopwords()
Export stopwords. |
boolean |
exportStopwordsToTextfile()
Export stopwords. |
boolean |
exportUploads()
Export uploads. |
boolean |
exportUsers()
Export users. |
static java.awt.Font |
getBigFont()
Return big fonttype. |
InfoPane |
getInfoPane()
Returns current InfoPane. |
static UIIndexServer |
getInstance()
Aquire the instance, create if not existing; so we do implizit creation. |
MainWindow |
getMainWindow()
Returns current MainWindow. |
StatusPane |
getStatusPane()
Returns current StatusPane. |
int |
importCategories()
Import categories. |
int |
importStopwords()
Import stopwords. |
int |
importStopwordsFromTextfile()
Import stopwords. |
int |
importUploads()
Import uploads. |
int |
importUsers()
Import users. |
boolean |
login()
Calls the Login-Dialog. |
void |
rebuildIndex()
Rebuild index. |
void |
setInfoPane(InfoPane pane)
Allows Setting a InfoPane. |
void |
setMainWindow(MainWindow mainWindow)
Allows Setting a MainWindow. |
void |
setStatusPane(StatusPane pane)
Allows Setting a StatusPane. |
void |
showCategoryManager()
Shows category manager. |
void |
showEngineErrors()
Shows engine errors. |
void |
showFileManager()
Shows file manager. |
void |
showIndexSize()
Shows index size by counting all keywords. |
void |
showLessRightsMessage()
Show message, that user has not enough rights. |
void |
showLogfile()
Shows logfile. |
void |
showMessage(java.lang.String strMessage)
Show message. |
boolean |
showQuestion(java.lang.String strTitle,
java.lang.String strPrompt)
Show question. |
void |
showSearchManager()
Shows search manager. |
void |
showSearchManager(java.lang.String strPattern)
Shows search manager. |
void |
showStopwordManager()
Shows stopword manager. |
void |
showUploadManager()
Shows upload manager. |
void |
showUserManager()
Shows user manager. |
void |
shutDown()
Closes the program. |
void |
startEngine()
Starts Engine. |
void |
startGUI()
Starts the GUI. |
void |
stateHasChanged()
Call all callbacks and send onChanged. |
void |
stopEngine()
Stops Engine. |
| Methods inherited from class de.fh_mannheim.mm.dms.indexserver.IndexServer |
addCategory, addStopword, addUpload, addUploadDirectory, addUser, exportCategories, exportStopwords, exportStopwords, exportUploads, exportUsers, getCategoryManager, getConfig, getContentManager, getEngine, getIndexServer, getSearchManager, getStopwordManager, getUploadManager, getUserManager, importCategories, importStopwords, importStopwords, importUploads, importUsers, login, mayModifyEngine, mayModifyUploads, mayModifyUsers, mayReadData, startEngine, toElement, toElement, toString |
| Methods inherited from class de.fh_mannheim.mm.dms.indexserver.Monitor |
registerViewer, unregisterViewer |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int WEIGHTS_ADJUSTED_EVENT
public static final int IMPORT_UPLOADS_EVENT
public static final int EVENT_COUNT
| Method Detail |
public static java.awt.Font getBigFont()
public static UIIndexServer getInstance()
public boolean addStopword()
public boolean addCategory()
public boolean addUpload()
public boolean addUploadDirectory()
public boolean addUser()
public boolean adjustWeights()
public int cleanUpDatabase()
cleanUpDatabase in class IndexServerpublic boolean clearLogfile()
public MainWindow createMainWindow()
public boolean deleteUpload(java.lang.String strFilename)
strFilename - Filename
public boolean deleteUpload(int nUploadID)
nUploadID - ID of Upload
public boolean editCategory(Category cat)
editCategory in class IndexServercat - Category
public boolean editCategory(java.lang.String strCategory)
strCategory - Category
public void exitHandler(javax.swing.JFrame window)
window - The current windowpublic boolean exportCategories()
public boolean exportUploads()
public boolean exportUsers()
public boolean exportStopwordsToTextfile()
public boolean exportStopwords()
public InfoPane getInfoPane()
public MainWindow getMainWindow()
public StatusPane getStatusPane()
public int importCategories()
public int importUsers()
public int importUploads()
public int importStopwordsFromTextfile()
public int importStopwords()
public boolean login()
public void rebuildIndex()
rebuildIndex in class IndexServerpublic void setInfoPane(InfoPane pane)
pane - actual InfoPanepublic void setMainWindow(MainWindow mainWindow)
mainWindow - actual MainWindowpublic void setStatusPane(StatusPane pane)
pane - actual StatusPanepublic void showEngineErrors()
public void showFileManager()
public void showIndexSize()
public void showLessRightsMessage()
showLessRightsMessage in class IndexServerpublic void showLogfile()
public void showMessage(java.lang.String strMessage)
showMessage in class IndexServerstrMessage - Messagetext
public boolean showQuestion(java.lang.String strTitle,
java.lang.String strPrompt)
strTitle - Title textstrPrompt - Prompt text
public void showSearchManager()
public void showSearchManager(java.lang.String strPattern)
strPattern - Pattern, you want to search forpublic void showStopwordManager()
public void showCategoryManager()
public void showUploadManager()
public void showUserManager()
public void shutDown()
public void startEngine()
startEngine in class IndexServerpublic void startGUI()
public void stateHasChanged()
stateHasChanged in interface IViewerstateHasChanged in class Monitorpublic void stopEngine()
stopEngine in class IndexServer
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||