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