1
22
23 package com.liferay.portal.service.persistence;
24
25
26
39 public class PluginSettingUtil {
40 public static void cacheResult(
41 com.liferay.portal.model.PluginSetting pluginSetting) {
42 getPersistence().cacheResult(pluginSetting);
43 }
44
45 public static void cacheResult(
46 java.util.List<com.liferay.portal.model.PluginSetting> pluginSettings) {
47 getPersistence().cacheResult(pluginSettings);
48 }
49
50 public static void clearCache() {
51 getPersistence().clearCache();
52 }
53
54 public static com.liferay.portal.model.PluginSetting create(
55 long pluginSettingId) {
56 return getPersistence().create(pluginSettingId);
57 }
58
59 public static com.liferay.portal.model.PluginSetting remove(
60 long pluginSettingId)
61 throws com.liferay.portal.NoSuchPluginSettingException,
62 com.liferay.portal.SystemException {
63 return getPersistence().remove(pluginSettingId);
64 }
65
66 public static com.liferay.portal.model.PluginSetting remove(
67 com.liferay.portal.model.PluginSetting pluginSetting)
68 throws com.liferay.portal.SystemException {
69 return getPersistence().remove(pluginSetting);
70 }
71
72
75 public static com.liferay.portal.model.PluginSetting update(
76 com.liferay.portal.model.PluginSetting pluginSetting)
77 throws com.liferay.portal.SystemException {
78 return getPersistence().update(pluginSetting);
79 }
80
81
93 public static com.liferay.portal.model.PluginSetting update(
94 com.liferay.portal.model.PluginSetting pluginSetting, boolean merge)
95 throws com.liferay.portal.SystemException {
96 return getPersistence().update(pluginSetting, merge);
97 }
98
99 public static com.liferay.portal.model.PluginSetting updateImpl(
100 com.liferay.portal.model.PluginSetting pluginSetting, boolean merge)
101 throws com.liferay.portal.SystemException {
102 return getPersistence().updateImpl(pluginSetting, merge);
103 }
104
105 public static com.liferay.portal.model.PluginSetting findByPrimaryKey(
106 long pluginSettingId)
107 throws com.liferay.portal.NoSuchPluginSettingException,
108 com.liferay.portal.SystemException {
109 return getPersistence().findByPrimaryKey(pluginSettingId);
110 }
111
112 public static com.liferay.portal.model.PluginSetting fetchByPrimaryKey(
113 long pluginSettingId) throws com.liferay.portal.SystemException {
114 return getPersistence().fetchByPrimaryKey(pluginSettingId);
115 }
116
117 public static java.util.List<com.liferay.portal.model.PluginSetting> findByCompanyId(
118 long companyId) throws com.liferay.portal.SystemException {
119 return getPersistence().findByCompanyId(companyId);
120 }
121
122 public static java.util.List<com.liferay.portal.model.PluginSetting> findByCompanyId(
123 long companyId, int start, int end)
124 throws com.liferay.portal.SystemException {
125 return getPersistence().findByCompanyId(companyId, start, end);
126 }
127
128 public static java.util.List<com.liferay.portal.model.PluginSetting> findByCompanyId(
129 long companyId, int start, int end,
130 com.liferay.portal.kernel.util.OrderByComparator obc)
131 throws com.liferay.portal.SystemException {
132 return getPersistence().findByCompanyId(companyId, start, end, obc);
133 }
134
135 public static com.liferay.portal.model.PluginSetting findByCompanyId_First(
136 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
137 throws com.liferay.portal.NoSuchPluginSettingException,
138 com.liferay.portal.SystemException {
139 return getPersistence().findByCompanyId_First(companyId, obc);
140 }
141
142 public static com.liferay.portal.model.PluginSetting findByCompanyId_Last(
143 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
144 throws com.liferay.portal.NoSuchPluginSettingException,
145 com.liferay.portal.SystemException {
146 return getPersistence().findByCompanyId_Last(companyId, obc);
147 }
148
149 public static com.liferay.portal.model.PluginSetting[] findByCompanyId_PrevAndNext(
150 long pluginSettingId, long companyId,
151 com.liferay.portal.kernel.util.OrderByComparator obc)
152 throws com.liferay.portal.NoSuchPluginSettingException,
153 com.liferay.portal.SystemException {
154 return getPersistence()
155 .findByCompanyId_PrevAndNext(pluginSettingId, companyId, obc);
156 }
157
158 public static com.liferay.portal.model.PluginSetting findByC_I_T(
159 long companyId, java.lang.String pluginId, java.lang.String pluginType)
160 throws com.liferay.portal.NoSuchPluginSettingException,
161 com.liferay.portal.SystemException {
162 return getPersistence().findByC_I_T(companyId, pluginId, pluginType);
163 }
164
165 public static com.liferay.portal.model.PluginSetting fetchByC_I_T(
166 long companyId, java.lang.String pluginId, java.lang.String pluginType)
167 throws com.liferay.portal.SystemException {
168 return getPersistence().fetchByC_I_T(companyId, pluginId, pluginType);
169 }
170
171 public static com.liferay.portal.model.PluginSetting fetchByC_I_T(
172 long companyId, java.lang.String pluginId, java.lang.String pluginType,
173 boolean retrieveFromCache) throws com.liferay.portal.SystemException {
174 return getPersistence()
175 .fetchByC_I_T(companyId, pluginId, pluginType,
176 retrieveFromCache);
177 }
178
179 public static java.util.List<Object> findWithDynamicQuery(
180 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
181 throws com.liferay.portal.SystemException {
182 return getPersistence().findWithDynamicQuery(dynamicQuery);
183 }
184
185 public static java.util.List<Object> findWithDynamicQuery(
186 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
187 int end) throws com.liferay.portal.SystemException {
188 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
189 }
190
191 public static java.util.List<com.liferay.portal.model.PluginSetting> findAll()
192 throws com.liferay.portal.SystemException {
193 return getPersistence().findAll();
194 }
195
196 public static java.util.List<com.liferay.portal.model.PluginSetting> findAll(
197 int start, int end) throws com.liferay.portal.SystemException {
198 return getPersistence().findAll(start, end);
199 }
200
201 public static java.util.List<com.liferay.portal.model.PluginSetting> findAll(
202 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
203 throws com.liferay.portal.SystemException {
204 return getPersistence().findAll(start, end, obc);
205 }
206
207 public static void removeByCompanyId(long companyId)
208 throws com.liferay.portal.SystemException {
209 getPersistence().removeByCompanyId(companyId);
210 }
211
212 public static void removeByC_I_T(long companyId, java.lang.String pluginId,
213 java.lang.String pluginType)
214 throws com.liferay.portal.NoSuchPluginSettingException,
215 com.liferay.portal.SystemException {
216 getPersistence().removeByC_I_T(companyId, pluginId, pluginType);
217 }
218
219 public static void removeAll() throws com.liferay.portal.SystemException {
220 getPersistence().removeAll();
221 }
222
223 public static int countByCompanyId(long companyId)
224 throws com.liferay.portal.SystemException {
225 return getPersistence().countByCompanyId(companyId);
226 }
227
228 public static int countByC_I_T(long companyId, java.lang.String pluginId,
229 java.lang.String pluginType) throws com.liferay.portal.SystemException {
230 return getPersistence().countByC_I_T(companyId, pluginId, pluginType);
231 }
232
233 public static int countAll() throws com.liferay.portal.SystemException {
234 return getPersistence().countAll();
235 }
236
237 public static PluginSettingPersistence getPersistence() {
238 return _persistence;
239 }
240
241 public void setPersistence(PluginSettingPersistence persistence) {
242 _persistence = persistence;
243 }
244
245 private static PluginSettingPersistence _persistence;
246 }