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.portlet.calendar.service.persistence.impl;
016    
017    import com.liferay.portal.kernel.bean.BeanReference;
018    import com.liferay.portal.service.persistence.impl.BasePersistenceImpl;
019    
020    import com.liferay.portlet.calendar.model.CalEvent;
021    import com.liferay.portlet.calendar.service.persistence.CalEventPersistence;
022    
023    import java.util.Set;
024    
025    /**
026     * @author Brian Wing Shun Chan
027     * @deprecated As of 7.0.0, with no direct replacement
028     * @generated
029     */
030    @Deprecated
031    public class CalEventFinderBaseImpl extends BasePersistenceImpl<CalEvent> {
032            @Override
033            public Set<String> getBadColumnNames() {
034                    return getCalEventPersistence().getBadColumnNames();
035            }
036    
037            /**
038             * Returns the cal event persistence.
039             *
040             * @return the cal event persistence
041             */
042            public CalEventPersistence getCalEventPersistence() {
043                    return calEventPersistence;
044            }
045    
046            /**
047             * Sets the cal event persistence.
048             *
049             * @param calEventPersistence the cal event persistence
050             */
051            public void setCalEventPersistence(CalEventPersistence calEventPersistence) {
052                    this.calEventPersistence = calEventPersistence;
053            }
054    
055            @BeanReference(type = CalEventPersistence.class)
056            protected CalEventPersistence calEventPersistence;
057    }