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