Liferay 7.0-ce-b4

com.liferay.portal.service
Interface PermissionService

All Superinterfaces:
BaseService
All Known Implementing Classes:
PermissionServiceWrapper

@AccessControlled
@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.

See Also:
PermissionServiceUtil, PermissionServiceBaseImpl, com.liferay.portal.service.impl.PermissionServiceImpl

Method Summary
 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.
 

Method Detail

checkPermission

@JSONWebService(mode=IGNORE)
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 group
name - the service name
primKey - the primary key of the service
Throws:
PortalException

checkPermission

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 group
name - the service name
primKey - the primary key of the service
Throws:
PortalException

getOSGiServiceIdentifier

String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

Liferay 7.0-ce-b4