/** * 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.announcements.kernel.service.persistence.AnnouncementsDeliveryPersistence; import com.liferay.asset.kernel.service.persistence.AssetEntryFinder; import com.liferay.asset.kernel.service.persistence.AssetEntryPersistence; import com.liferay.document.library.kernel.service.persistence.DLFileEntryFinder; import com.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence; import com.liferay.document.library.kernel.service.persistence.DLFileRankFinder; import com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence; import com.liferay.expando.kernel.service.persistence.ExpandoRowPersistence; import com.liferay.message.boards.kernel.service.persistence.MBBanPersistence; import com.liferay.message.boards.kernel.service.persistence.MBMessageFinder; import com.liferay.message.boards.kernel.service.persistence.MBMessagePersistence; import com.liferay.message.boards.kernel.service.persistence.MBStatsUserPersistence; import com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence; 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.User; import com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService; import com.liferay.portal.kernel.service.BaseServiceImpl; import com.liferay.portal.kernel.service.UserService; import com.liferay.portal.kernel.service.persistence.BrowserTrackerPersistence; import com.liferay.portal.kernel.service.persistence.CompanyPersistence; import com.liferay.portal.kernel.service.persistence.ContactPersistence; import com.liferay.portal.kernel.service.persistence.GroupFinder; import com.liferay.portal.kernel.service.persistence.GroupPersistence; import com.liferay.portal.kernel.service.persistence.ImagePersistence; import com.liferay.portal.kernel.service.persistence.LayoutFinder; import com.liferay.portal.kernel.service.persistence.LayoutPersistence; import com.liferay.portal.kernel.service.persistence.MembershipRequestPersistence; import com.liferay.portal.kernel.service.persistence.OrganizationFinder; import com.liferay.portal.kernel.service.persistence.OrganizationPersistence; import com.liferay.portal.kernel.service.persistence.PasswordPolicyFinder; import com.liferay.portal.kernel.service.persistence.PasswordPolicyPersistence; import com.liferay.portal.kernel.service.persistence.PasswordPolicyRelPersistence; import com.liferay.portal.kernel.service.persistence.PasswordTrackerPersistence; import com.liferay.portal.kernel.service.persistence.RecentLayoutBranchPersistence; import com.liferay.portal.kernel.service.persistence.RecentLayoutRevisionPersistence; import com.liferay.portal.kernel.service.persistence.RecentLayoutSetBranchPersistence; 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.TicketPersistence; import com.liferay.portal.kernel.service.persistence.UserFinder; import com.liferay.portal.kernel.service.persistence.UserGroupFinder; import com.liferay.portal.kernel.service.persistence.UserGroupPersistence; import com.liferay.portal.kernel.service.persistence.UserGroupRoleFinder; import com.liferay.portal.kernel.service.persistence.UserGroupRolePersistence; import com.liferay.portal.kernel.service.persistence.UserIdMapperPersistence; import com.liferay.portal.kernel.service.persistence.UserPersistence; import com.liferay.portal.kernel.service.persistence.WorkflowInstanceLinkPersistence; import com.liferay.portal.kernel.util.PortalUtil; import com.liferay.ratings.kernel.service.persistence.RatingsStatsFinder; import com.liferay.ratings.kernel.service.persistence.RatingsStatsPersistence; import com.liferay.social.kernel.service.persistence.SocialActivityFinder; import com.liferay.social.kernel.service.persistence.SocialActivityPersistence; import com.liferay.social.kernel.service.persistence.SocialRelationPersistence; import com.liferay.social.kernel.service.persistence.SocialRequestPersistence; import javax.sql.DataSource; /** * Provides the base implementation for the user 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.UserServiceImpl}. * </p> * * @author Brian Wing Shun Chan * @see com.liferay.portal.service.impl.UserServiceImpl * @see com.liferay.portal.kernel.service.UserServiceUtil * @generated */ public abstract class UserServiceBaseImpl extends BaseServiceImpl implements UserService, IdentifiableOSGiService { /* * NOTE FOR DEVELOPERS: * * Never modify or reference this class directly. Always use {@link com.liferay.portal.kernel.service.UserServiceUtil} to access the user remote service. */ /** * 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 UserService getUserService() { return userService; } /** * Sets the user remote service. * * @param userService the user remote service */ public void setUserService(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 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 mail remote service. * * @return the mail remote service */ public com.liferay.mail.kernel.service.MailService getMailService() { return mailService; } /** * Sets the mail remote service. * * @param mailService the mail remote service */ public void setMailService( com.liferay.mail.kernel.service.MailService mailService) { this.mailService = mailService; } /** * Returns the browser tracker local service. * * @return the browser tracker local service */ public com.liferay.portal.kernel.service.BrowserTrackerLocalService getBrowserTrackerLocalService() { return browserTrackerLocalService; } /** * Sets the browser tracker local service. * * @param browserTrackerLocalService the browser tracker local service */ public void setBrowserTrackerLocalService( com.liferay.portal.kernel.service.BrowserTrackerLocalService browserTrackerLocalService) { this.browserTrackerLocalService = browserTrackerLocalService; } /** * Returns the browser tracker persistence. * * @return the browser tracker persistence */ public BrowserTrackerPersistence getBrowserTrackerPersistence() { return browserTrackerPersistence; } /** * Sets the browser tracker persistence. * * @param browserTrackerPersistence the browser tracker persistence */ public void setBrowserTrackerPersistence( BrowserTrackerPersistence browserTrackerPersistence) { this.browserTrackerPersistence = browserTrackerPersistence; } /** * 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 contact local service. * * @return the contact local service */ public com.liferay.portal.kernel.service.ContactLocalService getContactLocalService() { return contactLocalService; } /** * Sets the contact local service. * * @param contactLocalService the contact local service */ public void setContactLocalService( com.liferay.portal.kernel.service.ContactLocalService contactLocalService) { this.contactLocalService = contactLocalService; } /** * Returns the contact remote service. * * @return the contact remote service */ public com.liferay.portal.kernel.service.ContactService getContactService() { return contactService; } /** * Sets the contact remote service. * * @param contactService the contact remote service */ public void setContactService( com.liferay.portal.kernel.service.ContactService contactService) { this.contactService = contactService; } /** * Returns the contact persistence. * * @return the contact persistence */ public ContactPersistence getContactPersistence() { return contactPersistence; } /** * Sets the contact persistence. * * @param contactPersistence the contact persistence */ public void setContactPersistence(ContactPersistence contactPersistence) { this.contactPersistence = contactPersistence; } /** * 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 image local service. * * @return the image local service */ public com.liferay.portal.kernel.service.ImageLocalService getImageLocalService() { return imageLocalService; } /** * Sets the image local service. * * @param imageLocalService the image local service */ public void setImageLocalService( com.liferay.portal.kernel.service.ImageLocalService imageLocalService) { this.imageLocalService = imageLocalService; } /** * Returns the image remote service. * * @return the image remote service */ public com.liferay.portal.kernel.service.ImageService getImageService() { return imageService; } /** * Sets the image remote service. * * @param imageService the image remote service */ public void setImageService( com.liferay.portal.kernel.service.ImageService imageService) { this.imageService = imageService; } /** * Returns the image persistence. * * @return the image persistence */ public ImagePersistence getImagePersistence() { return imagePersistence; } /** * Sets the image persistence. * * @param imagePersistence the image persistence */ public void setImagePersistence(ImagePersistence imagePersistence) { this.imagePersistence = imagePersistence; } /** * 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 membership request local service. * * @return the membership request local service */ public com.liferay.portal.kernel.service.MembershipRequestLocalService getMembershipRequestLocalService() { return membershipRequestLocalService; } /** * Sets the membership request local service. * * @param membershipRequestLocalService the membership request local service */ public void setMembershipRequestLocalService( com.liferay.portal.kernel.service.MembershipRequestLocalService membershipRequestLocalService) { this.membershipRequestLocalService = membershipRequestLocalService; } /** * Returns the membership request remote service. * * @return the membership request remote service */ public com.liferay.portal.kernel.service.MembershipRequestService getMembershipRequestService() { return membershipRequestService; } /** * Sets the membership request remote service. * * @param membershipRequestService the membership request remote service */ public void setMembershipRequestService( com.liferay.portal.kernel.service.MembershipRequestService membershipRequestService) { this.membershipRequestService = membershipRequestService; } /** * Returns the membership request persistence. * * @return the membership request persistence */ public MembershipRequestPersistence getMembershipRequestPersistence() { return membershipRequestPersistence; } /** * Sets the membership request persistence. * * @param membershipRequestPersistence the membership request persistence */ public void setMembershipRequestPersistence( MembershipRequestPersistence membershipRequestPersistence) { this.membershipRequestPersistence = membershipRequestPersistence; } /** * Returns the organization local service. * * @return the organization local service */ public com.liferay.portal.kernel.service.OrganizationLocalService getOrganizationLocalService() { return organizationLocalService; } /** * Sets the organization local service. * * @param organizationLocalService the organization local service */ public void setOrganizationLocalService( com.liferay.portal.kernel.service.OrganizationLocalService organizationLocalService) { this.organizationLocalService = organizationLocalService; } /** * Returns the organization remote service. * * @return the organization remote service */ public com.liferay.portal.kernel.service.OrganizationService getOrganizationService() { return organizationService; } /** * Sets the organization remote service. * * @param organizationService the organization remote service */ public void setOrganizationService( com.liferay.portal.kernel.service.OrganizationService organizationService) { this.organizationService = organizationService; } /** * Returns the organization persistence. * * @return the organization persistence */ public OrganizationPersistence getOrganizationPersistence() { return organizationPersistence; } /** * Sets the organization persistence. * * @param organizationPersistence the organization persistence */ public void setOrganizationPersistence( OrganizationPersistence organizationPersistence) { this.organizationPersistence = organizationPersistence; } /** * Returns the organization finder. * * @return the organization finder */ public OrganizationFinder getOrganizationFinder() { return organizationFinder; } /** * Sets the organization finder. * * @param organizationFinder the organization finder */ public void setOrganizationFinder(OrganizationFinder organizationFinder) { this.organizationFinder = organizationFinder; } /** * Returns the password policy local service. * * @return the password policy local service */ public com.liferay.portal.kernel.service.PasswordPolicyLocalService getPasswordPolicyLocalService() { return passwordPolicyLocalService; } /** * Sets the password policy local service. * * @param passwordPolicyLocalService the password policy local service */ public void setPasswordPolicyLocalService( com.liferay.portal.kernel.service.PasswordPolicyLocalService passwordPolicyLocalService) { this.passwordPolicyLocalService = passwordPolicyLocalService; } /** * Returns the password policy remote service. * * @return the password policy remote service */ public com.liferay.portal.kernel.service.PasswordPolicyService getPasswordPolicyService() { return passwordPolicyService; } /** * Sets the password policy remote service. * * @param passwordPolicyService the password policy remote service */ public void setPasswordPolicyService( com.liferay.portal.kernel.service.PasswordPolicyService passwordPolicyService) { this.passwordPolicyService = passwordPolicyService; } /** * Returns the password policy persistence. * * @return the password policy persistence */ public PasswordPolicyPersistence getPasswordPolicyPersistence() { return passwordPolicyPersistence; } /** * Sets the password policy persistence. * * @param passwordPolicyPersistence the password policy persistence */ public void setPasswordPolicyPersistence( PasswordPolicyPersistence passwordPolicyPersistence) { this.passwordPolicyPersistence = passwordPolicyPersistence; } /** * Returns the password policy finder. * * @return the password policy finder */ public PasswordPolicyFinder getPasswordPolicyFinder() { return passwordPolicyFinder; } /** * Sets the password policy finder. * * @param passwordPolicyFinder the password policy finder */ public void setPasswordPolicyFinder( PasswordPolicyFinder passwordPolicyFinder) { this.passwordPolicyFinder = passwordPolicyFinder; } /** * Returns the password policy rel local service. * * @return the password policy rel local service */ public com.liferay.portal.kernel.service.PasswordPolicyRelLocalService getPasswordPolicyRelLocalService() { return passwordPolicyRelLocalService; } /** * Sets the password policy rel local service. * * @param passwordPolicyRelLocalService the password policy rel local service */ public void setPasswordPolicyRelLocalService( com.liferay.portal.kernel.service.PasswordPolicyRelLocalService passwordPolicyRelLocalService) { this.passwordPolicyRelLocalService = passwordPolicyRelLocalService; } /** * Returns the password policy rel persistence. * * @return the password policy rel persistence */ public PasswordPolicyRelPersistence getPasswordPolicyRelPersistence() { return passwordPolicyRelPersistence; } /** * Sets the password policy rel persistence. * * @param passwordPolicyRelPersistence the password policy rel persistence */ public void setPasswordPolicyRelPersistence( PasswordPolicyRelPersistence passwordPolicyRelPersistence) { this.passwordPolicyRelPersistence = passwordPolicyRelPersistence; } /** * Returns the password tracker local service. * * @return the password tracker local service */ public com.liferay.portal.kernel.service.PasswordTrackerLocalService getPasswordTrackerLocalService() { return passwordTrackerLocalService; } /** * Sets the password tracker local service. * * @param passwordTrackerLocalService the password tracker local service */ public void setPasswordTrackerLocalService( com.liferay.portal.kernel.service.PasswordTrackerLocalService passwordTrackerLocalService) { this.passwordTrackerLocalService = passwordTrackerLocalService; } /** * Returns the password tracker persistence. * * @return the password tracker persistence */ public PasswordTrackerPersistence getPasswordTrackerPersistence() { return passwordTrackerPersistence; } /** * Sets the password tracker persistence. * * @param passwordTrackerPersistence the password tracker persistence */ public void setPasswordTrackerPersistence( PasswordTrackerPersistence passwordTrackerPersistence) { this.passwordTrackerPersistence = passwordTrackerPersistence; } /** * Returns the recent layout branch local service. * * @return the recent layout branch local service */ public com.liferay.portal.kernel.service.RecentLayoutBranchLocalService getRecentLayoutBranchLocalService() { return recentLayoutBranchLocalService; } /** * Sets the recent layout branch local service. * * @param recentLayoutBranchLocalService the recent layout branch local service */ public void setRecentLayoutBranchLocalService( com.liferay.portal.kernel.service.RecentLayoutBranchLocalService recentLayoutBranchLocalService) { this.recentLayoutBranchLocalService = recentLayoutBranchLocalService; } /** * Returns the recent layout branch persistence. * * @return the recent layout branch persistence */ public RecentLayoutBranchPersistence getRecentLayoutBranchPersistence() { return recentLayoutBranchPersistence; } /** * Sets the recent layout branch persistence. * * @param recentLayoutBranchPersistence the recent layout branch persistence */ public void setRecentLayoutBranchPersistence( RecentLayoutBranchPersistence recentLayoutBranchPersistence) { this.recentLayoutBranchPersistence = recentLayoutBranchPersistence; } /** * Returns the recent layout revision local service. * * @return the recent layout revision local service */ public com.liferay.portal.kernel.service.RecentLayoutRevisionLocalService getRecentLayoutRevisionLocalService() { return recentLayoutRevisionLocalService; } /** * Sets the recent layout revision local service. * * @param recentLayoutRevisionLocalService the recent layout revision local service */ public void setRecentLayoutRevisionLocalService( com.liferay.portal.kernel.service.RecentLayoutRevisionLocalService recentLayoutRevisionLocalService) { this.recentLayoutRevisionLocalService = recentLayoutRevisionLocalService; } /** * Returns the recent layout revision persistence. * * @return the recent layout revision persistence */ public RecentLayoutRevisionPersistence getRecentLayoutRevisionPersistence() { return recentLayoutRevisionPersistence; } /** * Sets the recent layout revision persistence. * * @param recentLayoutRevisionPersistence the recent layout revision persistence */ public void setRecentLayoutRevisionPersistence( RecentLayoutRevisionPersistence recentLayoutRevisionPersistence) { this.recentLayoutRevisionPersistence = recentLayoutRevisionPersistence; } /** * Returns the recent layout set branch local service. * * @return the recent layout set branch local service */ public com.liferay.portal.kernel.service.RecentLayoutSetBranchLocalService getRecentLayoutSetBranchLocalService() { return recentLayoutSetBranchLocalService; } /** * Sets the recent layout set branch local service. * * @param recentLayoutSetBranchLocalService the recent layout set branch local service */ public void setRecentLayoutSetBranchLocalService( com.liferay.portal.kernel.service.RecentLayoutSetBranchLocalService recentLayoutSetBranchLocalService) { this.recentLayoutSetBranchLocalService = recentLayoutSetBranchLocalService; } /** * Returns the recent layout set branch persistence. * * @return the recent layout set branch persistence */ public RecentLayoutSetBranchPersistence getRecentLayoutSetBranchPersistence() { return recentLayoutSetBranchPersistence; } /** * Sets the recent layout set branch persistence. * * @param recentLayoutSetBranchPersistence the recent layout set branch persistence */ public void setRecentLayoutSetBranchPersistence( RecentLayoutSetBranchPersistence recentLayoutSetBranchPersistence) { this.recentLayoutSetBranchPersistence = recentLayoutSetBranchPersistence; } /** * 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 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 com.liferay.portal.kernel.service.RoleService getRoleService() { return roleService; } /** * Sets the role remote service. * * @param roleService the role remote service */ public void setRoleService( com.liferay.portal.kernel.service.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 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 ticket local service. * * @return the ticket local service */ public com.liferay.portal.kernel.service.TicketLocalService getTicketLocalService() { return ticketLocalService; } /** * Sets the ticket local service. * * @param ticketLocalService the ticket local service */ public void setTicketLocalService( com.liferay.portal.kernel.service.TicketLocalService ticketLocalService) { this.ticketLocalService = ticketLocalService; } /** * Returns the ticket persistence. * * @return the ticket persistence */ public TicketPersistence getTicketPersistence() { return ticketPersistence; } /** * Sets the ticket persistence. * * @param ticketPersistence the ticket persistence */ public void setTicketPersistence(TicketPersistence ticketPersistence) { this.ticketPersistence = ticketPersistence; } /** * Returns the announcements delivery local service. * * @return the announcements delivery local service */ public com.liferay.announcements.kernel.service.AnnouncementsDeliveryLocalService getAnnouncementsDeliveryLocalService() { return announcementsDeliveryLocalService; } /** * Sets the announcements delivery local service. * * @param announcementsDeliveryLocalService the announcements delivery local service */ public void setAnnouncementsDeliveryLocalService( com.liferay.announcements.kernel.service.AnnouncementsDeliveryLocalService announcementsDeliveryLocalService) { this.announcementsDeliveryLocalService = announcementsDeliveryLocalService; } /** * Returns the announcements delivery remote service. * * @return the announcements delivery remote service */ public com.liferay.announcements.kernel.service.AnnouncementsDeliveryService getAnnouncementsDeliveryService() { return announcementsDeliveryService; } /** * Sets the announcements delivery remote service. * * @param announcementsDeliveryService the announcements delivery remote service */ public void setAnnouncementsDeliveryService( com.liferay.announcements.kernel.service.AnnouncementsDeliveryService announcementsDeliveryService) { this.announcementsDeliveryService = announcementsDeliveryService; } /** * Returns the announcements delivery persistence. * * @return the announcements delivery persistence */ public AnnouncementsDeliveryPersistence getAnnouncementsDeliveryPersistence() { return announcementsDeliveryPersistence; } /** * Sets the announcements delivery persistence. * * @param announcementsDeliveryPersistence the announcements delivery persistence */ public void setAnnouncementsDeliveryPersistence( AnnouncementsDeliveryPersistence announcementsDeliveryPersistence) { this.announcementsDeliveryPersistence = announcementsDeliveryPersistence; } /** * Returns the asset entry local service. * * @return the asset entry local service */ public com.liferay.asset.kernel.service.AssetEntryLocalService getAssetEntryLocalService() { return assetEntryLocalService; } /** * Sets the asset entry local service. * * @param assetEntryLocalService the asset entry local service */ public void setAssetEntryLocalService( com.liferay.asset.kernel.service.AssetEntryLocalService assetEntryLocalService) { this.assetEntryLocalService = assetEntryLocalService; } /** * Returns the asset entry remote service. * * @return the asset entry remote service */ public com.liferay.asset.kernel.service.AssetEntryService getAssetEntryService() { return assetEntryService; } /** * Sets the asset entry remote service. * * @param assetEntryService the asset entry remote service */ public void setAssetEntryService( com.liferay.asset.kernel.service.AssetEntryService assetEntryService) { this.assetEntryService = assetEntryService; } /** * Returns the asset entry persistence. * * @return the asset entry persistence */ public AssetEntryPersistence getAssetEntryPersistence() { return assetEntryPersistence; } /** * Sets the asset entry persistence. * * @param assetEntryPersistence the asset entry persistence */ public void setAssetEntryPersistence( AssetEntryPersistence assetEntryPersistence) { this.assetEntryPersistence = assetEntryPersistence; } /** * Returns the asset entry finder. * * @return the asset entry finder */ public AssetEntryFinder getAssetEntryFinder() { return assetEntryFinder; } /** * Sets the asset entry finder. * * @param assetEntryFinder the asset entry finder */ public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) { this.assetEntryFinder = assetEntryFinder; } /** * Returns the document library file entry local service. * * @return the document library file entry local service */ public com.liferay.document.library.kernel.service.DLFileEntryLocalService getDLFileEntryLocalService() { return dlFileEntryLocalService; } /** * Sets the document library file entry local service. * * @param dlFileEntryLocalService the document library file entry local service */ public void setDLFileEntryLocalService( com.liferay.document.library.kernel.service.DLFileEntryLocalService dlFileEntryLocalService) { this.dlFileEntryLocalService = dlFileEntryLocalService; } /** * Returns the document library file entry remote service. * * @return the document library file entry remote service */ public com.liferay.document.library.kernel.service.DLFileEntryService getDLFileEntryService() { return dlFileEntryService; } /** * Sets the document library file entry remote service. * * @param dlFileEntryService the document library file entry remote service */ public void setDLFileEntryService( com.liferay.document.library.kernel.service.DLFileEntryService dlFileEntryService) { this.dlFileEntryService = dlFileEntryService; } /** * Returns the document library file entry persistence. * * @return the document library file entry persistence */ public DLFileEntryPersistence getDLFileEntryPersistence() { return dlFileEntryPersistence; } /** * Sets the document library file entry persistence. * * @param dlFileEntryPersistence the document library file entry persistence */ public void setDLFileEntryPersistence( DLFileEntryPersistence dlFileEntryPersistence) { this.dlFileEntryPersistence = dlFileEntryPersistence; } /** * Returns the document library file entry finder. * * @return the document library file entry finder */ public DLFileEntryFinder getDLFileEntryFinder() { return dlFileEntryFinder; } /** * Sets the document library file entry finder. * * @param dlFileEntryFinder the document library file entry finder */ public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder) { this.dlFileEntryFinder = dlFileEntryFinder; } /** * Returns the document library file rank local service. * * @return the document library file rank local service */ public com.liferay.document.library.kernel.service.DLFileRankLocalService getDLFileRankLocalService() { return dlFileRankLocalService; } /** * Sets the document library file rank local service. * * @param dlFileRankLocalService the document library file rank local service */ public void setDLFileRankLocalService( com.liferay.document.library.kernel.service.DLFileRankLocalService dlFileRankLocalService) { this.dlFileRankLocalService = dlFileRankLocalService; } /** * Returns the document library file rank persistence. * * @return the document library file rank persistence */ public DLFileRankPersistence getDLFileRankPersistence() { return dlFileRankPersistence; } /** * Sets the document library file rank persistence. * * @param dlFileRankPersistence the document library file rank persistence */ public void setDLFileRankPersistence( DLFileRankPersistence dlFileRankPersistence) { this.dlFileRankPersistence = dlFileRankPersistence; } /** * Returns the document library file rank finder. * * @return the document library file rank finder */ public DLFileRankFinder getDLFileRankFinder() { return dlFileRankFinder; } /** * Sets the document library file rank finder. * * @param dlFileRankFinder the document library file rank finder */ public void setDLFileRankFinder(DLFileRankFinder dlFileRankFinder) { this.dlFileRankFinder = dlFileRankFinder; } /** * 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 message boards ban local service. * * @return the message boards ban local service */ public com.liferay.message.boards.kernel.service.MBBanLocalService getMBBanLocalService() { return mbBanLocalService; } /** * Sets the message boards ban local service. * * @param mbBanLocalService the message boards ban local service */ public void setMBBanLocalService( com.liferay.message.boards.kernel.service.MBBanLocalService mbBanLocalService) { this.mbBanLocalService = mbBanLocalService; } /** * Returns the message boards ban remote service. * * @return the message boards ban remote service */ public com.liferay.message.boards.kernel.service.MBBanService getMBBanService() { return mbBanService; } /** * Sets the message boards ban remote service. * * @param mbBanService the message boards ban remote service */ public void setMBBanService( com.liferay.message.boards.kernel.service.MBBanService mbBanService) { this.mbBanService = mbBanService; } /** * Returns the message boards ban persistence. * * @return the message boards ban persistence */ public MBBanPersistence getMBBanPersistence() { return mbBanPersistence; } /** * Sets the message boards ban persistence. * * @param mbBanPersistence the message boards ban persistence */ public void setMBBanPersistence(MBBanPersistence mbBanPersistence) { this.mbBanPersistence = mbBanPersistence; } /** * Returns the message-boards message local service. * * @return the message-boards message local service */ public com.liferay.message.boards.kernel.service.MBMessageLocalService getMBMessageLocalService() { return mbMessageLocalService; } /** * Sets the message-boards message local service. * * @param mbMessageLocalService the message-boards message local service */ public void setMBMessageLocalService( com.liferay.message.boards.kernel.service.MBMessageLocalService mbMessageLocalService) { this.mbMessageLocalService = mbMessageLocalService; } /** * Returns the message-boards message remote service. * * @return the message-boards message remote service */ public com.liferay.message.boards.kernel.service.MBMessageService getMBMessageService() { return mbMessageService; } /** * Sets the message-boards message remote service. * * @param mbMessageService the message-boards message remote service */ public void setMBMessageService( com.liferay.message.boards.kernel.service.MBMessageService mbMessageService) { this.mbMessageService = mbMessageService; } /** * Returns the message-boards message persistence. * * @return the message-boards message persistence */ public MBMessagePersistence getMBMessagePersistence() { return mbMessagePersistence; } /** * Sets the message-boards message persistence. * * @param mbMessagePersistence the message-boards message persistence */ public void setMBMessagePersistence( MBMessagePersistence mbMessagePersistence) { this.mbMessagePersistence = mbMessagePersistence; } /** * Returns the message-boards message finder. * * @return the message-boards message finder */ public MBMessageFinder getMBMessageFinder() { return mbMessageFinder; } /** * Sets the message-boards message finder. * * @param mbMessageFinder the message-boards message finder */ public void setMBMessageFinder(MBMessageFinder mbMessageFinder) { this.mbMessageFinder = mbMessageFinder; } /** * Returns the message boards stats user local service. * * @return the message boards stats user local service */ public com.liferay.message.boards.kernel.service.MBStatsUserLocalService getMBStatsUserLocalService() { return mbStatsUserLocalService; } /** * Sets the message boards stats user local service. * * @param mbStatsUserLocalService the message boards stats user local service */ public void setMBStatsUserLocalService( com.liferay.message.boards.kernel.service.MBStatsUserLocalService mbStatsUserLocalService) { this.mbStatsUserLocalService = mbStatsUserLocalService; } /** * Returns the message boards stats user persistence. * * @return the message boards stats user persistence */ public MBStatsUserPersistence getMBStatsUserPersistence() { return mbStatsUserPersistence; } /** * Sets the message boards stats user persistence. * * @param mbStatsUserPersistence the message boards stats user persistence */ public void setMBStatsUserPersistence( MBStatsUserPersistence mbStatsUserPersistence) { this.mbStatsUserPersistence = mbStatsUserPersistence; } /** * Returns the message boards thread flag local service. * * @return the message boards thread flag local service */ public com.liferay.message.boards.kernel.service.MBThreadFlagLocalService getMBThreadFlagLocalService() { return mbThreadFlagLocalService; } /** * Sets the message boards thread flag local service. * * @param mbThreadFlagLocalService the message boards thread flag local service */ public void setMBThreadFlagLocalService( com.liferay.message.boards.kernel.service.MBThreadFlagLocalService mbThreadFlagLocalService) { this.mbThreadFlagLocalService = mbThreadFlagLocalService; } /** * Returns the message boards thread flag persistence. * * @return the message boards thread flag persistence */ public MBThreadFlagPersistence getMBThreadFlagPersistence() { return mbThreadFlagPersistence; } /** * Sets the message boards thread flag persistence. * * @param mbThreadFlagPersistence the message boards thread flag persistence */ public void setMBThreadFlagPersistence( MBThreadFlagPersistence mbThreadFlagPersistence) { this.mbThreadFlagPersistence = mbThreadFlagPersistence; } /** * Returns the ratings stats local service. * * @return the ratings stats local service */ public com.liferay.ratings.kernel.service.RatingsStatsLocalService getRatingsStatsLocalService() { return ratingsStatsLocalService; } /** * Sets the ratings stats local service. * * @param ratingsStatsLocalService the ratings stats local service */ public void setRatingsStatsLocalService( com.liferay.ratings.kernel.service.RatingsStatsLocalService ratingsStatsLocalService) { this.ratingsStatsLocalService = ratingsStatsLocalService; } /** * Returns the ratings stats persistence. * * @return the ratings stats persistence */ public RatingsStatsPersistence getRatingsStatsPersistence() { return ratingsStatsPersistence; } /** * Sets the ratings stats persistence. * * @param ratingsStatsPersistence the ratings stats persistence */ public void setRatingsStatsPersistence( RatingsStatsPersistence ratingsStatsPersistence) { this.ratingsStatsPersistence = ratingsStatsPersistence; } /** * Returns the ratings stats finder. * * @return the ratings stats finder */ public RatingsStatsFinder getRatingsStatsFinder() { return ratingsStatsFinder; } /** * Sets the ratings stats finder. * * @param ratingsStatsFinder the ratings stats finder */ public void setRatingsStatsFinder(RatingsStatsFinder ratingsStatsFinder) { this.ratingsStatsFinder = ratingsStatsFinder; } /** * Returns the social activity local service. * * @return the social activity local service */ public com.liferay.social.kernel.service.SocialActivityLocalService getSocialActivityLocalService() { return socialActivityLocalService; } /** * Sets the social activity local service. * * @param socialActivityLocalService the social activity local service */ public void setSocialActivityLocalService( com.liferay.social.kernel.service.SocialActivityLocalService socialActivityLocalService) { this.socialActivityLocalService = socialActivityLocalService; } /** * Returns the social activity remote service. * * @return the social activity remote service */ public com.liferay.social.kernel.service.SocialActivityService getSocialActivityService() { return socialActivityService; } /** * Sets the social activity remote service. * * @param socialActivityService the social activity remote service */ public void setSocialActivityService( com.liferay.social.kernel.service.SocialActivityService socialActivityService) { this.socialActivityService = socialActivityService; } /** * Returns the social activity persistence. * * @return the social activity persistence */ public SocialActivityPersistence getSocialActivityPersistence() { return socialActivityPersistence; } /** * Sets the social activity persistence. * * @param socialActivityPersistence the social activity persistence */ public void setSocialActivityPersistence( SocialActivityPersistence socialActivityPersistence) { this.socialActivityPersistence = socialActivityPersistence; } /** * Returns the social activity finder. * * @return the social activity finder */ public SocialActivityFinder getSocialActivityFinder() { return socialActivityFinder; } /** * Sets the social activity finder. * * @param socialActivityFinder the social activity finder */ public void setSocialActivityFinder( SocialActivityFinder socialActivityFinder) { this.socialActivityFinder = socialActivityFinder; } /** * Returns the social relation local service. * * @return the social relation local service */ public com.liferay.social.kernel.service.SocialRelationLocalService getSocialRelationLocalService() { return socialRelationLocalService; } /** * Sets the social relation local service. * * @param socialRelationLocalService the social relation local service */ public void setSocialRelationLocalService( com.liferay.social.kernel.service.SocialRelationLocalService socialRelationLocalService) { this.socialRelationLocalService = socialRelationLocalService; } /** * Returns the social relation persistence. * * @return the social relation persistence */ public SocialRelationPersistence getSocialRelationPersistence() { return socialRelationPersistence; } /** * Sets the social relation persistence. * * @param socialRelationPersistence the social relation persistence */ public void setSocialRelationPersistence( SocialRelationPersistence socialRelationPersistence) { this.socialRelationPersistence = socialRelationPersistence; } /** * Returns the social request local service. * * @return the social request local service */ public com.liferay.social.kernel.service.SocialRequestLocalService getSocialRequestLocalService() { return socialRequestLocalService; } /** * Sets the social request local service. * * @param socialRequestLocalService the social request local service */ public void setSocialRequestLocalService( com.liferay.social.kernel.service.SocialRequestLocalService socialRequestLocalService) { this.socialRequestLocalService = socialRequestLocalService; } /** * Returns the social request remote service. * * @return the social request remote service */ public com.liferay.social.kernel.service.SocialRequestService getSocialRequestService() { return socialRequestService; } /** * Sets the social request remote service. * * @param socialRequestService the social request remote service */ public void setSocialRequestService( com.liferay.social.kernel.service.SocialRequestService socialRequestService) { this.socialRequestService = socialRequestService; } /** * Returns the social request persistence. * * @return the social request persistence */ public SocialRequestPersistence getSocialRequestPersistence() { return socialRequestPersistence; } /** * Sets the social request persistence. * * @param socialRequestPersistence the social request persistence */ public void setSocialRequestPersistence( SocialRequestPersistence socialRequestPersistence) { this.socialRequestPersistence = socialRequestPersistence; } /** * Returns the user group local service. * * @return the user group local service */ public com.liferay.portal.kernel.service.UserGroupLocalService getUserGroupLocalService() { return userGroupLocalService; } /** * Sets the user group local service. * * @param userGroupLocalService the user group local service */ public void setUserGroupLocalService( com.liferay.portal.kernel.service.UserGroupLocalService userGroupLocalService) { this.userGroupLocalService = userGroupLocalService; } /** * Returns the user group remote service. * * @return the user group remote service */ public com.liferay.portal.kernel.service.UserGroupService getUserGroupService() { return userGroupService; } /** * Sets the user group remote service. * * @param userGroupService the user group remote service */ public void setUserGroupService( com.liferay.portal.kernel.service.UserGroupService userGroupService) { this.userGroupService = userGroupService; } /** * Returns the user group persistence. * * @return the user group persistence */ public UserGroupPersistence getUserGroupPersistence() { return userGroupPersistence; } /** * Sets the user group persistence. * * @param userGroupPersistence the user group persistence */ public void setUserGroupPersistence( UserGroupPersistence userGroupPersistence) { this.userGroupPersistence = userGroupPersistence; } /** * Returns the user group finder. * * @return the user group finder */ public UserGroupFinder getUserGroupFinder() { return userGroupFinder; } /** * Sets the user group finder. * * @param userGroupFinder the user group finder */ public void setUserGroupFinder(UserGroupFinder userGroupFinder) { this.userGroupFinder = userGroupFinder; } /** * 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; } /** * Returns the user ID mapper local service. * * @return the user ID mapper local service */ public com.liferay.portal.kernel.service.UserIdMapperLocalService getUserIdMapperLocalService() { return userIdMapperLocalService; } /** * Sets the user ID mapper local service. * * @param userIdMapperLocalService the user ID mapper local service */ public void setUserIdMapperLocalService( com.liferay.portal.kernel.service.UserIdMapperLocalService userIdMapperLocalService) { this.userIdMapperLocalService = userIdMapperLocalService; } /** * Returns the user ID mapper persistence. * * @return the user ID mapper persistence */ public UserIdMapperPersistence getUserIdMapperPersistence() { return userIdMapperPersistence; } /** * Sets the user ID mapper persistence. * * @param userIdMapperPersistence the user ID mapper persistence */ public void setUserIdMapperPersistence( UserIdMapperPersistence userIdMapperPersistence) { this.userIdMapperPersistence = userIdMapperPersistence; } /** * Returns the workflow instance link local service. * * @return the workflow instance link local service */ public com.liferay.portal.kernel.service.WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() { return workflowInstanceLinkLocalService; } /** * Sets the workflow instance link local service. * * @param workflowInstanceLinkLocalService the workflow instance link local service */ public void setWorkflowInstanceLinkLocalService( com.liferay.portal.kernel.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) { this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService; } /** * Returns the workflow instance link persistence. * * @return the workflow instance link persistence */ public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() { return workflowInstanceLinkPersistence; } /** * Sets the workflow instance link persistence. * * @param workflowInstanceLinkPersistence the workflow instance link persistence */ public void setWorkflowInstanceLinkPersistence( WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) { this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence; } public void afterPropertiesSet() { } public void destroy() { } /** * Returns the OSGi service identifier. * * @return the OSGi service identifier */ @Override public String getOSGiServiceIdentifier() { return UserService.class.getName(); } protected Class<?> getModelClass() { return User.class; } protected String getModelClassName() { return User.class.getName(); } /** * Performs a SQL query. * * @param sql the sql query */ protected void runSQL(String sql) { try { DataSource dataSource = userPersistence.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.UserLocalService.class) protected com.liferay.portal.kernel.service.UserLocalService userLocalService; @BeanReference(type = UserService.class) protected UserService userService; @BeanReference(type = UserPersistence.class) protected UserPersistence userPersistence; @BeanReference(type = UserFinder.class) protected UserFinder userFinder; @BeanReference(type = com.liferay.counter.kernel.service.CounterLocalService.class) protected com.liferay.counter.kernel.service.CounterLocalService counterLocalService; @BeanReference(type = com.liferay.mail.kernel.service.MailService.class) protected com.liferay.mail.kernel.service.MailService mailService; @BeanReference(type = com.liferay.portal.kernel.service.BrowserTrackerLocalService.class) protected com.liferay.portal.kernel.service.BrowserTrackerLocalService browserTrackerLocalService; @BeanReference(type = BrowserTrackerPersistence.class) protected BrowserTrackerPersistence browserTrackerPersistence; @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.ContactLocalService.class) protected com.liferay.portal.kernel.service.ContactLocalService contactLocalService; @BeanReference(type = com.liferay.portal.kernel.service.ContactService.class) protected com.liferay.portal.kernel.service.ContactService contactService; @BeanReference(type = ContactPersistence.class) protected ContactPersistence contactPersistence; @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.ImageLocalService.class) protected com.liferay.portal.kernel.service.ImageLocalService imageLocalService; @BeanReference(type = com.liferay.portal.kernel.service.ImageService.class) protected com.liferay.portal.kernel.service.ImageService imageService; @BeanReference(type = ImagePersistence.class) protected ImagePersistence imagePersistence; @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.MembershipRequestLocalService.class) protected com.liferay.portal.kernel.service.MembershipRequestLocalService membershipRequestLocalService; @BeanReference(type = com.liferay.portal.kernel.service.MembershipRequestService.class) protected com.liferay.portal.kernel.service.MembershipRequestService membershipRequestService; @BeanReference(type = MembershipRequestPersistence.class) protected MembershipRequestPersistence membershipRequestPersistence; @BeanReference(type = com.liferay.portal.kernel.service.OrganizationLocalService.class) protected com.liferay.portal.kernel.service.OrganizationLocalService organizationLocalService; @BeanReference(type = com.liferay.portal.kernel.service.OrganizationService.class) protected com.liferay.portal.kernel.service.OrganizationService organizationService; @BeanReference(type = OrganizationPersistence.class) protected OrganizationPersistence organizationPersistence; @BeanReference(type = OrganizationFinder.class) protected OrganizationFinder organizationFinder; @BeanReference(type = com.liferay.portal.kernel.service.PasswordPolicyLocalService.class) protected com.liferay.portal.kernel.service.PasswordPolicyLocalService passwordPolicyLocalService; @BeanReference(type = com.liferay.portal.kernel.service.PasswordPolicyService.class) protected com.liferay.portal.kernel.service.PasswordPolicyService passwordPolicyService; @BeanReference(type = PasswordPolicyPersistence.class) protected PasswordPolicyPersistence passwordPolicyPersistence; @BeanReference(type = PasswordPolicyFinder.class) protected PasswordPolicyFinder passwordPolicyFinder; @BeanReference(type = com.liferay.portal.kernel.service.PasswordPolicyRelLocalService.class) protected com.liferay.portal.kernel.service.PasswordPolicyRelLocalService passwordPolicyRelLocalService; @BeanReference(type = PasswordPolicyRelPersistence.class) protected PasswordPolicyRelPersistence passwordPolicyRelPersistence; @BeanReference(type = com.liferay.portal.kernel.service.PasswordTrackerLocalService.class) protected com.liferay.portal.kernel.service.PasswordTrackerLocalService passwordTrackerLocalService; @BeanReference(type = PasswordTrackerPersistence.class) protected PasswordTrackerPersistence passwordTrackerPersistence; @BeanReference(type = com.liferay.portal.kernel.service.RecentLayoutBranchLocalService.class) protected com.liferay.portal.kernel.service.RecentLayoutBranchLocalService recentLayoutBranchLocalService; @BeanReference(type = RecentLayoutBranchPersistence.class) protected RecentLayoutBranchPersistence recentLayoutBranchPersistence; @BeanReference(type = com.liferay.portal.kernel.service.RecentLayoutRevisionLocalService.class) protected com.liferay.portal.kernel.service.RecentLayoutRevisionLocalService recentLayoutRevisionLocalService; @BeanReference(type = RecentLayoutRevisionPersistence.class) protected RecentLayoutRevisionPersistence recentLayoutRevisionPersistence; @BeanReference(type = com.liferay.portal.kernel.service.RecentLayoutSetBranchLocalService.class) protected com.liferay.portal.kernel.service.RecentLayoutSetBranchLocalService recentLayoutSetBranchLocalService; @BeanReference(type = RecentLayoutSetBranchPersistence.class) protected RecentLayoutSetBranchPersistence recentLayoutSetBranchPersistence; @BeanReference(type = com.liferay.portal.kernel.service.ResourceLocalService.class) protected com.liferay.portal.kernel.service.ResourceLocalService resourceLocalService; @BeanReference(type = com.liferay.portal.kernel.service.RoleLocalService.class) protected com.liferay.portal.kernel.service.RoleLocalService roleLocalService; @BeanReference(type = com.liferay.portal.kernel.service.RoleService.class) protected com.liferay.portal.kernel.service.RoleService roleService; @BeanReference(type = RolePersistence.class) protected RolePersistence rolePersistence; @BeanReference(type = RoleFinder.class) protected RoleFinder roleFinder; @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.TicketLocalService.class) protected com.liferay.portal.kernel.service.TicketLocalService ticketLocalService; @BeanReference(type = TicketPersistence.class) protected TicketPersistence ticketPersistence; @BeanReference(type = com.liferay.announcements.kernel.service.AnnouncementsDeliveryLocalService.class) protected com.liferay.announcements.kernel.service.AnnouncementsDeliveryLocalService announcementsDeliveryLocalService; @BeanReference(type = com.liferay.announcements.kernel.service.AnnouncementsDeliveryService.class) protected com.liferay.announcements.kernel.service.AnnouncementsDeliveryService announcementsDeliveryService; @BeanReference(type = AnnouncementsDeliveryPersistence.class) protected AnnouncementsDeliveryPersistence announcementsDeliveryPersistence; @BeanReference(type = com.liferay.asset.kernel.service.AssetEntryLocalService.class) protected com.liferay.asset.kernel.service.AssetEntryLocalService assetEntryLocalService; @BeanReference(type = com.liferay.asset.kernel.service.AssetEntryService.class) protected com.liferay.asset.kernel.service.AssetEntryService assetEntryService; @BeanReference(type = AssetEntryPersistence.class) protected AssetEntryPersistence assetEntryPersistence; @BeanReference(type = AssetEntryFinder.class) protected AssetEntryFinder assetEntryFinder; @BeanReference(type = com.liferay.document.library.kernel.service.DLFileEntryLocalService.class) protected com.liferay.document.library.kernel.service.DLFileEntryLocalService dlFileEntryLocalService; @BeanReference(type = com.liferay.document.library.kernel.service.DLFileEntryService.class) protected com.liferay.document.library.kernel.service.DLFileEntryService dlFileEntryService; @BeanReference(type = DLFileEntryPersistence.class) protected DLFileEntryPersistence dlFileEntryPersistence; @BeanReference(type = DLFileEntryFinder.class) protected DLFileEntryFinder dlFileEntryFinder; @BeanReference(type = com.liferay.document.library.kernel.service.DLFileRankLocalService.class) protected com.liferay.document.library.kernel.service.DLFileRankLocalService dlFileRankLocalService; @BeanReference(type = DLFileRankPersistence.class) protected DLFileRankPersistence dlFileRankPersistence; @BeanReference(type = DLFileRankFinder.class) protected DLFileRankFinder dlFileRankFinder; @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.message.boards.kernel.service.MBBanLocalService.class) protected com.liferay.message.boards.kernel.service.MBBanLocalService mbBanLocalService; @BeanReference(type = com.liferay.message.boards.kernel.service.MBBanService.class) protected com.liferay.message.boards.kernel.service.MBBanService mbBanService; @BeanReference(type = MBBanPersistence.class) protected MBBanPersistence mbBanPersistence; @BeanReference(type = com.liferay.message.boards.kernel.service.MBMessageLocalService.class) protected com.liferay.message.boards.kernel.service.MBMessageLocalService mbMessageLocalService; @BeanReference(type = com.liferay.message.boards.kernel.service.MBMessageService.class) protected com.liferay.message.boards.kernel.service.MBMessageService mbMessageService; @BeanReference(type = MBMessagePersistence.class) protected MBMessagePersistence mbMessagePersistence; @BeanReference(type = MBMessageFinder.class) protected MBMessageFinder mbMessageFinder; @BeanReference(type = com.liferay.message.boards.kernel.service.MBStatsUserLocalService.class) protected com.liferay.message.boards.kernel.service.MBStatsUserLocalService mbStatsUserLocalService; @BeanReference(type = MBStatsUserPersistence.class) protected MBStatsUserPersistence mbStatsUserPersistence; @BeanReference(type = com.liferay.message.boards.kernel.service.MBThreadFlagLocalService.class) protected com.liferay.message.boards.kernel.service.MBThreadFlagLocalService mbThreadFlagLocalService; @BeanReference(type = MBThreadFlagPersistence.class) protected MBThreadFlagPersistence mbThreadFlagPersistence; @BeanReference(type = com.liferay.ratings.kernel.service.RatingsStatsLocalService.class) protected com.liferay.ratings.kernel.service.RatingsStatsLocalService ratingsStatsLocalService; @BeanReference(type = RatingsStatsPersistence.class) protected RatingsStatsPersistence ratingsStatsPersistence; @BeanReference(type = RatingsStatsFinder.class) protected RatingsStatsFinder ratingsStatsFinder; @BeanReference(type = com.liferay.social.kernel.service.SocialActivityLocalService.class) protected com.liferay.social.kernel.service.SocialActivityLocalService socialActivityLocalService; @BeanReference(type = com.liferay.social.kernel.service.SocialActivityService.class) protected com.liferay.social.kernel.service.SocialActivityService socialActivityService; @BeanReference(type = SocialActivityPersistence.class) protected SocialActivityPersistence socialActivityPersistence; @BeanReference(type = SocialActivityFinder.class) protected SocialActivityFinder socialActivityFinder; @BeanReference(type = com.liferay.social.kernel.service.SocialRelationLocalService.class) protected com.liferay.social.kernel.service.SocialRelationLocalService socialRelationLocalService; @BeanReference(type = SocialRelationPersistence.class) protected SocialRelationPersistence socialRelationPersistence; @BeanReference(type = com.liferay.social.kernel.service.SocialRequestLocalService.class) protected com.liferay.social.kernel.service.SocialRequestLocalService socialRequestLocalService; @BeanReference(type = com.liferay.social.kernel.service.SocialRequestService.class) protected com.liferay.social.kernel.service.SocialRequestService socialRequestService; @BeanReference(type = SocialRequestPersistence.class) protected SocialRequestPersistence socialRequestPersistence; @BeanReference(type = com.liferay.portal.kernel.service.UserGroupLocalService.class) protected com.liferay.portal.kernel.service.UserGroupLocalService userGroupLocalService; @BeanReference(type = com.liferay.portal.kernel.service.UserGroupService.class) protected com.liferay.portal.kernel.service.UserGroupService userGroupService; @BeanReference(type = UserGroupPersistence.class) protected UserGroupPersistence userGroupPersistence; @BeanReference(type = UserGroupFinder.class) protected UserGroupFinder userGroupFinder; @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; @BeanReference(type = com.liferay.portal.kernel.service.UserIdMapperLocalService.class) protected com.liferay.portal.kernel.service.UserIdMapperLocalService userIdMapperLocalService; @BeanReference(type = UserIdMapperPersistence.class) protected UserIdMapperPersistence userIdMapperPersistence; @BeanReference(type = com.liferay.portal.kernel.service.WorkflowInstanceLinkLocalService.class) protected com.liferay.portal.kernel.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService; @BeanReference(type = WorkflowInstanceLinkPersistence.class) protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence; }