1
22
23 package com.liferay.portal.service.persistence;
24
25
31 public class PluginSettingUtil {
32 public static com.liferay.portal.model.PluginSetting create(
33 long pluginSettingId) {
34 return getPersistence().create(pluginSettingId);
35 }
36
37 public static com.liferay.portal.model.PluginSetting remove(
38 long pluginSettingId)
39 throws com.liferay.portal.SystemException,
40 com.liferay.portal.NoSuchPluginSettingException {
41 return getPersistence().remove(pluginSettingId);
42 }
43
44 public static com.liferay.portal.model.PluginSetting remove(
45 com.liferay.portal.model.PluginSetting pluginSetting)
46 throws com.liferay.portal.SystemException {
47 return getPersistence().remove(pluginSetting);
48 }
49
50
53 public static com.liferay.portal.model.PluginSetting update(
54 com.liferay.portal.model.PluginSetting pluginSetting)
55 throws com.liferay.portal.SystemException {
56 return getPersistence().update(pluginSetting);
57 }
58
59
72 public static com.liferay.portal.model.PluginSetting update(
73 com.liferay.portal.model.PluginSetting pluginSetting, boolean merge)
74 throws com.liferay.portal.SystemException {
75 return getPersistence().update(pluginSetting, merge);
76 }
77
78 public static com.liferay.portal.model.PluginSetting updateImpl(
79 com.liferay.portal.model.PluginSetting pluginSetting, boolean merge)
80 throws com.liferay.portal.SystemException {
81 return getPersistence().updateImpl(pluginSetting, merge);
82 }
83
84 public static com.liferay.portal.model.PluginSetting findByPrimaryKey(
85 long pluginSettingId)
86 throws com.liferay.portal.SystemException,
87 com.liferay.portal.NoSuchPluginSettingException {
88 return getPersistence().findByPrimaryKey(pluginSettingId);
89 }
90
91 public static com.liferay.portal.model.PluginSetting fetchByPrimaryKey(
92 long pluginSettingId) throws com.liferay.portal.SystemException {
93 return getPersistence().fetchByPrimaryKey(pluginSettingId);
94 }
95
96 public static java.util.List<com.liferay.portal.model.PluginSetting> findByCompanyId(
97 long companyId) throws com.liferay.portal.SystemException {
98 return getPersistence().findByCompanyId(companyId);
99 }
100
101 public static java.util.List<com.liferay.portal.model.PluginSetting> findByCompanyId(
102 long companyId, int begin, int end)
103 throws com.liferay.portal.SystemException {
104 return getPersistence().findByCompanyId(companyId, begin, end);
105 }
106
107 public static java.util.List<com.liferay.portal.model.PluginSetting> findByCompanyId(
108 long companyId, int begin, int end,
109 com.liferay.portal.kernel.util.OrderByComparator obc)
110 throws com.liferay.portal.SystemException {
111 return getPersistence().findByCompanyId(companyId, begin, end, obc);
112 }
113
114 public static com.liferay.portal.model.PluginSetting findByCompanyId_First(
115 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
116 throws com.liferay.portal.SystemException,
117 com.liferay.portal.NoSuchPluginSettingException {
118 return getPersistence().findByCompanyId_First(companyId, obc);
119 }
120
121 public static com.liferay.portal.model.PluginSetting findByCompanyId_Last(
122 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
123 throws com.liferay.portal.SystemException,
124 com.liferay.portal.NoSuchPluginSettingException {
125 return getPersistence().findByCompanyId_Last(companyId, obc);
126 }
127
128 public static com.liferay.portal.model.PluginSetting[] findByCompanyId_PrevAndNext(
129 long pluginSettingId, long companyId,
130 com.liferay.portal.kernel.util.OrderByComparator obc)
131 throws com.liferay.portal.SystemException,
132 com.liferay.portal.NoSuchPluginSettingException {
133 return getPersistence()
134 .findByCompanyId_PrevAndNext(pluginSettingId, companyId, obc);
135 }
136
137 public static com.liferay.portal.model.PluginSetting findByC_I_T(
138 long companyId, java.lang.String pluginId, java.lang.String pluginType)
139 throws com.liferay.portal.SystemException,
140 com.liferay.portal.NoSuchPluginSettingException {
141 return getPersistence().findByC_I_T(companyId, pluginId, pluginType);
142 }
143
144 public static com.liferay.portal.model.PluginSetting fetchByC_I_T(
145 long companyId, java.lang.String pluginId, java.lang.String pluginType)
146 throws com.liferay.portal.SystemException {
147 return getPersistence().fetchByC_I_T(companyId, pluginId, pluginType);
148 }
149
150 public static java.util.List<com.liferay.portal.model.PluginSetting> findWithDynamicQuery(
151 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
152 throws com.liferay.portal.SystemException {
153 return getPersistence().findWithDynamicQuery(queryInitializer);
154 }
155
156 public static java.util.List<com.liferay.portal.model.PluginSetting> findWithDynamicQuery(
157 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
158 int begin, int end) throws com.liferay.portal.SystemException {
159 return getPersistence()
160 .findWithDynamicQuery(queryInitializer, begin, end);
161 }
162
163 public static java.util.List<com.liferay.portal.model.PluginSetting> findAll()
164 throws com.liferay.portal.SystemException {
165 return getPersistence().findAll();
166 }
167
168 public static java.util.List<com.liferay.portal.model.PluginSetting> findAll(
169 int begin, int end) throws com.liferay.portal.SystemException {
170 return getPersistence().findAll(begin, end);
171 }
172
173 public static java.util.List<com.liferay.portal.model.PluginSetting> findAll(
174 int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
175 throws com.liferay.portal.SystemException {
176 return getPersistence().findAll(begin, end, obc);
177 }
178
179 public static void removeByCompanyId(long companyId)
180 throws com.liferay.portal.SystemException {
181 getPersistence().removeByCompanyId(companyId);
182 }
183
184 public static void removeByC_I_T(long companyId, java.lang.String pluginId,
185 java.lang.String pluginType)
186 throws com.liferay.portal.SystemException,
187 com.liferay.portal.NoSuchPluginSettingException {
188 getPersistence().removeByC_I_T(companyId, pluginId, pluginType);
189 }
190
191 public static void removeAll() throws com.liferay.portal.SystemException {
192 getPersistence().removeAll();
193 }
194
195 public static int countByCompanyId(long companyId)
196 throws com.liferay.portal.SystemException {
197 return getPersistence().countByCompanyId(companyId);
198 }
199
200 public static int countByC_I_T(long companyId, java.lang.String pluginId,
201 java.lang.String pluginType) throws com.liferay.portal.SystemException {
202 return getPersistence().countByC_I_T(companyId, pluginId, pluginType);
203 }
204
205 public static int countAll() throws com.liferay.portal.SystemException {
206 return getPersistence().countAll();
207 }
208
209 public static PluginSettingPersistence getPersistence() {
210 return _getUtil()._persistence;
211 }
212
213 public void setPersistence(PluginSettingPersistence persistence) {
214 _persistence = persistence;
215 }
216
217 private static PluginSettingUtil _getUtil() {
218 if (_util == null) {
219 _util = (PluginSettingUtil)com.liferay.portal.kernel.bean.BeanLocatorUtil.locate(_UTIL);
220 }
221
222 return _util;
223 }
224
225 private static final String _UTIL = PluginSettingUtil.class.getName();
226 private static PluginSettingUtil _util;
227 private PluginSettingPersistence _persistence;
228 }