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 orderByComparator)
69          throws com.liferay.portal.kernel.exception.SystemException;
70  
71      public com.liferay.portal.model.PluginSetting findByCompanyId_First(
72          long companyId,
73          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
74          throws com.liferay.portal.NoSuchPluginSettingException,
75              com.liferay.portal.kernel.exception.SystemException;
76  
77      public com.liferay.portal.model.PluginSetting findByCompanyId_Last(
78          long companyId,
79          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
80          throws com.liferay.portal.NoSuchPluginSettingException,
81              com.liferay.portal.kernel.exception.SystemException;
82  
83      public com.liferay.portal.model.PluginSetting[] findByCompanyId_PrevAndNext(
84          long pluginSettingId, long companyId,
85          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
86          throws com.liferay.portal.NoSuchPluginSettingException,
87              com.liferay.portal.kernel.exception.SystemException;
88  
89      public com.liferay.portal.model.PluginSetting findByC_I_T(long companyId,
90          java.lang.String pluginId, java.lang.String pluginType)
91          throws com.liferay.portal.NoSuchPluginSettingException,
92              com.liferay.portal.kernel.exception.SystemException;
93  
94      public com.liferay.portal.model.PluginSetting fetchByC_I_T(long companyId,
95          java.lang.String pluginId, java.lang.String pluginType)
96          throws com.liferay.portal.kernel.exception.SystemException;
97  
98      public com.liferay.portal.model.PluginSetting fetchByC_I_T(long companyId,
99          java.lang.String pluginId, java.lang.String pluginType,
100         boolean retrieveFromCache)
101         throws com.liferay.portal.kernel.exception.SystemException;
102 
103     public java.util.List<com.liferay.portal.model.PluginSetting> findAll()
104         throws com.liferay.portal.kernel.exception.SystemException;
105 
106     public java.util.List<com.liferay.portal.model.PluginSetting> findAll(
107         int start, int end)
108         throws com.liferay.portal.kernel.exception.SystemException;
109 
110     public java.util.List<com.liferay.portal.model.PluginSetting> findAll(
111         int start, int end,
112         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
113         throws com.liferay.portal.kernel.exception.SystemException;
114 
115     public void removeByCompanyId(long companyId)
116         throws com.liferay.portal.kernel.exception.SystemException;
117 
118     public void removeByC_I_T(long companyId, java.lang.String pluginId,
119         java.lang.String pluginType)
120         throws com.liferay.portal.NoSuchPluginSettingException,
121             com.liferay.portal.kernel.exception.SystemException;
122 
123     public void removeAll()
124         throws com.liferay.portal.kernel.exception.SystemException;
125 
126     public int countByCompanyId(long companyId)
127         throws com.liferay.portal.kernel.exception.SystemException;
128 
129     public int countByC_I_T(long companyId, java.lang.String pluginId,
130         java.lang.String pluginType)
131         throws com.liferay.portal.kernel.exception.SystemException;
132 
133     public int countAll()
134         throws com.liferay.portal.kernel.exception.SystemException;
135 }