1
22
23 package com.liferay.portal.service.persistence;
24
25
31 public class UserIdMapperUtil {
32 public static com.liferay.portal.model.UserIdMapper create(
33 long userIdMapperId) {
34 return getPersistence().create(userIdMapperId);
35 }
36
37 public static com.liferay.portal.model.UserIdMapper remove(
38 long userIdMapperId)
39 throws com.liferay.portal.SystemException,
40 com.liferay.portal.NoSuchUserIdMapperException {
41 return getPersistence().remove(userIdMapperId);
42 }
43
44 public static com.liferay.portal.model.UserIdMapper remove(
45 com.liferay.portal.model.UserIdMapper userIdMapper)
46 throws com.liferay.portal.SystemException {
47 return getPersistence().remove(userIdMapper);
48 }
49
50
53 public static com.liferay.portal.model.UserIdMapper update(
54 com.liferay.portal.model.UserIdMapper userIdMapper)
55 throws com.liferay.portal.SystemException {
56 return getPersistence().update(userIdMapper);
57 }
58
59
72 public static com.liferay.portal.model.UserIdMapper update(
73 com.liferay.portal.model.UserIdMapper userIdMapper, boolean merge)
74 throws com.liferay.portal.SystemException {
75 return getPersistence().update(userIdMapper, merge);
76 }
77
78 public static com.liferay.portal.model.UserIdMapper updateImpl(
79 com.liferay.portal.model.UserIdMapper userIdMapper, boolean merge)
80 throws com.liferay.portal.SystemException {
81 return getPersistence().updateImpl(userIdMapper, merge);
82 }
83
84 public static com.liferay.portal.model.UserIdMapper findByPrimaryKey(
85 long userIdMapperId)
86 throws com.liferay.portal.SystemException,
87 com.liferay.portal.NoSuchUserIdMapperException {
88 return getPersistence().findByPrimaryKey(userIdMapperId);
89 }
90
91 public static com.liferay.portal.model.UserIdMapper fetchByPrimaryKey(
92 long userIdMapperId) throws com.liferay.portal.SystemException {
93 return getPersistence().fetchByPrimaryKey(userIdMapperId);
94 }
95
96 public static java.util.List<com.liferay.portal.model.UserIdMapper> findByUserId(
97 long userId) throws com.liferay.portal.SystemException {
98 return getPersistence().findByUserId(userId);
99 }
100
101 public static java.util.List<com.liferay.portal.model.UserIdMapper> findByUserId(
102 long userId, int begin, int end)
103 throws com.liferay.portal.SystemException {
104 return getPersistence().findByUserId(userId, begin, end);
105 }
106
107 public static java.util.List<com.liferay.portal.model.UserIdMapper> findByUserId(
108 long userId, int begin, int end,
109 com.liferay.portal.kernel.util.OrderByComparator obc)
110 throws com.liferay.portal.SystemException {
111 return getPersistence().findByUserId(userId, begin, end, obc);
112 }
113
114 public static com.liferay.portal.model.UserIdMapper findByUserId_First(
115 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
116 throws com.liferay.portal.SystemException,
117 com.liferay.portal.NoSuchUserIdMapperException {
118 return getPersistence().findByUserId_First(userId, obc);
119 }
120
121 public static com.liferay.portal.model.UserIdMapper findByUserId_Last(
122 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
123 throws com.liferay.portal.SystemException,
124 com.liferay.portal.NoSuchUserIdMapperException {
125 return getPersistence().findByUserId_Last(userId, obc);
126 }
127
128 public static com.liferay.portal.model.UserIdMapper[] findByUserId_PrevAndNext(
129 long userIdMapperId, long userId,
130 com.liferay.portal.kernel.util.OrderByComparator obc)
131 throws com.liferay.portal.SystemException,
132 com.liferay.portal.NoSuchUserIdMapperException {
133 return getPersistence()
134 .findByUserId_PrevAndNext(userIdMapperId, userId, obc);
135 }
136
137 public static com.liferay.portal.model.UserIdMapper findByU_T(long userId,
138 java.lang.String type)
139 throws com.liferay.portal.SystemException,
140 com.liferay.portal.NoSuchUserIdMapperException {
141 return getPersistence().findByU_T(userId, type);
142 }
143
144 public static com.liferay.portal.model.UserIdMapper fetchByU_T(
145 long userId, java.lang.String type)
146 throws com.liferay.portal.SystemException {
147 return getPersistence().fetchByU_T(userId, type);
148 }
149
150 public static com.liferay.portal.model.UserIdMapper findByT_E(
151 java.lang.String type, java.lang.String externalUserId)
152 throws com.liferay.portal.SystemException,
153 com.liferay.portal.NoSuchUserIdMapperException {
154 return getPersistence().findByT_E(type, externalUserId);
155 }
156
157 public static com.liferay.portal.model.UserIdMapper fetchByT_E(
158 java.lang.String type, java.lang.String externalUserId)
159 throws com.liferay.portal.SystemException {
160 return getPersistence().fetchByT_E(type, externalUserId);
161 }
162
163 public static java.util.List<com.liferay.portal.model.UserIdMapper> findWithDynamicQuery(
164 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
165 throws com.liferay.portal.SystemException {
166 return getPersistence().findWithDynamicQuery(queryInitializer);
167 }
168
169 public static java.util.List<com.liferay.portal.model.UserIdMapper> findWithDynamicQuery(
170 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
171 int begin, int end) throws com.liferay.portal.SystemException {
172 return getPersistence()
173 .findWithDynamicQuery(queryInitializer, begin, end);
174 }
175
176 public static java.util.List<com.liferay.portal.model.UserIdMapper> findAll()
177 throws com.liferay.portal.SystemException {
178 return getPersistence().findAll();
179 }
180
181 public static java.util.List<com.liferay.portal.model.UserIdMapper> findAll(
182 int begin, int end) throws com.liferay.portal.SystemException {
183 return getPersistence().findAll(begin, end);
184 }
185
186 public static java.util.List<com.liferay.portal.model.UserIdMapper> findAll(
187 int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
188 throws com.liferay.portal.SystemException {
189 return getPersistence().findAll(begin, end, obc);
190 }
191
192 public static void removeByUserId(long userId)
193 throws com.liferay.portal.SystemException {
194 getPersistence().removeByUserId(userId);
195 }
196
197 public static void removeByU_T(long userId, java.lang.String type)
198 throws com.liferay.portal.SystemException,
199 com.liferay.portal.NoSuchUserIdMapperException {
200 getPersistence().removeByU_T(userId, type);
201 }
202
203 public static void removeByT_E(java.lang.String type,
204 java.lang.String externalUserId)
205 throws com.liferay.portal.SystemException,
206 com.liferay.portal.NoSuchUserIdMapperException {
207 getPersistence().removeByT_E(type, externalUserId);
208 }
209
210 public static void removeAll() throws com.liferay.portal.SystemException {
211 getPersistence().removeAll();
212 }
213
214 public static int countByUserId(long userId)
215 throws com.liferay.portal.SystemException {
216 return getPersistence().countByUserId(userId);
217 }
218
219 public static int countByU_T(long userId, java.lang.String type)
220 throws com.liferay.portal.SystemException {
221 return getPersistence().countByU_T(userId, type);
222 }
223
224 public static int countByT_E(java.lang.String type,
225 java.lang.String externalUserId)
226 throws com.liferay.portal.SystemException {
227 return getPersistence().countByT_E(type, externalUserId);
228 }
229
230 public static int countAll() throws com.liferay.portal.SystemException {
231 return getPersistence().countAll();
232 }
233
234 public static UserIdMapperPersistence getPersistence() {
235 return _getUtil()._persistence;
236 }
237
238 public void setPersistence(UserIdMapperPersistence persistence) {
239 _persistence = persistence;
240 }
241
242 private static UserIdMapperUtil _getUtil() {
243 if (_util == null) {
244 _util = (UserIdMapperUtil)com.liferay.portal.kernel.bean.BeanLocatorUtil.locate(_UTIL);
245 }
246
247 return _util;
248 }
249
250 private static final String _UTIL = UserIdMapperUtil.class.getName();
251 private static UserIdMapperUtil _util;
252 private UserIdMapperPersistence _persistence;
253 }