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 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 public static com.liferay.portal.model.PluginSetting update(
57 com.liferay.portal.model.PluginSetting pluginSetting, boolean merge)
58 throws com.liferay.portal.SystemException {
59 return getPersistence().update(pluginSetting, merge);
60 }
61
62 public static com.liferay.portal.model.PluginSetting updateImpl(
63 com.liferay.portal.model.PluginSetting pluginSetting, boolean merge)
64 throws com.liferay.portal.SystemException {
65 return getPersistence().updateImpl(pluginSetting, merge);
66 }
67
68 public static com.liferay.portal.model.PluginSetting findByPrimaryKey(
69 long pluginSettingId)
70 throws com.liferay.portal.SystemException,
71 com.liferay.portal.NoSuchPluginSettingException {
72 return getPersistence().findByPrimaryKey(pluginSettingId);
73 }
74
75 public static com.liferay.portal.model.PluginSetting fetchByPrimaryKey(
76 long pluginSettingId) throws com.liferay.portal.SystemException {
77 return getPersistence().fetchByPrimaryKey(pluginSettingId);
78 }
79
80 public static java.util.List findByCompanyId(long companyId)
81 throws com.liferay.portal.SystemException {
82 return getPersistence().findByCompanyId(companyId);
83 }
84
85 public static java.util.List findByCompanyId(long companyId, int begin,
86 int end) throws com.liferay.portal.SystemException {
87 return getPersistence().findByCompanyId(companyId, begin, end);
88 }
89
90 public static java.util.List findByCompanyId(long companyId, int begin,
91 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
92 throws com.liferay.portal.SystemException {
93 return getPersistence().findByCompanyId(companyId, begin, end, obc);
94 }
95
96 public static com.liferay.portal.model.PluginSetting findByCompanyId_First(
97 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
98 throws com.liferay.portal.SystemException,
99 com.liferay.portal.NoSuchPluginSettingException {
100 return getPersistence().findByCompanyId_First(companyId, obc);
101 }
102
103 public static com.liferay.portal.model.PluginSetting findByCompanyId_Last(
104 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
105 throws com.liferay.portal.SystemException,
106 com.liferay.portal.NoSuchPluginSettingException {
107 return getPersistence().findByCompanyId_Last(companyId, obc);
108 }
109
110 public static com.liferay.portal.model.PluginSetting[] findByCompanyId_PrevAndNext(
111 long pluginSettingId, long companyId,
112 com.liferay.portal.kernel.util.OrderByComparator obc)
113 throws com.liferay.portal.SystemException,
114 com.liferay.portal.NoSuchPluginSettingException {
115 return getPersistence().findByCompanyId_PrevAndNext(pluginSettingId,
116 companyId, obc);
117 }
118
119 public static com.liferay.portal.model.PluginSetting findByC_I_T(
120 long companyId, java.lang.String pluginId, java.lang.String pluginType)
121 throws com.liferay.portal.SystemException,
122 com.liferay.portal.NoSuchPluginSettingException {
123 return getPersistence().findByC_I_T(companyId, pluginId, pluginType);
124 }
125
126 public static com.liferay.portal.model.PluginSetting fetchByC_I_T(
127 long companyId, java.lang.String pluginId, java.lang.String pluginType)
128 throws com.liferay.portal.SystemException {
129 return getPersistence().fetchByC_I_T(companyId, pluginId, pluginType);
130 }
131
132 public static java.util.List findWithDynamicQuery(
133 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
134 throws com.liferay.portal.SystemException {
135 return getPersistence().findWithDynamicQuery(queryInitializer);
136 }
137
138 public static java.util.List findWithDynamicQuery(
139 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
140 int begin, int end) throws com.liferay.portal.SystemException {
141 return getPersistence().findWithDynamicQuery(queryInitializer, begin,
142 end);
143 }
144
145 public static java.util.List findAll()
146 throws com.liferay.portal.SystemException {
147 return getPersistence().findAll();
148 }
149
150 public static java.util.List findAll(int begin, int end)
151 throws com.liferay.portal.SystemException {
152 return getPersistence().findAll(begin, end);
153 }
154
155 public static java.util.List findAll(int begin, int end,
156 com.liferay.portal.kernel.util.OrderByComparator obc)
157 throws com.liferay.portal.SystemException {
158 return getPersistence().findAll(begin, end, obc);
159 }
160
161 public static void removeByCompanyId(long companyId)
162 throws com.liferay.portal.SystemException {
163 getPersistence().removeByCompanyId(companyId);
164 }
165
166 public static void removeByC_I_T(long companyId, java.lang.String pluginId,
167 java.lang.String pluginType)
168 throws com.liferay.portal.SystemException,
169 com.liferay.portal.NoSuchPluginSettingException {
170 getPersistence().removeByC_I_T(companyId, pluginId, pluginType);
171 }
172
173 public static void removeAll() throws com.liferay.portal.SystemException {
174 getPersistence().removeAll();
175 }
176
177 public static int countByCompanyId(long companyId)
178 throws com.liferay.portal.SystemException {
179 return getPersistence().countByCompanyId(companyId);
180 }
181
182 public static int countByC_I_T(long companyId, java.lang.String pluginId,
183 java.lang.String pluginType) throws com.liferay.portal.SystemException {
184 return getPersistence().countByC_I_T(companyId, pluginId, pluginType);
185 }
186
187 public static int countAll() throws com.liferay.portal.SystemException {
188 return getPersistence().countAll();
189 }
190
191 public static PluginSettingPersistence getPersistence() {
192 return _getUtil()._persistence;
193 }
194
195 public void setPersistence(PluginSettingPersistence persistence) {
196 _persistence = persistence;
197 }
198
199 private static PluginSettingUtil _getUtil() {
200 if (_util == null) {
201 _util = (PluginSettingUtil)com.liferay.portal.kernel.bean.BeanLocatorUtil.locate(_UTIL);
202 }
203
204 return _util;
205 }
206
207 private static final String _UTIL = PluginSettingUtil.class.getName();
208 private static PluginSettingUtil _util;
209 private PluginSettingPersistence _persistence;
210 }