|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.service.PermissionServiceUtil
@ProviderType public class PermissionServiceUtil
Provides the remote service utility for Permission. This utility wraps
com.liferay.portal.service.impl.PermissionServiceImpl
and is the
primary access point for service operations in application layer code running
on a remote server. Methods of this service are expected to have security
checks based on the propagated JAAS credentials because this service can be
accessed remotely.
PermissionService
,
PermissionServiceBaseImpl
,
com.liferay.portal.service.impl.PermissionServiceImpl
Constructor Summary | |
---|---|
PermissionServiceUtil()
|
Method Summary | |
---|---|
static void |
checkPermission(long groupId,
String name,
long primKey)
Checks to see if the group has permission to the service. |
static void |
checkPermission(long groupId,
String name,
String primKey)
Checks to see if the group has permission to the service. |
static String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
static PermissionService |
getService()
|
static void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setService(PermissionService service)
Deprecated. As of 6.2.0 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PermissionServiceUtil()
Method Detail |
---|
public static String getBeanIdentifier()
public static void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanpublic static 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 occurredpublic static void 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 occurredpublic static PermissionService getService()
public void setService(PermissionService service)
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |