|
Liferay 6.2-ce-ga2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.PermissionServiceWrapper
@ProviderType public class PermissionServiceWrapper
Provides a wrapper for PermissionService.
PermissionService| Constructor Summary | |
|---|---|
PermissionServiceWrapper(PermissionService permissionService)
|
|
| 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. |
PermissionService |
getWrappedPermissionService()
Deprecated. As of 6.1.0, replaced by getWrappedService() |
PermissionService |
getWrappedService()
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setWrappedPermissionService(PermissionService permissionService)
Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portal.service.PermissionService) |
void |
setWrappedService(PermissionService permissionService)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PermissionServiceWrapper(PermissionService permissionService)
| Method Detail |
|---|
public String getBeanIdentifier()
getBeanIdentifier in interface PermissionServicepublic void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier in interface PermissionServicebeanIdentifier - the Spring bean ID for this bean
public void checkPermission(long groupId,
String name,
long primKey)
throws PortalException,
SystemException
checkPermission in interface PermissionServicegroupId - 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
public void checkPermission(long groupId,
String name,
String primKey)
throws PortalException,
SystemException
checkPermission in interface PermissionServicegroupId - 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 PermissionService getWrappedPermissionService()
getWrappedService()
public void setWrappedPermissionService(PermissionService permissionService)
setWrappedService(com.liferay.portal.service.PermissionService)
public PermissionService getWrappedService()
getWrappedService in interface ServiceWrapper<PermissionService>public void setWrappedService(PermissionService permissionService)
setWrappedService in interface ServiceWrapper<PermissionService>
|
Liferay 6.2-ce-ga2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||