| java.lang.Object biz.hammurapi.web.ActionsBase biz.hammurapi.web.menu.MenuActions
MenuActions | public class MenuActions extends ActionsBase (Code) | | Web actions class for Menu and related objects.
author: Pavel Vlasov version: $Revision$ |
Method Summary | |
public Object | delete(HttpServletRequest request, HttpServletResponse response, ActionServlet servlet) Deletes Group by "id" parameter. | public Object | get(HttpServletRequest request, HttpServletResponse response, ActionServlet servlet) | public static MenuEngine | getEngine(HttpServletRequest request) | public Object | getMenu(HttpServletRequest request, HttpServletResponse response, ActionServlet servlet) Returns list of menus for AJAX tree. | public Object | getPermissions(HttpServletRequest request, HttpServletResponse response, ActionServlet servlet) | public Object | getRoot(HttpServletRequest request, HttpServletResponse response, ActionServlet servlet) Returns user root menu. | public Collection | listRoots(HttpServletRequest request, HttpServletResponse response, ActionServlet servlet) Lists root menu items. | public static String | normalizeLineSeparator(String oldContent) | public String | path(HttpServletRequest request, HttpServletResponse response, ActionServlet servlet) | public static String | path(String idStr, MenuEngine engine) | public Object | update(HttpServletRequest request, HttpServletResponse response, ActionServlet servlet) Updates menu. | public Object | updatePermissions(HttpServletRequest request, HttpServletResponse response, ActionServlet servlet) Iterates over permissions parameter values and updates database. |
normalizeLineSeparator | public static String normalizeLineSeparator(String oldContent)(Code) | | |
Methods inherited from biz.hammurapi.web.ActionsBase | protected static Object getGlobal(HttpServletRequest request, String name)(Code)(Java Doc) protected Menu getMatched(HttpServletRequest request)(Code)(Java Doc) protected Menu getMenu(HttpServletRequest request)(Code)(Java Doc) public static String getReferrer(HttpServletRequest request)(Code)(Java Doc) protected Object getRemoted(HttpServletRequest request, HttpServletResponse response, String name)(Code)(Java Doc) protected String getUid()(Code)(Java Doc) protected boolean hasPermission(HttpServletRequest request, Class clazz, String action)(Code)(Java Doc) protected static boolean includeThisInPath(HttpServletRequest request)(Code)(Java Doc) public void invoke(HttpServletRequest request, HttpServletResponse response) throws IOException(Code)(Java Doc) public static boolean isBlank(String str)(Code)(Java Doc) public void java(HttpServletRequest request, HttpServletResponse response, ActionServlet servlet) throws IOException(Code)(Java Doc) public DomSerializable request2xml(HttpServletRequest request, HttpServletResponse response)(Code)(Java Doc) protected void setReferrer(HttpServletRequest request, Attributable target)(Code)(Java Doc) public Object sql(HttpServletRequest request, HttpServletResponse response, ActionServlet servlet) throws IOException(Code)(Java Doc)
|
|
|