Package org.ametys.cms.rights
Class Content2ContentTypeRightContextConvertor
java.lang.Object
org.ametys.cms.rights.Content2ContentTypeRightContextConvertor
- All Implemented Interfaces:
RightContextConvertor
public class Content2ContentTypeRightContextConvertor
extends Object
implements RightContextConvertor
This implementation converts a
Content
into a set of content type hierarchy-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The prefix for right context for content types -
Constructor Summary
-
Method Summary
-
Field Details
-
CONTENT_TYPE_RIGHT_CONTEXT_PREFIX
The prefix for right context for content types- See Also:
-
-
Constructor Details
-
Content2ContentTypeRightContextConvertor
-
-
Method Details
-
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.
-