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