|
|||||||||
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 | |
---|---|
Set<edu.internet2.middleware.subject.Subject> |
decorateSubjects(GrouperSession grouperSession,
Set<edu.internet2.middleware.subject.Subject> subjects,
Collection<String> attributeNamesRequested)
decorate subjects based on attributes requested |
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 |
Method Detail |
---|
Set<edu.internet2.middleware.subject.Subject> decorateSubjects(GrouperSession grouperSession, Set<edu.internet2.middleware.subject.Subject> subjects, Collection<String> attributeNamesRequested)
grouperSession
- subjects
- attributeNamesRequested
-
Set<edu.internet2.middleware.subject.Subject> filterSubjects(GrouperSession grouperSession, Set<edu.internet2.middleware.subject.Subject> subjects, 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 |