updates the role 's permissions at the scope , setting the actions that can be performed on resources of the type . existing actions are replaced . this method can be used to set permissions at any scope , but it is generally only used at the individual scope . for example , it could be used to set the guest permissions on a blog post . depending on the scope , the value of primkey will have different meanings . for more information , see com.liferay.portal.model.impl.resourcepermissionimpl . concode_field_sep ResourcePermissionService _resourcePermissionService concode_field_sep void addResourcePermission concode_elem_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep void setWrappedService concode_elem_sep void removeResourcePermission concode_elem_sep ResourcePermissionService getWrappedService concode_elem_sep void removeResourcePermissions
void function ( long arg0 , long arg1 , java . lang . String arg2 , java . lang . String arg3 , java . util . Map < java . lang . Long , java . lang . String [ ] > arg4 ) { _resourcePermissionService . setIndividualResourcePermissions ( arg0 , arg1 , arg2 , arg3 , arg4 ) ; }