@AccessControlled @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface PermissionService extends BaseService
PermissionServiceUtil
,
PermissionServiceBaseImpl
,
PermissionServiceImpl
Modifier and Type | Method and Description |
---|---|
void |
checkPermission(long groupId,
String name,
long primKey)
Checks to see if the group has permission to the service.
|
void |
checkPermission(long groupId,
String name,
String primKey)
Checks to see if the group has permission to the service.
|
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
@JSONWebService(mode=IGNORE) void checkPermission(long groupId, String name, long primKey) throws PortalException
groupId
- the primary key of the groupname
- the service nameprimKey
- the primary key of the servicePortalException
void checkPermission(long groupId, String name, String primKey) throws PortalException
groupId
- the primary key of the groupname
- the service nameprimKey
- the primary key of the servicePortalException
String getOSGiServiceIdentifier()