Package com.liferay.portal.service.base
Class RoleServiceBaseImpl
Object
com.liferay.portal.kernel.service.BaseServiceImpl
com.liferay.portal.service.base.RoleServiceBaseImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService,com.liferay.portal.kernel.service.BaseService,com.liferay.portal.kernel.service.RoleService
- Direct Known Subclasses:
RoleServiceImpl
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
Provides the base implementation for the role remote service.
This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in RoleServiceImpl.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.liferay.counter.kernel.service.CounterLocalServiceprotected com.liferay.portal.kernel.service.persistence.GroupPersistenceprotected com.liferay.portal.kernel.service.persistence.RoleFinderprotected com.liferay.portal.kernel.service.RoleLocalServiceprotected com.liferay.portal.kernel.service.persistence.RolePersistenceprotected com.liferay.portal.kernel.service.RoleServiceprotected com.liferay.portal.kernel.service.persistence.UserPersistenceFields inherited from class com.liferay.portal.kernel.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddestroy()com.liferay.counter.kernel.service.CounterLocalServiceReturns the counter local service.protected Class<?>protected StringReturns the OSGi service identifier.com.liferay.portal.kernel.service.persistence.RoleFinderReturns the role finder.com.liferay.portal.kernel.service.RoleLocalServiceReturns the role local service.com.liferay.portal.kernel.service.persistence.RolePersistenceReturns the role persistence.com.liferay.portal.kernel.service.RoleServiceReturns the role remote service.protected voidPerforms a SQL query.voidsetCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService) Sets the counter local service.voidsetRoleFinder(com.liferay.portal.kernel.service.persistence.RoleFinder roleFinder) Sets the role finder.voidsetRoleLocalService(com.liferay.portal.kernel.service.RoleLocalService roleLocalService) Sets the role local service.voidsetRolePersistence(com.liferay.portal.kernel.service.persistence.RolePersistence rolePersistence) Sets the role persistence.voidsetRoleService(com.liferay.portal.kernel.service.RoleService roleService) Sets the role remote service.Methods inherited from class com.liferay.portal.kernel.service.BaseServiceImpl
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.RoleService
addRole, addUserRoles, deleteRole, fetchRole, fetchRole, fetchRoleByExternalReferenceCode, getGroupRoles, getGroupRolesAndTeamRoles, getGroupRolesAndTeamRolesCount, getRole, getRole, getRoleByExternalReferenceCode, getRoles, getRoles, getUserGroupGroupRoles, getUserGroupRoles, getUserRelatedRoles, getUserRoles, hasUserRole, hasUserRoles, search, searchCount, unsetUserRoles, updateExternalReferenceCode, updateExternalReferenceCode, updateRole
-
Field Details
-
roleLocalService
@BeanReference(type=com.liferay.portal.kernel.service.RoleLocalService.class) protected com.liferay.portal.kernel.service.RoleLocalService roleLocalService -
roleService
@BeanReference(type=com.liferay.portal.kernel.service.RoleService.class) protected com.liferay.portal.kernel.service.RoleService roleService -
rolePersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.RolePersistence.class) protected com.liferay.portal.kernel.service.persistence.RolePersistence rolePersistence -
roleFinder
@BeanReference(type=com.liferay.portal.kernel.service.persistence.RoleFinder.class) protected com.liferay.portal.kernel.service.persistence.RoleFinder roleFinder -
counterLocalService
@BeanReference(type=com.liferay.counter.kernel.service.CounterLocalService.class) protected com.liferay.counter.kernel.service.CounterLocalService counterLocalService -
groupPersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.GroupPersistence.class) protected com.liferay.portal.kernel.service.persistence.GroupPersistence groupPersistence -
userPersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserPersistence.class) protected com.liferay.portal.kernel.service.persistence.UserPersistence userPersistence
-
-
Constructor Details
-
RoleServiceBaseImpl
public RoleServiceBaseImpl()
-
-
Method Details
-
getRoleLocalService
public com.liferay.portal.kernel.service.RoleLocalService getRoleLocalService()Returns the role local service.- Returns:
- the role local service
-
setRoleLocalService
public void setRoleLocalService(com.liferay.portal.kernel.service.RoleLocalService roleLocalService) Sets the role local service.- Parameters:
roleLocalService- the role local service
-
getRoleService
public com.liferay.portal.kernel.service.RoleService getRoleService()Returns the role remote service.- Returns:
- the role remote service
-
setRoleService
public void setRoleService(com.liferay.portal.kernel.service.RoleService roleService) Sets the role remote service.- Parameters:
roleService- the role remote service
-
getRolePersistence
public com.liferay.portal.kernel.service.persistence.RolePersistence getRolePersistence()Returns the role persistence.- Returns:
- the role persistence
-
setRolePersistence
public void setRolePersistence(com.liferay.portal.kernel.service.persistence.RolePersistence rolePersistence) Sets the role persistence.- Parameters:
rolePersistence- the role persistence
-
getRoleFinder
public com.liferay.portal.kernel.service.persistence.RoleFinder getRoleFinder()Returns the role finder.- Returns:
- the role finder
-
setRoleFinder
public void setRoleFinder(com.liferay.portal.kernel.service.persistence.RoleFinder roleFinder) Sets the role finder.- Parameters:
roleFinder- the role finder
-
getCounterLocalService
public com.liferay.counter.kernel.service.CounterLocalService getCounterLocalService()Returns the counter local service.- Returns:
- the counter local service
-
setCounterLocalService
public void setCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService) Sets the counter local service.- Parameters:
counterLocalService- the counter local service
-
afterPropertiesSet
public void afterPropertiesSet() -
destroy
public void destroy() -
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfacecom.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService- Specified by:
getOSGiServiceIdentifierin interfacecom.liferay.portal.kernel.service.RoleService- Returns:
- the OSGi service identifier
-
getModelClass
-
getModelClassName
-
runSQL
Performs a SQL query.- Parameters:
sql- the sql query
-