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