public interface ExperimentalActivitiesAuthorizationManager
Modifier and Type | Method and Description |
---|---|
boolean |
authorizeActivity(Object activity)
Determines if the experimental framework enables rendering a given activity
|
boolean |
authorizeActivityClass(Class<?> activityClass)
Determines if the experimental framework enables rendering a given Class
|
boolean |
authorizeActivityId(String activityId)
Determines if the experimental framework enables rendering a the activity identified by the activityId param.
|
void |
init()
Initializes the manager
|
void |
securePart(PartDefinition part,
PanelDefinition panel)
Checks if the
PartDefinition place points to an experimental activity and replaces it to a ConditionalPlaceRequest |
void init()
boolean authorizeActivity(Object activity)
activity
- The activity to checkboolean authorizeActivityClass(Class<?> activityClass)
activityClass
- The Class to checkboolean authorizeActivityId(String activityId)
activityId
- the activity identifiervoid securePart(PartDefinition part, PanelDefinition panel)
PartDefinition
place points to an experimental activity and replaces it to a ConditionalPlaceRequest
part
- The PartDefinition
to checkpanel
- The PanelDefinition
that owns the plartCopyright © 2012–2019 JBoss by Red Hat. All rights reserved.