|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ProviderType @AccessControlled @JSONWebService @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface PermissionService
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.
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 |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
Method Detail |
---|
String getBeanIdentifier()
void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this bean@JSONWebService(mode=IGNORE) void checkPermission(long groupId, String name, long primKey) throws PortalException, SystemException
groupId
- the primary key of the groupname
- the service nameprimKey
- the primary key of the service
PortalException
- if the group did not have permission to the
service, if a group with the primary key could not be found or if
the permission information was invalid
SystemException
- if a system exception occurredvoid checkPermission(long groupId, String name, String primKey) throws PortalException, SystemException
groupId
- the primary key of the groupname
- the service nameprimKey
- the primary key of the service
PortalException
- if the group did not have permission to the
service, if a group with the primary key could not be found or if
the permission information was invalid
SystemException
- if a system exception occurred
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |