gran.cache
Class ActionCacheManager
java.lang.Object
gran.cache.ActionCacheManager
- All Implemented Interfaces:
- NotificationReceiver
- public class ActionCacheManager
- extends java.lang.Object
- implements NotificationReceiver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getStoredActions
public java.util.HashMap getStoredActions()
getRootActions
public OrderedTree getRootActions()
setRootActions
public void setRootActions(OrderedTree rootActions)
buildTree
public OrderedTree buildTree(java.util.List roles)
- Строит дерево по внутреннему шаблону из заданных элементов. Набор элементов может быть с пропусками, недостающие элементы будут взяты из шаблона.
Вероятно, жутко тормозное место. Чем меньше набор, тем быстрее. Хотя это на скорость влияет несильно.
- Parameters:
roles
-
- Returns:
- Дерево ролей
getActions
public OrderedTree getActions(java.lang.String prstatus)
getInstance
public static ActionCacheManager getInstance()
invalidate
public void invalidate()
receive
public void receive(CacheNotification nf)
throws GranException
- Specified by:
receive
in interface NotificationReceiver
- Throws:
GranException
Copyright © 2002-2004 TrackStudio, Ltd. All Rights Reserved.