001 /** 002 * Copyright (c) 2000-present Liferay, Inc. All rights reserved. 003 * 004 * This library is free software; you can redistribute it and/or modify it under 005 * the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or (at your option) 007 * any later version. 008 * 009 * This library is distributed in the hope that it will be useful, but WITHOUT 010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 012 * details. 013 */ 014 015 package com.liferay.portal.service.persistence.impl; 016 017 import com.liferay.portal.kernel.bean.BeanReference; 018 import com.liferay.portal.model.PortletPreferences; 019 import com.liferay.portal.service.persistence.PortletPreferencesPersistence; 020 021 /** 022 * @author Brian Wing Shun Chan 023 * @generated 024 */ 025 public class PortletPreferencesFinderBaseImpl extends BasePersistenceImpl<PortletPreferences> { 026 /** 027 * Returns the portlet preferences persistence. 028 * 029 * @return the portlet preferences persistence 030 */ 031 public PortletPreferencesPersistence getPortletPreferencesPersistence() { 032 return portletPreferencesPersistence; 033 } 034 035 /** 036 * Sets the portlet preferences persistence. 037 * 038 * @param portletPreferencesPersistence the portlet preferences persistence 039 */ 040 public void setPortletPreferencesPersistence( 041 PortletPreferencesPersistence portletPreferencesPersistence) { 042 this.portletPreferencesPersistence = portletPreferencesPersistence; 043 } 044 045 @BeanReference(type = PortletPreferencesPersistence.class) 046 protected PortletPreferencesPersistence portletPreferencesPersistence; 047 }