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.NoSuchUserIdMapperException,
40 com.liferay.portal.SystemException {
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.NoSuchUserIdMapperException,
87 com.liferay.portal.SystemException {
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 start, int end)
103 throws com.liferay.portal.SystemException {
104 return getPersistence().findByUserId(userId, start, end);
105 }
106
107 public static java.util.List<com.liferay.portal.model.UserIdMapper> findByUserId(
108 long userId, int start, int end,
109 com.liferay.portal.kernel.util.OrderByComparator obc)
110 throws com.liferay.portal.SystemException {
111 return getPersistence().findByUserId(userId, start, 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.NoSuchUserIdMapperException,
117 com.liferay.portal.SystemException {
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.NoSuchUserIdMapperException,
124 com.liferay.portal.SystemException {
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.NoSuchUserIdMapperException,
132 com.liferay.portal.SystemException {
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.NoSuchUserIdMapperException,
140 com.liferay.portal.SystemException {
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.NoSuchUserIdMapperException,
153 com.liferay.portal.SystemException {
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<Object> findWithDynamicQuery(
164 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
165 throws com.liferay.portal.SystemException {
166 return getPersistence().findWithDynamicQuery(dynamicQuery);
167 }
168
169 public static java.util.List<Object> findWithDynamicQuery(
170 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
171 int end) throws com.liferay.portal.SystemException {
172 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
173 }
174
175 public static java.util.List<com.liferay.portal.model.UserIdMapper> findAll()
176 throws com.liferay.portal.SystemException {
177 return getPersistence().findAll();
178 }
179
180 public static java.util.List<com.liferay.portal.model.UserIdMapper> findAll(
181 int start, int end) throws com.liferay.portal.SystemException {
182 return getPersistence().findAll(start, end);
183 }
184
185 public static java.util.List<com.liferay.portal.model.UserIdMapper> findAll(
186 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
187 throws com.liferay.portal.SystemException {
188 return getPersistence().findAll(start, end, obc);
189 }
190
191 public static void removeByUserId(long userId)
192 throws com.liferay.portal.SystemException {
193 getPersistence().removeByUserId(userId);
194 }
195
196 public static void removeByU_T(long userId, java.lang.String type)
197 throws com.liferay.portal.NoSuchUserIdMapperException,
198 com.liferay.portal.SystemException {
199 getPersistence().removeByU_T(userId, type);
200 }
201
202 public static void removeByT_E(java.lang.String type,
203 java.lang.String externalUserId)
204 throws com.liferay.portal.NoSuchUserIdMapperException,
205 com.liferay.portal.SystemException {
206 getPersistence().removeByT_E(type, externalUserId);
207 }
208
209 public static void removeAll() throws com.liferay.portal.SystemException {
210 getPersistence().removeAll();
211 }
212
213 public static int countByUserId(long userId)
214 throws com.liferay.portal.SystemException {
215 return getPersistence().countByUserId(userId);
216 }
217
218 public static int countByU_T(long userId, java.lang.String type)
219 throws com.liferay.portal.SystemException {
220 return getPersistence().countByU_T(userId, type);
221 }
222
223 public static int countByT_E(java.lang.String type,
224 java.lang.String externalUserId)
225 throws com.liferay.portal.SystemException {
226 return getPersistence().countByT_E(type, externalUserId);
227 }
228
229 public static int countAll() throws com.liferay.portal.SystemException {
230 return getPersistence().countAll();
231 }
232
233 public static UserIdMapperPersistence getPersistence() {
234 return _persistence;
235 }
236
237 public void setPersistence(UserIdMapperPersistence persistence) {
238 _persistence = persistence;
239 }
240
241 private static UserIdMapperPersistence _persistence;
242 }