1
22
23 package com.liferay.portlet.documentlibrary.service.persistence;
24
25
26
39 public class DLFileShortcutUtil {
40 public static void cacheResult(
41 com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut) {
42 getPersistence().cacheResult(dlFileShortcut);
43 }
44
45 public static void cacheResult(
46 java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> dlFileShortcuts) {
47 getPersistence().cacheResult(dlFileShortcuts);
48 }
49
50 public static void clearCache() {
51 getPersistence().clearCache();
52 }
53
54 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut create(
55 long fileShortcutId) {
56 return getPersistence().create(fileShortcutId);
57 }
58
59 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut remove(
60 long fileShortcutId)
61 throws com.liferay.portal.SystemException,
62 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException {
63 return getPersistence().remove(fileShortcutId);
64 }
65
66 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut remove(
67 com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
68 throws com.liferay.portal.SystemException {
69 return getPersistence().remove(dlFileShortcut);
70 }
71
72
75 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut update(
76 com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
77 throws com.liferay.portal.SystemException {
78 return getPersistence().update(dlFileShortcut);
79 }
80
81
93 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut update(
94 com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut,
95 boolean merge) throws com.liferay.portal.SystemException {
96 return getPersistence().update(dlFileShortcut, merge);
97 }
98
99 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut updateImpl(
100 com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut,
101 boolean merge) throws com.liferay.portal.SystemException {
102 return getPersistence().updateImpl(dlFileShortcut, merge);
103 }
104
105 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByPrimaryKey(
106 long fileShortcutId)
107 throws com.liferay.portal.SystemException,
108 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException {
109 return getPersistence().findByPrimaryKey(fileShortcutId);
110 }
111
112 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByPrimaryKey(
113 long fileShortcutId) throws com.liferay.portal.SystemException {
114 return getPersistence().fetchByPrimaryKey(fileShortcutId);
115 }
116
117 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid(
118 java.lang.String uuid) throws com.liferay.portal.SystemException {
119 return getPersistence().findByUuid(uuid);
120 }
121
122 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid(
123 java.lang.String uuid, int start, int end)
124 throws com.liferay.portal.SystemException {
125 return getPersistence().findByUuid(uuid, start, end);
126 }
127
128 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid(
129 java.lang.String uuid, int start, int end,
130 com.liferay.portal.kernel.util.OrderByComparator obc)
131 throws com.liferay.portal.SystemException {
132 return getPersistence().findByUuid(uuid, start, end, obc);
133 }
134
135 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUuid_First(
136 java.lang.String uuid,
137 com.liferay.portal.kernel.util.OrderByComparator obc)
138 throws com.liferay.portal.SystemException,
139 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException {
140 return getPersistence().findByUuid_First(uuid, obc);
141 }
142
143 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUuid_Last(
144 java.lang.String uuid,
145 com.liferay.portal.kernel.util.OrderByComparator obc)
146 throws com.liferay.portal.SystemException,
147 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException {
148 return getPersistence().findByUuid_Last(uuid, obc);
149 }
150
151 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByUuid_PrevAndNext(
152 long fileShortcutId, java.lang.String uuid,
153 com.liferay.portal.kernel.util.OrderByComparator obc)
154 throws com.liferay.portal.SystemException,
155 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException {
156 return getPersistence().findByUuid_PrevAndNext(fileShortcutId, uuid, obc);
157 }
158
159 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUUID_G(
160 java.lang.String uuid, long groupId)
161 throws com.liferay.portal.SystemException,
162 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException {
163 return getPersistence().findByUUID_G(uuid, groupId);
164 }
165
166 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUUID_G(
167 java.lang.String uuid, long groupId)
168 throws com.liferay.portal.SystemException {
169 return getPersistence().fetchByUUID_G(uuid, groupId);
170 }
171
172 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUUID_G(
173 java.lang.String uuid, long groupId, boolean retrieveFromCache)
174 throws com.liferay.portal.SystemException {
175 return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
176 }
177
178 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByFolderId(
179 long folderId) throws com.liferay.portal.SystemException {
180 return getPersistence().findByFolderId(folderId);
181 }
182
183 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByFolderId(
184 long folderId, int start, int end)
185 throws com.liferay.portal.SystemException {
186 return getPersistence().findByFolderId(folderId, start, end);
187 }
188
189 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByFolderId(
190 long folderId, int start, int end,
191 com.liferay.portal.kernel.util.OrderByComparator obc)
192 throws com.liferay.portal.SystemException {
193 return getPersistence().findByFolderId(folderId, start, end, obc);
194 }
195
196 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByFolderId_First(
197 long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
198 throws com.liferay.portal.SystemException,
199 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException {
200 return getPersistence().findByFolderId_First(folderId, obc);
201 }
202
203 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByFolderId_Last(
204 long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
205 throws com.liferay.portal.SystemException,
206 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException {
207 return getPersistence().findByFolderId_Last(folderId, obc);
208 }
209
210 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByFolderId_PrevAndNext(
211 long fileShortcutId, long folderId,
212 com.liferay.portal.kernel.util.OrderByComparator obc)
213 throws com.liferay.portal.SystemException,
214 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException {
215 return getPersistence()
216 .findByFolderId_PrevAndNext(fileShortcutId, folderId, obc);
217 }
218
219 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByTF_TN(
220 long toFolderId, java.lang.String toName)
221 throws com.liferay.portal.SystemException {
222 return getPersistence().findByTF_TN(toFolderId, toName);
223 }
224
225 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByTF_TN(
226 long toFolderId, java.lang.String toName, int start, int end)
227 throws com.liferay.portal.SystemException {
228 return getPersistence().findByTF_TN(toFolderId, toName, start, end);
229 }
230
231 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByTF_TN(
232 long toFolderId, java.lang.String toName, int start, int end,
233 com.liferay.portal.kernel.util.OrderByComparator obc)
234 throws com.liferay.portal.SystemException {
235 return getPersistence().findByTF_TN(toFolderId, toName, start, end, obc);
236 }
237
238 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByTF_TN_First(
239 long toFolderId, java.lang.String toName,
240 com.liferay.portal.kernel.util.OrderByComparator obc)
241 throws com.liferay.portal.SystemException,
242 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException {
243 return getPersistence().findByTF_TN_First(toFolderId, toName, obc);
244 }
245
246 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByTF_TN_Last(
247 long toFolderId, java.lang.String toName,
248 com.liferay.portal.kernel.util.OrderByComparator obc)
249 throws com.liferay.portal.SystemException,
250 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException {
251 return getPersistence().findByTF_TN_Last(toFolderId, toName, obc);
252 }
253
254 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByTF_TN_PrevAndNext(
255 long fileShortcutId, long toFolderId, java.lang.String toName,
256 com.liferay.portal.kernel.util.OrderByComparator obc)
257 throws com.liferay.portal.SystemException,
258 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException {
259 return getPersistence()
260 .findByTF_TN_PrevAndNext(fileShortcutId, toFolderId, toName,
261 obc);
262 }
263
264 public static java.util.List<Object> findWithDynamicQuery(
265 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
266 throws com.liferay.portal.SystemException {
267 return getPersistence().findWithDynamicQuery(dynamicQuery);
268 }
269
270 public static java.util.List<Object> findWithDynamicQuery(
271 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
272 int end) throws com.liferay.portal.SystemException {
273 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
274 }
275
276 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll()
277 throws com.liferay.portal.SystemException {
278 return getPersistence().findAll();
279 }
280
281 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll(
282 int start, int end) throws com.liferay.portal.SystemException {
283 return getPersistence().findAll(start, end);
284 }
285
286 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll(
287 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
288 throws com.liferay.portal.SystemException {
289 return getPersistence().findAll(start, end, obc);
290 }
291
292 public static void removeByUuid(java.lang.String uuid)
293 throws com.liferay.portal.SystemException {
294 getPersistence().removeByUuid(uuid);
295 }
296
297 public static void removeByUUID_G(java.lang.String uuid, long groupId)
298 throws com.liferay.portal.SystemException,
299 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException {
300 getPersistence().removeByUUID_G(uuid, groupId);
301 }
302
303 public static void removeByFolderId(long folderId)
304 throws com.liferay.portal.SystemException {
305 getPersistence().removeByFolderId(folderId);
306 }
307
308 public static void removeByTF_TN(long toFolderId, java.lang.String toName)
309 throws com.liferay.portal.SystemException {
310 getPersistence().removeByTF_TN(toFolderId, toName);
311 }
312
313 public static void removeAll() throws com.liferay.portal.SystemException {
314 getPersistence().removeAll();
315 }
316
317 public static int countByUuid(java.lang.String uuid)
318 throws com.liferay.portal.SystemException {
319 return getPersistence().countByUuid(uuid);
320 }
321
322 public static int countByUUID_G(java.lang.String uuid, long groupId)
323 throws com.liferay.portal.SystemException {
324 return getPersistence().countByUUID_G(uuid, groupId);
325 }
326
327 public static int countByFolderId(long folderId)
328 throws com.liferay.portal.SystemException {
329 return getPersistence().countByFolderId(folderId);
330 }
331
332 public static int countByTF_TN(long toFolderId, java.lang.String toName)
333 throws com.liferay.portal.SystemException {
334 return getPersistence().countByTF_TN(toFolderId, toName);
335 }
336
337 public static int countAll() throws com.liferay.portal.SystemException {
338 return getPersistence().countAll();
339 }
340
341 public static DLFileShortcutPersistence getPersistence() {
342 return _persistence;
343 }
344
345 public void setPersistence(DLFileShortcutPersistence persistence) {
346 _persistence = persistence;
347 }
348
349 private static DLFileShortcutPersistence _persistence;
350 }