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