/** * 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.asset.kernel.service.persistence.AssetCategoryFinder; import com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence; import com.liferay.asset.kernel.service.persistence.AssetEntryFinder; import com.liferay.asset.kernel.service.persistence.AssetEntryPersistence; import com.liferay.asset.kernel.service.persistence.AssetTagFinder; import com.liferay.asset.kernel.service.persistence.AssetTagPersistence; import com.liferay.expando.kernel.service.persistence.ExpandoRowPersistence; import com.liferay.portal.kernel.bean.BeanReference; import com.liferay.portal.kernel.dao.db.DB; import com.liferay.portal.kernel.dao.db.DBManagerUtil; import com.liferay.portal.kernel.dao.jdbc.SqlUpdate; import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil; import com.liferay.portal.kernel.exception.SystemException; import com.liferay.portal.kernel.model.Organization; import com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService; import com.liferay.portal.kernel.service.BaseServiceImpl; import com.liferay.portal.kernel.service.OrganizationService; import com.liferay.portal.kernel.service.persistence.AddressPersistence; import com.liferay.portal.kernel.service.persistence.CompanyPersistence; import com.liferay.portal.kernel.service.persistence.CountryPersistence; import com.liferay.portal.kernel.service.persistence.EmailAddressPersistence; import com.liferay.portal.kernel.service.persistence.GroupFinder; import com.liferay.portal.kernel.service.persistence.GroupPersistence; import com.liferay.portal.kernel.service.persistence.ListTypePersistence; 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.PhonePersistence; import com.liferay.portal.kernel.service.persistence.RegionPersistence; import com.liferay.portal.kernel.service.persistence.RoleFinder; import com.liferay.portal.kernel.service.persistence.RolePersistence; import com.liferay.portal.kernel.service.persistence.UserFinder; import com.liferay.portal.kernel.service.persistence.UserGroupRoleFinder; import com.liferay.portal.kernel.service.persistence.UserGroupRolePersistence; import com.liferay.portal.kernel.service.persistence.UserPersistence; import com.liferay.portal.kernel.service.persistence.WebsitePersistence; import com.liferay.portal.kernel.util.PortalUtil; import javax.sql.DataSource; /** * Provides the base implementation for the organization 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.OrganizationServiceImpl}. * </p> * * @author Brian Wing Shun Chan * @see com.liferay.portal.service.impl.OrganizationServiceImpl * @see com.liferay.portal.kernel.service.OrganizationServiceUtil * @generated */ public abstract class OrganizationServiceBaseImpl extends BaseServiceImpl implements OrganizationService, IdentifiableOSGiService { /* * NOTE FOR DEVELOPERS: * * Never modify or reference this class directly. Always use {@link com.liferay.portal.kernel.service.OrganizationServiceUtil} to access the organization remote service. */ /** * 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 OrganizationService getOrganizationService() { return organizationService; } /** * Sets the organization remote service. * * @param organizationService the organization remote service */ public void setOrganizationService(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 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 address local service. * * @return the address local service */ public com.liferay.portal.kernel.service.AddressLocalService getAddressLocalService() { return addressLocalService; } /** * Sets the address local service. * * @param addressLocalService the address local service */ public void setAddressLocalService( com.liferay.portal.kernel.service.AddressLocalService addressLocalService) { this.addressLocalService = addressLocalService; } /** * Returns the address remote service. * * @return the address remote service */ public com.liferay.portal.kernel.service.AddressService getAddressService() { return addressService; } /** * Sets the address remote service. * * @param addressService the address remote service */ public void setAddressService( com.liferay.portal.kernel.service.AddressService addressService) { this.addressService = addressService; } /** * Returns the address persistence. * * @return the address persistence */ public AddressPersistence getAddressPersistence() { return addressPersistence; } /** * Sets the address persistence. * * @param addressPersistence the address persistence */ public void setAddressPersistence(AddressPersistence addressPersistence) { this.addressPersistence = addressPersistence; } /** * 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 country remote service. * * @return the country remote service */ public com.liferay.portal.kernel.service.CountryService getCountryService() { return countryService; } /** * Sets the country remote service. * * @param countryService the country remote service */ public void setCountryService( com.liferay.portal.kernel.service.CountryService countryService) { this.countryService = countryService; } /** * Returns the country persistence. * * @return the country persistence */ public CountryPersistence getCountryPersistence() { return countryPersistence; } /** * Sets the country persistence. * * @param countryPersistence the country persistence */ public void setCountryPersistence(CountryPersistence countryPersistence) { this.countryPersistence = countryPersistence; } /** * Returns the email address local service. * * @return the email address local service */ public com.liferay.portal.kernel.service.EmailAddressLocalService getEmailAddressLocalService() { return emailAddressLocalService; } /** * Sets the email address local service. * * @param emailAddressLocalService the email address local service */ public void setEmailAddressLocalService( com.liferay.portal.kernel.service.EmailAddressLocalService emailAddressLocalService) { this.emailAddressLocalService = emailAddressLocalService; } /** * Returns the email address remote service. * * @return the email address remote service */ public com.liferay.portal.kernel.service.EmailAddressService getEmailAddressService() { return emailAddressService; } /** * Sets the email address remote service. * * @param emailAddressService the email address remote service */ public void setEmailAddressService( com.liferay.portal.kernel.service.EmailAddressService emailAddressService) { this.emailAddressService = emailAddressService; } /** * Returns the email address persistence. * * @return the email address persistence */ public EmailAddressPersistence getEmailAddressPersistence() { return emailAddressPersistence; } /** * Sets the email address persistence. * * @param emailAddressPersistence the email address persistence */ public void setEmailAddressPersistence( EmailAddressPersistence emailAddressPersistence) { this.emailAddressPersistence = emailAddressPersistence; } /** * 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 list type local service. * * @return the list type local service */ public com.liferay.portal.kernel.service.ListTypeLocalService getListTypeLocalService() { return listTypeLocalService; } /** * Sets the list type local service. * * @param listTypeLocalService the list type local service */ public void setListTypeLocalService( com.liferay.portal.kernel.service.ListTypeLocalService listTypeLocalService) { this.listTypeLocalService = listTypeLocalService; } /** * Returns the list type remote service. * * @return the list type remote service */ public com.liferay.portal.kernel.service.ListTypeService getListTypeService() { return listTypeService; } /** * Sets the list type remote service. * * @param listTypeService the list type remote service */ public void setListTypeService( com.liferay.portal.kernel.service.ListTypeService listTypeService) { this.listTypeService = listTypeService; } /** * Returns the list type persistence. * * @return the list type persistence */ public ListTypePersistence getListTypePersistence() { return listTypePersistence; } /** * Sets the list type persistence. * * @param listTypePersistence the list type persistence */ public void setListTypePersistence(ListTypePersistence listTypePersistence) { this.listTypePersistence = listTypePersistence; } /** * Returns the asset category local service. * * @return the asset category local service */ public com.liferay.asset.kernel.service.AssetCategoryLocalService getAssetCategoryLocalService() { return assetCategoryLocalService; } /** * Sets the asset category local service. * * @param assetCategoryLocalService the asset category local service */ public void setAssetCategoryLocalService( com.liferay.asset.kernel.service.AssetCategoryLocalService assetCategoryLocalService) { this.assetCategoryLocalService = assetCategoryLocalService; } /** * Returns the asset category remote service. * * @return the asset category remote service */ public com.liferay.asset.kernel.service.AssetCategoryService getAssetCategoryService() { return assetCategoryService; } /** * Sets the asset category remote service. * * @param assetCategoryService the asset category remote service */ public void setAssetCategoryService( com.liferay.asset.kernel.service.AssetCategoryService assetCategoryService) { this.assetCategoryService = assetCategoryService; } /** * Returns the asset category persistence. * * @return the asset category persistence */ public AssetCategoryPersistence getAssetCategoryPersistence() { return assetCategoryPersistence; } /** * Sets the asset category persistence. * * @param assetCategoryPersistence the asset category persistence */ public void setAssetCategoryPersistence( AssetCategoryPersistence assetCategoryPersistence) { this.assetCategoryPersistence = assetCategoryPersistence; } /** * Returns the asset category finder. * * @return the asset category finder */ public AssetCategoryFinder getAssetCategoryFinder() { return assetCategoryFinder; } /** * Sets the asset category finder. * * @param assetCategoryFinder the asset category finder */ public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) { this.assetCategoryFinder = assetCategoryFinder; } /** * 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 asset tag local service. * * @return the asset tag local service */ public com.liferay.asset.kernel.service.AssetTagLocalService getAssetTagLocalService() { return assetTagLocalService; } /** * Sets the asset tag local service. * * @param assetTagLocalService the asset tag local service */ public void setAssetTagLocalService( com.liferay.asset.kernel.service.AssetTagLocalService assetTagLocalService) { this.assetTagLocalService = assetTagLocalService; } /** * Returns the asset tag remote service. * * @return the asset tag remote service */ public com.liferay.asset.kernel.service.AssetTagService getAssetTagService() { return assetTagService; } /** * Sets the asset tag remote service. * * @param assetTagService the asset tag remote service */ public void setAssetTagService( com.liferay.asset.kernel.service.AssetTagService assetTagService) { this.assetTagService = assetTagService; } /** * Returns the asset tag persistence. * * @return the asset tag persistence */ public AssetTagPersistence getAssetTagPersistence() { return assetTagPersistence; } /** * Sets the asset tag persistence. * * @param assetTagPersistence the asset tag persistence */ public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) { this.assetTagPersistence = assetTagPersistence; } /** * Returns the asset tag finder. * * @return the asset tag finder */ public AssetTagFinder getAssetTagFinder() { return assetTagFinder; } /** * Sets the asset tag finder. * * @param assetTagFinder the asset tag finder */ public void setAssetTagFinder(AssetTagFinder assetTagFinder) { this.assetTagFinder = assetTagFinder; } /** * 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 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 phone local service. * * @return the phone local service */ public com.liferay.portal.kernel.service.PhoneLocalService getPhoneLocalService() { return phoneLocalService; } /** * Sets the phone local service. * * @param phoneLocalService the phone local service */ public void setPhoneLocalService( com.liferay.portal.kernel.service.PhoneLocalService phoneLocalService) { this.phoneLocalService = phoneLocalService; } /** * Returns the phone remote service. * * @return the phone remote service */ public com.liferay.portal.kernel.service.PhoneService getPhoneService() { return phoneService; } /** * Sets the phone remote service. * * @param phoneService the phone remote service */ public void setPhoneService( com.liferay.portal.kernel.service.PhoneService phoneService) { this.phoneService = phoneService; } /** * Returns the phone persistence. * * @return the phone persistence */ public PhonePersistence getPhonePersistence() { return phonePersistence; } /** * Sets the phone persistence. * * @param phonePersistence the phone persistence */ public void setPhonePersistence(PhonePersistence phonePersistence) { this.phonePersistence = phonePersistence; } /** * Returns the region remote service. * * @return the region remote service */ public com.liferay.portal.kernel.service.RegionService getRegionService() { return regionService; } /** * Sets the region remote service. * * @param regionService the region remote service */ public void setRegionService( com.liferay.portal.kernel.service.RegionService regionService) { this.regionService = regionService; } /** * Returns the region persistence. * * @return the region persistence */ public RegionPersistence getRegionPersistence() { return regionPersistence; } /** * Sets the region persistence. * * @param regionPersistence the region persistence */ public void setRegionPersistence(RegionPersistence regionPersistence) { this.regionPersistence = regionPersistence; } /** * 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 user local service. * * @return the user local service */ public com.liferay.portal.kernel.service.UserLocalService getUserLocalService() { return userLocalService; } /** * Sets the user local service. * * @param userLocalService the user local service */ public void setUserLocalService( com.liferay.portal.kernel.service.UserLocalService userLocalService) { this.userLocalService = userLocalService; } /** * Returns the user remote service. * * @return the user remote service */ public com.liferay.portal.kernel.service.UserService getUserService() { return userService; } /** * Sets the user remote service. * * @param userService the user remote service */ public void setUserService( com.liferay.portal.kernel.service.UserService userService) { this.userService = userService; } /** * Returns the user persistence. * * @return the user persistence */ public UserPersistence getUserPersistence() { return userPersistence; } /** * Sets the user persistence. * * @param userPersistence the user persistence */ public void setUserPersistence(UserPersistence userPersistence) { this.userPersistence = userPersistence; } /** * Returns the user finder. * * @return the user finder */ public UserFinder getUserFinder() { return userFinder; } /** * Sets the user finder. * * @param userFinder the user finder */ public void setUserFinder(UserFinder userFinder) { this.userFinder = userFinder; } /** * Returns the user group 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 website local service. * * @return the website local service */ public com.liferay.portal.kernel.service.WebsiteLocalService getWebsiteLocalService() { return websiteLocalService; } /** * Sets the website local service. * * @param websiteLocalService the website local service */ public void setWebsiteLocalService( com.liferay.portal.kernel.service.WebsiteLocalService websiteLocalService) { this.websiteLocalService = websiteLocalService; } /** * Returns the website remote service. * * @return the website remote service */ public com.liferay.portal.kernel.service.WebsiteService getWebsiteService() { return websiteService; } /** * Sets the website remote service. * * @param websiteService the website remote service */ public void setWebsiteService( com.liferay.portal.kernel.service.WebsiteService websiteService) { this.websiteService = websiteService; } /** * Returns the website persistence. * * @return the website persistence */ public WebsitePersistence getWebsitePersistence() { return websitePersistence; } /** * Sets the website persistence. * * @param websitePersistence the website persistence */ public void setWebsitePersistence(WebsitePersistence websitePersistence) { this.websitePersistence = websitePersistence; } public void afterPropertiesSet() { } public void destroy() { } /** * Returns the OSGi service identifier. * * @return the OSGi service identifier */ @Override public String getOSGiServiceIdentifier() { return OrganizationService.class.getName(); } protected Class<?> getModelClass() { return Organization.class; } protected String getModelClassName() { return Organization.class.getName(); } /** * Performs a SQL query. * * @param sql the sql query */ protected void runSQL(String sql) { try { DataSource dataSource = organizationPersistence.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.OrganizationLocalService.class) protected com.liferay.portal.kernel.service.OrganizationLocalService organizationLocalService; @BeanReference(type = OrganizationService.class) protected OrganizationService organizationService; @BeanReference(type = OrganizationPersistence.class) protected OrganizationPersistence organizationPersistence; @BeanReference(type = OrganizationFinder.class) protected OrganizationFinder organizationFinder; @BeanReference(type = com.liferay.counter.kernel.service.CounterLocalService.class) protected com.liferay.counter.kernel.service.CounterLocalService counterLocalService; @BeanReference(type = com.liferay.portal.kernel.service.AddressLocalService.class) protected com.liferay.portal.kernel.service.AddressLocalService addressLocalService; @BeanReference(type = com.liferay.portal.kernel.service.AddressService.class) protected com.liferay.portal.kernel.service.AddressService addressService; @BeanReference(type = AddressPersistence.class) protected AddressPersistence addressPersistence; @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.CountryService.class) protected com.liferay.portal.kernel.service.CountryService countryService; @BeanReference(type = CountryPersistence.class) protected CountryPersistence countryPersistence; @BeanReference(type = com.liferay.portal.kernel.service.EmailAddressLocalService.class) protected com.liferay.portal.kernel.service.EmailAddressLocalService emailAddressLocalService; @BeanReference(type = com.liferay.portal.kernel.service.EmailAddressService.class) protected com.liferay.portal.kernel.service.EmailAddressService emailAddressService; @BeanReference(type = EmailAddressPersistence.class) protected EmailAddressPersistence emailAddressPersistence; @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.ListTypeLocalService.class) protected com.liferay.portal.kernel.service.ListTypeLocalService listTypeLocalService; @BeanReference(type = com.liferay.portal.kernel.service.ListTypeService.class) protected com.liferay.portal.kernel.service.ListTypeService listTypeService; @BeanReference(type = ListTypePersistence.class) protected ListTypePersistence listTypePersistence; @BeanReference(type = com.liferay.asset.kernel.service.AssetCategoryLocalService.class) protected com.liferay.asset.kernel.service.AssetCategoryLocalService assetCategoryLocalService; @BeanReference(type = com.liferay.asset.kernel.service.AssetCategoryService.class) protected com.liferay.asset.kernel.service.AssetCategoryService assetCategoryService; @BeanReference(type = AssetCategoryPersistence.class) protected AssetCategoryPersistence assetCategoryPersistence; @BeanReference(type = AssetCategoryFinder.class) protected AssetCategoryFinder assetCategoryFinder; @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.asset.kernel.service.AssetTagLocalService.class) protected com.liferay.asset.kernel.service.AssetTagLocalService assetTagLocalService; @BeanReference(type = com.liferay.asset.kernel.service.AssetTagService.class) protected com.liferay.asset.kernel.service.AssetTagService assetTagService; @BeanReference(type = AssetTagPersistence.class) protected AssetTagPersistence assetTagPersistence; @BeanReference(type = AssetTagFinder.class) protected AssetTagFinder assetTagFinder; @BeanReference(type = com.liferay.expando.kernel.service.ExpandoRowLocalService.class) protected com.liferay.expando.kernel.service.ExpandoRowLocalService expandoRowLocalService; @BeanReference(type = ExpandoRowPersistence.class) protected ExpandoRowPersistence expandoRowPersistence; @BeanReference(type = com.liferay.portal.kernel.service.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.PhoneLocalService.class) protected com.liferay.portal.kernel.service.PhoneLocalService phoneLocalService; @BeanReference(type = com.liferay.portal.kernel.service.PhoneService.class) protected com.liferay.portal.kernel.service.PhoneService phoneService; @BeanReference(type = PhonePersistence.class) protected PhonePersistence phonePersistence; @BeanReference(type = com.liferay.portal.kernel.service.RegionService.class) protected com.liferay.portal.kernel.service.RegionService regionService; @BeanReference(type = RegionPersistence.class) protected RegionPersistence regionPersistence; @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.UserLocalService.class) protected com.liferay.portal.kernel.service.UserLocalService userLocalService; @BeanReference(type = com.liferay.portal.kernel.service.UserService.class) protected com.liferay.portal.kernel.service.UserService userService; @BeanReference(type = UserPersistence.class) protected UserPersistence userPersistence; @BeanReference(type = UserFinder.class) protected UserFinder userFinder; @BeanReference(type = com.liferay.portal.kernel.service.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.WebsiteLocalService.class) protected com.liferay.portal.kernel.service.WebsiteLocalService websiteLocalService; @BeanReference(type = com.liferay.portal.kernel.service.WebsiteService.class) protected com.liferay.portal.kernel.service.WebsiteService websiteService; @BeanReference(type = WebsitePersistence.class) protected WebsitePersistence websitePersistence; }