/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package com.liferay.portal.service.base;
import com.liferay.expando.kernel.service.persistence.ExpandoRowPersistence;
import com.liferay.portal.kernel.bean.BeanReference;
import com.liferay.portal.kernel.dao.db.DB;
import com.liferay.portal.kernel.dao.db.DBManagerUtil;
import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.model.Role;
import com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService;
import com.liferay.portal.kernel.service.BaseServiceImpl;
import com.liferay.portal.kernel.service.RoleService;
import com.liferay.portal.kernel.service.persistence.ClassNamePersistence;
import com.liferay.portal.kernel.service.persistence.CompanyPersistence;
import com.liferay.portal.kernel.service.persistence.GroupFinder;
import com.liferay.portal.kernel.service.persistence.GroupPersistence;
import com.liferay.portal.kernel.service.persistence.LayoutFinder;
import com.liferay.portal.kernel.service.persistence.LayoutPersistence;
import com.liferay.portal.kernel.service.persistence.ResourceActionPersistence;
import com.liferay.portal.kernel.service.persistence.ResourceBlockFinder;
import com.liferay.portal.kernel.service.persistence.ResourceBlockPermissionPersistence;
import com.liferay.portal.kernel.service.persistence.ResourceBlockPersistence;
import com.liferay.portal.kernel.service.persistence.ResourcePermissionFinder;
import com.liferay.portal.kernel.service.persistence.ResourcePermissionPersistence;
import com.liferay.portal.kernel.service.persistence.ResourceTypePermissionFinder;
import com.liferay.portal.kernel.service.persistence.ResourceTypePermissionPersistence;
import com.liferay.portal.kernel.service.persistence.RoleFinder;
import com.liferay.portal.kernel.service.persistence.RolePersistence;
import com.liferay.portal.kernel.service.persistence.TeamFinder;
import com.liferay.portal.kernel.service.persistence.TeamPersistence;
import com.liferay.portal.kernel.service.persistence.UserFinder;
import com.liferay.portal.kernel.service.persistence.UserGroupGroupRoleFinder;
import com.liferay.portal.kernel.service.persistence.UserGroupGroupRolePersistence;
import com.liferay.portal.kernel.service.persistence.UserGroupRoleFinder;
import com.liferay.portal.kernel.service.persistence.UserGroupRolePersistence;
import com.liferay.portal.kernel.service.persistence.UserPersistence;
import com.liferay.portal.kernel.util.PortalUtil;
import javax.sql.DataSource;
/**
* Provides the base implementation for the role remote service.
*
* <p>
* This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link com.liferay.portal.service.impl.RoleServiceImpl}.
* </p>
*
* @author Brian Wing Shun Chan
* @see com.liferay.portal.service.impl.RoleServiceImpl
* @see com.liferay.portal.kernel.service.RoleServiceUtil
* @generated
*/
public abstract class RoleServiceBaseImpl extends BaseServiceImpl
implements RoleService, IdentifiableOSGiService {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this class directly. Always use {@link com.liferay.portal.kernel.service.RoleServiceUtil} to access the role remote service.
*/
/**
* Returns the role local service.
*
* @return the role local service
*/
public com.liferay.portal.kernel.service.RoleLocalService getRoleLocalService() {
return roleLocalService;
}
/**
* Sets the role local service.
*
* @param roleLocalService the role local service
*/
public void setRoleLocalService(
com.liferay.portal.kernel.service.RoleLocalService roleLocalService) {
this.roleLocalService = roleLocalService;
}
/**
* Returns the role remote service.
*
* @return the role remote service
*/
public RoleService getRoleService() {
return roleService;
}
/**
* Sets the role remote service.
*
* @param roleService the role remote service
*/
public void setRoleService(RoleService roleService) {
this.roleService = roleService;
}
/**
* Returns the role persistence.
*
* @return the role persistence
*/
public RolePersistence getRolePersistence() {
return rolePersistence;
}
/**
* Sets the role persistence.
*
* @param rolePersistence the role persistence
*/
public void setRolePersistence(RolePersistence rolePersistence) {
this.rolePersistence = rolePersistence;
}
/**
* Returns the role finder.
*
* @return the role finder
*/
public RoleFinder getRoleFinder() {
return roleFinder;
}
/**
* Sets the role finder.
*
* @param roleFinder the role finder
*/
public void setRoleFinder(RoleFinder roleFinder) {
this.roleFinder = roleFinder;
}
/**
* Returns the counter local service.
*
* @return the counter local service
*/
public com.liferay.counter.kernel.service.CounterLocalService getCounterLocalService() {
return counterLocalService;
}
/**
* Sets the counter local service.
*
* @param counterLocalService the counter local service
*/
public void setCounterLocalService(
com.liferay.counter.kernel.service.CounterLocalService counterLocalService) {
this.counterLocalService = counterLocalService;
}
/**
* Returns the class name local service.
*
* @return the class name local service
*/
public com.liferay.portal.kernel.service.ClassNameLocalService getClassNameLocalService() {
return classNameLocalService;
}
/**
* Sets the class name local service.
*
* @param classNameLocalService the class name local service
*/
public void setClassNameLocalService(
com.liferay.portal.kernel.service.ClassNameLocalService classNameLocalService) {
this.classNameLocalService = classNameLocalService;
}
/**
* Returns the class name remote service.
*
* @return the class name remote service
*/
public com.liferay.portal.kernel.service.ClassNameService getClassNameService() {
return classNameService;
}
/**
* Sets the class name remote service.
*
* @param classNameService the class name remote service
*/
public void setClassNameService(
com.liferay.portal.kernel.service.ClassNameService classNameService) {
this.classNameService = classNameService;
}
/**
* Returns the class name persistence.
*
* @return the class name persistence
*/
public ClassNamePersistence getClassNamePersistence() {
return classNamePersistence;
}
/**
* Sets the class name persistence.
*
* @param classNamePersistence the class name persistence
*/
public void setClassNamePersistence(
ClassNamePersistence classNamePersistence) {
this.classNamePersistence = classNamePersistence;
}
/**
* Returns the company local service.
*
* @return the company local service
*/
public com.liferay.portal.kernel.service.CompanyLocalService getCompanyLocalService() {
return companyLocalService;
}
/**
* Sets the company local service.
*
* @param companyLocalService the company local service
*/
public void setCompanyLocalService(
com.liferay.portal.kernel.service.CompanyLocalService companyLocalService) {
this.companyLocalService = companyLocalService;
}
/**
* Returns the company remote service.
*
* @return the company remote service
*/
public com.liferay.portal.kernel.service.CompanyService getCompanyService() {
return companyService;
}
/**
* Sets the company remote service.
*
* @param companyService the company remote service
*/
public void setCompanyService(
com.liferay.portal.kernel.service.CompanyService companyService) {
this.companyService = companyService;
}
/**
* Returns the company persistence.
*
* @return the company persistence
*/
public CompanyPersistence getCompanyPersistence() {
return companyPersistence;
}
/**
* Sets the company persistence.
*
* @param companyPersistence the company persistence
*/
public void setCompanyPersistence(CompanyPersistence companyPersistence) {
this.companyPersistence = companyPersistence;
}
/**
* Returns the group local service.
*
* @return the group local service
*/
public com.liferay.portal.kernel.service.GroupLocalService getGroupLocalService() {
return groupLocalService;
}
/**
* Sets the group local service.
*
* @param groupLocalService the group local service
*/
public void setGroupLocalService(
com.liferay.portal.kernel.service.GroupLocalService groupLocalService) {
this.groupLocalService = groupLocalService;
}
/**
* Returns the group remote service.
*
* @return the group remote service
*/
public com.liferay.portal.kernel.service.GroupService getGroupService() {
return groupService;
}
/**
* Sets the group remote service.
*
* @param groupService the group remote service
*/
public void setGroupService(
com.liferay.portal.kernel.service.GroupService groupService) {
this.groupService = groupService;
}
/**
* Returns the group persistence.
*
* @return the group persistence
*/
public GroupPersistence getGroupPersistence() {
return groupPersistence;
}
/**
* Sets the group persistence.
*
* @param groupPersistence the group persistence
*/
public void setGroupPersistence(GroupPersistence groupPersistence) {
this.groupPersistence = groupPersistence;
}
/**
* Returns the group finder.
*
* @return the group finder
*/
public GroupFinder getGroupFinder() {
return groupFinder;
}
/**
* Sets the group finder.
*
* @param groupFinder the group finder
*/
public void setGroupFinder(GroupFinder groupFinder) {
this.groupFinder = groupFinder;
}
/**
* Returns the layout local service.
*
* @return the layout local service
*/
public com.liferay.portal.kernel.service.LayoutLocalService getLayoutLocalService() {
return layoutLocalService;
}
/**
* Sets the layout local service.
*
* @param layoutLocalService the layout local service
*/
public void setLayoutLocalService(
com.liferay.portal.kernel.service.LayoutLocalService layoutLocalService) {
this.layoutLocalService = layoutLocalService;
}
/**
* Returns the layout remote service.
*
* @return the layout remote service
*/
public com.liferay.portal.kernel.service.LayoutService getLayoutService() {
return layoutService;
}
/**
* Sets the layout remote service.
*
* @param layoutService the layout remote service
*/
public void setLayoutService(
com.liferay.portal.kernel.service.LayoutService layoutService) {
this.layoutService = layoutService;
}
/**
* Returns the layout persistence.
*
* @return the layout persistence
*/
public LayoutPersistence getLayoutPersistence() {
return layoutPersistence;
}
/**
* Sets the layout persistence.
*
* @param layoutPersistence the layout persistence
*/
public void setLayoutPersistence(LayoutPersistence layoutPersistence) {
this.layoutPersistence = layoutPersistence;
}
/**
* Returns the layout finder.
*
* @return the layout finder
*/
public LayoutFinder getLayoutFinder() {
return layoutFinder;
}
/**
* Sets the layout finder.
*
* @param layoutFinder the layout finder
*/
public void setLayoutFinder(LayoutFinder layoutFinder) {
this.layoutFinder = layoutFinder;
}
/**
* Returns the resource local service.
*
* @return the resource local service
*/
public com.liferay.portal.kernel.service.ResourceLocalService getResourceLocalService() {
return resourceLocalService;
}
/**
* Sets the resource local service.
*
* @param resourceLocalService the resource local service
*/
public void setResourceLocalService(
com.liferay.portal.kernel.service.ResourceLocalService resourceLocalService) {
this.resourceLocalService = resourceLocalService;
}
/**
* Returns the resource action local service.
*
* @return the resource action local service
*/
public com.liferay.portal.kernel.service.ResourceActionLocalService getResourceActionLocalService() {
return resourceActionLocalService;
}
/**
* Sets the resource action local service.
*
* @param resourceActionLocalService the resource action local service
*/
public void setResourceActionLocalService(
com.liferay.portal.kernel.service.ResourceActionLocalService resourceActionLocalService) {
this.resourceActionLocalService = resourceActionLocalService;
}
/**
* Returns the resource action persistence.
*
* @return the resource action persistence
*/
public ResourceActionPersistence getResourceActionPersistence() {
return resourceActionPersistence;
}
/**
* Sets the resource action persistence.
*
* @param resourceActionPersistence the resource action persistence
*/
public void setResourceActionPersistence(
ResourceActionPersistence resourceActionPersistence) {
this.resourceActionPersistence = resourceActionPersistence;
}
/**
* Returns the resource block local service.
*
* @return the resource block local service
*/
public com.liferay.portal.kernel.service.ResourceBlockLocalService getResourceBlockLocalService() {
return resourceBlockLocalService;
}
/**
* Sets the resource block local service.
*
* @param resourceBlockLocalService the resource block local service
*/
public void setResourceBlockLocalService(
com.liferay.portal.kernel.service.ResourceBlockLocalService resourceBlockLocalService) {
this.resourceBlockLocalService = resourceBlockLocalService;
}
/**
* Returns the resource block remote service.
*
* @return the resource block remote service
*/
public com.liferay.portal.kernel.service.ResourceBlockService getResourceBlockService() {
return resourceBlockService;
}
/**
* Sets the resource block remote service.
*
* @param resourceBlockService the resource block remote service
*/
public void setResourceBlockService(
com.liferay.portal.kernel.service.ResourceBlockService resourceBlockService) {
this.resourceBlockService = resourceBlockService;
}
/**
* Returns the resource block persistence.
*
* @return the resource block persistence
*/
public ResourceBlockPersistence getResourceBlockPersistence() {
return resourceBlockPersistence;
}
/**
* Sets the resource block persistence.
*
* @param resourceBlockPersistence the resource block persistence
*/
public void setResourceBlockPersistence(
ResourceBlockPersistence resourceBlockPersistence) {
this.resourceBlockPersistence = resourceBlockPersistence;
}
/**
* Returns the resource block finder.
*
* @return the resource block finder
*/
public ResourceBlockFinder getResourceBlockFinder() {
return resourceBlockFinder;
}
/**
* Sets the resource block finder.
*
* @param resourceBlockFinder the resource block finder
*/
public void setResourceBlockFinder(ResourceBlockFinder resourceBlockFinder) {
this.resourceBlockFinder = resourceBlockFinder;
}
/**
* Returns the resource block permission local service.
*
* @return the resource block permission local service
*/
public com.liferay.portal.kernel.service.ResourceBlockPermissionLocalService getResourceBlockPermissionLocalService() {
return resourceBlockPermissionLocalService;
}
/**
* Sets the resource block permission local service.
*
* @param resourceBlockPermissionLocalService the resource block permission local service
*/
public void setResourceBlockPermissionLocalService(
com.liferay.portal.kernel.service.ResourceBlockPermissionLocalService resourceBlockPermissionLocalService) {
this.resourceBlockPermissionLocalService = resourceBlockPermissionLocalService;
}
/**
* Returns the resource block permission persistence.
*
* @return the resource block permission persistence
*/
public ResourceBlockPermissionPersistence getResourceBlockPermissionPersistence() {
return resourceBlockPermissionPersistence;
}
/**
* Sets the resource block permission persistence.
*
* @param resourceBlockPermissionPersistence the resource block permission persistence
*/
public void setResourceBlockPermissionPersistence(
ResourceBlockPermissionPersistence resourceBlockPermissionPersistence) {
this.resourceBlockPermissionPersistence = resourceBlockPermissionPersistence;
}
/**
* Returns the resource permission local service.
*
* @return the resource permission local service
*/
public com.liferay.portal.kernel.service.ResourcePermissionLocalService getResourcePermissionLocalService() {
return resourcePermissionLocalService;
}
/**
* Sets the resource permission local service.
*
* @param resourcePermissionLocalService the resource permission local service
*/
public void setResourcePermissionLocalService(
com.liferay.portal.kernel.service.ResourcePermissionLocalService resourcePermissionLocalService) {
this.resourcePermissionLocalService = resourcePermissionLocalService;
}
/**
* Returns the resource permission remote service.
*
* @return the resource permission remote service
*/
public com.liferay.portal.kernel.service.ResourcePermissionService getResourcePermissionService() {
return resourcePermissionService;
}
/**
* Sets the resource permission remote service.
*
* @param resourcePermissionService the resource permission remote service
*/
public void setResourcePermissionService(
com.liferay.portal.kernel.service.ResourcePermissionService resourcePermissionService) {
this.resourcePermissionService = resourcePermissionService;
}
/**
* Returns the resource permission persistence.
*
* @return the resource permission persistence
*/
public ResourcePermissionPersistence getResourcePermissionPersistence() {
return resourcePermissionPersistence;
}
/**
* Sets the resource permission persistence.
*
* @param resourcePermissionPersistence the resource permission persistence
*/
public void setResourcePermissionPersistence(
ResourcePermissionPersistence resourcePermissionPersistence) {
this.resourcePermissionPersistence = resourcePermissionPersistence;
}
/**
* Returns the resource permission finder.
*
* @return the resource permission finder
*/
public ResourcePermissionFinder getResourcePermissionFinder() {
return resourcePermissionFinder;
}
/**
* Sets the resource permission finder.
*
* @param resourcePermissionFinder the resource permission finder
*/
public void setResourcePermissionFinder(
ResourcePermissionFinder resourcePermissionFinder) {
this.resourcePermissionFinder = resourcePermissionFinder;
}
/**
* Returns the resource type permission local service.
*
* @return the resource type permission local service
*/
public com.liferay.portal.kernel.service.ResourceTypePermissionLocalService getResourceTypePermissionLocalService() {
return resourceTypePermissionLocalService;
}
/**
* Sets the resource type permission local service.
*
* @param resourceTypePermissionLocalService the resource type permission local service
*/
public void setResourceTypePermissionLocalService(
com.liferay.portal.kernel.service.ResourceTypePermissionLocalService resourceTypePermissionLocalService) {
this.resourceTypePermissionLocalService = resourceTypePermissionLocalService;
}
/**
* Returns the resource type permission persistence.
*
* @return the resource type permission persistence
*/
public ResourceTypePermissionPersistence getResourceTypePermissionPersistence() {
return resourceTypePermissionPersistence;
}
/**
* Sets the resource type permission persistence.
*
* @param resourceTypePermissionPersistence the resource type permission persistence
*/
public void setResourceTypePermissionPersistence(
ResourceTypePermissionPersistence resourceTypePermissionPersistence) {
this.resourceTypePermissionPersistence = resourceTypePermissionPersistence;
}
/**
* Returns the resource type permission finder.
*
* @return the resource type permission finder
*/
public ResourceTypePermissionFinder getResourceTypePermissionFinder() {
return resourceTypePermissionFinder;
}
/**
* Sets the resource type permission finder.
*
* @param resourceTypePermissionFinder the resource type permission finder
*/
public void setResourceTypePermissionFinder(
ResourceTypePermissionFinder resourceTypePermissionFinder) {
this.resourceTypePermissionFinder = resourceTypePermissionFinder;
}
/**
* Returns the expando row local service.
*
* @return the expando row local service
*/
public com.liferay.expando.kernel.service.ExpandoRowLocalService getExpandoRowLocalService() {
return expandoRowLocalService;
}
/**
* Sets the expando row local service.
*
* @param expandoRowLocalService the expando row local service
*/
public void setExpandoRowLocalService(
com.liferay.expando.kernel.service.ExpandoRowLocalService expandoRowLocalService) {
this.expandoRowLocalService = expandoRowLocalService;
}
/**
* Returns the expando row persistence.
*
* @return the expando row persistence
*/
public ExpandoRowPersistence getExpandoRowPersistence() {
return expandoRowPersistence;
}
/**
* Sets the expando row persistence.
*
* @param expandoRowPersistence the expando row persistence
*/
public void setExpandoRowPersistence(
ExpandoRowPersistence expandoRowPersistence) {
this.expandoRowPersistence = expandoRowPersistence;
}
/**
* Returns the team local service.
*
* @return the team local service
*/
public com.liferay.portal.kernel.service.TeamLocalService getTeamLocalService() {
return teamLocalService;
}
/**
* Sets the team local service.
*
* @param teamLocalService the team local service
*/
public void setTeamLocalService(
com.liferay.portal.kernel.service.TeamLocalService teamLocalService) {
this.teamLocalService = teamLocalService;
}
/**
* Returns the team remote service.
*
* @return the team remote service
*/
public com.liferay.portal.kernel.service.TeamService getTeamService() {
return teamService;
}
/**
* Sets the team remote service.
*
* @param teamService the team remote service
*/
public void setTeamService(
com.liferay.portal.kernel.service.TeamService teamService) {
this.teamService = teamService;
}
/**
* Returns the team persistence.
*
* @return the team persistence
*/
public TeamPersistence getTeamPersistence() {
return teamPersistence;
}
/**
* Sets the team persistence.
*
* @param teamPersistence the team persistence
*/
public void setTeamPersistence(TeamPersistence teamPersistence) {
this.teamPersistence = teamPersistence;
}
/**
* Returns the team finder.
*
* @return the team finder
*/
public TeamFinder getTeamFinder() {
return teamFinder;
}
/**
* Sets the team finder.
*
* @param teamFinder the team finder
*/
public void setTeamFinder(TeamFinder teamFinder) {
this.teamFinder = teamFinder;
}
/**
* Returns the user local service.
*
* @return the user local service
*/
public com.liferay.portal.kernel.service.UserLocalService getUserLocalService() {
return userLocalService;
}
/**
* Sets the user local service.
*
* @param userLocalService the user local service
*/
public void setUserLocalService(
com.liferay.portal.kernel.service.UserLocalService userLocalService) {
this.userLocalService = userLocalService;
}
/**
* Returns the user remote service.
*
* @return the user remote service
*/
public com.liferay.portal.kernel.service.UserService getUserService() {
return userService;
}
/**
* Sets the user remote service.
*
* @param userService the user remote service
*/
public void setUserService(
com.liferay.portal.kernel.service.UserService userService) {
this.userService = userService;
}
/**
* Returns the user persistence.
*
* @return the user persistence
*/
public UserPersistence getUserPersistence() {
return userPersistence;
}
/**
* Sets the user persistence.
*
* @param userPersistence the user persistence
*/
public void setUserPersistence(UserPersistence userPersistence) {
this.userPersistence = userPersistence;
}
/**
* Returns the user finder.
*
* @return the user finder
*/
public UserFinder getUserFinder() {
return userFinder;
}
/**
* Sets the user finder.
*
* @param userFinder the user finder
*/
public void setUserFinder(UserFinder userFinder) {
this.userFinder = userFinder;
}
/**
* Returns the user group group role local service.
*
* @return the user group group role local service
*/
public com.liferay.portal.kernel.service.UserGroupGroupRoleLocalService getUserGroupGroupRoleLocalService() {
return userGroupGroupRoleLocalService;
}
/**
* Sets the user group group role local service.
*
* @param userGroupGroupRoleLocalService the user group group role local service
*/
public void setUserGroupGroupRoleLocalService(
com.liferay.portal.kernel.service.UserGroupGroupRoleLocalService userGroupGroupRoleLocalService) {
this.userGroupGroupRoleLocalService = userGroupGroupRoleLocalService;
}
/**
* Returns the user group group role remote service.
*
* @return the user group group role remote service
*/
public com.liferay.portal.kernel.service.UserGroupGroupRoleService getUserGroupGroupRoleService() {
return userGroupGroupRoleService;
}
/**
* Sets the user group group role remote service.
*
* @param userGroupGroupRoleService the user group group role remote service
*/
public void setUserGroupGroupRoleService(
com.liferay.portal.kernel.service.UserGroupGroupRoleService userGroupGroupRoleService) {
this.userGroupGroupRoleService = userGroupGroupRoleService;
}
/**
* Returns the user group group role persistence.
*
* @return the user group group role persistence
*/
public UserGroupGroupRolePersistence getUserGroupGroupRolePersistence() {
return userGroupGroupRolePersistence;
}
/**
* Sets the user group group role persistence.
*
* @param userGroupGroupRolePersistence the user group group role persistence
*/
public void setUserGroupGroupRolePersistence(
UserGroupGroupRolePersistence userGroupGroupRolePersistence) {
this.userGroupGroupRolePersistence = userGroupGroupRolePersistence;
}
/**
* Returns the user group group role finder.
*
* @return the user group group role finder
*/
public UserGroupGroupRoleFinder getUserGroupGroupRoleFinder() {
return userGroupGroupRoleFinder;
}
/**
* Sets the user group group role finder.
*
* @param userGroupGroupRoleFinder the user group group role finder
*/
public void setUserGroupGroupRoleFinder(
UserGroupGroupRoleFinder userGroupGroupRoleFinder) {
this.userGroupGroupRoleFinder = userGroupGroupRoleFinder;
}
/**
* Returns the user group role local service.
*
* @return the user group role local service
*/
public com.liferay.portal.kernel.service.UserGroupRoleLocalService getUserGroupRoleLocalService() {
return userGroupRoleLocalService;
}
/**
* Sets the user group role local service.
*
* @param userGroupRoleLocalService the user group role local service
*/
public void setUserGroupRoleLocalService(
com.liferay.portal.kernel.service.UserGroupRoleLocalService userGroupRoleLocalService) {
this.userGroupRoleLocalService = userGroupRoleLocalService;
}
/**
* Returns the user group role remote service.
*
* @return the user group role remote service
*/
public com.liferay.portal.kernel.service.UserGroupRoleService getUserGroupRoleService() {
return userGroupRoleService;
}
/**
* Sets the user group role remote service.
*
* @param userGroupRoleService the user group role remote service
*/
public void setUserGroupRoleService(
com.liferay.portal.kernel.service.UserGroupRoleService userGroupRoleService) {
this.userGroupRoleService = userGroupRoleService;
}
/**
* Returns the user group role persistence.
*
* @return the user group role persistence
*/
public UserGroupRolePersistence getUserGroupRolePersistence() {
return userGroupRolePersistence;
}
/**
* Sets the user group role persistence.
*
* @param userGroupRolePersistence the user group role persistence
*/
public void setUserGroupRolePersistence(
UserGroupRolePersistence userGroupRolePersistence) {
this.userGroupRolePersistence = userGroupRolePersistence;
}
/**
* Returns the user group role finder.
*
* @return the user group role finder
*/
public UserGroupRoleFinder getUserGroupRoleFinder() {
return userGroupRoleFinder;
}
/**
* Sets the user group role finder.
*
* @param userGroupRoleFinder the user group role finder
*/
public void setUserGroupRoleFinder(UserGroupRoleFinder userGroupRoleFinder) {
this.userGroupRoleFinder = userGroupRoleFinder;
}
public void afterPropertiesSet() {
}
public void destroy() {
}
/**
* Returns the OSGi service identifier.
*
* @return the OSGi service identifier
*/
@Override
public String getOSGiServiceIdentifier() {
return RoleService.class.getName();
}
protected Class<?> getModelClass() {
return Role.class;
}
protected String getModelClassName() {
return Role.class.getName();
}
/**
* Performs a SQL query.
*
* @param sql the sql query
*/
protected void runSQL(String sql) {
try {
DataSource dataSource = rolePersistence.getDataSource();
DB db = DBManagerUtil.getDB();
sql = db.buildSQL(sql);
sql = PortalUtil.transformSQL(sql);
SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
sql);
sqlUpdate.update();
}
catch (Exception e) {
throw new SystemException(e);
}
}
@BeanReference(type = com.liferay.portal.kernel.service.RoleLocalService.class)
protected com.liferay.portal.kernel.service.RoleLocalService roleLocalService;
@BeanReference(type = RoleService.class)
protected RoleService roleService;
@BeanReference(type = RolePersistence.class)
protected RolePersistence rolePersistence;
@BeanReference(type = RoleFinder.class)
protected 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.ClassNameLocalService.class)
protected com.liferay.portal.kernel.service.ClassNameLocalService classNameLocalService;
@BeanReference(type = com.liferay.portal.kernel.service.ClassNameService.class)
protected com.liferay.portal.kernel.service.ClassNameService classNameService;
@BeanReference(type = ClassNamePersistence.class)
protected ClassNamePersistence classNamePersistence;
@BeanReference(type = com.liferay.portal.kernel.service.CompanyLocalService.class)
protected com.liferay.portal.kernel.service.CompanyLocalService companyLocalService;
@BeanReference(type = com.liferay.portal.kernel.service.CompanyService.class)
protected com.liferay.portal.kernel.service.CompanyService companyService;
@BeanReference(type = CompanyPersistence.class)
protected CompanyPersistence companyPersistence;
@BeanReference(type = com.liferay.portal.kernel.service.GroupLocalService.class)
protected com.liferay.portal.kernel.service.GroupLocalService groupLocalService;
@BeanReference(type = com.liferay.portal.kernel.service.GroupService.class)
protected com.liferay.portal.kernel.service.GroupService groupService;
@BeanReference(type = GroupPersistence.class)
protected GroupPersistence groupPersistence;
@BeanReference(type = GroupFinder.class)
protected GroupFinder groupFinder;
@BeanReference(type = com.liferay.portal.kernel.service.LayoutLocalService.class)
protected com.liferay.portal.kernel.service.LayoutLocalService layoutLocalService;
@BeanReference(type = com.liferay.portal.kernel.service.LayoutService.class)
protected com.liferay.portal.kernel.service.LayoutService layoutService;
@BeanReference(type = LayoutPersistence.class)
protected LayoutPersistence layoutPersistence;
@BeanReference(type = LayoutFinder.class)
protected LayoutFinder layoutFinder;
@BeanReference(type = com.liferay.portal.kernel.service.ResourceLocalService.class)
protected com.liferay.portal.kernel.service.ResourceLocalService resourceLocalService;
@BeanReference(type = com.liferay.portal.kernel.service.ResourceActionLocalService.class)
protected com.liferay.portal.kernel.service.ResourceActionLocalService resourceActionLocalService;
@BeanReference(type = ResourceActionPersistence.class)
protected ResourceActionPersistence resourceActionPersistence;
@BeanReference(type = com.liferay.portal.kernel.service.ResourceBlockLocalService.class)
protected com.liferay.portal.kernel.service.ResourceBlockLocalService resourceBlockLocalService;
@BeanReference(type = com.liferay.portal.kernel.service.ResourceBlockService.class)
protected com.liferay.portal.kernel.service.ResourceBlockService resourceBlockService;
@BeanReference(type = ResourceBlockPersistence.class)
protected ResourceBlockPersistence resourceBlockPersistence;
@BeanReference(type = ResourceBlockFinder.class)
protected ResourceBlockFinder resourceBlockFinder;
@BeanReference(type = com.liferay.portal.kernel.service.ResourceBlockPermissionLocalService.class)
protected com.liferay.portal.kernel.service.ResourceBlockPermissionLocalService resourceBlockPermissionLocalService;
@BeanReference(type = ResourceBlockPermissionPersistence.class)
protected ResourceBlockPermissionPersistence resourceBlockPermissionPersistence;
@BeanReference(type = com.liferay.portal.kernel.service.ResourcePermissionLocalService.class)
protected com.liferay.portal.kernel.service.ResourcePermissionLocalService resourcePermissionLocalService;
@BeanReference(type = com.liferay.portal.kernel.service.ResourcePermissionService.class)
protected com.liferay.portal.kernel.service.ResourcePermissionService resourcePermissionService;
@BeanReference(type = ResourcePermissionPersistence.class)
protected ResourcePermissionPersistence resourcePermissionPersistence;
@BeanReference(type = ResourcePermissionFinder.class)
protected ResourcePermissionFinder resourcePermissionFinder;
@BeanReference(type = com.liferay.portal.kernel.service.ResourceTypePermissionLocalService.class)
protected com.liferay.portal.kernel.service.ResourceTypePermissionLocalService resourceTypePermissionLocalService;
@BeanReference(type = ResourceTypePermissionPersistence.class)
protected ResourceTypePermissionPersistence resourceTypePermissionPersistence;
@BeanReference(type = ResourceTypePermissionFinder.class)
protected ResourceTypePermissionFinder resourceTypePermissionFinder;
@BeanReference(type = com.liferay.expando.kernel.service.ExpandoRowLocalService.class)
protected com.liferay.expando.kernel.service.ExpandoRowLocalService expandoRowLocalService;
@BeanReference(type = ExpandoRowPersistence.class)
protected ExpandoRowPersistence expandoRowPersistence;
@BeanReference(type = com.liferay.portal.kernel.service.TeamLocalService.class)
protected com.liferay.portal.kernel.service.TeamLocalService teamLocalService;
@BeanReference(type = com.liferay.portal.kernel.service.TeamService.class)
protected com.liferay.portal.kernel.service.TeamService teamService;
@BeanReference(type = TeamPersistence.class)
protected TeamPersistence teamPersistence;
@BeanReference(type = TeamFinder.class)
protected TeamFinder teamFinder;
@BeanReference(type = com.liferay.portal.kernel.service.UserLocalService.class)
protected com.liferay.portal.kernel.service.UserLocalService userLocalService;
@BeanReference(type = com.liferay.portal.kernel.service.UserService.class)
protected com.liferay.portal.kernel.service.UserService userService;
@BeanReference(type = UserPersistence.class)
protected UserPersistence userPersistence;
@BeanReference(type = UserFinder.class)
protected UserFinder userFinder;
@BeanReference(type = com.liferay.portal.kernel.service.UserGroupGroupRoleLocalService.class)
protected com.liferay.portal.kernel.service.UserGroupGroupRoleLocalService userGroupGroupRoleLocalService;
@BeanReference(type = com.liferay.portal.kernel.service.UserGroupGroupRoleService.class)
protected com.liferay.portal.kernel.service.UserGroupGroupRoleService userGroupGroupRoleService;
@BeanReference(type = UserGroupGroupRolePersistence.class)
protected UserGroupGroupRolePersistence userGroupGroupRolePersistence;
@BeanReference(type = UserGroupGroupRoleFinder.class)
protected UserGroupGroupRoleFinder userGroupGroupRoleFinder;
@BeanReference(type = com.liferay.portal.kernel.service.UserGroupRoleLocalService.class)
protected com.liferay.portal.kernel.service.UserGroupRoleLocalService userGroupRoleLocalService;
@BeanReference(type = com.liferay.portal.kernel.service.UserGroupRoleService.class)
protected com.liferay.portal.kernel.service.UserGroupRoleService userGroupRoleService;
@BeanReference(type = UserGroupRolePersistence.class)
protected UserGroupRolePersistence userGroupRolePersistence;
@BeanReference(type = UserGroupRoleFinder.class)
protected UserGroupRoleFinder userGroupRoleFinder;
}