|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.dotmarketing.cache.NavMenuCache
public class NavMenuCache
This class is used to cache menu items for nav.jsp menu
| Constructor Summary | |
|---|---|
NavMenuCache()
|
|
| Method Summary | |
|---|---|
static void |
add(java.lang.String porletId,
java.util.List<MenuItem> menus)
To add a new DOM tree related to the portletId to the cache |
static void |
clearCache()
|
static java.util.List<MenuItem> |
get(java.lang.String porletId)
To retrieve a DOM tree from the cache |
static java.lang.String[] |
getGroups()
|
static java.lang.String |
getPrimaryGroup()
|
static void |
invalidate(java.lang.String porletId)
To invalidate (remove) the DOM tree entry related to this portletId from the cache |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NavMenuCache()
| Method Detail |
|---|
public static void add(java.lang.String porletId,
java.util.List<MenuItem> menus)
portletId - The value is used as a key to identify the DOM treedoc - The DOM tree to be stored into the cache.public static java.util.List<MenuItem> get(java.lang.String porletId)
portletId -
public static void invalidate(java.lang.String porletId)
portletId - public static void clearCache()
public static java.lang.String[] getGroups()
public static java.lang.String getPrimaryGroup()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||