com.liferay.portal.service
Interface ResourcePermissionService
- All Known Implementing Classes:
- ResourcePermissionServiceBaseImpl, ResourcePermissionServiceImpl, ResourcePermissionServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface ResourcePermissionService
The interface for the resource permission remote service.
Never modify or reference this interface directly. Always use ResourcePermissionServiceUtil
to access the resource permission remote service. Add custom service methods to ResourcePermissionServiceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.
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
,
ResourcePermissionServiceBaseImpl
,
ResourcePermissionServiceImpl
- 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