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 public static com.liferay.portal.model.UserIdMapper update(
51 com.liferay.portal.model.UserIdMapper userIdMapper)
52 throws com.liferay.portal.SystemException {
53 return getPersistence().update(userIdMapper);
54 }
55
56 public static com.liferay.portal.model.UserIdMapper update(
57 com.liferay.portal.model.UserIdMapper userIdMapper, boolean merge)
58 throws com.liferay.portal.SystemException {
59 return getPersistence().update(userIdMapper, merge);
60 }
61
62 public static com.liferay.portal.model.UserIdMapper updateImpl(
63 com.liferay.portal.model.UserIdMapper userIdMapper, boolean merge)
64 throws com.liferay.portal.SystemException {
65 return getPersistence().updateImpl(userIdMapper, merge);
66 }
67
68 public static com.liferay.portal.model.UserIdMapper findByPrimaryKey(
69 long userIdMapperId)
70 throws com.liferay.portal.SystemException,
71 com.liferay.portal.NoSuchUserIdMapperException {
72 return getPersistence().findByPrimaryKey(userIdMapperId);
73 }
74
75 public static com.liferay.portal.model.UserIdMapper fetchByPrimaryKey(
76 long userIdMapperId) throws com.liferay.portal.SystemException {
77 return getPersistence().fetchByPrimaryKey(userIdMapperId);
78 }
79
80 public static java.util.List findByUserId(long userId)
81 throws com.liferay.portal.SystemException {
82 return getPersistence().findByUserId(userId);
83 }
84
85 public static java.util.List findByUserId(long userId, int begin, int end)
86 throws com.liferay.portal.SystemException {
87 return getPersistence().findByUserId(userId, begin, end);
88 }
89
90 public static java.util.List findByUserId(long userId, int begin, int end,
91 com.liferay.portal.kernel.util.OrderByComparator obc)
92 throws com.liferay.portal.SystemException {
93 return getPersistence().findByUserId(userId, begin, end, obc);
94 }
95
96 public static com.liferay.portal.model.UserIdMapper findByUserId_First(
97 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
98 throws com.liferay.portal.SystemException,
99 com.liferay.portal.NoSuchUserIdMapperException {
100 return getPersistence().findByUserId_First(userId, obc);
101 }
102
103 public static com.liferay.portal.model.UserIdMapper findByUserId_Last(
104 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
105 throws com.liferay.portal.SystemException,
106 com.liferay.portal.NoSuchUserIdMapperException {
107 return getPersistence().findByUserId_Last(userId, obc);
108 }
109
110 public static com.liferay.portal.model.UserIdMapper[] findByUserId_PrevAndNext(
111 long userIdMapperId, long userId,
112 com.liferay.portal.kernel.util.OrderByComparator obc)
113 throws com.liferay.portal.SystemException,
114 com.liferay.portal.NoSuchUserIdMapperException {
115 return getPersistence().findByUserId_PrevAndNext(userIdMapperId,
116 userId, obc);
117 }
118
119 public static com.liferay.portal.model.UserIdMapper findByU_T(long userId,
120 java.lang.String type)
121 throws com.liferay.portal.SystemException,
122 com.liferay.portal.NoSuchUserIdMapperException {
123 return getPersistence().findByU_T(userId, type);
124 }
125
126 public static com.liferay.portal.model.UserIdMapper fetchByU_T(
127 long userId, java.lang.String type)
128 throws com.liferay.portal.SystemException {
129 return getPersistence().fetchByU_T(userId, type);
130 }
131
132 public static com.liferay.portal.model.UserIdMapper findByT_E(
133 java.lang.String type, java.lang.String externalUserId)
134 throws com.liferay.portal.SystemException,
135 com.liferay.portal.NoSuchUserIdMapperException {
136 return getPersistence().findByT_E(type, externalUserId);
137 }
138
139 public static com.liferay.portal.model.UserIdMapper fetchByT_E(
140 java.lang.String type, java.lang.String externalUserId)
141 throws com.liferay.portal.SystemException {
142 return getPersistence().fetchByT_E(type, externalUserId);
143 }
144
145 public static java.util.List findWithDynamicQuery(
146 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
147 throws com.liferay.portal.SystemException {
148 return getPersistence().findWithDynamicQuery(queryInitializer);
149 }
150
151 public static java.util.List findWithDynamicQuery(
152 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
153 int begin, int end) throws com.liferay.portal.SystemException {
154 return getPersistence().findWithDynamicQuery(queryInitializer, begin,
155 end);
156 }
157
158 public static java.util.List findAll()
159 throws com.liferay.portal.SystemException {
160 return getPersistence().findAll();
161 }
162
163 public static java.util.List findAll(int begin, int end)
164 throws com.liferay.portal.SystemException {
165 return getPersistence().findAll(begin, end);
166 }
167
168 public static java.util.List findAll(int begin, int end,
169 com.liferay.portal.kernel.util.OrderByComparator obc)
170 throws com.liferay.portal.SystemException {
171 return getPersistence().findAll(begin, end, obc);
172 }
173
174 public static void removeByUserId(long userId)
175 throws com.liferay.portal.SystemException {
176 getPersistence().removeByUserId(userId);
177 }
178
179 public static void removeByU_T(long userId, java.lang.String type)
180 throws com.liferay.portal.SystemException,
181 com.liferay.portal.NoSuchUserIdMapperException {
182 getPersistence().removeByU_T(userId, type);
183 }
184
185 public static void removeByT_E(java.lang.String type,
186 java.lang.String externalUserId)
187 throws com.liferay.portal.SystemException,
188 com.liferay.portal.NoSuchUserIdMapperException {
189 getPersistence().removeByT_E(type, externalUserId);
190 }
191
192 public static void removeAll() throws com.liferay.portal.SystemException {
193 getPersistence().removeAll();
194 }
195
196 public static int countByUserId(long userId)
197 throws com.liferay.portal.SystemException {
198 return getPersistence().countByUserId(userId);
199 }
200
201 public static int countByU_T(long userId, java.lang.String type)
202 throws com.liferay.portal.SystemException {
203 return getPersistence().countByU_T(userId, type);
204 }
205
206 public static int countByT_E(java.lang.String type,
207 java.lang.String externalUserId)
208 throws com.liferay.portal.SystemException {
209 return getPersistence().countByT_E(type, externalUserId);
210 }
211
212 public static int countAll() throws com.liferay.portal.SystemException {
213 return getPersistence().countAll();
214 }
215
216 public static UserIdMapperPersistence getPersistence() {
217 return _getUtil()._persistence;
218 }
219
220 public void setPersistence(UserIdMapperPersistence persistence) {
221 _persistence = persistence;
222 }
223
224 private static UserIdMapperUtil _getUtil() {
225 if (_util == null) {
226 _util = (UserIdMapperUtil)com.liferay.portal.kernel.bean.BeanLocatorUtil.locate(_UTIL);
227 }
228
229 return _util;
230 }
231
232 private static final String _UTIL = UserIdMapperUtil.class.getName();
233 private static UserIdMapperUtil _util;
234 private UserIdMapperPersistence _persistence;
235 }