|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.servlets.MVCServletHandlerImpl info.magnolia.cms.servlets.CommandBasedMVCServletHandler info.magnolia.module.admininterface.PageMVCHandler info.magnolia.module.admininterface.TemplatedMVCHandler info.magnolia.module.admininterface.lists.AbstractList info.magnolia.module.workflow.inbox.Inbox
public class Inbox
The AbstractList
responsible for displaying a user's inbox, i.e current work items.
Field Summary | |
---|---|
protected Messages |
msgs
|
Fields inherited from class info.magnolia.module.admininterface.PageMVCHandler |
---|
COMMAND_PARAMETER_NAME, COMMAND_SHOW, VIEW_SHOW |
Fields inherited from class info.magnolia.cms.servlets.MVCServletHandlerImpl |
---|
exception, request, response, VIEW_ERROR, VIEW_SUCCESS |
Fields inherited from interface info.magnolia.cms.servlets.MVCServletHandler |
---|
VIEW_NOTHING |
Constructor Summary | |
---|---|
Inbox(String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Method Summary | |
---|---|
String |
cancel()
Stop the workflow. |
void |
configureContextMenu(ContextMenu menu)
Override to configure the menu |
void |
configureFunctionBar(FunctionBar bar)
Same as the context menu. |
void |
configureList(ListControl list)
Sets the select js code and defines the columns. |
String |
getComment()
|
String |
getFlowItemId()
|
protected String |
getIcon(String path,
String repository)
|
ListModel |
getModel()
Returns the model used by this list |
protected String |
getShowJSFunction(String repository,
String path)
|
String |
getSortBy()
|
void |
init()
Called after instantiating. |
boolean |
isDebug()
|
String |
onRender()
Add some inbox specific stuff: mainly hidden fields. |
String |
proceed()
Proceed the item. |
String |
reject()
Reject the item (adds a comment). |
void |
setComment(String comment)
|
void |
setDebug(boolean debug)
|
void |
setFlowItemId(String flowItemId)
|
Methods inherited from class info.magnolia.module.admininterface.lists.AbstractList |
---|
addContextMenuItem, getContextMenu, getFunctionBar, getGroupBy, getGroupByOrder, getLanguage, getList, getRenderKit, getSortByOrder, getTemplateName, getURI, initList, onRenderHeader, setFunctionBar, setGroupBy, setGroupByOrder, setList, setSortBy, setSortByOrder, show |
Methods inherited from class info.magnolia.module.admininterface.TemplatedMVCHandler |
---|
renderHtml |
Methods inherited from class info.magnolia.module.admininterface.PageMVCHandler |
---|
getForm, getI18nBasename, getMsgs, getParams, setForm, setI18nBasename, setMsgs, setParams |
Methods inherited from class info.magnolia.cms.servlets.CommandBasedMVCServletHandler |
---|
execute, findCommand, getCatalogueName, getCommandContext, getViewNameAfterExecution, setCatalogueName |
Methods inherited from class info.magnolia.cms.servlets.MVCServletHandlerImpl |
---|
getCommand, getException, getExceptionStackTrace, getName, getRequest, getResponse, populateFromRequest, setCommand, setRequest, setResponse |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Messages msgs
Constructor Detail |
---|
public Inbox(String name, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Method Detail |
---|
public void init()
MVCServletHandler
init
in interface MVCServletHandler
init
in class PageMVCHandler
TODO ! init is called twice !!! once by content2bean, once by MVCServlet !
public ListModel getModel()
AbstractList
getModel
in class AbstractList
public String getSortBy()
getSortBy
in class AbstractList
public void configureList(ListControl list)
configureList
in class AbstractList
protected String getIcon(String path, String repository)
protected String getShowJSFunction(String repository, String path)
public void configureContextMenu(ContextMenu menu)
AbstractList
configureContextMenu
in class AbstractList
public void configureFunctionBar(FunctionBar bar)
configureFunctionBar
in class AbstractList
public String onRender()
onRender
in class AbstractList
public String proceed()
public String reject()
public String cancel()
public String getFlowItemId()
public void setFlowItemId(String flowItemId)
public String getComment()
public void setComment(String comment)
public boolean isDebug()
public void setDebug(boolean debug)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |