| com.liferay.portal.service.RoleService
All known Subclasses: com.liferay.portal.service.base.RoleServiceBaseImpl,
RoleService | public interface RoleService (Code) | | View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portal.service.impl.RoleServiceImpl .
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
author: Brian Wing Shun Chan See Also: com.liferay.portal.service.RoleServiceFactory See Also: com.liferay.portal.service.RoleServiceUtil |
Method Summary | |
public com.liferay.portal.model.Role | addRole(java.lang.String name, java.lang.String description, int type) | public void | addUserRoles(long userId, long[] roleIds) | public void | deleteRole(long roleId) | public com.liferay.portal.model.Role | getGroupRole(long companyId, long groupId) | public java.util.List | getGroupRoles(long groupId) | public com.liferay.portal.model.Role | getRole(long roleId) | public com.liferay.portal.model.Role | getRole(long companyId, java.lang.String name) | public java.util.List | getUserGroupRoles(long userId, long groupId) | public java.util.List | getUserRelatedRoles(long userId, java.util.List groups) | public java.util.List | getUserRoles(long userId) | public boolean | hasUserRole(long userId, long companyId, java.lang.String name, boolean inherited) | public boolean | hasUserRoles(long userId, long companyId, java.lang.String[] names, boolean inherited) | public void | unsetUserRoles(long userId, long[] roleIds) | public com.liferay.portal.model.Role | updateRole(long roleId, java.lang.String name, java.lang.String description) |
|
|