Schnittstelle ISubjectGroup
- Alle bekannten Implementierungsklassen:
SubjectGroup
public interface ISubjectGroup
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns all contained Subjects.boolean
removeSubject
(String id) Removes an Subject from the list of contained subjectsboolean
removeSubject
(String id, int removeCascadeDepth) Removes an Subject from the list of contained subjectsvoid
setSubjects
(Set<ISubject> subjects) Sets a set of Subjects as contained subjects for this Group subject, overwriting old subjects.void
setSubjects
(Set<ISubject> subjects, int removeCascadeDepth) Sets a set of Subjects as contained subjects for this Group subject, overwriting old subjects.
-
Methodendetails
-
getContainedSubjects
Returns all contained Subjects.- Gibt zurück:
- all contained Subjects
-
setSubjects
Sets a set of Subjects as contained subjects for this Group subject, overwriting old subjects.- Parameter:
subjects
- The set of SubjectsremoveCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
setSubjects
Sets a set of Subjects as contained subjects for this Group subject, overwriting old subjects.- Parameter:
subjects
- The set of Subjects
-
removeSubject
Removes an Subject from the list of contained subjects- Parameter:
id
- the id of the subjectremoveCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one- Gibt zurück:
- a boolean indicating whether the process of removal was a success
-
removeSubject
Removes an Subject from the list of contained subjects- Parameter:
id
- the id of the subject- Gibt zurück:
- a boolean indicating whether the process of removal was a success
-