|
||||||||||
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
public abstract class AbstractList
Field Summary |
---|
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 | |
---|---|
AbstractList(java.lang.String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Method Summary | |
---|---|
protected void |
addContextMenuItem(ContextMenu menu,
java.lang.String name,
java.lang.String label,
java.lang.String iconName,
java.lang.String methodName,
java.lang.String isActiveMethodName)
Helper method to creat menu items for the list |
protected void |
configureContextMenu(ContextMenu menu)
Override to configure the menu |
protected void |
configureFunctionBar(FunctionBar bar)
Override to configure the bar |
abstract void |
configureList(ListControl list)
|
ContextMenu |
getContextMenu()
|
FunctionBar |
getFunctionBar()
|
java.lang.String |
getGroupBy()
|
java.lang.String |
getGroupByOrder()
|
java.lang.String |
getLanguage()
|
ListControl |
getList()
|
abstract ListModel |
getModel()
Returns the model used by this list |
protected RenderKit |
getRenderKit()
Returns the default admin interface render kit. |
java.lang.String |
getSortBy()
|
java.lang.String |
getSortByOrder()
|
protected java.lang.String |
getTemplateName(java.lang.String viewName)
Don't use the class name. |
java.lang.String |
getURI()
|
void |
initList(ListControl list)
|
java.lang.String |
onRender()
Do some additional rendering in the subclass |
java.lang.String |
onRenderHeader()
Do some additional rendering in the subclass |
void |
setFunctionBar(FunctionBar functionBar)
|
void |
setGroupBy(java.lang.String groupBy)
|
void |
setGroupByOrder(java.lang.String groupByOrder)
|
void |
setList(ListControl list)
|
void |
setSortBy(java.lang.String sortBy)
|
void |
setSortByOrder(java.lang.String sortByOrder)
|
java.lang.String |
show()
This is an empty implementation return the default show view. |
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 |
Constructor Detail |
---|
public AbstractList(java.lang.String name, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
name
- request
- response
- Method Detail |
---|
protected java.lang.String getTemplateName(java.lang.String viewName)
getTemplateName
in class TemplatedMVCHandler
viewName
- the view name to render
public java.lang.String show()
PageMVCHandler
show
in class PageMVCHandler
public abstract void configureList(ListControl list)
list
- public void initList(ListControl list)
list
- public java.lang.String getLanguage()
public abstract ListModel getModel()
public void setList(ListControl list)
list
- The list to set.public ListControl getList()
public ContextMenu getContextMenu()
protected void configureContextMenu(ContextMenu menu)
protected void addContextMenuItem(ContextMenu menu, java.lang.String name, java.lang.String label, java.lang.String iconName, java.lang.String methodName, java.lang.String isActiveMethodName)
protected RenderKit getRenderKit()
public FunctionBar getFunctionBar()
protected void configureFunctionBar(FunctionBar bar)
public void setFunctionBar(FunctionBar functionBar)
functionBar
- The functionBar to set.public java.lang.String getGroupBy()
public void setGroupBy(java.lang.String groupBy)
groupBy
- The groupBy to set.public java.lang.String getGroupByOrder()
public void setGroupByOrder(java.lang.String groupByOrder)
groupByOrder
- The groupByOrder to set.public java.lang.String getSortBy()
public void setSortBy(java.lang.String sortBy)
sortBy
- The sortBy to set.public java.lang.String getSortByOrder()
public void setSortByOrder(java.lang.String sortByOrder)
sortByOrder
- The sortByOrder to set.public java.lang.String onRender()
public java.lang.String onRenderHeader()
public java.lang.String getURI()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |