Package org.uberfire.client.authz
Class DefaultWorkbenchController
- java.lang.Object
-
- org.uberfire.client.authz.DefaultWorkbenchController
-
- All Implemented Interfaces:
WorkbenchController
@ApplicationScoped public class DefaultWorkbenchController extends Object implements WorkbenchController
-
-
Constructor Summary
Constructors Constructor Description DefaultWorkbenchController(org.uberfire.security.authz.AuthorizationManager authorizationManager, org.jboss.errai.security.shared.api.identity.User user)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ActivityCheckeditor(String editorId)Creates a brand new instance for checking actions overWorkbenchEditorActivityinstances.ActivityCheckeditor(WorkbenchClientEditorActivity editor)Creates a brand new instance for checking actions overWorkbenchClientEditorActivityinstances.ActivityCheckeditor(WorkbenchEditorActivity editor)Creates a brand new instance for checking actions overWorkbenchEditorActivityinstances.ActivityCheckeditors()Creates a brand new instance for checking global perspective actions actions.static DefaultWorkbenchControllerget()PerspectiveCheckperspective(String perspectiveId)Creates a brand new instance for checking actions overPerspectiveActivityinstances.PerspectiveCheckperspective(PerspectiveActivity perspective)Creates a brand new instance for checking actions overPerspectiveActivityinstances.PerspectiveCheckperspectives()Creates a brand new instance for checking global perspective actions.ActivityCheckpopupScreen(String popupId)Creates a brand new instance for checking actions overPopupActivityinstances.ActivityCheckpopupScreen(PopupActivity popup)Creates a brand new instance for checking actions overPopupActivityinstances.ActivityCheckpopupScreens()Creates a brand new instance for checking global popup screen actions.ActivityCheckscreen(String screenId)Creates a brand new instance for checking actions overWorkbenchScreenActivityinstances.ActivityCheckscreen(WorkbenchScreenActivity screen)Creates a brand new instance for checking actions overWorkbenchScreenActivityinstances.ActivityCheckscreens()Creates a brand new instance for checking global screen actions.ActivityChecksplashScreen(String splashId)Creates a brand new instance for checking actions overSplashScreenActivityinstances.ActivityChecksplashScreen(SplashScreenActivity splash)Creates a brand new instance for checking actions overSplashScreenActivityinstances.ActivityChecksplashScreens()Creates a brand new instance for checking global splash screen actions.
-
-
-
Method Detail
-
get
public static DefaultWorkbenchController get()
-
perspectives
public PerspectiveCheck perspectives()
Description copied from interface:WorkbenchControllerCreates a brand new instance for checking global perspective actions.- Specified by:
perspectivesin interfaceWorkbenchController
-
screens
public ActivityCheck screens()
Description copied from interface:WorkbenchControllerCreates a brand new instance for checking global screen actions.- Specified by:
screensin interfaceWorkbenchController
-
popupScreens
public ActivityCheck popupScreens()
Description copied from interface:WorkbenchControllerCreates a brand new instance for checking global popup screen actions.- Specified by:
popupScreensin interfaceWorkbenchController- Returns:
- A handler for dealing with the perspective check API.
-
splashScreens
public ActivityCheck splashScreens()
Description copied from interface:WorkbenchControllerCreates a brand new instance for checking global splash screen actions.- Specified by:
splashScreensin interfaceWorkbenchController- Returns:
- A handler for dealing with the perspective check API.
-
editors
public ActivityCheck editors()
Description copied from interface:WorkbenchControllerCreates a brand new instance for checking global perspective actions actions.- Specified by:
editorsin interfaceWorkbenchController- Returns:
- A handler for dealing with the perspective check API.
-
perspective
public PerspectiveCheck perspective(PerspectiveActivity perspective)
Description copied from interface:WorkbenchControllerCreates a brand new instance for checking actions overPerspectiveActivityinstances.- Specified by:
perspectivein interfaceWorkbenchController
-
screen
public ActivityCheck screen(WorkbenchScreenActivity screen)
Description copied from interface:WorkbenchControllerCreates a brand new instance for checking actions overWorkbenchScreenActivityinstances.- Specified by:
screenin interfaceWorkbenchController
-
popupScreen
public ActivityCheck popupScreen(PopupActivity popup)
Description copied from interface:WorkbenchControllerCreates a brand new instance for checking actions overPopupActivityinstances.- Specified by:
popupScreenin interfaceWorkbenchController
-
editor
public ActivityCheck editor(WorkbenchEditorActivity editor)
Description copied from interface:WorkbenchControllerCreates a brand new instance for checking actions overWorkbenchEditorActivityinstances.- Specified by:
editorin interfaceWorkbenchController
-
editor
public ActivityCheck editor(WorkbenchClientEditorActivity editor)
Description copied from interface:WorkbenchControllerCreates a brand new instance for checking actions overWorkbenchClientEditorActivityinstances.- Specified by:
editorin interfaceWorkbenchController
-
splashScreen
public ActivityCheck splashScreen(SplashScreenActivity splash)
Description copied from interface:WorkbenchControllerCreates a brand new instance for checking actions overSplashScreenActivityinstances.- Specified by:
splashScreenin interfaceWorkbenchController
-
perspective
public PerspectiveCheck perspective(String perspectiveId)
Description copied from interface:WorkbenchControllerCreates a brand new instance for checking actions overPerspectiveActivityinstances.- Specified by:
perspectivein interfaceWorkbenchController
-
screen
public ActivityCheck screen(String screenId)
Description copied from interface:WorkbenchControllerCreates a brand new instance for checking actions overWorkbenchScreenActivityinstances.- Specified by:
screenin interfaceWorkbenchController
-
popupScreen
public ActivityCheck popupScreen(String popupId)
Description copied from interface:WorkbenchControllerCreates a brand new instance for checking actions overPopupActivityinstances.- Specified by:
popupScreenin interfaceWorkbenchController
-
editor
public ActivityCheck editor(String editorId)
Description copied from interface:WorkbenchControllerCreates a brand new instance for checking actions overWorkbenchEditorActivityinstances.- Specified by:
editorin interfaceWorkbenchController
-
splashScreen
public ActivityCheck splashScreen(String splashId)
Description copied from interface:WorkbenchControllerCreates a brand new instance for checking actions overSplashScreenActivityinstances.- Specified by:
splashScreenin interfaceWorkbenchController
-
-