Package org.javlo.service
Class NavigationService
- java.lang.Object
-
- org.javlo.service.NavigationService
-
public class NavigationService extends Object
-
-
Constructor Summary
Constructors Constructor Description NavigationService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
logger
protected static Logger logger
create a static logger.
-
-
Method Detail
-
getInstance
public static NavigationService getInstance(GlobalContext globalContext) throws ServiceException
- Throws:
ServiceException
-
clearAllPage
public void clearAllPage()
-
clearAllViewPage
public void clearAllViewPage()
-
clearPage
public void clearPage(ContentContext ctx)
-
getPage
public MenuElement getPage(ContentContext ctx, String pageKey) throws Exception
- Throws:
Exception
-
removeNavigation
public void removeNavigation(ContentContext ctx, MenuElement elem) throws Exception
- Throws:
Exception
-
removeNavigationNoStore
public void removeNavigationNoStore(ContentContext ctx, MenuElement elem) throws Exception
- Throws:
Exception
-
checkSameUrl
public static void checkSameUrl(ContentContext ctx, Collection<MenuElement> allPages) throws Exception
- Throws:
Exception
-
-