1
22
23 package com.liferay.portlet.documentlibrary.service.persistence;
24
25
31 public class DLFileRankUtil {
32 public static com.liferay.portlet.documentlibrary.model.DLFileRank create(
33 long fileRankId) {
34 return getPersistence().create(fileRankId);
35 }
36
37 public static com.liferay.portlet.documentlibrary.model.DLFileRank remove(
38 long fileRankId)
39 throws com.liferay.portal.SystemException,
40 com.liferay.portlet.documentlibrary.NoSuchFileRankException {
41 return getPersistence().remove(fileRankId);
42 }
43
44 public static com.liferay.portlet.documentlibrary.model.DLFileRank remove(
45 com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank)
46 throws com.liferay.portal.SystemException {
47 return getPersistence().remove(dlFileRank);
48 }
49
50
53 public static com.liferay.portlet.documentlibrary.model.DLFileRank update(
54 com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank)
55 throws com.liferay.portal.SystemException {
56 return getPersistence().update(dlFileRank);
57 }
58
59
72 public static com.liferay.portlet.documentlibrary.model.DLFileRank update(
73 com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank,
74 boolean merge) throws com.liferay.portal.SystemException {
75 return getPersistence().update(dlFileRank, merge);
76 }
77
78 public static com.liferay.portlet.documentlibrary.model.DLFileRank updateImpl(
79 com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank,
80 boolean merge) throws com.liferay.portal.SystemException {
81 return getPersistence().updateImpl(dlFileRank, merge);
82 }
83
84 public static com.liferay.portlet.documentlibrary.model.DLFileRank findByPrimaryKey(
85 long fileRankId)
86 throws com.liferay.portal.SystemException,
87 com.liferay.portlet.documentlibrary.NoSuchFileRankException {
88 return getPersistence().findByPrimaryKey(fileRankId);
89 }
90
91 public static com.liferay.portlet.documentlibrary.model.DLFileRank fetchByPrimaryKey(
92 long fileRankId) throws com.liferay.portal.SystemException {
93 return getPersistence().fetchByPrimaryKey(fileRankId);
94 }
95
96 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByUserId(
97 long userId) throws com.liferay.portal.SystemException {
98 return getPersistence().findByUserId(userId);
99 }
100
101 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> 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.portlet.documentlibrary.model.DLFileRank> 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.portlet.documentlibrary.model.DLFileRank findByUserId_First(
115 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
116 throws com.liferay.portal.SystemException,
117 com.liferay.portlet.documentlibrary.NoSuchFileRankException {
118 return getPersistence().findByUserId_First(userId, obc);
119 }
120
121 public static com.liferay.portlet.documentlibrary.model.DLFileRank findByUserId_Last(
122 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
123 throws com.liferay.portal.SystemException,
124 com.liferay.portlet.documentlibrary.NoSuchFileRankException {
125 return getPersistence().findByUserId_Last(userId, obc);
126 }
127
128 public static com.liferay.portlet.documentlibrary.model.DLFileRank[] findByUserId_PrevAndNext(
129 long fileRankId, long userId,
130 com.liferay.portal.kernel.util.OrderByComparator obc)
131 throws com.liferay.portal.SystemException,
132 com.liferay.portlet.documentlibrary.NoSuchFileRankException {
133 return getPersistence().findByUserId_PrevAndNext(fileRankId, userId, obc);
134 }
135
136 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByF_N(
137 long folderId, java.lang.String name)
138 throws com.liferay.portal.SystemException {
139 return getPersistence().findByF_N(folderId, name);
140 }
141
142 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByF_N(
143 long folderId, java.lang.String name, int start, int end)
144 throws com.liferay.portal.SystemException {
145 return getPersistence().findByF_N(folderId, name, start, end);
146 }
147
148 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByF_N(
149 long folderId, java.lang.String name, int start, int end,
150 com.liferay.portal.kernel.util.OrderByComparator obc)
151 throws com.liferay.portal.SystemException {
152 return getPersistence().findByF_N(folderId, name, start, end, obc);
153 }
154
155 public static com.liferay.portlet.documentlibrary.model.DLFileRank findByF_N_First(
156 long folderId, java.lang.String name,
157 com.liferay.portal.kernel.util.OrderByComparator obc)
158 throws com.liferay.portal.SystemException,
159 com.liferay.portlet.documentlibrary.NoSuchFileRankException {
160 return getPersistence().findByF_N_First(folderId, name, obc);
161 }
162
163 public static com.liferay.portlet.documentlibrary.model.DLFileRank findByF_N_Last(
164 long folderId, java.lang.String name,
165 com.liferay.portal.kernel.util.OrderByComparator obc)
166 throws com.liferay.portal.SystemException,
167 com.liferay.portlet.documentlibrary.NoSuchFileRankException {
168 return getPersistence().findByF_N_Last(folderId, name, obc);
169 }
170
171 public static com.liferay.portlet.documentlibrary.model.DLFileRank[] findByF_N_PrevAndNext(
172 long fileRankId, long folderId, java.lang.String name,
173 com.liferay.portal.kernel.util.OrderByComparator obc)
174 throws com.liferay.portal.SystemException,
175 com.liferay.portlet.documentlibrary.NoSuchFileRankException {
176 return getPersistence()
177 .findByF_N_PrevAndNext(fileRankId, folderId, name, obc);
178 }
179
180 public static com.liferay.portlet.documentlibrary.model.DLFileRank findByC_U_F_N(
181 long companyId, long userId, long folderId, java.lang.String name)
182 throws com.liferay.portal.SystemException,
183 com.liferay.portlet.documentlibrary.NoSuchFileRankException {
184 return getPersistence().findByC_U_F_N(companyId, userId, folderId, name);
185 }
186
187 public static com.liferay.portlet.documentlibrary.model.DLFileRank fetchByC_U_F_N(
188 long companyId, long userId, long folderId, java.lang.String name)
189 throws com.liferay.portal.SystemException {
190 return getPersistence().fetchByC_U_F_N(companyId, userId, folderId, name);
191 }
192
193 public static java.util.List<Object> findWithDynamicQuery(
194 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
195 throws com.liferay.portal.SystemException {
196 return getPersistence().findWithDynamicQuery(dynamicQuery);
197 }
198
199 public static java.util.List<Object> findWithDynamicQuery(
200 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
201 int end) throws com.liferay.portal.SystemException {
202 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
203 }
204
205 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findAll()
206 throws com.liferay.portal.SystemException {
207 return getPersistence().findAll();
208 }
209
210 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findAll(
211 int start, int end) throws com.liferay.portal.SystemException {
212 return getPersistence().findAll(start, end);
213 }
214
215 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findAll(
216 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
217 throws com.liferay.portal.SystemException {
218 return getPersistence().findAll(start, end, obc);
219 }
220
221 public static void removeByUserId(long userId)
222 throws com.liferay.portal.SystemException {
223 getPersistence().removeByUserId(userId);
224 }
225
226 public static void removeByF_N(long folderId, java.lang.String name)
227 throws com.liferay.portal.SystemException {
228 getPersistence().removeByF_N(folderId, name);
229 }
230
231 public static void removeByC_U_F_N(long companyId, long userId,
232 long folderId, java.lang.String name)
233 throws com.liferay.portal.SystemException,
234 com.liferay.portlet.documentlibrary.NoSuchFileRankException {
235 getPersistence().removeByC_U_F_N(companyId, userId, folderId, name);
236 }
237
238 public static void removeAll() throws com.liferay.portal.SystemException {
239 getPersistence().removeAll();
240 }
241
242 public static int countByUserId(long userId)
243 throws com.liferay.portal.SystemException {
244 return getPersistence().countByUserId(userId);
245 }
246
247 public static int countByF_N(long folderId, java.lang.String name)
248 throws com.liferay.portal.SystemException {
249 return getPersistence().countByF_N(folderId, name);
250 }
251
252 public static int countByC_U_F_N(long companyId, long userId,
253 long folderId, java.lang.String name)
254 throws com.liferay.portal.SystemException {
255 return getPersistence().countByC_U_F_N(companyId, userId, folderId, name);
256 }
257
258 public static int countAll() throws com.liferay.portal.SystemException {
259 return getPersistence().countAll();
260 }
261
262 public static DLFileRankPersistence getPersistence() {
263 return _persistence;
264 }
265
266 public void setPersistence(DLFileRankPersistence persistence) {
267 _persistence = persistence;
268 }
269
270 private static DLFileRankPersistence _persistence;
271 }