1
22
23 package com.liferay.portlet.documentlibrary.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27 import com.liferay.portlet.documentlibrary.model.DLFileRank;
28
29
42 public interface DLFileRankPersistence extends BasePersistence<DLFileRank> {
43 public void cacheResult(
44 com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank);
45
46 public void cacheResult(
47 java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> dlFileRanks);
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
60 public com.liferay.portlet.documentlibrary.model.DLFileRank update(
61 com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank)
62 throws com.liferay.portal.SystemException;
63
64 public com.liferay.portlet.documentlibrary.model.DLFileRank updateImpl(
65 com.liferay.portlet.documentlibrary.model.DLFileRank dlFileRank,
66 boolean merge) throws com.liferay.portal.SystemException;
67
68 public com.liferay.portlet.documentlibrary.model.DLFileRank findByPrimaryKey(
69 long fileRankId)
70 throws com.liferay.portal.SystemException,
71 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
72
73 public com.liferay.portlet.documentlibrary.model.DLFileRank fetchByPrimaryKey(
74 long fileRankId) throws com.liferay.portal.SystemException;
75
76 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByUserId(
77 long userId) throws com.liferay.portal.SystemException;
78
79 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByUserId(
80 long userId, int start, int end)
81 throws com.liferay.portal.SystemException;
82
83 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByUserId(
84 long userId, int start, int end,
85 com.liferay.portal.kernel.util.OrderByComparator obc)
86 throws com.liferay.portal.SystemException;
87
88 public com.liferay.portlet.documentlibrary.model.DLFileRank findByUserId_First(
89 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
90 throws com.liferay.portal.SystemException,
91 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
92
93 public com.liferay.portlet.documentlibrary.model.DLFileRank findByUserId_Last(
94 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
95 throws com.liferay.portal.SystemException,
96 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
97
98 public com.liferay.portlet.documentlibrary.model.DLFileRank[] findByUserId_PrevAndNext(
99 long fileRankId, long userId,
100 com.liferay.portal.kernel.util.OrderByComparator obc)
101 throws com.liferay.portal.SystemException,
102 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
103
104 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByG_U(
105 long groupId, long userId) throws com.liferay.portal.SystemException;
106
107 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByG_U(
108 long groupId, long userId, int start, int end)
109 throws com.liferay.portal.SystemException;
110
111 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByG_U(
112 long groupId, long userId, int start, int end,
113 com.liferay.portal.kernel.util.OrderByComparator obc)
114 throws com.liferay.portal.SystemException;
115
116 public com.liferay.portlet.documentlibrary.model.DLFileRank findByG_U_First(
117 long groupId, long userId,
118 com.liferay.portal.kernel.util.OrderByComparator obc)
119 throws com.liferay.portal.SystemException,
120 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
121
122 public com.liferay.portlet.documentlibrary.model.DLFileRank findByG_U_Last(
123 long groupId, long userId,
124 com.liferay.portal.kernel.util.OrderByComparator obc)
125 throws com.liferay.portal.SystemException,
126 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
127
128 public com.liferay.portlet.documentlibrary.model.DLFileRank[] findByG_U_PrevAndNext(
129 long fileRankId, long groupId, long userId,
130 com.liferay.portal.kernel.util.OrderByComparator obc)
131 throws com.liferay.portal.SystemException,
132 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
133
134 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByF_N(
135 long folderId, java.lang.String name)
136 throws com.liferay.portal.SystemException;
137
138 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByF_N(
139 long folderId, java.lang.String name, int start, int end)
140 throws com.liferay.portal.SystemException;
141
142 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByF_N(
143 long folderId, java.lang.String name, int start, int end,
144 com.liferay.portal.kernel.util.OrderByComparator obc)
145 throws com.liferay.portal.SystemException;
146
147 public com.liferay.portlet.documentlibrary.model.DLFileRank findByF_N_First(
148 long folderId, java.lang.String name,
149 com.liferay.portal.kernel.util.OrderByComparator obc)
150 throws com.liferay.portal.SystemException,
151 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
152
153 public com.liferay.portlet.documentlibrary.model.DLFileRank findByF_N_Last(
154 long folderId, java.lang.String name,
155 com.liferay.portal.kernel.util.OrderByComparator obc)
156 throws com.liferay.portal.SystemException,
157 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
158
159 public com.liferay.portlet.documentlibrary.model.DLFileRank[] findByF_N_PrevAndNext(
160 long fileRankId, long folderId, java.lang.String name,
161 com.liferay.portal.kernel.util.OrderByComparator obc)
162 throws com.liferay.portal.SystemException,
163 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
164
165 public com.liferay.portlet.documentlibrary.model.DLFileRank findByC_U_F_N(
166 long companyId, long userId, long folderId, java.lang.String name)
167 throws com.liferay.portal.SystemException,
168 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
169
170 public com.liferay.portlet.documentlibrary.model.DLFileRank fetchByC_U_F_N(
171 long companyId, long userId, long folderId, java.lang.String name)
172 throws com.liferay.portal.SystemException;
173
174 public com.liferay.portlet.documentlibrary.model.DLFileRank fetchByC_U_F_N(
175 long companyId, long userId, long folderId, java.lang.String name,
176 boolean retrieveFromCache) throws com.liferay.portal.SystemException;
177
178 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findAll()
179 throws com.liferay.portal.SystemException;
180
181 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findAll(
182 int start, int end) throws com.liferay.portal.SystemException;
183
184 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findAll(
185 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
186 throws com.liferay.portal.SystemException;
187
188 public void removeByUserId(long userId)
189 throws com.liferay.portal.SystemException;
190
191 public void removeByG_U(long groupId, long userId)
192 throws com.liferay.portal.SystemException;
193
194 public void removeByF_N(long folderId, java.lang.String name)
195 throws com.liferay.portal.SystemException;
196
197 public void removeByC_U_F_N(long companyId, long userId, long folderId,
198 java.lang.String name)
199 throws com.liferay.portal.SystemException,
200 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
201
202 public void removeAll() throws com.liferay.portal.SystemException;
203
204 public int countByUserId(long userId)
205 throws com.liferay.portal.SystemException;
206
207 public int countByG_U(long groupId, long userId)
208 throws com.liferay.portal.SystemException;
209
210 public int countByF_N(long folderId, java.lang.String name)
211 throws com.liferay.portal.SystemException;
212
213 public int countByC_U_F_N(long companyId, long userId, long folderId,
214 java.lang.String name) throws com.liferay.portal.SystemException;
215
216 public int countAll() throws com.liferay.portal.SystemException;
217 }