org.activemath.webapp.dict.queries
Class LearnerHidingPolicy

java.lang.Object
  extended by org.activemath.webapp.dict.queries.LearnerHidingPolicy

public class LearnerHidingPolicy
extends Object

Set of utilities to enable the fragile learner-symbol-hiding-policy which states that symbols (and a few other elements) should be hidden from users that are not authors.


Constructor Summary
LearnerHidingPolicy()
           
 
Method Summary
static List listTypesToHide()
           
static boolean shouldApplyPolicy(User user, AMQueryPack queryPack)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LearnerHidingPolicy

public LearnerHidingPolicy()
Method Detail

shouldApplyPolicy

public static boolean shouldApplyPolicy(User user,
                                        AMQueryPack queryPack)

listTypesToHide

public static List listTypesToHide()