1
22
23 package com.liferay.portlet.documentlibrary.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27
40 public interface DLFileRankPersistence extends BasePersistence {
41 public void cacheResult(
42 com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank);
43
44 public void cacheResult(
45 java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> dlFileRanks);
46
47 public void clearCache();
48
49 public com.liferay.portlet.documentlibrary.model.DLFileRank create(
50 long fileRankId);
51
52 public com.liferay.portlet.documentlibrary.model.DLFileRank remove(
53 long fileRankId)
54 throws com.liferay.portal.SystemException,
55 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
56
57 public com.liferay.portlet.documentlibrary.model.DLFileRank remove(
58 com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank)
59 throws com.liferay.portal.SystemException;
60
61
64 public com.liferay.portlet.documentlibrary.model.DLFileRank update(
65 com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank)
66 throws com.liferay.portal.SystemException;
67
68
80 public com.liferay.portlet.documentlibrary.model.DLFileRank update(
81 com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank,
82 boolean merge) throws com.liferay.portal.SystemException;
83
84 public com.liferay.portlet.documentlibrary.model.DLFileRank updateImpl(
85 com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank,
86 boolean merge) throws com.liferay.portal.SystemException;
87
88 public com.liferay.portlet.documentlibrary.model.DLFileRank findByPrimaryKey(
89 long fileRankId)
90 throws com.liferay.portal.SystemException,
91 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
92
93 public com.liferay.portlet.documentlibrary.model.DLFileRank fetchByPrimaryKey(
94 long fileRankId) throws com.liferay.portal.SystemException;
95
96 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByUserId(
97 long userId) throws com.liferay.portal.SystemException;
98
99 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByUserId(
100 long userId, int start, int end)
101 throws com.liferay.portal.SystemException;
102
103 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByUserId(
104 long userId, int start, int end,
105 com.liferay.portal.kernel.util.OrderByComparator obc)
106 throws com.liferay.portal.SystemException;
107
108 public com.liferay.portlet.documentlibrary.model.DLFileRank findByUserId_First(
109 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
110 throws com.liferay.portal.SystemException,
111 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
112
113 public com.liferay.portlet.documentlibrary.model.DLFileRank findByUserId_Last(
114 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
115 throws com.liferay.portal.SystemException,
116 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
117
118 public com.liferay.portlet.documentlibrary.model.DLFileRank[] findByUserId_PrevAndNext(
119 long fileRankId, long userId,
120 com.liferay.portal.kernel.util.OrderByComparator obc)
121 throws com.liferay.portal.SystemException,
122 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
123
124 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByG_U(
125 long groupId, long userId) throws com.liferay.portal.SystemException;
126
127 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByG_U(
128 long groupId, long userId, int start, int end)
129 throws com.liferay.portal.SystemException;
130
131 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByG_U(
132 long groupId, long userId, int start, int end,
133 com.liferay.portal.kernel.util.OrderByComparator obc)
134 throws com.liferay.portal.SystemException;
135
136 public com.liferay.portlet.documentlibrary.model.DLFileRank findByG_U_First(
137 long groupId, long userId,
138 com.liferay.portal.kernel.util.OrderByComparator obc)
139 throws com.liferay.portal.SystemException,
140 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
141
142 public com.liferay.portlet.documentlibrary.model.DLFileRank findByG_U_Last(
143 long groupId, long userId,
144 com.liferay.portal.kernel.util.OrderByComparator obc)
145 throws com.liferay.portal.SystemException,
146 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
147
148 public com.liferay.portlet.documentlibrary.model.DLFileRank[] findByG_U_PrevAndNext(
149 long fileRankId, long groupId, long userId,
150 com.liferay.portal.kernel.util.OrderByComparator obc)
151 throws com.liferay.portal.SystemException,
152 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
153
154 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByF_N(
155 long folderId, java.lang.String name)
156 throws com.liferay.portal.SystemException;
157
158 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByF_N(
159 long folderId, java.lang.String name, int start, int end)
160 throws com.liferay.portal.SystemException;
161
162 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByF_N(
163 long folderId, java.lang.String name, int start, int end,
164 com.liferay.portal.kernel.util.OrderByComparator obc)
165 throws com.liferay.portal.SystemException;
166
167 public com.liferay.portlet.documentlibrary.model.DLFileRank findByF_N_First(
168 long folderId, java.lang.String name,
169 com.liferay.portal.kernel.util.OrderByComparator obc)
170 throws com.liferay.portal.SystemException,
171 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
172
173 public com.liferay.portlet.documentlibrary.model.DLFileRank findByF_N_Last(
174 long folderId, java.lang.String name,
175 com.liferay.portal.kernel.util.OrderByComparator obc)
176 throws com.liferay.portal.SystemException,
177 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
178
179 public com.liferay.portlet.documentlibrary.model.DLFileRank[] findByF_N_PrevAndNext(
180 long fileRankId, long folderId, java.lang.String name,
181 com.liferay.portal.kernel.util.OrderByComparator obc)
182 throws com.liferay.portal.SystemException,
183 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
184
185 public com.liferay.portlet.documentlibrary.model.DLFileRank findByC_U_F_N(
186 long companyId, long userId, long folderId, java.lang.String name)
187 throws com.liferay.portal.SystemException,
188 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
189
190 public com.liferay.portlet.documentlibrary.model.DLFileRank fetchByC_U_F_N(
191 long companyId, long userId, long folderId, java.lang.String name)
192 throws com.liferay.portal.SystemException;
193
194 public com.liferay.portlet.documentlibrary.model.DLFileRank fetchByC_U_F_N(
195 long companyId, long userId, long folderId, java.lang.String name,
196 boolean retrieveFromCache) throws com.liferay.portal.SystemException;
197
198 public java.util.List<Object> findWithDynamicQuery(
199 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
200 throws com.liferay.portal.SystemException;
201
202 public java.util.List<Object> findWithDynamicQuery(
203 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
204 int end) throws com.liferay.portal.SystemException;
205
206 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findAll()
207 throws com.liferay.portal.SystemException;
208
209 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findAll(
210 int start, int end) throws com.liferay.portal.SystemException;
211
212 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findAll(
213 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
214 throws com.liferay.portal.SystemException;
215
216 public void removeByUserId(long userId)
217 throws com.liferay.portal.SystemException;
218
219 public void removeByG_U(long groupId, long userId)
220 throws com.liferay.portal.SystemException;
221
222 public void removeByF_N(long folderId, java.lang.String name)
223 throws com.liferay.portal.SystemException;
224
225 public void removeByC_U_F_N(long companyId, long userId, long folderId,
226 java.lang.String name)
227 throws com.liferay.portal.SystemException,
228 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
229
230 public void removeAll() throws com.liferay.portal.SystemException;
231
232 public int countByUserId(long userId)
233 throws com.liferay.portal.SystemException;
234
235 public int countByG_U(long groupId, long userId)
236 throws com.liferay.portal.SystemException;
237
238 public int countByF_N(long folderId, java.lang.String name)
239 throws com.liferay.portal.SystemException;
240
241 public int countByC_U_F_N(long companyId, long userId, long folderId,
242 java.lang.String name) throws com.liferay.portal.SystemException;
243
244 public int countAll() throws com.liferay.portal.SystemException;
245 }