public abstract class PermissionServiceBaseImpl
extends com.liferay.portal.kernel.service.BaseServiceImpl
implements com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.PermissionService
This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in PermissionServiceImpl
.
PermissionServiceImpl
Modifier and Type | Field and Description |
---|---|
protected com.liferay.counter.kernel.service.CounterLocalService |
counterLocalService |
protected com.liferay.portal.kernel.service.PermissionService |
permissionService |
Constructor and Description |
---|
PermissionServiceBaseImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
destroy() |
com.liferay.counter.kernel.service.CounterLocalService |
getCounterLocalService()
Returns the counter local service.
|
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.service.PermissionService |
getPermissionService()
Returns the permission remote service.
|
protected void |
runSQL(String sql)
Performs a SQL query.
|
void |
setCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService)
Sets the counter local service.
|
void |
setPermissionService(com.liferay.portal.kernel.service.PermissionService permissionService)
Sets the permission remote service.
|
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
@BeanReference(type=com.liferay.portal.kernel.service.PermissionService.class) protected com.liferay.portal.kernel.service.PermissionService permissionService
@BeanReference(type=com.liferay.counter.kernel.service.CounterLocalService.class) protected com.liferay.counter.kernel.service.CounterLocalService counterLocalService
public com.liferay.portal.kernel.service.PermissionService getPermissionService()
public void setPermissionService(com.liferay.portal.kernel.service.PermissionService permissionService)
permissionService
- the permission remote servicepublic com.liferay.counter.kernel.service.CounterLocalService getCounterLocalService()
public void setCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService)
counterLocalService
- the counter local servicepublic void afterPropertiesSet()
public void destroy()
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
getOSGiServiceIdentifier
in interface com.liferay.portal.kernel.service.PermissionService
protected void runSQL(String sql)
sql
- the sql query