com.liferay.portal.service
Class ResourcePermissionServiceUtil
java.lang.Object
com.liferay.portal.service.ResourcePermissionServiceUtil
public class ResourcePermissionServiceUtil
- extends Object
The utility for the resource permission remote service. This utility wraps ResourcePermissionServiceImpl
and is the primary access point for service operations in application layer code running on a remote server.
Never modify this class directly. Add custom service methods to ResourcePermissionServiceImpl
and rerun ServiceBuilder to regenerate this class.
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.
- See Also:
ResourcePermissionService
,
ResourcePermissionServiceBaseImpl
,
ResourcePermissionServiceImpl
- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
Method Summary |
static void |
addResourcePermission(long groupId,
long companyId,
String name,
int scope,
String primKey,
long roleId,
String actionId)
|
static ResourcePermissionService |
getService()
|
static void |
removeResourcePermission(long groupId,
long companyId,
String name,
int scope,
String primKey,
long roleId,
String actionId)
|
static void |
removeResourcePermissions(long groupId,
long companyId,
String name,
int scope,
long roleId,
String actionId)
|
static void |
setIndividualResourcePermissions(long groupId,
long companyId,
String name,
String primKey,
long roleId,
String[] actionIds)
|
void |
setService(ResourcePermissionService service)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourcePermissionServiceUtil
public ResourcePermissionServiceUtil()
addResourcePermission
public static void addResourcePermission(long groupId,
long companyId,
String name,
int scope,
String primKey,
long roleId,
String actionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
setIndividualResourcePermissions
public static void setIndividualResourcePermissions(long groupId,
long companyId,
String name,
String primKey,
long roleId,
String[] actionIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
removeResourcePermission
public static void removeResourcePermission(long groupId,
long companyId,
String name,
int scope,
String primKey,
long roleId,
String actionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
removeResourcePermissions
public static void removeResourcePermissions(long groupId,
long companyId,
String name,
int scope,
long roleId,
String actionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static ResourcePermissionService getService()
setService
public void setService(ResourcePermissionService service)