1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.service.persistence;
16  
17  import com.liferay.portal.model.PluginSetting;
18  
19  /**
20   * <a href="PluginSettingPersistence.java.html"><b><i>View Source</i></b></a>
21   *
22   * <p>
23   * ServiceBuilder generated this class. Modifications in this class will be
24   * overwritten the next time is generated.
25   * </p>
26   *
27   * @author    Brian Wing Shun Chan
28   * @see       PluginSettingPersistenceImpl
29   * @see       PluginSettingUtil
30   * @generated
31   */
32  public interface PluginSettingPersistence extends BasePersistence<PluginSetting> {
33      public void cacheResult(
34          com.liferay.portal.model.PluginSetting pluginSetting);
35  
36      public void cacheResult(
37          java.util.List<com.liferay.portal.model.PluginSetting> pluginSettings);
38  
39      public com.liferay.portal.model.PluginSetting create(long pluginSettingId);
40  
41      public com.liferay.portal.model.PluginSetting remove(long pluginSettingId)
42          throws com.liferay.portal.NoSuchPluginSettingException,
43              com.liferay.portal.kernel.exception.SystemException;
44  
45      public com.liferay.portal.model.PluginSetting updateImpl(
46          com.liferay.portal.model.PluginSetting pluginSetting, boolean merge)
47          throws com.liferay.portal.kernel.exception.SystemException;
48  
49      public com.liferay.portal.model.PluginSetting findByPrimaryKey(
50          long pluginSettingId)
51          throws com.liferay.portal.NoSuchPluginSettingException,
52              com.liferay.portal.kernel.exception.SystemException;
53  
54      public com.liferay.portal.model.PluginSetting fetchByPrimaryKey(
55          long pluginSettingId)
56          throws com.liferay.portal.kernel.exception.SystemException;
57  
58      public java.util.List<com.liferay.portal.model.PluginSetting> findByCompanyId(
59          long companyId)
60          throws com.liferay.portal.kernel.exception.SystemException;
61  
62      public java.util.List<com.liferay.portal.model.PluginSetting> findByCompanyId(
63          long companyId, int start, int end)
64          throws com.liferay.portal.kernel.exception.SystemException;
65  
66      public java.util.List<com.liferay.portal.model.PluginSetting> findByCompanyId(
67          long companyId, int start, int end,
68          com.liferay.portal.kernel.util.OrderByComparator obc)
69          throws com.liferay.portal.kernel.exception.SystemException;
70  
71      public com.liferay.portal.model.PluginSetting findByCompanyId_First(
72          long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
73          throws com.liferay.portal.NoSuchPluginSettingException,
74              com.liferay.portal.kernel.exception.SystemException;
75  
76      public com.liferay.portal.model.PluginSetting findByCompanyId_Last(
77          long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
78          throws com.liferay.portal.NoSuchPluginSettingException,
79              com.liferay.portal.kernel.exception.SystemException;
80  
81      public com.liferay.portal.model.PluginSetting[] findByCompanyId_PrevAndNext(
82          long pluginSettingId, long companyId,
83          com.liferay.portal.kernel.util.OrderByComparator obc)
84          throws com.liferay.portal.NoSuchPluginSettingException,
85              com.liferay.portal.kernel.exception.SystemException;
86  
87      public com.liferay.portal.model.PluginSetting findByC_I_T(long companyId,
88          java.lang.String pluginId, java.lang.String pluginType)
89          throws com.liferay.portal.NoSuchPluginSettingException,
90              com.liferay.portal.kernel.exception.SystemException;
91  
92      public com.liferay.portal.model.PluginSetting fetchByC_I_T(long companyId,
93          java.lang.String pluginId, java.lang.String pluginType)
94          throws com.liferay.portal.kernel.exception.SystemException;
95  
96      public com.liferay.portal.model.PluginSetting fetchByC_I_T(long companyId,
97          java.lang.String pluginId, java.lang.String pluginType,
98          boolean retrieveFromCache)
99          throws com.liferay.portal.kernel.exception.SystemException;
100 
101     public java.util.List<com.liferay.portal.model.PluginSetting> findAll()
102         throws com.liferay.portal.kernel.exception.SystemException;
103 
104     public java.util.List<com.liferay.portal.model.PluginSetting> findAll(
105         int start, int end)
106         throws com.liferay.portal.kernel.exception.SystemException;
107 
108     public java.util.List<com.liferay.portal.model.PluginSetting> findAll(
109         int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
110         throws com.liferay.portal.kernel.exception.SystemException;
111 
112     public void removeByCompanyId(long companyId)
113         throws com.liferay.portal.kernel.exception.SystemException;
114 
115     public void removeByC_I_T(long companyId, java.lang.String pluginId,
116         java.lang.String pluginType)
117         throws com.liferay.portal.NoSuchPluginSettingException,
118             com.liferay.portal.kernel.exception.SystemException;
119 
120     public void removeAll()
121         throws com.liferay.portal.kernel.exception.SystemException;
122 
123     public int countByCompanyId(long companyId)
124         throws com.liferay.portal.kernel.exception.SystemException;
125 
126     public int countByC_I_T(long companyId, java.lang.String pluginId,
127         java.lang.String pluginType)
128         throws com.liferay.portal.kernel.exception.SystemException;
129 
130     public int countAll()
131         throws com.liferay.portal.kernel.exception.SystemException;
132 }