org.activemath.webapp.user
Class UserGroupDefault

java.lang.Object
  extended by org.activemath.webapp.user.UserGroup
      extended by org.activemath.webapp.user.UserGroupDefault
All Implemented Interfaces:
Comparable

public class UserGroupDefault
extends UserGroup

User group that implements the defaults.


Field Summary
protected static Logger log
           
 
Fields inherited from class org.activemath.webapp.user.UserGroup
allowedBookIds, allowedGroupingIds, allowedSurveys, availableTests, controlGroup, exerciseStrategy, exerciseStrategyDefault, field, hidden, id, learnerModel, name, parent, parentId, skin, testCompulsoryMap, testTimeouts, tutorIds
 
Constructor Summary
UserGroupDefault()
           
 
Method Summary
 List<Grouping> getAllowedGroupings()
           
 List<Book> getAllowedRecBooks()
           
 Set<String> getAllowedSurveyNames()
           
 Set<String> getAvailableTestsIds()
           
 String getExerciseStrategy()
           
 String getField()
           
 Set<String> getGroupSpecificGroupingIds()
           
 Set<String> getGroupSpecificRecBookIds()
           
 Set<String> getGroupSpecificSurveys()
           
 String getLearnerModel()
           
 UserGroup getParent()
           
 String getProperty(String name)
           
 String getSkin()
           
 boolean isActive()
           
 boolean isDefaultGroup()
           
 
Methods inherited from class org.activemath.webapp.user.UserGroup
addTutor, buildAllowedBookIds, buildAllowedGroupingIds, compareTo, filterBooks, filterGroupings, getAllowedBookIds, getAllowedGroupingIds, getAllowedSurveys, getAvailableTests, getCompulsoryTests, getGroupSpecificAndInheritedGroupingIds, getGroupSpecificAndInheritedRecBookIds, getGroupSpecificAndInheritedSurveys, getId, getInheritedGroupingIds, getInheritedRecBookIds, getInheritedSurveys, getName, getParentId, getParentIds, getRecBooks, getTargetCompetencies, getTestCompulsoryMap, getTestTimeout, getTestTimeouts, getTutors, getTutorsCSV, getUserIds, isAllowedGrouping, isAllowedSurvey, isAllowedTutor, isCompulsoryTest, isControlGroup, isHidden, removeTutor, setAllowedBookIds, setAllowedGroupingIds, setAllowedSurveys, setControlGroup, setExerciseStrategy, setField, setHidden, setId, setIsCompulsoryTest, setLearnerModel, setName, setParentId, setSkin, setTestCompulsoryMap, setTestTimeout, setTestTimeouts, setTutors, setTutorsCSV, splitString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

protected static Logger log
Constructor Detail

UserGroupDefault

public UserGroupDefault()
Method Detail

isDefaultGroup

public boolean isDefaultGroup()
Overrides:
isDefaultGroup in class UserGroup

getExerciseStrategy

public String getExerciseStrategy()
Overrides:
getExerciseStrategy in class UserGroup
Returns:
exercise strategy from this group, parent, or default group

getField

public String getField()
Overrides:
getField in class UserGroup
Returns:
field from this group, parent, or default group, or "" if not set.

isActive

public boolean isActive()
Overrides:
isActive in class UserGroup

getParent

public UserGroup getParent()
Overrides:
getParent in class UserGroup
Returns:
parent UserGroup, or null.

getAvailableTestsIds

public Set<String> getAvailableTestsIds()
Overrides:
getAvailableTestsIds in class UserGroup

getAllowedRecBooks

public List<Book> getAllowedRecBooks()
Overrides:
getAllowedRecBooks in class UserGroup

getGroupSpecificRecBookIds

public Set<String> getGroupSpecificRecBookIds()
Overrides:
getGroupSpecificRecBookIds in class UserGroup

getAllowedGroupings

public List<Grouping> getAllowedGroupings()
Overrides:
getAllowedGroupings in class UserGroup

getGroupSpecificGroupingIds

public Set<String> getGroupSpecificGroupingIds()
Overrides:
getGroupSpecificGroupingIds in class UserGroup

getGroupSpecificSurveys

public Set<String> getGroupSpecificSurveys()
Overrides:
getGroupSpecificSurveys in class UserGroup

getAllowedSurveyNames

public Set<String> getAllowedSurveyNames()
Overrides:
getAllowedSurveyNames in class UserGroup

getProperty

public String getProperty(String name)
Overrides:
getProperty in class UserGroup
Returns:
Value of property from this group, parent, or default group

getLearnerModel

public String getLearnerModel()
Overrides:
getLearnerModel in class UserGroup
Returns:
learner model id from this group, parent, or default group

getSkin

public String getSkin()
Overrides:
getSkin in class UserGroup
Returns:
skin id from this group, parent, or default group