/** * 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 aQute.bnd.annotation.ProviderType; 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.exportimport.kernel.lar.ExportImportHelperUtil; import com.liferay.exportimport.kernel.lar.ManifestSummary; import com.liferay.exportimport.kernel.lar.PortletDataContext; import com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil; import com.liferay.exportimport.kernel.lar.StagedModelType; 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.dao.orm.ActionableDynamicQuery; import com.liferay.portal.kernel.dao.orm.DefaultActionableDynamicQuery; import com.liferay.portal.kernel.dao.orm.DynamicQuery; import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; import com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery; import com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery; import com.liferay.portal.kernel.dao.orm.Projection; import com.liferay.portal.kernel.exception.PortalException; import com.liferay.portal.kernel.exception.SystemException; import com.liferay.portal.kernel.model.PersistedModel; import com.liferay.portal.kernel.model.User; import com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService; import com.liferay.portal.kernel.search.Indexable; import com.liferay.portal.kernel.search.IndexableType; import com.liferay.portal.kernel.service.BaseLocalServiceImpl; import com.liferay.portal.kernel.service.PersistedModelLocalServiceRegistry; import com.liferay.portal.kernel.service.UserLocalService; 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.OrderByComparator; 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 java.io.Serializable; import java.util.List; import javax.sql.DataSource; /** * Provides the base implementation for the user local 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.UserLocalServiceImpl}. * </p> * * @author Brian Wing Shun Chan * @see com.liferay.portal.service.impl.UserLocalServiceImpl * @see com.liferay.portal.kernel.service.UserLocalServiceUtil * @generated */ @ProviderType public abstract class UserLocalServiceBaseImpl extends BaseLocalServiceImpl implements UserLocalService, IdentifiableOSGiService { /* * NOTE FOR DEVELOPERS: * * Never modify or reference this class directly. Always use {@link com.liferay.portal.kernel.service.UserLocalServiceUtil} to access the user local service. */ /** * Adds the user to the database. Also notifies the appropriate model listeners. * * @param user the user * @return the user that was added */ @Indexable(type = IndexableType.REINDEX) @Override public User addUser(User user) { user.setNew(true); return userPersistence.update(user); } /** * Creates a new user with the primary key. Does not add the user to the database. * * @param userId the primary key for the new user * @return the new user */ @Override public User createUser(long userId) { return userPersistence.create(userId); } /** * Deletes the user with the primary key from the database. Also notifies the appropriate model listeners. * * @param userId the primary key of the user * @return the user that was removed * @throws PortalException if a user with the primary key could not be found */ @Indexable(type = IndexableType.DELETE) @Override public User deleteUser(long userId) throws PortalException { return userPersistence.remove(userId); } /** * Deletes the user from the database. Also notifies the appropriate model listeners. * * @param user the user * @return the user that was removed * @throws PortalException */ @Indexable(type = IndexableType.DELETE) @Override public User deleteUser(User user) throws PortalException { return userPersistence.remove(user); } @Override public DynamicQuery dynamicQuery() { Class<?> clazz = getClass(); return DynamicQueryFactoryUtil.forClass(User.class, clazz.getClassLoader()); } /** * Performs a dynamic query on the database and returns the matching rows. * * @param dynamicQuery the dynamic query * @return the matching rows */ @Override public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery) { return userPersistence.findWithDynamicQuery(dynamicQuery); } /** * Performs a dynamic query on the database and returns a range of the matching rows. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.UserModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param dynamicQuery the dynamic query * @param start the lower bound of the range of model instances * @param end the upper bound of the range of model instances (not inclusive) * @return the range of matching rows */ @Override public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end) { return userPersistence.findWithDynamicQuery(dynamicQuery, start, end); } /** * Performs a dynamic query on the database and returns an ordered range of the matching rows. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.UserModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param dynamicQuery the dynamic query * @param start the lower bound of the range of model instances * @param end the upper bound of the range of model instances (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching rows */ @Override public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator) { return userPersistence.findWithDynamicQuery(dynamicQuery, start, end, orderByComparator); } /** * Returns the number of rows matching the dynamic query. * * @param dynamicQuery the dynamic query * @return the number of rows matching the dynamic query */ @Override public long dynamicQueryCount(DynamicQuery dynamicQuery) { return userPersistence.countWithDynamicQuery(dynamicQuery); } /** * Returns the number of rows matching the dynamic query. * * @param dynamicQuery the dynamic query * @param projection the projection to apply to the query * @return the number of rows matching the dynamic query */ @Override public long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) { return userPersistence.countWithDynamicQuery(dynamicQuery, projection); } @Override public User fetchUser(long userId) { return userPersistence.fetchByPrimaryKey(userId); } /** * Returns the user with the matching UUID and company. * * @param uuid the user's UUID * @param companyId the primary key of the company * @return the matching user, or <code>null</code> if a matching user could not be found */ @Override public User fetchUserByUuidAndCompanyId(String uuid, long companyId) { return userPersistence.fetchByUuid_C_First(uuid, companyId, null); } /** * Returns the user with the primary key. * * @param userId the primary key of the user * @return the user * @throws PortalException if a user with the primary key could not be found */ @Override public User getUser(long userId) throws PortalException { return userPersistence.findByPrimaryKey(userId); } @Override public ActionableDynamicQuery getActionableDynamicQuery() { ActionableDynamicQuery actionableDynamicQuery = new DefaultActionableDynamicQuery(); actionableDynamicQuery.setBaseLocalService(userLocalService); actionableDynamicQuery.setClassLoader(getClassLoader()); actionableDynamicQuery.setModelClass(User.class); actionableDynamicQuery.setPrimaryKeyPropertyName("userId"); return actionableDynamicQuery; } @Override public IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() { IndexableActionableDynamicQuery indexableActionableDynamicQuery = new IndexableActionableDynamicQuery(); indexableActionableDynamicQuery.setBaseLocalService(userLocalService); indexableActionableDynamicQuery.setClassLoader(getClassLoader()); indexableActionableDynamicQuery.setModelClass(User.class); indexableActionableDynamicQuery.setPrimaryKeyPropertyName("userId"); return indexableActionableDynamicQuery; } protected void initActionableDynamicQuery( ActionableDynamicQuery actionableDynamicQuery) { actionableDynamicQuery.setBaseLocalService(userLocalService); actionableDynamicQuery.setClassLoader(getClassLoader()); actionableDynamicQuery.setModelClass(User.class); actionableDynamicQuery.setPrimaryKeyPropertyName("userId"); } @Override public ExportActionableDynamicQuery getExportActionableDynamicQuery( final PortletDataContext portletDataContext) { final ExportActionableDynamicQuery exportActionableDynamicQuery = new ExportActionableDynamicQuery() { @Override public long performCount() throws PortalException { ManifestSummary manifestSummary = portletDataContext.getManifestSummary(); StagedModelType stagedModelType = getStagedModelType(); long modelAdditionCount = super.performCount(); manifestSummary.addModelAdditionCount(stagedModelType, modelAdditionCount); long modelDeletionCount = ExportImportHelperUtil.getModelDeletionCount(portletDataContext, stagedModelType); manifestSummary.addModelDeletionCount(stagedModelType, modelDeletionCount); return modelAdditionCount; } }; initActionableDynamicQuery(exportActionableDynamicQuery); exportActionableDynamicQuery.setAddCriteriaMethod(new ActionableDynamicQuery.AddCriteriaMethod() { @Override public void addCriteria(DynamicQuery dynamicQuery) { portletDataContext.addDateRangeCriteria(dynamicQuery, "modifiedDate"); } }); exportActionableDynamicQuery.setCompanyId(portletDataContext.getCompanyId()); exportActionableDynamicQuery.setPerformActionMethod(new ActionableDynamicQuery.PerformActionMethod<User>() { @Override public void performAction(User user) throws PortalException { StagedModelDataHandlerUtil.exportStagedModel(portletDataContext, user); } }); exportActionableDynamicQuery.setStagedModelType(new StagedModelType( PortalUtil.getClassNameId(User.class.getName()))); return exportActionableDynamicQuery; } /** * @throws PortalException */ @Override public PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException { return userLocalService.deleteUser((User)persistedModel); } @Override public PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException { return userPersistence.findByPrimaryKey(primaryKeyObj); } /** * Returns the user with the matching UUID and company. * * @param uuid the user's UUID * @param companyId the primary key of the company * @return the matching user * @throws PortalException if a matching user could not be found */ @Override public User getUserByUuidAndCompanyId(String uuid, long companyId) throws PortalException { return userPersistence.findByUuid_C_First(uuid, companyId, null); } /** * Returns a range of all the users. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.UserModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param start the lower bound of the range of users * @param end the upper bound of the range of users (not inclusive) * @return the range of users */ @Override public List<User> getUsers(int start, int end) { return userPersistence.findAll(start, end); } /** * Returns the number of users. * * @return the number of users */ @Override public int getUsersCount() { return userPersistence.countAll(); } /** * Updates the user in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. * * @param user the user * @return the user that was updated */ @Indexable(type = IndexableType.REINDEX) @Override public User updateUser(User user) { return userPersistence.update(user); } /** */ @Override public void addGroupUser(long groupId, long userId) { groupPersistence.addUser(groupId, userId); } /** */ @Override public void addGroupUser(long groupId, User user) { groupPersistence.addUser(groupId, user); } /** * @throws PortalException */ @Override public void addGroupUsers(long groupId, long[] userIds) throws PortalException { groupPersistence.addUsers(groupId, userIds); } /** * @throws PortalException */ @Override public void addGroupUsers(long groupId, List<User> users) throws PortalException { groupPersistence.addUsers(groupId, users); } /** */ @Override public void clearGroupUsers(long groupId) { groupPersistence.clearUsers(groupId); } /** */ @Override public void deleteGroupUser(long groupId, long userId) { groupPersistence.removeUser(groupId, userId); } /** */ @Override public void deleteGroupUser(long groupId, User user) { groupPersistence.removeUser(groupId, user); } /** */ @Override public void deleteGroupUsers(long groupId, long[] userIds) { groupPersistence.removeUsers(groupId, userIds); } /** */ @Override public void deleteGroupUsers(long groupId, List<User> users) { groupPersistence.removeUsers(groupId, users); } /** * Returns the groupIds of the groups associated with the user. * * @param userId the userId of the user * @return long[] the groupIds of groups associated with the user */ @Override public long[] getGroupPrimaryKeys(long userId) { return userPersistence.getGroupPrimaryKeys(userId); } /** */ @Override public List<User> getGroupUsers(long groupId) { return groupPersistence.getUsers(groupId); } /** */ @Override public List<User> getGroupUsers(long groupId, int start, int end) { return groupPersistence.getUsers(groupId, start, end); } /** */ @Override public List<User> getGroupUsers(long groupId, int start, int end, OrderByComparator<User> orderByComparator) { return groupPersistence.getUsers(groupId, start, end, orderByComparator); } /** */ @Override public int getGroupUsersCount(long groupId) { return groupPersistence.getUsersSize(groupId); } /** */ @Override public boolean hasGroupUser(long groupId, long userId) { return groupPersistence.containsUser(groupId, userId); } /** */ @Override public boolean hasGroupUsers(long groupId) { return groupPersistence.containsUsers(groupId); } /** */ @Override public void setGroupUsers(long groupId, long[] userIds) { groupPersistence.setUsers(groupId, userIds); } /** */ @Override public void addOrganizationUser(long organizationId, long userId) { organizationPersistence.addUser(organizationId, userId); } /** */ @Override public void addOrganizationUser(long organizationId, User user) { organizationPersistence.addUser(organizationId, user); } /** * @throws PortalException */ @Override public void addOrganizationUsers(long organizationId, long[] userIds) throws PortalException { organizationPersistence.addUsers(organizationId, userIds); } /** * @throws PortalException */ @Override public void addOrganizationUsers(long organizationId, List<User> users) throws PortalException { organizationPersistence.addUsers(organizationId, users); } /** */ @Override public void clearOrganizationUsers(long organizationId) { organizationPersistence.clearUsers(organizationId); } /** */ @Override public void deleteOrganizationUser(long organizationId, long userId) { organizationPersistence.removeUser(organizationId, userId); } /** */ @Override public void deleteOrganizationUser(long organizationId, User user) { organizationPersistence.removeUser(organizationId, user); } /** */ @Override public void deleteOrganizationUsers(long organizationId, long[] userIds) { organizationPersistence.removeUsers(organizationId, userIds); } /** */ @Override public void deleteOrganizationUsers(long organizationId, List<User> users) { organizationPersistence.removeUsers(organizationId, users); } /** * Returns the organizationIds of the organizations associated with the user. * * @param userId the userId of the user * @return long[] the organizationIds of organizations associated with the user */ @Override public long[] getOrganizationPrimaryKeys(long userId) { return userPersistence.getOrganizationPrimaryKeys(userId); } /** */ @Override public List<User> getOrganizationUsers(long organizationId) { return organizationPersistence.getUsers(organizationId); } /** */ @Override public List<User> getOrganizationUsers(long organizationId, int start, int end) { return organizationPersistence.getUsers(organizationId, start, end); } /** */ @Override public List<User> getOrganizationUsers(long organizationId, int start, int end, OrderByComparator<User> orderByComparator) { return organizationPersistence.getUsers(organizationId, start, end, orderByComparator); } /** */ @Override public int getOrganizationUsersCount(long organizationId) { return organizationPersistence.getUsersSize(organizationId); } /** */ @Override public boolean hasOrganizationUser(long organizationId, long userId) { return organizationPersistence.containsUser(organizationId, userId); } /** */ @Override public boolean hasOrganizationUsers(long organizationId) { return organizationPersistence.containsUsers(organizationId); } /** */ @Override public void setOrganizationUsers(long organizationId, long[] userIds) { organizationPersistence.setUsers(organizationId, userIds); } /** */ @Override public void addRoleUser(long roleId, long userId) { rolePersistence.addUser(roleId, userId); } /** */ @Override public void addRoleUser(long roleId, User user) { rolePersistence.addUser(roleId, user); } /** * @throws PortalException */ @Override public void addRoleUsers(long roleId, long[] userIds) throws PortalException { rolePersistence.addUsers(roleId, userIds); } /** * @throws PortalException */ @Override public void addRoleUsers(long roleId, List<User> users) throws PortalException { rolePersistence.addUsers(roleId, users); } /** */ @Override public void clearRoleUsers(long roleId) { rolePersistence.clearUsers(roleId); } /** * @throws PortalException */ @Override public void deleteRoleUser(long roleId, long userId) throws PortalException { rolePersistence.removeUser(roleId, userId); } /** * @throws PortalException */ @Override public void deleteRoleUser(long roleId, User user) throws PortalException { rolePersistence.removeUser(roleId, user); } /** */ @Override public void deleteRoleUsers(long roleId, long[] userIds) { rolePersistence.removeUsers(roleId, userIds); } /** */ @Override public void deleteRoleUsers(long roleId, List<User> users) { rolePersistence.removeUsers(roleId, users); } /** * Returns the roleIds of the roles associated with the user. * * @param userId the userId of the user * @return long[] the roleIds of roles associated with the user */ @Override public long[] getRolePrimaryKeys(long userId) { return userPersistence.getRolePrimaryKeys(userId); } /** */ @Override public List<User> getRoleUsers(long roleId) { return rolePersistence.getUsers(roleId); } /** */ @Override public List<User> getRoleUsers(long roleId, int start, int end) { return rolePersistence.getUsers(roleId, start, end); } /** */ @Override public List<User> getRoleUsers(long roleId, int start, int end, OrderByComparator<User> orderByComparator) { return rolePersistence.getUsers(roleId, start, end, orderByComparator); } /** */ @Override public int getRoleUsersCount(long roleId) { return rolePersistence.getUsersSize(roleId); } /** */ @Override public boolean hasRoleUser(long roleId, long userId) { return rolePersistence.containsUser(roleId, userId); } /** */ @Override public boolean hasRoleUsers(long roleId) { return rolePersistence.containsUsers(roleId); } /** * @throws PortalException */ @Override public void setRoleUsers(long roleId, long[] userIds) throws PortalException { rolePersistence.setUsers(roleId, userIds); } /** */ @Override public void addTeamUser(long teamId, long userId) { teamPersistence.addUser(teamId, userId); } /** */ @Override public void addTeamUser(long teamId, User user) { teamPersistence.addUser(teamId, user); } /** * @throws PortalException */ @Override public void addTeamUsers(long teamId, long[] userIds) throws PortalException { teamPersistence.addUsers(teamId, userIds); } /** * @throws PortalException */ @Override public void addTeamUsers(long teamId, List<User> users) throws PortalException { teamPersistence.addUsers(teamId, users); } /** */ @Override public void clearTeamUsers(long teamId) { teamPersistence.clearUsers(teamId); } /** */ @Override public void deleteTeamUser(long teamId, long userId) { teamPersistence.removeUser(teamId, userId); } /** */ @Override public void deleteTeamUser(long teamId, User user) { teamPersistence.removeUser(teamId, user); } /** */ @Override public void deleteTeamUsers(long teamId, long[] userIds) { teamPersistence.removeUsers(teamId, userIds); } /** */ @Override public void deleteTeamUsers(long teamId, List<User> users) { teamPersistence.removeUsers(teamId, users); } /** * Returns the teamIds of the teams associated with the user. * * @param userId the userId of the user * @return long[] the teamIds of teams associated with the user */ @Override public long[] getTeamPrimaryKeys(long userId) { return userPersistence.getTeamPrimaryKeys(userId); } /** */ @Override public List<User> getTeamUsers(long teamId) { return teamPersistence.getUsers(teamId); } /** */ @Override public List<User> getTeamUsers(long teamId, int start, int end) { return teamPersistence.getUsers(teamId, start, end); } /** */ @Override public List<User> getTeamUsers(long teamId, int start, int end, OrderByComparator<User> orderByComparator) { return teamPersistence.getUsers(teamId, start, end, orderByComparator); } /** */ @Override public int getTeamUsersCount(long teamId) { return teamPersistence.getUsersSize(teamId); } /** */ @Override public boolean hasTeamUser(long teamId, long userId) { return teamPersistence.containsUser(teamId, userId); } /** */ @Override public boolean hasTeamUsers(long teamId) { return teamPersistence.containsUsers(teamId); } /** */ @Override public void setTeamUsers(long teamId, long[] userIds) { teamPersistence.setUsers(teamId, userIds); } /** */ @Override public void addUserGroupUser(long userGroupId, long userId) { userGroupPersistence.addUser(userGroupId, userId); } /** */ @Override public void addUserGroupUser(long userGroupId, User user) { userGroupPersistence.addUser(userGroupId, user); } /** * @throws PortalException */ @Override public void addUserGroupUsers(long userGroupId, long[] userIds) throws PortalException { userGroupPersistence.addUsers(userGroupId, userIds); } /** * @throws PortalException */ @Override public void addUserGroupUsers(long userGroupId, List<User> users) throws PortalException { userGroupPersistence.addUsers(userGroupId, users); } /** */ @Override public void clearUserGroupUsers(long userGroupId) { userGroupPersistence.clearUsers(userGroupId); } /** * @throws PortalException */ @Override public void deleteUserGroupUser(long userGroupId, long userId) throws PortalException { userGroupPersistence.removeUser(userGroupId, userId); } /** * @throws PortalException */ @Override public void deleteUserGroupUser(long userGroupId, User user) throws PortalException { userGroupPersistence.removeUser(userGroupId, user); } /** */ @Override public void deleteUserGroupUsers(long userGroupId, long[] userIds) { userGroupPersistence.removeUsers(userGroupId, userIds); } /** */ @Override public void deleteUserGroupUsers(long userGroupId, List<User> users) { userGroupPersistence.removeUsers(userGroupId, users); } /** * Returns the userGroupIds of the user groups associated with the user. * * @param userId the userId of the user * @return long[] the userGroupIds of user groups associated with the user */ @Override public long[] getUserGroupPrimaryKeys(long userId) { return userPersistence.getUserGroupPrimaryKeys(userId); } /** */ @Override public List<User> getUserGroupUsers(long userGroupId) { return userGroupPersistence.getUsers(userGroupId); } /** */ @Override public List<User> getUserGroupUsers(long userGroupId, int start, int end) { return userGroupPersistence.getUsers(userGroupId, start, end); } /** */ @Override public List<User> getUserGroupUsers(long userGroupId, int start, int end, OrderByComparator<User> orderByComparator) { return userGroupPersistence.getUsers(userGroupId, start, end, orderByComparator); } /** */ @Override public int getUserGroupUsersCount(long userGroupId) { return userGroupPersistence.getUsersSize(userGroupId); } /** */ @Override public boolean hasUserGroupUser(long userGroupId, long userId) { return userGroupPersistence.containsUser(userGroupId, userId); } /** */ @Override public boolean hasUserGroupUsers(long userGroupId) { return userGroupPersistence.containsUsers(userGroupId); } /** * @throws PortalException */ @Override public void setUserGroupUsers(long userGroupId, long[] userIds) throws PortalException { userGroupPersistence.setUsers(userGroupId, userIds); } /** * Returns the user local service. * * @return the user local service */ public UserLocalService getUserLocalService() { return userLocalService; } /** * Sets the user local service. * * @param userLocalService the user local service */ public void setUserLocalService(UserLocalService userLocalService) { this.userLocalService = userLocalService; } /** * 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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() { persistedModelLocalServiceRegistry.register("com.liferay.portal.kernel.model.User", userLocalService); } public void destroy() { persistedModelLocalServiceRegistry.unregister( "com.liferay.portal.kernel.model.User"); } /** * Returns the OSGi service identifier. * * @return the OSGi service identifier */ @Override public String getOSGiServiceIdentifier() { return UserLocalService.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 = UserLocalService.class) protected UserLocalService userLocalService; @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.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 = CompanyPersistence.class) protected CompanyPersistence companyPersistence; @BeanReference(type = com.liferay.portal.kernel.service.ContactLocalService.class) protected com.liferay.portal.kernel.service.ContactLocalService contactLocalService; @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 = 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 = ImagePersistence.class) protected ImagePersistence imagePersistence; @BeanReference(type = com.liferay.portal.kernel.service.LayoutLocalService.class) protected com.liferay.portal.kernel.service.LayoutLocalService layoutLocalService; @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 = MembershipRequestPersistence.class) protected MembershipRequestPersistence membershipRequestPersistence; @BeanReference(type = com.liferay.portal.kernel.service.OrganizationLocalService.class) protected com.liferay.portal.kernel.service.OrganizationLocalService organizationLocalService; @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 = 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 = 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 = 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 = AnnouncementsDeliveryPersistence.class) protected AnnouncementsDeliveryPersistence announcementsDeliveryPersistence; @BeanReference(type = com.liferay.asset.kernel.service.AssetEntryLocalService.class) protected com.liferay.asset.kernel.service.AssetEntryLocalService assetEntryLocalService; @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 = 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 = 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 = 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 = 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 = SocialRequestPersistence.class) protected SocialRequestPersistence socialRequestPersistence; @BeanReference(type = com.liferay.portal.kernel.service.UserGroupLocalService.class) protected com.liferay.portal.kernel.service.UserGroupLocalService userGroupLocalService; @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 = 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; @BeanReference(type = PersistedModelLocalServiceRegistry.class) protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry; }