@Path(value="/") @Consumes(value={"application/json","application/text","text/html","application/x-www-form-urlencoded"}) @Produces(value="application/json;charset=utf-8") @Secured(value={"ROLE_USER","ROLE_ADMIN"}) public class NavQueryService extends SiteAuthorizableSecurableService
Product
DatabaseModifier and Type | Field and Description |
---|---|
protected MenuItem |
menu |
protected AuthMenuLogic |
menuLogic |
protected Map<String,MenuItem> |
menuMap
Reverse mapping of MenuItem names to the actual Object
|
audit, authorizationModule
applicationContext, CACHE, NO_CACHE, request, response
Constructor and Description |
---|
NavQueryService() |
NavQueryService(boolean checkAuthFiltered) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getFocussedMenuItem(String currentItemName) |
protected MenuItem |
getLogicalFocussedItem(MenuItem root,
String itemName) |
MenuItem |
getMenu() |
protected MenuItem |
getMenuItemForName(MenuItem root,
String itemName) |
AuthMenuLogic |
getMenuLogic() |
Map<String,MenuItem> |
getMenuMap()
Reverse mapping of MenuItem names to the actual Object
|
javax.ws.rs.core.Response |
loadNav(String currentItemName,
Boolean ignoreNavigableNodeChildren,
String rootItemName) |
void |
setMenu(MenuItem menu) |
void |
setMenuLogic(AuthMenuLogic menuLogic) |
void |
setMenuMap(Map<String,MenuItem> menuMap)
Reverse mapping of MenuItem names to the actual Object
|
adminCheck, getAuthorizableIdAssignable, getAuthorizableService, getAuthorizationModule, getCurrentUserAuths, getModuleName, getUser, getUserAuths, isAdmin, isUser, setAuthorizationModule
filter, getAuthorizableId, getAuthorizations, setAuthorizableId, setAuthorizations
checkAuthFilterInvoked, query
filter, getCacheDef, getTestString, query
protected Map<String,MenuItem> menuMap
protected MenuItem menu
protected AuthMenuLogic menuLogic
public NavQueryService()
public NavQueryService(boolean checkAuthFiltered)
@GET @Path(value="fetchNav") public javax.ws.rs.core.Response loadNav(@QueryParam(value="currentItemName") String currentItemName, @QueryParam(value="ignoreNavigableNodeChildren") Boolean ignoreNavigableNodeChildren, @QueryParam(value="rootItemName") String rootItemName)
@GET @Path(value="focusMenuItemDetails") public javax.ws.rs.core.Response getFocussedMenuItem(@QueryParam(value="currentItemName") String currentItemName)
public Map<String,MenuItem> getMenuMap()
public void setMenuMap(Map<String,MenuItem> menuMap)
public MenuItem getMenu()
public void setMenu(MenuItem menu)
public AuthMenuLogic getMenuLogic()
public void setMenuLogic(AuthMenuLogic menuLogic)
Copyright © 2018. All rights reserved.