com.liferay.portal.security.permission
Class UserBagImpl
java.lang.Object
com.liferay.portal.security.permission.UserBagImpl
- All Implemented Interfaces:
- UserBag, Serializable
public class UserBagImpl
- extends Object
- implements UserBag
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserBagImpl
public UserBagImpl(long userId,
Set<Group> userGroups,
Set<Organization> userOrgs,
Set<Group> userOrgGroups,
Set<Group> userUserGroupGroups,
Set<Role> userRoles)
getGroups
public Set<Group> getGroups()
- Specified by:
getGroups in interface UserBag
getRoles
public Set<Role> getRoles()
- Specified by:
getRoles in interface UserBag
getUserGroups
public Set<Group> getUserGroups()
- Specified by:
getUserGroups in interface UserBag
getUserId
public long getUserId()
- Specified by:
getUserId in interface UserBag
getUserOrgGroups
public Set<Group> getUserOrgGroups()
- Specified by:
getUserOrgGroups in interface UserBag
getUserOrgs
public Set<Organization> getUserOrgs()
- Specified by:
getUserOrgs in interface UserBag
getUserUserGroupGroups
public Set<Group> getUserUserGroupGroups()
- Specified by:
getUserUserGroupGroups in interface UserBag
hasRole
public boolean hasRole(Role role)
- Specified by:
hasRole in interface UserBag