| Package | Description |
|---|---|
| org.gatein.api |
The Portal Public API classes
|
| org.gatein.api.navigation | |
| org.gatein.api.page | |
| org.gatein.api.security | |
| org.gatein.api.site |
| Modifier and Type | Method and Description |
|---|---|
abstract User |
PortalRequest.getUser()
The user of the request.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Portal.hasPermission(User user,
Permission permission)
Returns true if the given user has the rights represented by the permission
|
| Modifier and Type | Method and Description |
|---|---|
FilteredNode |
FilteredNode.showHasAccess(User user)
Adds a filter to this node that accepts nodes the specified user has permissions to access
|
FilteredNode |
FilteredNode.showHasEdit(User user)
Adds a filter to this node that accepts nodes the specified user has permissions to edit
|
| Constructor and Description |
|---|
PageId(User user,
String pageName)
Creates a new page id for a page with the specified user (dashboard) and page name
|
| Modifier and Type | Method and Description |
|---|---|
static User |
User.anonymous()
Creates a anonymous user
|
| Constructor and Description |
|---|
Membership(User user)
Creates a new membership for the specified user
|
Permission(User user)
Creates a permission where the the specified user can access the resource
|
| Constructor and Description |
|---|
SiteId(User user)
Creates a new site id for a users dashboard (site associated with a user)
|
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.