com.liferay.portal.service
Interface ResourcePermissionService
- All Known Implementing Classes:
- ResourcePermissionServiceBaseImpl, ResourcePermissionServiceImpl, ResourcePermissionServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface ResourcePermissionService
This interface defines the service. The default implementation is
ResourcePermissionServiceImpl.
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.
- See Also:
ResourcePermissionServiceUtil- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
void |
addResourcePermission(long groupId,
long companyId,
String name,
int scope,
String primKey,
long roleId,
String actionId)
|
void |
removeResourcePermission(long groupId,
long companyId,
String name,
int scope,
String primKey,
long roleId,
String actionId)
|
void |
removeResourcePermissions(long groupId,
long companyId,
String name,
int scope,
long roleId,
String actionId)
|
void |
setIndividualResourcePermissions(long groupId,
long companyId,
String name,
String primKey,
long roleId,
String[] actionIds)
|
addResourcePermission
void addResourcePermission(long groupId,
long companyId,
String name,
int scope,
String primKey,
long roleId,
String actionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
setIndividualResourcePermissions
void setIndividualResourcePermissions(long groupId,
long companyId,
String name,
String primKey,
long roleId,
String[] actionIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
removeResourcePermission
void removeResourcePermission(long groupId,
long companyId,
String name,
int scope,
String primKey,
long roleId,
String actionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
removeResourcePermissions
void removeResourcePermissions(long groupId,
long companyId,
String name,
int scope,
long roleId,
String actionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException