Liferay 7.0-ga1 portal-impl

com.liferay.portal.service.base
Class RoleLocalServiceBaseImpl

java.lang.Object
  extended by com.liferay.portal.kernel.service.BaseLocalServiceImpl
      extended by com.liferay.portal.service.base.RoleLocalServiceBaseImpl
All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.RoleLocalService
Direct Known Subclasses:
RoleLocalServiceImpl

@ProviderType
public abstract class RoleLocalServiceBaseImpl
extends com.liferay.portal.kernel.service.BaseLocalServiceImpl
implements com.liferay.portal.kernel.service.RoleLocalService, com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService

Provides the base implementation for the role local service.

This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in RoleLocalServiceImpl.

See Also:
RoleLocalServiceImpl, RoleLocalServiceUtil
{$generated.description}

Field Summary
protected  com.liferay.portal.kernel.service.ClassNameLocalService classNameLocalService
           
protected  com.liferay.portal.kernel.service.persistence.ClassNamePersistence classNamePersistence
           
protected  com.liferay.portal.kernel.service.CompanyLocalService companyLocalService
           
protected  com.liferay.portal.kernel.service.persistence.CompanyPersistence companyPersistence
           
protected  com.liferay.counter.kernel.service.CounterLocalService counterLocalService
           
protected  com.liferay.expando.kernel.service.ExpandoRowLocalService expandoRowLocalService
           
protected  com.liferay.expando.kernel.service.persistence.ExpandoRowPersistence expandoRowPersistence
           
protected  com.liferay.portal.kernel.service.persistence.GroupFinder groupFinder
           
protected  com.liferay.portal.kernel.service.GroupLocalService groupLocalService
           
protected  com.liferay.portal.kernel.service.persistence.GroupPersistence groupPersistence
           
protected  com.liferay.portal.kernel.service.persistence.LayoutFinder layoutFinder
           
protected  com.liferay.portal.kernel.service.LayoutLocalService layoutLocalService
           
protected  com.liferay.portal.kernel.service.persistence.LayoutPersistence layoutPersistence
           
protected  com.liferay.portal.kernel.service.PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  com.liferay.portal.kernel.service.ResourceActionLocalService resourceActionLocalService
           
protected  com.liferay.portal.kernel.service.persistence.ResourceActionPersistence resourceActionPersistence
           
protected  com.liferay.portal.kernel.service.persistence.ResourceBlockFinder resourceBlockFinder
           
protected  com.liferay.portal.kernel.service.ResourceBlockLocalService resourceBlockLocalService
           
protected  com.liferay.portal.kernel.service.ResourceBlockPermissionLocalService resourceBlockPermissionLocalService
           
protected  com.liferay.portal.kernel.service.persistence.ResourceBlockPermissionPersistence resourceBlockPermissionPersistence
           
protected  com.liferay.portal.kernel.service.persistence.ResourceBlockPersistence resourceBlockPersistence
           
protected  com.liferay.portal.kernel.service.ResourceLocalService resourceLocalService
           
protected  com.liferay.portal.kernel.service.persistence.ResourcePermissionFinder resourcePermissionFinder
           
protected  com.liferay.portal.kernel.service.ResourcePermissionLocalService resourcePermissionLocalService
           
protected  com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence resourcePermissionPersistence
           
protected  com.liferay.portal.kernel.service.persistence.ResourceTypePermissionFinder resourceTypePermissionFinder
           
protected  com.liferay.portal.kernel.service.ResourceTypePermissionLocalService resourceTypePermissionLocalService
           
protected  com.liferay.portal.kernel.service.persistence.ResourceTypePermissionPersistence resourceTypePermissionPersistence
           
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.persistence.TeamFinder teamFinder
           
protected  com.liferay.portal.kernel.service.TeamLocalService teamLocalService
           
protected  com.liferay.portal.kernel.service.persistence.TeamPersistence teamPersistence
           
protected  com.liferay.portal.kernel.service.persistence.UserFinder userFinder
           
protected  com.liferay.portal.kernel.service.persistence.UserGroupGroupRoleFinder userGroupGroupRoleFinder
           
protected  com.liferay.portal.kernel.service.UserGroupGroupRoleLocalService userGroupGroupRoleLocalService
           
protected  com.liferay.portal.kernel.service.persistence.UserGroupGroupRolePersistence userGroupGroupRolePersistence
           
protected  com.liferay.portal.kernel.service.persistence.UserGroupRoleFinder userGroupRoleFinder
           
protected  com.liferay.portal.kernel.service.UserGroupRoleLocalService userGroupRoleLocalService
           
protected  com.liferay.portal.kernel.service.persistence.UserGroupRolePersistence userGroupRolePersistence
           
protected  com.liferay.portal.kernel.service.UserLocalService userLocalService
           
protected  com.liferay.portal.kernel.service.persistence.UserPersistence userPersistence
           
 
Constructor Summary
RoleLocalServiceBaseImpl()
           
 
Method Summary
 void addGroupRole(long groupId, long roleId)
           
 void addGroupRole(long groupId, com.liferay.portal.kernel.model.Role role)
           
 void addGroupRoles(long groupId, List<com.liferay.portal.kernel.model.Role> roles)
           
 void addGroupRoles(long groupId, long[] roleIds)
           
 com.liferay.portal.kernel.model.Role addRole(com.liferay.portal.kernel.model.Role role)
          Adds the role to the database.
 void addUserRole(long userId, long roleId)
           
 void addUserRole(long userId, com.liferay.portal.kernel.model.Role role)
           
 void addUserRoles(long userId, List<com.liferay.portal.kernel.model.Role> roles)
           
 void addUserRoles(long userId, long[] roleIds)
           
 void afterPropertiesSet()
           
 void clearGroupRoles(long groupId)
           
 void clearUserRoles(long userId)
           
 com.liferay.portal.kernel.model.Role createRole(long roleId)
          Creates a new role with the primary key.
 void deleteGroupRole(long groupId, long roleId)
           
 void deleteGroupRole(long groupId, com.liferay.portal.kernel.model.Role role)
           
 void deleteGroupRoles(long groupId, List<com.liferay.portal.kernel.model.Role> roles)
           
 void deleteGroupRoles(long groupId, long[] roleIds)
           
 com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
           
 com.liferay.portal.kernel.model.Role deleteRole(long roleId)
          Deletes the role with the primary key from the database.
 com.liferay.portal.kernel.model.Role deleteRole(com.liferay.portal.kernel.model.Role role)
          Deletes the role from the database.
 void deleteUserRole(long userId, long roleId)
           
 void deleteUserRole(long userId, com.liferay.portal.kernel.model.Role role)
           
 void deleteUserRoles(long userId, List<com.liferay.portal.kernel.model.Role> roles)
           
 void deleteUserRoles(long userId, long[] roleIds)
           
 void destroy()
           
 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
           
<T> List<T>
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
<T> List<T>
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
<T> List<T>
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
          Performs a dynamic query on the database and returns an ordered range of the matching rows.
 long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
          Returns the number of rows matching the dynamic query.
 long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
          Returns the number of rows matching the dynamic query.
 com.liferay.portal.kernel.model.Role fetchRole(long roleId)
           
 com.liferay.portal.kernel.model.Role fetchRoleByUuidAndCompanyId(String uuid, long companyId)
          Returns the role with the matching UUID and company.
 com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
           
 com.liferay.portal.kernel.service.ClassNameLocalService getClassNameLocalService()
          Returns the class name local service.
 com.liferay.portal.kernel.service.persistence.ClassNamePersistence getClassNamePersistence()
          Returns the class name persistence.
 com.liferay.portal.kernel.service.CompanyLocalService getCompanyLocalService()
          Returns the company local service.
 com.liferay.portal.kernel.service.persistence.CompanyPersistence getCompanyPersistence()
          Returns the company persistence.
 com.liferay.counter.kernel.service.CounterLocalService getCounterLocalService()
          Returns the counter local service.
 com.liferay.expando.kernel.service.ExpandoRowLocalService getExpandoRowLocalService()
          Returns the expando row local service.
 com.liferay.expando.kernel.service.persistence.ExpandoRowPersistence getExpandoRowPersistence()
          Returns the expando row persistence.
 com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
           
 com.liferay.portal.kernel.service.persistence.GroupFinder getGroupFinder()
          Returns the group finder.
 com.liferay.portal.kernel.service.GroupLocalService getGroupLocalService()
          Returns the group local service.
 com.liferay.portal.kernel.service.persistence.GroupPersistence getGroupPersistence()
          Returns the group persistence.
 long[] getGroupPrimaryKeys(long roleId)
          Returns the groupIds of the groups associated with the role.
 List<com.liferay.portal.kernel.model.Role> getGroupRoles(long groupId)
           
 List<com.liferay.portal.kernel.model.Role> getGroupRoles(long groupId, int start, int end)
           
 List<com.liferay.portal.kernel.model.Role> getGroupRoles(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Role> orderByComparator)
           
 int getGroupRolesCount(long groupId)
           
 com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
           
 com.liferay.portal.kernel.service.persistence.LayoutFinder getLayoutFinder()
          Returns the layout finder.
 com.liferay.portal.kernel.service.LayoutLocalService getLayoutLocalService()
          Returns the layout local service.
 com.liferay.portal.kernel.service.persistence.LayoutPersistence getLayoutPersistence()
          Returns the layout persistence.
protected  Class<?> getModelClass()
           
protected  String getModelClassName()
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 com.liferay.portal.kernel.service.ResourceActionLocalService getResourceActionLocalService()
          Returns the resource action local service.
 com.liferay.portal.kernel.service.persistence.ResourceActionPersistence getResourceActionPersistence()
          Returns the resource action persistence.
 com.liferay.portal.kernel.service.persistence.ResourceBlockFinder getResourceBlockFinder()
          Returns the resource block finder.
 com.liferay.portal.kernel.service.ResourceBlockLocalService getResourceBlockLocalService()
          Returns the resource block local service.
 com.liferay.portal.kernel.service.ResourceBlockPermissionLocalService getResourceBlockPermissionLocalService()
          Returns the resource block permission local service.
 com.liferay.portal.kernel.service.persistence.ResourceBlockPermissionPersistence getResourceBlockPermissionPersistence()
          Returns the resource block permission persistence.
 com.liferay.portal.kernel.service.persistence.ResourceBlockPersistence getResourceBlockPersistence()
          Returns the resource block persistence.
 com.liferay.portal.kernel.service.ResourceLocalService getResourceLocalService()
          Returns the resource local service.
 com.liferay.portal.kernel.service.persistence.ResourcePermissionFinder getResourcePermissionFinder()
          Returns the resource permission finder.
 com.liferay.portal.kernel.service.ResourcePermissionLocalService getResourcePermissionLocalService()
          Returns the resource permission local service.
 com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence getResourcePermissionPersistence()
          Returns the resource permission persistence.
 com.liferay.portal.kernel.service.persistence.ResourceTypePermissionFinder getResourceTypePermissionFinder()
          Returns the resource type permission finder.
 com.liferay.portal.kernel.service.ResourceTypePermissionLocalService getResourceTypePermissionLocalService()
          Returns the resource type permission local service.
 com.liferay.portal.kernel.service.persistence.ResourceTypePermissionPersistence getResourceTypePermissionPersistence()
          Returns the resource type permission persistence.
 com.liferay.portal.kernel.model.Role getRole(long roleId)
          Returns the role with the primary key.
 com.liferay.portal.kernel.model.Role getRoleByUuidAndCompanyId(String uuid, long companyId)
          Returns the role with the matching UUID and company.
 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.
 List<com.liferay.portal.kernel.model.Role> getRoles(int start, int end)
          Returns a range of all the roles.
 int getRolesCount()
          Returns the number of roles.
 com.liferay.portal.kernel.service.persistence.TeamFinder getTeamFinder()
          Returns the team finder.
 com.liferay.portal.kernel.service.TeamLocalService getTeamLocalService()
          Returns the team local service.
 com.liferay.portal.kernel.service.persistence.TeamPersistence getTeamPersistence()
          Returns the team persistence.
 com.liferay.portal.kernel.service.persistence.UserFinder getUserFinder()
          Returns the user finder.
 com.liferay.portal.kernel.service.persistence.UserGroupGroupRoleFinder getUserGroupGroupRoleFinder()
          Returns the user group group role finder.
 com.liferay.portal.kernel.service.UserGroupGroupRoleLocalService getUserGroupGroupRoleLocalService()
          Returns the user group group role local service.
 com.liferay.portal.kernel.service.persistence.UserGroupGroupRolePersistence getUserGroupGroupRolePersistence()
          Returns the user group group role persistence.
 com.liferay.portal.kernel.service.persistence.UserGroupRoleFinder getUserGroupRoleFinder()
          Returns the user group role finder.
 com.liferay.portal.kernel.service.UserGroupRoleLocalService getUserGroupRoleLocalService()
          Returns the user group role local service.
 com.liferay.portal.kernel.service.persistence.UserGroupRolePersistence getUserGroupRolePersistence()
          Returns the user group role persistence.
 com.liferay.portal.kernel.service.UserLocalService getUserLocalService()
          Returns the user local service.
 com.liferay.portal.kernel.service.persistence.UserPersistence getUserPersistence()
          Returns the user persistence.
 long[] getUserPrimaryKeys(long roleId)
          Returns the userIds of the users associated with the role.
 List<com.liferay.portal.kernel.model.Role> getUserRoles(long userId)
           
 List<com.liferay.portal.kernel.model.Role> getUserRoles(long userId, int start, int end)
           
 List<com.liferay.portal.kernel.model.Role> getUserRoles(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Role> orderByComparator)
           
 int getUserRolesCount(long userId)
           
 boolean hasGroupRole(long groupId, long roleId)
           
 boolean hasGroupRoles(long groupId)
           
 boolean hasUserRole(long userId, long roleId)
           
 boolean hasUserRoles(long userId)
           
protected  void initActionableDynamicQuery(com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery actionableDynamicQuery)
           
protected  void runSQL(String sql)
          Performs a SQL query.
 void setClassNameLocalService(com.liferay.portal.kernel.service.ClassNameLocalService classNameLocalService)
          Sets the class name local service.
 void setClassNamePersistence(com.liferay.portal.kernel.service.persistence.ClassNamePersistence classNamePersistence)
          Sets the class name persistence.
 void setCompanyLocalService(com.liferay.portal.kernel.service.CompanyLocalService companyLocalService)
          Sets the company local service.
 void setCompanyPersistence(com.liferay.portal.kernel.service.persistence.CompanyPersistence companyPersistence)
          Sets the company persistence.
 void setCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService)
          Sets the counter local service.
 void setExpandoRowLocalService(com.liferay.expando.kernel.service.ExpandoRowLocalService expandoRowLocalService)
          Sets the expando row local service.
 void setExpandoRowPersistence(com.liferay.expando.kernel.service.persistence.ExpandoRowPersistence expandoRowPersistence)
          Sets the expando row persistence.
 void setGroupFinder(com.liferay.portal.kernel.service.persistence.GroupFinder groupFinder)
          Sets the group finder.
 void setGroupLocalService(com.liferay.portal.kernel.service.GroupLocalService groupLocalService)
          Sets the group local service.
 void setGroupPersistence(com.liferay.portal.kernel.service.persistence.GroupPersistence groupPersistence)
          Sets the group persistence.
 void setGroupRoles(long groupId, long[] roleIds)
           
 void setLayoutFinder(com.liferay.portal.kernel.service.persistence.LayoutFinder layoutFinder)
          Sets the layout finder.
 void setLayoutLocalService(com.liferay.portal.kernel.service.LayoutLocalService layoutLocalService)
          Sets the layout local service.
 void setLayoutPersistence(com.liferay.portal.kernel.service.persistence.LayoutPersistence layoutPersistence)
          Sets the layout persistence.
 void setResourceActionLocalService(com.liferay.portal.kernel.service.ResourceActionLocalService resourceActionLocalService)
          Sets the resource action local service.
 void setResourceActionPersistence(com.liferay.portal.kernel.service.persistence.ResourceActionPersistence resourceActionPersistence)
          Sets the resource action persistence.
 void setResourceBlockFinder(com.liferay.portal.kernel.service.persistence.ResourceBlockFinder resourceBlockFinder)
          Sets the resource block finder.
 void setResourceBlockLocalService(com.liferay.portal.kernel.service.ResourceBlockLocalService resourceBlockLocalService)
          Sets the resource block local service.
 void setResourceBlockPermissionLocalService(com.liferay.portal.kernel.service.ResourceBlockPermissionLocalService resourceBlockPermissionLocalService)
          Sets the resource block permission local service.
 void setResourceBlockPermissionPersistence(com.liferay.portal.kernel.service.persistence.ResourceBlockPermissionPersistence resourceBlockPermissionPersistence)
          Sets the resource block permission persistence.
 void setResourceBlockPersistence(com.liferay.portal.kernel.service.persistence.ResourceBlockPersistence resourceBlockPersistence)
          Sets the resource block persistence.
 void setResourceLocalService(com.liferay.portal.kernel.service.ResourceLocalService resourceLocalService)
          Sets the resource local service.
 void setResourcePermissionFinder(com.liferay.portal.kernel.service.persistence.ResourcePermissionFinder resourcePermissionFinder)
          Sets the resource permission finder.
 void setResourcePermissionLocalService(com.liferay.portal.kernel.service.ResourcePermissionLocalService resourcePermissionLocalService)
          Sets the resource permission local service.
 void setResourcePermissionPersistence(com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence resourcePermissionPersistence)
          Sets the resource permission persistence.
 void setResourceTypePermissionFinder(com.liferay.portal.kernel.service.persistence.ResourceTypePermissionFinder resourceTypePermissionFinder)
          Sets the resource type permission finder.
 void setResourceTypePermissionLocalService(com.liferay.portal.kernel.service.ResourceTypePermissionLocalService resourceTypePermissionLocalService)
          Sets the resource type permission local service.
 void setResourceTypePermissionPersistence(com.liferay.portal.kernel.service.persistence.ResourceTypePermissionPersistence resourceTypePermissionPersistence)
          Sets the resource type permission persistence.
 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 setTeamFinder(com.liferay.portal.kernel.service.persistence.TeamFinder teamFinder)
          Sets the team finder.
 void setTeamLocalService(com.liferay.portal.kernel.service.TeamLocalService teamLocalService)
          Sets the team local service.
 void setTeamPersistence(com.liferay.portal.kernel.service.persistence.TeamPersistence teamPersistence)
          Sets the team persistence.
 void setUserFinder(com.liferay.portal.kernel.service.persistence.UserFinder userFinder)
          Sets the user finder.
 void setUserGroupGroupRoleFinder(com.liferay.portal.kernel.service.persistence.UserGroupGroupRoleFinder userGroupGroupRoleFinder)
          Sets the user group group role finder.
 void setUserGroupGroupRoleLocalService(com.liferay.portal.kernel.service.UserGroupGroupRoleLocalService userGroupGroupRoleLocalService)
          Sets the user group group role local service.
 void setUserGroupGroupRolePersistence(com.liferay.portal.kernel.service.persistence.UserGroupGroupRolePersistence userGroupGroupRolePersistence)
          Sets the user group group role persistence.
 void setUserGroupRoleFinder(com.liferay.portal.kernel.service.persistence.UserGroupRoleFinder userGroupRoleFinder)
          Sets the user group role finder.
 void setUserGroupRoleLocalService(com.liferay.portal.kernel.service.UserGroupRoleLocalService userGroupRoleLocalService)
          Sets the user group role local service.
 void setUserGroupRolePersistence(com.liferay.portal.kernel.service.persistence.UserGroupRolePersistence userGroupRolePersistence)
          Sets the user group role persistence.
 void setUserLocalService(com.liferay.portal.kernel.service.UserLocalService userLocalService)
          Sets the user local service.
 void setUserPersistence(com.liferay.portal.kernel.service.persistence.UserPersistence userPersistence)
          Sets the user persistence.
 void setUserRoles(long userId, long[] roleIds)
           
 com.liferay.portal.kernel.model.Role updateRole(com.liferay.portal.kernel.model.Role role)
          Updates the role in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.kernel.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.kernel.service.RoleLocalService
addRole, checkSystemRoles, checkSystemRoles, fetchRole, getDefaultGroupRole, getGroupRelatedRoles, getResourceBlockRoles, getResourceRoles, getResourceRoles, getRole, getRoles, getRoles, getRoles, getRoles, getSubtypeRoles, getSubtypeRolesCount, getTeamRole, getTeamRoleMap, getTeamRoles, getTeamRoles, getTypeRoles, getTypeRoles, getTypeRolesCount, getUserGroupGroupRoles, getUserGroupGroupRoles, getUserGroupGroupRolesCount, getUserGroupRoles, getUserRelatedRoles, getUserRelatedRoles, getUserRelatedRoles, hasUserRole, hasUserRoles, loadFetchRole, loadGetRole, search, search, search, search, searchCount, searchCount, searchCount, searchCount, unsetUserRoles, updateRole
 

Field Detail

roleLocalService

@BeanReference(type=com.liferay.portal.kernel.service.RoleLocalService.class)
protected com.liferay.portal.kernel.service.RoleLocalService roleLocalService

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

classNameLocalService

@BeanReference(type=com.liferay.portal.kernel.service.ClassNameLocalService.class)
protected com.liferay.portal.kernel.service.ClassNameLocalService classNameLocalService

classNamePersistence

@BeanReference(type=com.liferay.portal.kernel.service.persistence.ClassNamePersistence.class)
protected com.liferay.portal.kernel.service.persistence.ClassNamePersistence classNamePersistence

companyLocalService

@BeanReference(type=com.liferay.portal.kernel.service.CompanyLocalService.class)
protected com.liferay.portal.kernel.service.CompanyLocalService companyLocalService

companyPersistence

@BeanReference(type=com.liferay.portal.kernel.service.persistence.CompanyPersistence.class)
protected com.liferay.portal.kernel.service.persistence.CompanyPersistence companyPersistence

groupLocalService

@BeanReference(type=com.liferay.portal.kernel.service.GroupLocalService.class)
protected com.liferay.portal.kernel.service.GroupLocalService groupLocalService

groupPersistence

@BeanReference(type=com.liferay.portal.kernel.service.persistence.GroupPersistence.class)
protected com.liferay.portal.kernel.service.persistence.GroupPersistence groupPersistence

groupFinder

@BeanReference(type=com.liferay.portal.kernel.service.persistence.GroupFinder.class)
protected com.liferay.portal.kernel.service.persistence.GroupFinder groupFinder

layoutLocalService

@BeanReference(type=com.liferay.portal.kernel.service.LayoutLocalService.class)
protected com.liferay.portal.kernel.service.LayoutLocalService layoutLocalService

layoutPersistence

@BeanReference(type=com.liferay.portal.kernel.service.persistence.LayoutPersistence.class)
protected com.liferay.portal.kernel.service.persistence.LayoutPersistence layoutPersistence

layoutFinder

@BeanReference(type=com.liferay.portal.kernel.service.persistence.LayoutFinder.class)
protected com.liferay.portal.kernel.service.persistence.LayoutFinder layoutFinder

resourceLocalService

@BeanReference(type=com.liferay.portal.kernel.service.ResourceLocalService.class)
protected com.liferay.portal.kernel.service.ResourceLocalService resourceLocalService

resourceActionLocalService

@BeanReference(type=com.liferay.portal.kernel.service.ResourceActionLocalService.class)
protected com.liferay.portal.kernel.service.ResourceActionLocalService resourceActionLocalService

resourceActionPersistence

@BeanReference(type=com.liferay.portal.kernel.service.persistence.ResourceActionPersistence.class)
protected com.liferay.portal.kernel.service.persistence.ResourceActionPersistence resourceActionPersistence

resourceBlockLocalService

@BeanReference(type=com.liferay.portal.kernel.service.ResourceBlockLocalService.class)
protected com.liferay.portal.kernel.service.ResourceBlockLocalService resourceBlockLocalService

resourceBlockPersistence

@BeanReference(type=com.liferay.portal.kernel.service.persistence.ResourceBlockPersistence.class)
protected com.liferay.portal.kernel.service.persistence.ResourceBlockPersistence resourceBlockPersistence

resourceBlockFinder

@BeanReference(type=com.liferay.portal.kernel.service.persistence.ResourceBlockFinder.class)
protected com.liferay.portal.kernel.service.persistence.ResourceBlockFinder resourceBlockFinder

resourceBlockPermissionLocalService

@BeanReference(type=com.liferay.portal.kernel.service.ResourceBlockPermissionLocalService.class)
protected com.liferay.portal.kernel.service.ResourceBlockPermissionLocalService resourceBlockPermissionLocalService

resourceBlockPermissionPersistence

@BeanReference(type=com.liferay.portal.kernel.service.persistence.ResourceBlockPermissionPersistence.class)
protected com.liferay.portal.kernel.service.persistence.ResourceBlockPermissionPersistence resourceBlockPermissionPersistence

resourcePermissionLocalService

@BeanReference(type=com.liferay.portal.kernel.service.ResourcePermissionLocalService.class)
protected com.liferay.portal.kernel.service.ResourcePermissionLocalService resourcePermissionLocalService

resourcePermissionPersistence

@BeanReference(type=com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence.class)
protected com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence resourcePermissionPersistence

resourcePermissionFinder

@BeanReference(type=com.liferay.portal.kernel.service.persistence.ResourcePermissionFinder.class)
protected com.liferay.portal.kernel.service.persistence.ResourcePermissionFinder resourcePermissionFinder

resourceTypePermissionLocalService

@BeanReference(type=com.liferay.portal.kernel.service.ResourceTypePermissionLocalService.class)
protected com.liferay.portal.kernel.service.ResourceTypePermissionLocalService resourceTypePermissionLocalService

resourceTypePermissionPersistence

@BeanReference(type=com.liferay.portal.kernel.service.persistence.ResourceTypePermissionPersistence.class)
protected com.liferay.portal.kernel.service.persistence.ResourceTypePermissionPersistence resourceTypePermissionPersistence

resourceTypePermissionFinder

@BeanReference(type=com.liferay.portal.kernel.service.persistence.ResourceTypePermissionFinder.class)
protected com.liferay.portal.kernel.service.persistence.ResourceTypePermissionFinder resourceTypePermissionFinder

expandoRowLocalService

@BeanReference(type=com.liferay.expando.kernel.service.ExpandoRowLocalService.class)
protected com.liferay.expando.kernel.service.ExpandoRowLocalService expandoRowLocalService

expandoRowPersistence

@BeanReference(type=com.liferay.expando.kernel.service.persistence.ExpandoRowPersistence.class)
protected com.liferay.expando.kernel.service.persistence.ExpandoRowPersistence expandoRowPersistence

teamLocalService

@BeanReference(type=com.liferay.portal.kernel.service.TeamLocalService.class)
protected com.liferay.portal.kernel.service.TeamLocalService teamLocalService

teamPersistence

@BeanReference(type=com.liferay.portal.kernel.service.persistence.TeamPersistence.class)
protected com.liferay.portal.kernel.service.persistence.TeamPersistence teamPersistence

teamFinder

@BeanReference(type=com.liferay.portal.kernel.service.persistence.TeamFinder.class)
protected com.liferay.portal.kernel.service.persistence.TeamFinder teamFinder

userLocalService

@BeanReference(type=com.liferay.portal.kernel.service.UserLocalService.class)
protected com.liferay.portal.kernel.service.UserLocalService userLocalService

userPersistence

@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserPersistence.class)
protected com.liferay.portal.kernel.service.persistence.UserPersistence userPersistence

userFinder

@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserFinder.class)
protected com.liferay.portal.kernel.service.persistence.UserFinder userFinder

userGroupGroupRoleLocalService

@BeanReference(type=com.liferay.portal.kernel.service.UserGroupGroupRoleLocalService.class)
protected com.liferay.portal.kernel.service.UserGroupGroupRoleLocalService userGroupGroupRoleLocalService

userGroupGroupRolePersistence

@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserGroupGroupRolePersistence.class)
protected com.liferay.portal.kernel.service.persistence.UserGroupGroupRolePersistence userGroupGroupRolePersistence

userGroupGroupRoleFinder

@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserGroupGroupRoleFinder.class)
protected com.liferay.portal.kernel.service.persistence.UserGroupGroupRoleFinder userGroupGroupRoleFinder

userGroupRoleLocalService

@BeanReference(type=com.liferay.portal.kernel.service.UserGroupRoleLocalService.class)
protected com.liferay.portal.kernel.service.UserGroupRoleLocalService userGroupRoleLocalService

userGroupRolePersistence

@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserGroupRolePersistence.class)
protected com.liferay.portal.kernel.service.persistence.UserGroupRolePersistence userGroupRolePersistence

userGroupRoleFinder

@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserGroupRoleFinder.class)
protected com.liferay.portal.kernel.service.persistence.UserGroupRoleFinder userGroupRoleFinder

persistedModelLocalServiceRegistry

@BeanReference(type=com.liferay.portal.kernel.service.PersistedModelLocalServiceRegistry.class)
protected com.liferay.portal.kernel.service.PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
Constructor Detail

RoleLocalServiceBaseImpl

public RoleLocalServiceBaseImpl()
Method Detail

addRole

@Indexable(type=REINDEX)
public com.liferay.portal.kernel.model.Role addRole(com.liferay.portal.kernel.model.Role role)
Adds the role to the database. Also notifies the appropriate model listeners.

Specified by:
addRole in interface com.liferay.portal.kernel.service.RoleLocalService
Parameters:
role - the role
Returns:
the role that was added

createRole

public com.liferay.portal.kernel.model.Role createRole(long roleId)
Creates a new role with the primary key. Does not add the role to the database.

Specified by:
createRole in interface com.liferay.portal.kernel.service.RoleLocalService
Parameters:
roleId - the primary key for the new role
Returns:
the new role

deleteRole

@Indexable(type=DELETE)
public com.liferay.portal.kernel.model.Role deleteRole(long roleId)
                                                throws com.liferay.portal.kernel.exception.PortalException
Deletes the role with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteRole in interface com.liferay.portal.kernel.service.RoleLocalService
Parameters:
roleId - the primary key of the role
Returns:
the role that was removed
Throws:
com.liferay.portal.kernel.exception.PortalException - if a role with the primary key could not be found

deleteRole

@Indexable(type=DELETE)
public com.liferay.portal.kernel.model.Role deleteRole(com.liferay.portal.kernel.model.Role role)
                                                throws com.liferay.portal.kernel.exception.PortalException
Deletes the role from the database. Also notifies the appropriate model listeners.

Specified by:
deleteRole in interface com.liferay.portal.kernel.service.RoleLocalService
Parameters:
role - the role
Returns:
the role that was removed
Throws:
com.liferay.portal.kernel.exception.PortalException

dynamicQuery

public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
Specified by:
dynamicQuery in interface com.liferay.portal.kernel.service.RoleLocalService

dynamicQuery

public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface com.liferay.portal.kernel.service.RoleLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows

dynamicQuery

public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                int start,
                                int end)
Performs a dynamic query on the database and returns a range of the matching rows.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from RoleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
dynamicQuery in interface com.liferay.portal.kernel.service.RoleLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
Returns:
the range of matching rows

dynamicQuery

public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                int start,
                                int end,
                                com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from RoleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
dynamicQuery in interface com.liferay.portal.kernel.service.RoleLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching rows

dynamicQueryCount

public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface com.liferay.portal.kernel.service.RoleLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows matching the dynamic query

dynamicQueryCount

public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                              com.liferay.portal.kernel.dao.orm.Projection projection)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface com.liferay.portal.kernel.service.RoleLocalService
Parameters:
dynamicQuery - the dynamic query
projection - the projection to apply to the query
Returns:
the number of rows matching the dynamic query

fetchRole

public com.liferay.portal.kernel.model.Role fetchRole(long roleId)
Specified by:
fetchRole in interface com.liferay.portal.kernel.service.RoleLocalService

fetchRoleByUuidAndCompanyId

public com.liferay.portal.kernel.model.Role fetchRoleByUuidAndCompanyId(String uuid,
                                                                        long companyId)
Returns the role with the matching UUID and company.

Specified by:
fetchRoleByUuidAndCompanyId in interface com.liferay.portal.kernel.service.RoleLocalService
Parameters:
uuid - the role's UUID
companyId - the primary key of the company
Returns:
the matching role, or null if a matching role could not be found

getRole

public com.liferay.portal.kernel.model.Role getRole(long roleId)
                                             throws com.liferay.portal.kernel.exception.PortalException
Returns the role with the primary key.

Specified by:
getRole in interface com.liferay.portal.kernel.service.RoleLocalService
Parameters:
roleId - the primary key of the role
Returns:
the role
Throws:
com.liferay.portal.kernel.exception.PortalException - if a role with the primary key could not be found

getActionableDynamicQuery

public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
Specified by:
getActionableDynamicQuery in interface com.liferay.portal.kernel.service.RoleLocalService

getIndexableActionableDynamicQuery

public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
Specified by:
getIndexableActionableDynamicQuery in interface com.liferay.portal.kernel.service.RoleLocalService

initActionableDynamicQuery

protected void initActionableDynamicQuery(com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery actionableDynamicQuery)

getExportActionableDynamicQuery

public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
Specified by:
getExportActionableDynamicQuery in interface com.liferay.portal.kernel.service.RoleLocalService

deletePersistedModel

public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
                                                                    throws com.liferay.portal.kernel.exception.PortalException
Specified by:
deletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
Specified by:
deletePersistedModel in interface com.liferay.portal.kernel.service.RoleLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException

getPersistedModel

public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj)
                                                                 throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
Specified by:
getPersistedModel in interface com.liferay.portal.kernel.service.RoleLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException

getRoleByUuidAndCompanyId

public com.liferay.portal.kernel.model.Role getRoleByUuidAndCompanyId(String uuid,
                                                                      long companyId)
                                                               throws com.liferay.portal.kernel.exception.PortalException
Returns the role with the matching UUID and company.

Specified by:
getRoleByUuidAndCompanyId in interface com.liferay.portal.kernel.service.RoleLocalService
Parameters:
uuid - the role's UUID
companyId - the primary key of the company
Returns:
the matching role
Throws:
com.liferay.portal.kernel.exception.PortalException - if a matching role could not be found

getRoles

public List<com.liferay.portal.kernel.model.Role> getRoles(int start,
                                                           int end)
Returns a range of all the roles.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from RoleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
getRoles in interface com.liferay.portal.kernel.service.RoleLocalService
Parameters:
start - the lower bound of the range of roles
end - the upper bound of the range of roles (not inclusive)
Returns:
the range of roles

getRolesCount

public int getRolesCount()
Returns the number of roles.

Specified by:
getRolesCount in interface com.liferay.portal.kernel.service.RoleLocalService
Returns:
the number of roles

updateRole

@Indexable(type=REINDEX)
public com.liferay.portal.kernel.model.Role updateRole(com.liferay.portal.kernel.model.Role role)
Updates the role in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateRole in interface com.liferay.portal.kernel.service.RoleLocalService
Parameters:
role - the role
Returns:
the role that was updated

addGroupRole

public void addGroupRole(long groupId,
                         long roleId)
Specified by:
addGroupRole in interface com.liferay.portal.kernel.service.RoleLocalService

addGroupRole

public void addGroupRole(long groupId,
                         com.liferay.portal.kernel.model.Role role)
Specified by:
addGroupRole in interface com.liferay.portal.kernel.service.RoleLocalService

addGroupRoles

public void addGroupRoles(long groupId,
                          long[] roleIds)
Specified by:
addGroupRoles in interface com.liferay.portal.kernel.service.RoleLocalService

addGroupRoles

public void addGroupRoles(long groupId,
                          List<com.liferay.portal.kernel.model.Role> roles)
Specified by:
addGroupRoles in interface com.liferay.portal.kernel.service.RoleLocalService

clearGroupRoles

public void clearGroupRoles(long groupId)
Specified by:
clearGroupRoles in interface com.liferay.portal.kernel.service.RoleLocalService

deleteGroupRole

public void deleteGroupRole(long groupId,
                            long roleId)
Specified by:
deleteGroupRole in interface com.liferay.portal.kernel.service.RoleLocalService

deleteGroupRole

public void deleteGroupRole(long groupId,
                            com.liferay.portal.kernel.model.Role role)
Specified by:
deleteGroupRole in interface com.liferay.portal.kernel.service.RoleLocalService

deleteGroupRoles

public void deleteGroupRoles(long groupId,
                             long[] roleIds)
Specified by:
deleteGroupRoles in interface com.liferay.portal.kernel.service.RoleLocalService

deleteGroupRoles

public void deleteGroupRoles(long groupId,
                             List<com.liferay.portal.kernel.model.Role> roles)
Specified by:
deleteGroupRoles in interface com.liferay.portal.kernel.service.RoleLocalService

getGroupPrimaryKeys

public long[] getGroupPrimaryKeys(long roleId)
Returns the groupIds of the groups associated with the role.

Specified by:
getGroupPrimaryKeys in interface com.liferay.portal.kernel.service.RoleLocalService
Parameters:
roleId - the roleId of the role
Returns:
long[] the groupIds of groups associated with the role

getGroupRoles

public List<com.liferay.portal.kernel.model.Role> getGroupRoles(long groupId)
Specified by:
getGroupRoles in interface com.liferay.portal.kernel.service.RoleLocalService

getGroupRoles

public List<com.liferay.portal.kernel.model.Role> getGroupRoles(long groupId,
                                                                int start,
                                                                int end)
Specified by:
getGroupRoles in interface com.liferay.portal.kernel.service.RoleLocalService

getGroupRoles

public List<com.liferay.portal.kernel.model.Role> getGroupRoles(long groupId,
                                                                int start,
                                                                int end,
                                                                com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Role> orderByComparator)
Specified by:
getGroupRoles in interface com.liferay.portal.kernel.service.RoleLocalService

getGroupRolesCount

public int getGroupRolesCount(long groupId)
Specified by:
getGroupRolesCount in interface com.liferay.portal.kernel.service.RoleLocalService

hasGroupRole

public boolean hasGroupRole(long groupId,
                            long roleId)
Specified by:
hasGroupRole in interface com.liferay.portal.kernel.service.RoleLocalService

hasGroupRoles

public boolean hasGroupRoles(long groupId)
Specified by:
hasGroupRoles in interface com.liferay.portal.kernel.service.RoleLocalService

setGroupRoles

public void setGroupRoles(long groupId,
                          long[] roleIds)
Specified by:
setGroupRoles in interface com.liferay.portal.kernel.service.RoleLocalService

addUserRole

public void addUserRole(long userId,
                        long roleId)
                 throws com.liferay.portal.kernel.exception.PortalException
Specified by:
addUserRole in interface com.liferay.portal.kernel.service.RoleLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException

addUserRole

public void addUserRole(long userId,
                        com.liferay.portal.kernel.model.Role role)
                 throws com.liferay.portal.kernel.exception.PortalException
Specified by:
addUserRole in interface com.liferay.portal.kernel.service.RoleLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException

addUserRoles

public void addUserRoles(long userId,
                         long[] roleIds)
                  throws com.liferay.portal.kernel.exception.PortalException
Specified by:
addUserRoles in interface com.liferay.portal.kernel.service.RoleLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException

addUserRoles

public void addUserRoles(long userId,
                         List<com.liferay.portal.kernel.model.Role> roles)
                  throws com.liferay.portal.kernel.exception.PortalException
Specified by:
addUserRoles in interface com.liferay.portal.kernel.service.RoleLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException

clearUserRoles

public void clearUserRoles(long userId)
                    throws com.liferay.portal.kernel.exception.PortalException
Specified by:
clearUserRoles in interface com.liferay.portal.kernel.service.RoleLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException

deleteUserRole

public void deleteUserRole(long userId,
                           long roleId)
                    throws com.liferay.portal.kernel.exception.PortalException
Specified by:
deleteUserRole in interface com.liferay.portal.kernel.service.RoleLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException

deleteUserRole

public void deleteUserRole(long userId,
                           com.liferay.portal.kernel.model.Role role)
                    throws com.liferay.portal.kernel.exception.PortalException
Specified by:
deleteUserRole in interface com.liferay.portal.kernel.service.RoleLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException

deleteUserRoles

public void deleteUserRoles(long userId,
                            long[] roleIds)
                     throws com.liferay.portal.kernel.exception.PortalException
Specified by:
deleteUserRoles in interface com.liferay.portal.kernel.service.RoleLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException

deleteUserRoles

public void deleteUserRoles(long userId,
                            List<com.liferay.portal.kernel.model.Role> roles)
                     throws com.liferay.portal.kernel.exception.PortalException
Specified by:
deleteUserRoles in interface com.liferay.portal.kernel.service.RoleLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException

getUserPrimaryKeys

public long[] getUserPrimaryKeys(long roleId)
Returns the userIds of the users associated with the role.

Specified by:
getUserPrimaryKeys in interface com.liferay.portal.kernel.service.RoleLocalService
Parameters:
roleId - the roleId of the role
Returns:
long[] the userIds of users associated with the role

getUserRoles

public List<com.liferay.portal.kernel.model.Role> getUserRoles(long userId)
Specified by:
getUserRoles in interface com.liferay.portal.kernel.service.RoleLocalService

getUserRoles

public List<com.liferay.portal.kernel.model.Role> getUserRoles(long userId,
                                                               int start,
                                                               int end)
Specified by:
getUserRoles in interface com.liferay.portal.kernel.service.RoleLocalService

getUserRoles

public List<com.liferay.portal.kernel.model.Role> getUserRoles(long userId,
                                                               int start,
                                                               int end,
                                                               com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Role> orderByComparator)
Specified by:
getUserRoles in interface com.liferay.portal.kernel.service.RoleLocalService

getUserRolesCount

public int getUserRolesCount(long userId)
Specified by:
getUserRolesCount in interface com.liferay.portal.kernel.service.RoleLocalService

hasUserRole

public boolean hasUserRole(long userId,
                           long roleId)
Specified by:
hasUserRole in interface com.liferay.portal.kernel.service.RoleLocalService

hasUserRoles

public boolean hasUserRoles(long userId)
Specified by:
hasUserRoles in interface com.liferay.portal.kernel.service.RoleLocalService

setUserRoles

public void setUserRoles(long userId,
                         long[] roleIds)
                  throws com.liferay.portal.kernel.exception.PortalException
Specified by:
setUserRoles in interface com.liferay.portal.kernel.service.RoleLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException

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

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

getClassNameLocalService

public com.liferay.portal.kernel.service.ClassNameLocalService getClassNameLocalService()
Returns the class name local service.

Returns:
the class name local service

setClassNameLocalService

public void setClassNameLocalService(com.liferay.portal.kernel.service.ClassNameLocalService classNameLocalService)
Sets the class name local service.

Parameters:
classNameLocalService - the class name local service

getClassNamePersistence

public com.liferay.portal.kernel.service.persistence.ClassNamePersistence getClassNamePersistence()
Returns the class name persistence.

Returns:
the class name persistence

setClassNamePersistence

public void setClassNamePersistence(com.liferay.portal.kernel.service.persistence.ClassNamePersistence classNamePersistence)
Sets the class name persistence.

Parameters:
classNamePersistence - the class name persistence

getCompanyLocalService

public com.liferay.portal.kernel.service.CompanyLocalService getCompanyLocalService()
Returns the company local service.

Returns:
the company local service

setCompanyLocalService

public void setCompanyLocalService(com.liferay.portal.kernel.service.CompanyLocalService companyLocalService)
Sets the company local service.

Parameters:
companyLocalService - the company local service

getCompanyPersistence

public com.liferay.portal.kernel.service.persistence.CompanyPersistence getCompanyPersistence()
Returns the company persistence.

Returns:
the company persistence

setCompanyPersistence

public void setCompanyPersistence(com.liferay.portal.kernel.service.persistence.CompanyPersistence companyPersistence)
Sets the company persistence.

Parameters:
companyPersistence - the company persistence

getGroupLocalService

public com.liferay.portal.kernel.service.GroupLocalService getGroupLocalService()
Returns the group local service.

Returns:
the group local service

setGroupLocalService

public void setGroupLocalService(com.liferay.portal.kernel.service.GroupLocalService groupLocalService)
Sets the group local service.

Parameters:
groupLocalService - the group local service

getGroupPersistence

public com.liferay.portal.kernel.service.persistence.GroupPersistence getGroupPersistence()
Returns the group persistence.

Returns:
the group persistence

setGroupPersistence

public void setGroupPersistence(com.liferay.portal.kernel.service.persistence.GroupPersistence groupPersistence)
Sets the group persistence.

Parameters:
groupPersistence - the group persistence

getGroupFinder

public com.liferay.portal.kernel.service.persistence.GroupFinder getGroupFinder()
Returns the group finder.

Returns:
the group finder

setGroupFinder

public void setGroupFinder(com.liferay.portal.kernel.service.persistence.GroupFinder groupFinder)
Sets the group finder.

Parameters:
groupFinder - the group finder

getLayoutLocalService

public com.liferay.portal.kernel.service.LayoutLocalService getLayoutLocalService()
Returns the layout local service.

Returns:
the layout local service

setLayoutLocalService

public void setLayoutLocalService(com.liferay.portal.kernel.service.LayoutLocalService layoutLocalService)
Sets the layout local service.

Parameters:
layoutLocalService - the layout local service

getLayoutPersistence

public com.liferay.portal.kernel.service.persistence.LayoutPersistence getLayoutPersistence()
Returns the layout persistence.

Returns:
the layout persistence

setLayoutPersistence

public void setLayoutPersistence(com.liferay.portal.kernel.service.persistence.LayoutPersistence layoutPersistence)
Sets the layout persistence.

Parameters:
layoutPersistence - the layout persistence

getLayoutFinder

public com.liferay.portal.kernel.service.persistence.LayoutFinder getLayoutFinder()
Returns the layout finder.

Returns:
the layout finder

setLayoutFinder

public void setLayoutFinder(com.liferay.portal.kernel.service.persistence.LayoutFinder layoutFinder)
Sets the layout finder.

Parameters:
layoutFinder - the layout finder

getResourceLocalService

public com.liferay.portal.kernel.service.ResourceLocalService getResourceLocalService()
Returns the resource local service.

Returns:
the resource local service

setResourceLocalService

public void setResourceLocalService(com.liferay.portal.kernel.service.ResourceLocalService resourceLocalService)
Sets the resource local service.

Parameters:
resourceLocalService - the resource local service

getResourceActionLocalService

public com.liferay.portal.kernel.service.ResourceActionLocalService getResourceActionLocalService()
Returns the resource action local service.

Returns:
the resource action local service

setResourceActionLocalService

public void setResourceActionLocalService(com.liferay.portal.kernel.service.ResourceActionLocalService resourceActionLocalService)
Sets the resource action local service.

Parameters:
resourceActionLocalService - the resource action local service

getResourceActionPersistence

public com.liferay.portal.kernel.service.persistence.ResourceActionPersistence getResourceActionPersistence()
Returns the resource action persistence.

Returns:
the resource action persistence

setResourceActionPersistence

public void setResourceActionPersistence(com.liferay.portal.kernel.service.persistence.ResourceActionPersistence resourceActionPersistence)
Sets the resource action persistence.

Parameters:
resourceActionPersistence - the resource action persistence

getResourceBlockLocalService

public com.liferay.portal.kernel.service.ResourceBlockLocalService getResourceBlockLocalService()
Returns the resource block local service.

Returns:
the resource block local service

setResourceBlockLocalService

public void setResourceBlockLocalService(com.liferay.portal.kernel.service.ResourceBlockLocalService resourceBlockLocalService)
Sets the resource block local service.

Parameters:
resourceBlockLocalService - the resource block local service

getResourceBlockPersistence

public com.liferay.portal.kernel.service.persistence.ResourceBlockPersistence getResourceBlockPersistence()
Returns the resource block persistence.

Returns:
the resource block persistence

setResourceBlockPersistence

public void setResourceBlockPersistence(com.liferay.portal.kernel.service.persistence.ResourceBlockPersistence resourceBlockPersistence)
Sets the resource block persistence.

Parameters:
resourceBlockPersistence - the resource block persistence

getResourceBlockFinder

public com.liferay.portal.kernel.service.persistence.ResourceBlockFinder getResourceBlockFinder()
Returns the resource block finder.

Returns:
the resource block finder

setResourceBlockFinder

public void setResourceBlockFinder(com.liferay.portal.kernel.service.persistence.ResourceBlockFinder resourceBlockFinder)
Sets the resource block finder.

Parameters:
resourceBlockFinder - the resource block finder

getResourceBlockPermissionLocalService

public com.liferay.portal.kernel.service.ResourceBlockPermissionLocalService getResourceBlockPermissionLocalService()
Returns the resource block permission local service.

Returns:
the resource block permission local service

setResourceBlockPermissionLocalService

public void setResourceBlockPermissionLocalService(com.liferay.portal.kernel.service.ResourceBlockPermissionLocalService resourceBlockPermissionLocalService)
Sets the resource block permission local service.

Parameters:
resourceBlockPermissionLocalService - the resource block permission local service

getResourceBlockPermissionPersistence

public com.liferay.portal.kernel.service.persistence.ResourceBlockPermissionPersistence getResourceBlockPermissionPersistence()
Returns the resource block permission persistence.

Returns:
the resource block permission persistence

setResourceBlockPermissionPersistence

public void setResourceBlockPermissionPersistence(com.liferay.portal.kernel.service.persistence.ResourceBlockPermissionPersistence resourceBlockPermissionPersistence)
Sets the resource block permission persistence.

Parameters:
resourceBlockPermissionPersistence - the resource block permission persistence

getResourcePermissionLocalService

public com.liferay.portal.kernel.service.ResourcePermissionLocalService getResourcePermissionLocalService()
Returns the resource permission local service.

Returns:
the resource permission local service

setResourcePermissionLocalService

public void setResourcePermissionLocalService(com.liferay.portal.kernel.service.ResourcePermissionLocalService resourcePermissionLocalService)
Sets the resource permission local service.

Parameters:
resourcePermissionLocalService - the resource permission local service

getResourcePermissionPersistence

public com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence getResourcePermissionPersistence()
Returns the resource permission persistence.

Returns:
the resource permission persistence

setResourcePermissionPersistence

public void setResourcePermissionPersistence(com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence resourcePermissionPersistence)
Sets the resource permission persistence.

Parameters:
resourcePermissionPersistence - the resource permission persistence

getResourcePermissionFinder

public com.liferay.portal.kernel.service.persistence.ResourcePermissionFinder getResourcePermissionFinder()
Returns the resource permission finder.

Returns:
the resource permission finder

setResourcePermissionFinder

public void setResourcePermissionFinder(com.liferay.portal.kernel.service.persistence.ResourcePermissionFinder resourcePermissionFinder)
Sets the resource permission finder.

Parameters:
resourcePermissionFinder - the resource permission finder

getResourceTypePermissionLocalService

public com.liferay.portal.kernel.service.ResourceTypePermissionLocalService getResourceTypePermissionLocalService()
Returns the resource type permission local service.

Returns:
the resource type permission local service

setResourceTypePermissionLocalService

public void setResourceTypePermissionLocalService(com.liferay.portal.kernel.service.ResourceTypePermissionLocalService resourceTypePermissionLocalService)
Sets the resource type permission local service.

Parameters:
resourceTypePermissionLocalService - the resource type permission local service

getResourceTypePermissionPersistence

public com.liferay.portal.kernel.service.persistence.ResourceTypePermissionPersistence getResourceTypePermissionPersistence()
Returns the resource type permission persistence.

Returns:
the resource type permission persistence

setResourceTypePermissionPersistence

public void setResourceTypePermissionPersistence(com.liferay.portal.kernel.service.persistence.ResourceTypePermissionPersistence resourceTypePermissionPersistence)
Sets the resource type permission persistence.

Parameters:
resourceTypePermissionPersistence - the resource type permission persistence

getResourceTypePermissionFinder

public com.liferay.portal.kernel.service.persistence.ResourceTypePermissionFinder getResourceTypePermissionFinder()
Returns the resource type permission finder.

Returns:
the resource type permission finder

setResourceTypePermissionFinder

public void setResourceTypePermissionFinder(com.liferay.portal.kernel.service.persistence.ResourceTypePermissionFinder resourceTypePermissionFinder)
Sets the resource type permission finder.

Parameters:
resourceTypePermissionFinder - the resource type permission finder

getExpandoRowLocalService

public com.liferay.expando.kernel.service.ExpandoRowLocalService getExpandoRowLocalService()
Returns the expando row local service.

Returns:
the expando row local service

setExpandoRowLocalService

public void setExpandoRowLocalService(com.liferay.expando.kernel.service.ExpandoRowLocalService expandoRowLocalService)
Sets the expando row local service.

Parameters:
expandoRowLocalService - the expando row local service

getExpandoRowPersistence

public com.liferay.expando.kernel.service.persistence.ExpandoRowPersistence getExpandoRowPersistence()
Returns the expando row persistence.

Returns:
the expando row persistence

setExpandoRowPersistence

public void setExpandoRowPersistence(com.liferay.expando.kernel.service.persistence.ExpandoRowPersistence expandoRowPersistence)
Sets the expando row persistence.

Parameters:
expandoRowPersistence - the expando row persistence

getTeamLocalService

public com.liferay.portal.kernel.service.TeamLocalService getTeamLocalService()
Returns the team local service.

Returns:
the team local service

setTeamLocalService

public void setTeamLocalService(com.liferay.portal.kernel.service.TeamLocalService teamLocalService)
Sets the team local service.

Parameters:
teamLocalService - the team local service

getTeamPersistence

public com.liferay.portal.kernel.service.persistence.TeamPersistence getTeamPersistence()
Returns the team persistence.

Returns:
the team persistence

setTeamPersistence

public void setTeamPersistence(com.liferay.portal.kernel.service.persistence.TeamPersistence teamPersistence)
Sets the team persistence.

Parameters:
teamPersistence - the team persistence

getTeamFinder

public com.liferay.portal.kernel.service.persistence.TeamFinder getTeamFinder()
Returns the team finder.

Returns:
the team finder

setTeamFinder

public void setTeamFinder(com.liferay.portal.kernel.service.persistence.TeamFinder teamFinder)
Sets the team finder.

Parameters:
teamFinder - the team finder

getUserLocalService

public com.liferay.portal.kernel.service.UserLocalService getUserLocalService()
Returns the user local service.

Returns:
the user local service

setUserLocalService

public void setUserLocalService(com.liferay.portal.kernel.service.UserLocalService userLocalService)
Sets the user local service.

Parameters:
userLocalService - the user local service

getUserPersistence

public com.liferay.portal.kernel.service.persistence.UserPersistence getUserPersistence()
Returns the user persistence.

Returns:
the user persistence

setUserPersistence

public void setUserPersistence(com.liferay.portal.kernel.service.persistence.UserPersistence userPersistence)
Sets the user persistence.

Parameters:
userPersistence - the user persistence

getUserFinder

public com.liferay.portal.kernel.service.persistence.UserFinder getUserFinder()
Returns the user finder.

Returns:
the user finder

setUserFinder

public void setUserFinder(com.liferay.portal.kernel.service.persistence.UserFinder userFinder)
Sets the user finder.

Parameters:
userFinder - the user finder

getUserGroupGroupRoleLocalService

public com.liferay.portal.kernel.service.UserGroupGroupRoleLocalService getUserGroupGroupRoleLocalService()
Returns the user group group role local service.

Returns:
the user group group role local service

setUserGroupGroupRoleLocalService

public void setUserGroupGroupRoleLocalService(com.liferay.portal.kernel.service.UserGroupGroupRoleLocalService userGroupGroupRoleLocalService)
Sets the user group group role local service.

Parameters:
userGroupGroupRoleLocalService - the user group group role local service

getUserGroupGroupRolePersistence

public com.liferay.portal.kernel.service.persistence.UserGroupGroupRolePersistence getUserGroupGroupRolePersistence()
Returns the user group group role persistence.

Returns:
the user group group role persistence

setUserGroupGroupRolePersistence

public void setUserGroupGroupRolePersistence(com.liferay.portal.kernel.service.persistence.UserGroupGroupRolePersistence userGroupGroupRolePersistence)
Sets the user group group role persistence.

Parameters:
userGroupGroupRolePersistence - the user group group role persistence

getUserGroupGroupRoleFinder

public com.liferay.portal.kernel.service.persistence.UserGroupGroupRoleFinder getUserGroupGroupRoleFinder()
Returns the user group group role finder.

Returns:
the user group group role finder

setUserGroupGroupRoleFinder

public void setUserGroupGroupRoleFinder(com.liferay.portal.kernel.service.persistence.UserGroupGroupRoleFinder userGroupGroupRoleFinder)
Sets the user group group role finder.

Parameters:
userGroupGroupRoleFinder - the user group group role finder

getUserGroupRoleLocalService

public com.liferay.portal.kernel.service.UserGroupRoleLocalService getUserGroupRoleLocalService()
Returns the user group role local service.

Returns:
the user group role local service

setUserGroupRoleLocalService

public void setUserGroupRoleLocalService(com.liferay.portal.kernel.service.UserGroupRoleLocalService userGroupRoleLocalService)
Sets the user group role local service.

Parameters:
userGroupRoleLocalService - the user group role local service

getUserGroupRolePersistence

public com.liferay.portal.kernel.service.persistence.UserGroupRolePersistence getUserGroupRolePersistence()
Returns the user group role persistence.

Returns:
the user group role persistence

setUserGroupRolePersistence

public void setUserGroupRolePersistence(com.liferay.portal.kernel.service.persistence.UserGroupRolePersistence userGroupRolePersistence)
Sets the user group role persistence.

Parameters:
userGroupRolePersistence - the user group role persistence

getUserGroupRoleFinder

public com.liferay.portal.kernel.service.persistence.UserGroupRoleFinder getUserGroupRoleFinder()
Returns the user group role finder.

Returns:
the user group role finder

setUserGroupRoleFinder

public void setUserGroupRoleFinder(com.liferay.portal.kernel.service.persistence.UserGroupRoleFinder userGroupRoleFinder)
Sets the user group role finder.

Parameters:
userGroupRoleFinder - the user group role finder

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()

getOSGiServiceIdentifier

public String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Specified by:
getOSGiServiceIdentifier in interface com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
Specified by:
getOSGiServiceIdentifier in interface com.liferay.portal.kernel.service.RoleLocalService
Returns:
the OSGi service identifier

getModelClass

protected Class<?> getModelClass()

getModelClassName

protected String getModelClassName()

runSQL

protected void runSQL(String sql)
Performs a SQL query.

Parameters:
sql - the sql query

Liferay 7.0-ga1 portal-impl