| |
|
| java.lang.Object com.liferay.portal.service.impl.PrincipalBean com.liferay.portal.service.base.RoleServiceBaseImpl com.liferay.portal.service.impl.RoleServiceImpl
Method Summary | |
public Role | addRole(String name, String description, int type) | public void | addUserRoles(long userId, long[] roleIds) | protected void | checkUserRolesPermission(long userId, long[] roleIds) | public void | deleteRole(long roleId) | public Role | getGroupRole(long companyId, long groupId) | public List | getGroupRoles(long groupId) | public Role | getRole(long roleId) | public Role | getRole(long companyId, String name) | public List | getUserGroupRoles(long userId, long groupId) | public List | getUserRelatedRoles(long userId, List groups) | public List | getUserRoles(long userId) | public boolean | hasUserRole(long userId, long companyId, String name, boolean inherited) | public boolean | hasUserRoles(long userId, long companyId, String[] names, boolean inherited) | public void | unsetUserRoles(long userId, long[] roleIds) | public Role | updateRole(long roleId, String name, String description) |
|
|
|