org.activemath.webapp.user
Class UserGroupDefault
java.lang.Object
org.activemath.webapp.user.UserGroup
org.activemath.webapp.user.UserGroupDefault
- All Implemented Interfaces:
- Comparable
public class UserGroupDefault
- extends UserGroup
User group that implements the defaults.
| 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 |
| 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 |
log
protected static Logger log
UserGroupDefault
public UserGroupDefault()
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