public abstract class RoleServiceBaseImpl
extends com.liferay.portal.kernel.service.BaseServiceImpl
implements com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.RoleService
This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in RoleServiceImpl
.
RoleServiceImpl
Modifier and Type | Field and Description |
---|---|
protected com.liferay.counter.kernel.service.CounterLocalService |
counterLocalService |
protected com.liferay.portal.kernel.service.persistence.GroupPersistence |
groupPersistence |
protected com.liferay.portal.kernel.service.persistence.RoleFinder |
roleFinder |
protected com.liferay.portal.kernel.service.RoleLocalService |
roleLocalService |
protected com.liferay.portal.kernel.service.persistence.RolePersistence |
rolePersistence |
protected com.liferay.portal.kernel.service.RoleService |
roleService |
protected com.liferay.portal.kernel.service.persistence.UserPersistence |
userPersistence |
Constructor and Description |
---|
RoleServiceBaseImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
destroy() |
com.liferay.counter.kernel.service.CounterLocalService |
getCounterLocalService()
Returns the counter local service.
|
protected Class<?> |
getModelClass() |
protected String |
getModelClassName() |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.service.persistence.RoleFinder |
getRoleFinder()
Returns the role finder.
|
com.liferay.portal.kernel.service.RoleLocalService |
getRoleLocalService()
Returns the role local service.
|
com.liferay.portal.kernel.service.persistence.RolePersistence |
getRolePersistence()
Returns the role persistence.
|
com.liferay.portal.kernel.service.RoleService |
getRoleService()
Returns the role 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 |
setRoleFinder(com.liferay.portal.kernel.service.persistence.RoleFinder roleFinder)
Sets the role finder.
|
void |
setRoleLocalService(com.liferay.portal.kernel.service.RoleLocalService roleLocalService)
Sets the role local service.
|
void |
setRolePersistence(com.liferay.portal.kernel.service.persistence.RolePersistence rolePersistence)
Sets the role persistence.
|
void |
setRoleService(com.liferay.portal.kernel.service.RoleService roleService)
Sets the role remote service.
|
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addRole, addUserRoles, deleteRole, fetchRole, fetchRole, getGroupRoles, getGroupRolesAndTeamRoles, getGroupRolesAndTeamRolesCount, getRole, getRole, getRoles, getRoles, getUserGroupGroupRoles, getUserGroupRoles, getUserRelatedRoles, getUserRoles, hasUserRole, hasUserRoles, search, searchCount, unsetUserRoles, updateRole
@BeanReference(type=com.liferay.portal.kernel.service.RoleLocalService.class) protected com.liferay.portal.kernel.service.RoleLocalService roleLocalService
@BeanReference(type=com.liferay.portal.kernel.service.RoleService.class) protected com.liferay.portal.kernel.service.RoleService roleService
@BeanReference(type=com.liferay.portal.kernel.service.persistence.RolePersistence.class) protected com.liferay.portal.kernel.service.persistence.RolePersistence rolePersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.RoleFinder.class) protected com.liferay.portal.kernel.service.persistence.RoleFinder roleFinder
@BeanReference(type=com.liferay.counter.kernel.service.CounterLocalService.class) protected com.liferay.counter.kernel.service.CounterLocalService counterLocalService
@BeanReference(type=com.liferay.portal.kernel.service.persistence.GroupPersistence.class) protected com.liferay.portal.kernel.service.persistence.GroupPersistence groupPersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserPersistence.class) protected com.liferay.portal.kernel.service.persistence.UserPersistence userPersistence
public com.liferay.portal.kernel.service.RoleLocalService getRoleLocalService()
public void setRoleLocalService(com.liferay.portal.kernel.service.RoleLocalService roleLocalService)
roleLocalService
- the role local servicepublic com.liferay.portal.kernel.service.RoleService getRoleService()
public void setRoleService(com.liferay.portal.kernel.service.RoleService roleService)
roleService
- the role remote servicepublic com.liferay.portal.kernel.service.persistence.RolePersistence getRolePersistence()
public void setRolePersistence(com.liferay.portal.kernel.service.persistence.RolePersistence rolePersistence)
rolePersistence
- the role persistencepublic com.liferay.portal.kernel.service.persistence.RoleFinder getRoleFinder()
public void setRoleFinder(com.liferay.portal.kernel.service.persistence.RoleFinder roleFinder)
roleFinder
- the role finderpublic 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.RoleService
protected Class<?> getModelClass()
protected String getModelClassName()
protected void runSQL(String sql)
sql
- the sql query