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