org.activemath.webapp.controller
Class ItemInfoController

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

public class ItemInfoController
extends ControllerBase

Item Info Controller: information about an Mbase item. Request parameters:

View data:
VariableDescription
$itemId MBase id of UserItem.
$item UserItem for this request.
$forItems List of UserItems that this item is for (from Item#getForIdIds)
$copyrights Map with copyright data for this item (Map<String, List<String>>)
$userfeedback UserFeedback for this item)
$feedbackManager ) UserFeedbackManager singleton.
$transformer ) TransformTool as available through AppModel.


Field Summary
protected static Logger 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
ItemInfoController()
           
 
Method Summary
protected  String action()
          This is the method you should override to implement application logic.
 void setId(String string)
           
 void setItem(String string)
           
 void setItemId(String string)
           
 
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

protected static Logger log
Constructor Detail

ItemInfoController

public ItemInfoController()
Method Detail

setId

public void setId(String string)

setItemId

public void setItemId(String string)

setItem

public void setItem(String string)

action

protected 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