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 a
ResourceCollection which is an attachment to a Content into this Content-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ContentAttachment2ContentRightContextConvertor
-
-
Method Details
-
convert
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.
-