|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SubjectCustomizer
add the ability to decorate a list of subjects with more attributes. note, while you are decorating, you can check security to see if the groupersession is allowed to see those attributes
Method Summary | |
---|---|
java.util.Set<edu.internet2.middleware.subject.Subject> |
decorateSubjects(GrouperSession grouperSession,
java.util.Set<edu.internet2.middleware.subject.Subject> subjects,
java.util.Collection<java.lang.String> attributeNamesRequested)
decorate subjects based on attributes requested |
java.util.Set<edu.internet2.middleware.subject.Subject> |
filterSubjects(GrouperSession grouperSession,
java.util.Set<edu.internet2.middleware.subject.Subject> subjects,
java.lang.String findSubjectsInStemName)
you can edit the subjects (or replace), but you shouldnt remove them |
Method Detail |
---|
java.util.Set<edu.internet2.middleware.subject.Subject> decorateSubjects(GrouperSession grouperSession, java.util.Set<edu.internet2.middleware.subject.Subject> subjects, java.util.Collection<java.lang.String> attributeNamesRequested)
grouperSession
- subjects
- attributeNamesRequested
-
java.util.Set<edu.internet2.middleware.subject.Subject> filterSubjects(GrouperSession grouperSession, java.util.Set<edu.internet2.middleware.subject.Subject> subjects, java.lang.String findSubjectsInStemName)
grouperSession
- subjects
- 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |