edu.internet2.middleware.grouper.subj.decoratorExamples
Class SubjectCustomizerForDecoratorTestingHideStudentData

java.lang.Object
  extended by edu.internet2.middleware.grouper.subj.SubjectCustomizerBase
      extended by edu.internet2.middleware.grouper.subj.decoratorExamples.SubjectCustomizerForDecoratorTestingHideStudentData
All Implemented Interfaces:
SubjectCustomizer

public class SubjectCustomizerForDecoratorTestingHideStudentData
extends SubjectCustomizerBase

filter students private information out from people who cant see them

Author:
mchyzer

Field Summary
static String PRIVILEGED_EMPLOYEE_GROUP_NAME
          privileged employee group name
static String STUDENT_GROUP_NAME
          student (protected data) group name
 
Constructor Summary
SubjectCustomizerForDecoratorTestingHideStudentData()
           
 
Method Summary
 Set<edu.internet2.middleware.subject.Subject> filterSubjects(GrouperSession grouperSession, Set<edu.internet2.middleware.subject.Subject> subjects, String findSubjectsInStemName)
          you can edit the subjects (or replace), but you shouldnt remove them
 
Methods inherited from class edu.internet2.middleware.grouper.subj.SubjectCustomizerBase
decorateSubjects
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STUDENT_GROUP_NAME

public static final String STUDENT_GROUP_NAME
student (protected data) group name

See Also:
Constant Field Values

PRIVILEGED_EMPLOYEE_GROUP_NAME

public static final String PRIVILEGED_EMPLOYEE_GROUP_NAME
privileged employee group name

See Also:
Constant Field Values
Constructor Detail

SubjectCustomizerForDecoratorTestingHideStudentData

public SubjectCustomizerForDecoratorTestingHideStudentData()
Method Detail

filterSubjects

public Set<edu.internet2.middleware.subject.Subject> filterSubjects(GrouperSession grouperSession,
                                                                    Set<edu.internet2.middleware.subject.Subject> subjects,
                                                                    String findSubjectsInStemName)
Description copied from interface: SubjectCustomizer
you can edit the subjects (or replace), but you shouldnt remove them

Specified by:
filterSubjects in interface SubjectCustomizer
Overrides:
filterSubjects in class SubjectCustomizerBase
findSubjectsInStemName - if this is a findSubjectsInStem call, this is the stem name. This is useful to filter when searching for subjects to add to a certain group
Returns:
the subjects if same set, or make a new set
See Also:
SubjectCustomizer.filterSubjects(GrouperSession, Set, String)