Package org.ametys.odf.rights
Class CoursePartRightsContextConvertor
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.odf.rights.CoursePartRightsContextConvertor
- All Implemented Interfaces:
RightContextConvertor
,LogEnabled
public class CoursePartRightsContextConvertor
extends AbstractLogEnabled
implements RightContextConvertor
This implementation convert the
CoursePart
to a Set of Course
they belong to.-
Constructor Summary
-
Method Summary
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
CoursePartRightsContextConvertor
public CoursePartRightsContextConvertor()
-
-
Method Details
-
convert
Description copied from interface:RightContextConvertor
Converts the object.- Specified by:
convert
in interfaceRightContextConvertor
- Parameters:
object
- The initial object- Returns:
- The converted objects. A non-null set, that does not contains the initial object. So if you do not support the object to convert, you must return an empty set.
-