org.activemath.webapp.controller
Class ItemInfoController
java.lang.Object
org.infohazard.maverick.ctl.Throwaway2
org.infohazard.maverick.ctl.ThrowawayBean2
org.activemath.webapp.base.ControllerBase
org.activemath.webapp.controller.ItemInfoController
- All Implemented Interfaces:
- Controller
public class ItemInfoController
- extends ControllerBase
Item Info Controller: information about an Mbase item.
Request parameters:
-
id, itemId, item - mbase id of the item (all synonyms)
View data:
| Variable | Description |
$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. |
| 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static Logger log
ItemInfoController
public ItemInfoController()
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