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 aResourceCollectionwhich is an attachment to aContentinto 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: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.
 
 
 - 
 
 -