Interface PermissionService
- All Superinterfaces:
BaseService
- All Known Implementing Classes:
PermissionServiceWrapper
@AccessControlled
@CTAware
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface PermissionService
extends BaseService
Provides the remote service interface for Permission. Methods of this
service are expected to have security checks based on the propagated JAAS
credentials because this service can be accessed remotely.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.Returns the OSGi service identifier.
-
Method Details
-
checkPermission
@JSONWebService(mode=IGNORE) @Transactional(readOnly=true) void checkPermission(long groupId, String name, long primKey) throws PortalException Checks to see if the group has permission to the service.- Parameters:
groupId
- the primary key of the groupname
- the service nameprimKey
- the primary key of the service- Throws:
PortalException
-
checkPermission
@Transactional(readOnly=true) void checkPermission(long groupId, String name, String primKey) throws PortalException Checks to see if the group has permission to the service.- Parameters:
groupId
- the primary key of the groupname
- the service nameprimKey
- the primary key of the service- Throws:
PortalException
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-