org.activemath.webapp.tools
Class LanguageGapController

java.lang.Object
  extended by org.infohazard.maverick.ctl.Throwaway2
      extended by org.infohazard.maverick.ctl.ThrowawayBean2
          extended by org.activemath.webapp.base.ControllerBase
              extended by org.activemath.webapp.tools.LanguageGapController
All Implemented Interfaces:
Controller

public class LanguageGapController
extends ControllerBase

Controller for language gap detection. Contains a nested singleton subclass which is used as data container for gap information. Request parameters:


Nested Class Summary
static class LanguageGapController.MapBooksToItemsAndLanguages
          Singleton static class to store and provide language gap information
 
Field Summary
static org.apache.commons.logging.Log log
           
 List<Book> recBooks
           
 
Fields inherited from class org.activemath.webapp.base.ControllerBase
appContext, defaultContentType, JSON, REDIRECT, REDIRECT_LOGIN, request, response, stopwatch
 
Fields inherited from class org.infohazard.maverick.ctl.Throwaway2
ERROR, SUCCESS
 
Constructor Summary
LanguageGapController()
           
 
Method Summary
 String action()
          Implements the controller's action
 String getCollection()
           
 String getFilterLanguage()
           
 ArrayList<String> getMessages()
           
 Boolean getStoreInGapDB()
           
 String getVerboseMode()
           
 void setCollection(String collection)
           
 void setFilterLanguage(String FilterLanguage)
           
static void setMessage(String message)
           
 void setStoreInGapDB(Boolean storeInGapDB)
           
 void setVerboseMode(String verboseMode)
           
 
Methods inherited from class org.activemath.webapp.base.ControllerBase
addError, addError, enableNoCache, escapeForHtmlSafety, getAccountManager, getAppSession, getCmdName, getCurrentUser, getErrors, getHttpSession, getLanguage, getModel, getOutputFormat, getRequest, getResponse, getSkin, hasErrors, perform, publishControllerEvent, sendError, sendError, sendJson, sendLoginRequired, sendRedirect, sendRedirect, setPasswd, setUser
 
Methods inherited from class org.infohazard.maverick.ctl.ThrowawayBean2
go
 
Methods inherited from class org.infohazard.maverick.ctl.Throwaway2
getCtx, go
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static org.apache.commons.logging.Log log

recBooks

public List<Book> recBooks
Constructor Detail

LanguageGapController

public LanguageGapController()
Method Detail

action

public String action()
              throws Exception
Implements the controller's action

Overrides:
action in class ControllerBase
Throws:
Exception
See Also:
org.activemath.presentation.servlets.controller.AMController#action()

setCollection

public void setCollection(String collection)

getCollection

public String getCollection()

setFilterLanguage

public void setFilterLanguage(String FilterLanguage)

getFilterLanguage

public String getFilterLanguage()

getVerboseMode

public String getVerboseMode()

setVerboseMode

public void setVerboseMode(String verboseMode)

getStoreInGapDB

public Boolean getStoreInGapDB()

setStoreInGapDB

public void setStoreInGapDB(Boolean storeInGapDB)

getMessages

public ArrayList<String> getMessages()

setMessage

public static void setMessage(String message)