Class WorkspaceRightContextConvertor
java.lang.Object
org.ametys.plugins.core.impl.right.WorkspaceRightContextConvertor
- All Implemented Interfaces:
RightContextConvertor
,Contextualizable
,Serviceable
public class WorkspaceRightContextConvertor
extends Object
implements RightContextConvertor, Contextualizable, Serviceable
Covnert /${WorkspaceName} to the name of the current workspace and recursiverly relaunch the convertors
-
Field Summary
Modifier and TypeFieldDescriptionprotected Context
The avalon contextprotected RightContextConvertorExtensionPoint
The extension point for the Right Context Convertors -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
contextualize
(Context context) Converts the object.void
service
(ServiceManager manager)
-
Field Details
-
_context
The avalon context -
_rightContextConvertorEP
The extension point for the Right Context Convertors
-
-
Constructor Details
-
WorkspaceRightContextConvertor
public WorkspaceRightContextConvertor()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
contextualize
- Specified by:
contextualize
in interfaceContextualizable
- Throws:
ContextException
-
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.
-