Package org.ametys.web.rights
Class Content2PagesRightContextConvertor
- java.lang.Object
-
- org.ametys.web.rights.Content2PagesRightContextConvertor
-
- All Implemented Interfaces:
RightContextConvertor
public class Content2PagesRightContextConvertor extends Object implements RightContextConvertor
This implementation converts aWebContentinto a set ofPages referenced by the content
-
-
Constructor Summary
Constructors Constructor Description Content2PagesRightContextConvertor()
-
-
-
Constructor Detail
-
Content2PagesRightContextConvertor
public Content2PagesRightContextConvertor()
-
-
Method Detail
-
convert
public Set<Object> convert(Object object)
Description copied from interface:RightContextConvertorConverts the object.- Specified by:
convertin 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.
-
-