Package org.ametys.cms.rights
Class ContentAttachment2ContentRightContextConvertor
- java.lang.Object
-
- org.ametys.cms.rights.ContentAttachment2ContentRightContextConvertor
-
- All Implemented Interfaces:
RightContextConvertor
public class ContentAttachment2ContentRightContextConvertor extends Object implements RightContextConvertor
This implementation converts aResourceCollection
which is an attachment to aContent
into thisContent
-
-
Constructor Summary
Constructors Constructor Description ContentAttachment2ContentRightContextConvertor()
-
-
-
Constructor Detail
-
ContentAttachment2ContentRightContextConvertor
public ContentAttachment2ContentRightContextConvertor()
-
-
Method Detail
-
convert
public Set<Object> convert(Object object)
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.
-
-