@ProviderType
public interface UserBag
extends Serializable
Modifier and Type | Method and Description |
---|---|
Collection<Group> |
getGroups() |
long[] |
getRoleIds() |
Collection<Role> |
getRoles() |
long[] |
getUserGroupIds() |
Collection<Group> |
getUserGroups() |
long |
getUserId() |
long[] |
getUserOrgGroupIds() |
Collection<Group> |
getUserOrgGroups() |
long[] |
getUserOrgIds() |
Collection<Organization> |
getUserOrgs() |
Collection<Group> |
getUserUserGroupGroups() |
long[] |
getUserUserGroupsIds() |
boolean |
hasRole(Role role) |
boolean |
hasUserGroup(Group group) |
boolean |
hasUserOrg(Organization organization) |
boolean |
hasUserOrgGroup(Group group) |
Collection<Group> getGroups() throws PortalException
PortalException
long[] getRoleIds()
Collection<Role> getRoles() throws PortalException
PortalException
long[] getUserGroupIds()
Collection<Group> getUserGroups() throws PortalException
PortalException
long getUserId()
long[] getUserOrgGroupIds()
Collection<Group> getUserOrgGroups() throws PortalException
PortalException
long[] getUserOrgIds()
Collection<Organization> getUserOrgs() throws PortalException
PortalException
Collection<Group> getUserUserGroupGroups() throws PortalException
PortalException
long[] getUserUserGroupsIds()
boolean hasRole(Role role)
boolean hasUserGroup(Group group)
boolean hasUserOrg(Organization organization)
boolean hasUserOrgGroup(Group group)