public class ShortcutHelper extends Object
| Constructor and Description |
|---|
ShortcutHelper() |
ShortcutHelper(org.uberfire.security.authz.AuthorizationManager authorizationManager,
org.jboss.errai.security.shared.api.identity.User user,
org.uberfire.client.mvp.PlaceManager placeManager) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authorize(HomeShortcut shortcut) |
boolean |
authorize(String perspective) |
String |
getPart(String text,
int part) |
void |
goTo(String perspectiveIdentifier) |
public ShortcutHelper()
@Inject
public ShortcutHelper(org.uberfire.security.authz.AuthorizationManager authorizationManager,
org.jboss.errai.security.shared.api.identity.User user,
org.uberfire.client.mvp.PlaceManager placeManager)
public void goTo(String perspectiveIdentifier)
public boolean authorize(String perspective)
public boolean authorize(HomeShortcut shortcut)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.