Class PageToModuleRootRightContextConvertor
java.lang.Object
org.ametys.plugins.workspaces.project.rights.convertor.PageToModuleRootRightContextConvertor
- All Implemented Interfaces:
RightContextConvertor
,Serviceable
public class PageToModuleRootRightContextConvertor
extends Object
implements RightContextConvertor, Serviceable
Converts a page of a project to its module root
The index page of a project will be additionally converted to the Project
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
PageToModuleRootRightContextConvertor
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
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.
-