public class UserBagImpl
extends Object
implements com.liferay.portal.kernel.security.permission.UserBag
Constructor and Description |
---|
UserBagImpl(long userId,
Collection<com.liferay.portal.kernel.model.Group> userGroups,
Collection<com.liferay.portal.kernel.model.Organization> userOrgs,
Collection<com.liferay.portal.kernel.model.Group> userOrgGroups,
Collection<com.liferay.portal.kernel.model.Group> userUserGroupGroups,
Collection<com.liferay.portal.kernel.model.Role> userRoles)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
UserBagImpl(long userId,
Collection<com.liferay.portal.kernel.model.Group> userGroups,
Collection<com.liferay.portal.kernel.model.Organization> userOrgs,
Collection<com.liferay.portal.kernel.model.Group> userOrgGroups,
Collection<com.liferay.portal.kernel.model.Group> userUserGroupGroups,
long[] userRoleIds)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
UserBagImpl(long userId,
Collection<com.liferay.portal.kernel.model.Group> userGroups,
Collection<com.liferay.portal.kernel.model.Organization> userOrgs,
Collection<Long> userOrgGroups,
Collection<com.liferay.portal.kernel.model.UserGroup> userUserGroups,
long[] userUserGroupGroups,
Collection<com.liferay.portal.kernel.model.Role> userRoles)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
UserBagImpl(long userId,
Collection<com.liferay.portal.kernel.model.Group> userGroups,
Collection<com.liferay.portal.kernel.model.Organization> userOrgs,
Collection<Long> userOrgGroups,
Collection<com.liferay.portal.kernel.model.UserGroup> userUserGroups,
long[] userUserGroupGroups,
long[] userRoleIds)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
UserBagImpl(long userId,
long[] userGroupsId,
Collection<com.liferay.portal.kernel.model.Organization> userOrgs,
Collection<Long> userOrgGroups,
Collection<com.liferay.portal.kernel.model.UserGroup> userUserGroups,
long[] userUserGroupGroups,
Collection<com.liferay.portal.kernel.model.Role> userRoles) |
UserBagImpl(long userId,
long[] userGroupsIds,
Collection<com.liferay.portal.kernel.model.Organization> userOrgs,
Collection<Long> userOrgGroups,
Collection<com.liferay.portal.kernel.model.UserGroup> userUserGroups,
long[] userUserGroupGroups,
long[] userRoleIds) |
Modifier and Type | Method and Description |
---|---|
Set<com.liferay.portal.kernel.model.Group> |
getGroups() |
long[] |
getRoleIds() |
List<com.liferay.portal.kernel.model.Role> |
getRoles() |
long[] |
getUserGroupIds() |
List<com.liferay.portal.kernel.model.Group> |
getUserGroups() |
long |
getUserId() |
long[] |
getUserOrgGroupIds() |
List<com.liferay.portal.kernel.model.Group> |
getUserOrgGroups() |
long[] |
getUserOrgIds() |
List<com.liferay.portal.kernel.model.Organization> |
getUserOrgs() |
List<com.liferay.portal.kernel.model.Group> |
getUserUserGroupGroups() |
long[] |
getUserUserGroupsIds() |
boolean |
hasRole(com.liferay.portal.kernel.model.Role role) |
boolean |
hasUserGroup(com.liferay.portal.kernel.model.Group group) |
boolean |
hasUserOrg(com.liferay.portal.kernel.model.Organization organization) |
boolean |
hasUserOrgGroup(com.liferay.portal.kernel.model.Group group) |
@Deprecated public UserBagImpl(long userId, Collection<com.liferay.portal.kernel.model.Group> userGroups, Collection<com.liferay.portal.kernel.model.Organization> userOrgs, Collection<com.liferay.portal.kernel.model.Group> userOrgGroups, Collection<com.liferay.portal.kernel.model.Group> userUserGroupGroups, Collection<com.liferay.portal.kernel.model.Role> userRoles)
@Deprecated public UserBagImpl(long userId, Collection<com.liferay.portal.kernel.model.Group> userGroups, Collection<com.liferay.portal.kernel.model.Organization> userOrgs, Collection<com.liferay.portal.kernel.model.Group> userOrgGroups, Collection<com.liferay.portal.kernel.model.Group> userUserGroupGroups, long[] userRoleIds)
@Deprecated public UserBagImpl(long userId, Collection<com.liferay.portal.kernel.model.Group> userGroups, Collection<com.liferay.portal.kernel.model.Organization> userOrgs, Collection<Long> userOrgGroups, Collection<com.liferay.portal.kernel.model.UserGroup> userUserGroups, long[] userUserGroupGroups, Collection<com.liferay.portal.kernel.model.Role> userRoles)
@Deprecated public UserBagImpl(long userId, Collection<com.liferay.portal.kernel.model.Group> userGroups, Collection<com.liferay.portal.kernel.model.Organization> userOrgs, Collection<Long> userOrgGroups, Collection<com.liferay.portal.kernel.model.UserGroup> userUserGroups, long[] userUserGroupGroups, long[] userRoleIds)
public UserBagImpl(long userId, long[] userGroupsId, Collection<com.liferay.portal.kernel.model.Organization> userOrgs, Collection<Long> userOrgGroups, Collection<com.liferay.portal.kernel.model.UserGroup> userUserGroups, long[] userUserGroupGroups, Collection<com.liferay.portal.kernel.model.Role> userRoles)
public UserBagImpl(long userId, long[] userGroupsIds, Collection<com.liferay.portal.kernel.model.Organization> userOrgs, Collection<Long> userOrgGroups, Collection<com.liferay.portal.kernel.model.UserGroup> userUserGroups, long[] userUserGroupGroups, long[] userRoleIds)
public Set<com.liferay.portal.kernel.model.Group> getGroups() throws com.liferay.portal.kernel.exception.PortalException
getGroups
in interface com.liferay.portal.kernel.security.permission.UserBag
com.liferay.portal.kernel.exception.PortalException
public long[] getRoleIds()
getRoleIds
in interface com.liferay.portal.kernel.security.permission.UserBag
public List<com.liferay.portal.kernel.model.Role> getRoles() throws com.liferay.portal.kernel.exception.PortalException
getRoles
in interface com.liferay.portal.kernel.security.permission.UserBag
com.liferay.portal.kernel.exception.PortalException
public long[] getUserGroupIds()
getUserGroupIds
in interface com.liferay.portal.kernel.security.permission.UserBag
public List<com.liferay.portal.kernel.model.Group> getUserGroups() throws com.liferay.portal.kernel.exception.PortalException
getUserGroups
in interface com.liferay.portal.kernel.security.permission.UserBag
com.liferay.portal.kernel.exception.PortalException
public long getUserId()
getUserId
in interface com.liferay.portal.kernel.security.permission.UserBag
public long[] getUserOrgGroupIds()
getUserOrgGroupIds
in interface com.liferay.portal.kernel.security.permission.UserBag
public List<com.liferay.portal.kernel.model.Group> getUserOrgGroups() throws com.liferay.portal.kernel.exception.PortalException
getUserOrgGroups
in interface com.liferay.portal.kernel.security.permission.UserBag
com.liferay.portal.kernel.exception.PortalException
public long[] getUserOrgIds()
getUserOrgIds
in interface com.liferay.portal.kernel.security.permission.UserBag
public List<com.liferay.portal.kernel.model.Organization> getUserOrgs() throws com.liferay.portal.kernel.exception.PortalException
getUserOrgs
in interface com.liferay.portal.kernel.security.permission.UserBag
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.portal.kernel.model.Group> getUserUserGroupGroups() throws com.liferay.portal.kernel.exception.PortalException
getUserUserGroupGroups
in interface com.liferay.portal.kernel.security.permission.UserBag
com.liferay.portal.kernel.exception.PortalException
public long[] getUserUserGroupsIds()
getUserUserGroupsIds
in interface com.liferay.portal.kernel.security.permission.UserBag
public boolean hasRole(com.liferay.portal.kernel.model.Role role)
hasRole
in interface com.liferay.portal.kernel.security.permission.UserBag
public boolean hasUserGroup(com.liferay.portal.kernel.model.Group group)
hasUserGroup
in interface com.liferay.portal.kernel.security.permission.UserBag
public boolean hasUserOrg(com.liferay.portal.kernel.model.Organization organization)
hasUserOrg
in interface com.liferay.portal.kernel.security.permission.UserBag
public boolean hasUserOrgGroup(com.liferay.portal.kernel.model.Group group)
hasUserOrgGroup
in interface com.liferay.portal.kernel.security.permission.UserBag