org.activemath.webapp.tools
Class MBaseRefController

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.MBaseRefController
All Implemented Interfaces:
Controller

public class MBaseRefController
extends ControllerBase

This is a simple interface to seeing, downloading, reloading, and uploading MBase content.


Field Summary
static org.apache.commons.logging.Log log
           
 
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
MBaseRefController()
           
 
Method Summary
 String action()
          This is the method you should override to implement application logic.
 void setCollection(String collection)
           
 void setFormat(String format)
           
 void setId(String id)
           
 void setTheory(String theory)
           
 void setType(String type)
           
 
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
Constructor Detail

MBaseRefController

public MBaseRefController()
Method Detail

setCollection

public void setCollection(String collection)

setTheory

public void setTheory(String theory)

setId

public void setId(String id)

setFormat

public void setFormat(String format)

setType

public void setType(String type)

action

public String action()
              throws Exception
Description copied from class: ControllerBase
This is the method you should override to implement application logic.

Overrides:
action in class ControllerBase
Throws:
Exception