public class NavigationService extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
logger
create a static logger.
|
| Constructor and Description |
|---|
NavigationService() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkSameUrl(ContentContext ctx,
Collection<MenuElement> allPages) |
void |
clearAllPage() |
void |
clearAllViewPage() |
void |
clearPage(ContentContext ctx) |
static NavigationService |
getInstance(GlobalContext globalContext) |
MenuElement |
getPage(ContentContext ctx,
String pageKey) |
void |
removeNavigation(ContentContext ctx,
MenuElement elem) |
void |
removeNavigationNoStore(ContentContext ctx,
MenuElement elem) |
protected static Logger logger
public static NavigationService getInstance(GlobalContext globalContext) throws ServiceException
ServiceExceptionpublic void clearAllPage()
public void clearAllViewPage()
public void clearPage(ContentContext ctx)
public MenuElement getPage(ContentContext ctx, String pageKey) throws Exception
Exceptionpublic void removeNavigation(ContentContext ctx, MenuElement elem) throws Exception
Exceptionpublic void removeNavigationNoStore(ContentContext ctx, MenuElement elem) throws Exception
Exceptionpublic static void checkSameUrl(ContentContext ctx, Collection<MenuElement> allPages) throws Exception
ExceptionCopyright © 2012-2018. All Rights Reserved.