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