001    /**
002     * Copyright (c) 2000-2010 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;
016    
017    import com.liferay.portal.model.PluginSetting;
018    
019    /**
020     * @author    Brian Wing Shun Chan
021     * @see       PluginSettingPersistenceImpl
022     * @see       PluginSettingUtil
023     * @generated
024     */
025    public interface PluginSettingPersistence extends BasePersistence<PluginSetting> {
026            public void cacheResult(
027                    com.liferay.portal.model.PluginSetting pluginSetting);
028    
029            public void cacheResult(
030                    java.util.List<com.liferay.portal.model.PluginSetting> pluginSettings);
031    
032            public com.liferay.portal.model.PluginSetting create(long pluginSettingId);
033    
034            public com.liferay.portal.model.PluginSetting remove(long pluginSettingId)
035                    throws com.liferay.portal.NoSuchPluginSettingException,
036                            com.liferay.portal.kernel.exception.SystemException;
037    
038            public com.liferay.portal.model.PluginSetting updateImpl(
039                    com.liferay.portal.model.PluginSetting pluginSetting, boolean merge)
040                    throws com.liferay.portal.kernel.exception.SystemException;
041    
042            public com.liferay.portal.model.PluginSetting findByPrimaryKey(
043                    long pluginSettingId)
044                    throws com.liferay.portal.NoSuchPluginSettingException,
045                            com.liferay.portal.kernel.exception.SystemException;
046    
047            public com.liferay.portal.model.PluginSetting fetchByPrimaryKey(
048                    long pluginSettingId)
049                    throws com.liferay.portal.kernel.exception.SystemException;
050    
051            public java.util.List<com.liferay.portal.model.PluginSetting> findByCompanyId(
052                    long companyId)
053                    throws com.liferay.portal.kernel.exception.SystemException;
054    
055            public java.util.List<com.liferay.portal.model.PluginSetting> findByCompanyId(
056                    long companyId, int start, int end)
057                    throws com.liferay.portal.kernel.exception.SystemException;
058    
059            public java.util.List<com.liferay.portal.model.PluginSetting> findByCompanyId(
060                    long companyId, int start, int end,
061                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
062                    throws com.liferay.portal.kernel.exception.SystemException;
063    
064            public com.liferay.portal.model.PluginSetting findByCompanyId_First(
065                    long companyId,
066                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
067                    throws com.liferay.portal.NoSuchPluginSettingException,
068                            com.liferay.portal.kernel.exception.SystemException;
069    
070            public com.liferay.portal.model.PluginSetting findByCompanyId_Last(
071                    long companyId,
072                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
073                    throws com.liferay.portal.NoSuchPluginSettingException,
074                            com.liferay.portal.kernel.exception.SystemException;
075    
076            public com.liferay.portal.model.PluginSetting[] findByCompanyId_PrevAndNext(
077                    long pluginSettingId, long companyId,
078                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
079                    throws com.liferay.portal.NoSuchPluginSettingException,
080                            com.liferay.portal.kernel.exception.SystemException;
081    
082            public com.liferay.portal.model.PluginSetting findByC_I_T(long companyId,
083                    java.lang.String pluginId, java.lang.String pluginType)
084                    throws com.liferay.portal.NoSuchPluginSettingException,
085                            com.liferay.portal.kernel.exception.SystemException;
086    
087            public com.liferay.portal.model.PluginSetting fetchByC_I_T(long companyId,
088                    java.lang.String pluginId, java.lang.String pluginType)
089                    throws com.liferay.portal.kernel.exception.SystemException;
090    
091            public com.liferay.portal.model.PluginSetting fetchByC_I_T(long companyId,
092                    java.lang.String pluginId, java.lang.String pluginType,
093                    boolean retrieveFromCache)
094                    throws com.liferay.portal.kernel.exception.SystemException;
095    
096            public java.util.List<com.liferay.portal.model.PluginSetting> findAll()
097                    throws com.liferay.portal.kernel.exception.SystemException;
098    
099            public java.util.List<com.liferay.portal.model.PluginSetting> findAll(
100                    int start, int end)
101                    throws com.liferay.portal.kernel.exception.SystemException;
102    
103            public java.util.List<com.liferay.portal.model.PluginSetting> findAll(
104                    int start, int end,
105                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
106                    throws com.liferay.portal.kernel.exception.SystemException;
107    
108            public void removeByCompanyId(long companyId)
109                    throws com.liferay.portal.kernel.exception.SystemException;
110    
111            public void removeByC_I_T(long companyId, java.lang.String pluginId,
112                    java.lang.String pluginType)
113                    throws com.liferay.portal.NoSuchPluginSettingException,
114                            com.liferay.portal.kernel.exception.SystemException;
115    
116            public void removeAll()
117                    throws com.liferay.portal.kernel.exception.SystemException;
118    
119            public int countByCompanyId(long companyId)
120                    throws com.liferay.portal.kernel.exception.SystemException;
121    
122            public int countByC_I_T(long companyId, java.lang.String pluginId,
123                    java.lang.String pluginType)
124                    throws com.liferay.portal.kernel.exception.SystemException;
125    
126            public int countAll()
127                    throws com.liferay.portal.kernel.exception.SystemException;
128    }