|
||||||||||
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(java.lang.String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Method Summary | |
---|---|
java.lang.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. |
java.lang.String |
getComment()
|
java.lang.String |
getFlowItemId()
|
protected java.lang.String |
getIcon(java.lang.String path,
java.lang.String repository)
|
ListModel |
getModel()
Returns the model used by this list |
protected java.lang.String |
getShowJSFunction(java.lang.String repository,
java.lang.String path)
|
java.lang.String |
getSortBy()
|
boolean |
isDebug()
|
java.lang.String |
onRender()
Add some inbox specific stuff: mainly hidden fields. |
java.lang.String |
proceed()
Proceed the item. |
java.lang.String |
reject()
Reject the item (adds a comment). |
void |
setComment(java.lang.String comment)
|
void |
setDebug(boolean debug)
|
void |
setFlowItemId(java.lang.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, init, 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(java.lang.String name, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Method Detail |
---|
public ListModel getModel()
AbstractList
getModel
in class AbstractList
public java.lang.String getSortBy()
getSortBy
in class AbstractList
public void configureList(ListControl list)
configureList
in class AbstractList
protected java.lang.String getIcon(java.lang.String path, java.lang.String repository)
protected java.lang.String getShowJSFunction(java.lang.String repository, java.lang.String path)
public void configureContextMenu(ContextMenu menu)
AbstractList
configureContextMenu
in class AbstractList
public void configureFunctionBar(FunctionBar bar)
configureFunctionBar
in class AbstractList
public java.lang.String onRender()
onRender
in class AbstractList
public java.lang.String proceed()
public java.lang.String reject()
public java.lang.String cancel()
public java.lang.String getFlowItemId()
public void setFlowItemId(java.lang.String flowItemId)
public java.lang.String getComment()
public void setComment(java.lang.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 |