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 obc)
78 throws com.liferay.portal.SystemException;
79
80 public com.liferay.portlet.documentlibrary.model.DLFileRank findByUserId_First(
81 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
82 throws com.liferay.portal.SystemException,
83 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
84
85 public com.liferay.portlet.documentlibrary.model.DLFileRank findByUserId_Last(
86 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
87 throws com.liferay.portal.SystemException,
88 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
89
90 public com.liferay.portlet.documentlibrary.model.DLFileRank[] findByUserId_PrevAndNext(
91 long fileRankId, long userId,
92 com.liferay.portal.kernel.util.OrderByComparator obc)
93 throws com.liferay.portal.SystemException,
94 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
95
96 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByG_U(
97 long groupId, long userId) throws com.liferay.portal.SystemException;
98
99 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByG_U(
100 long groupId, long userId, int start, int end)
101 throws com.liferay.portal.SystemException;
102
103 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByG_U(
104 long groupId, 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 findByG_U_First(
109 long groupId, long userId,
110 com.liferay.portal.kernel.util.OrderByComparator obc)
111 throws com.liferay.portal.SystemException,
112 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
113
114 public com.liferay.portlet.documentlibrary.model.DLFileRank findByG_U_Last(
115 long groupId, long userId,
116 com.liferay.portal.kernel.util.OrderByComparator obc)
117 throws com.liferay.portal.SystemException,
118 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
119
120 public com.liferay.portlet.documentlibrary.model.DLFileRank[] findByG_U_PrevAndNext(
121 long fileRankId, long groupId, long userId,
122 com.liferay.portal.kernel.util.OrderByComparator obc)
123 throws com.liferay.portal.SystemException,
124 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
125
126 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByF_N(
127 long folderId, java.lang.String name)
128 throws com.liferay.portal.SystemException;
129
130 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByF_N(
131 long folderId, java.lang.String name, int start, int end)
132 throws com.liferay.portal.SystemException;
133
134 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findByF_N(
135 long folderId, java.lang.String name, int start, int end,
136 com.liferay.portal.kernel.util.OrderByComparator obc)
137 throws com.liferay.portal.SystemException;
138
139 public com.liferay.portlet.documentlibrary.model.DLFileRank findByF_N_First(
140 long folderId, java.lang.String name,
141 com.liferay.portal.kernel.util.OrderByComparator obc)
142 throws com.liferay.portal.SystemException,
143 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
144
145 public com.liferay.portlet.documentlibrary.model.DLFileRank findByF_N_Last(
146 long folderId, java.lang.String name,
147 com.liferay.portal.kernel.util.OrderByComparator obc)
148 throws com.liferay.portal.SystemException,
149 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
150
151 public com.liferay.portlet.documentlibrary.model.DLFileRank[] findByF_N_PrevAndNext(
152 long fileRankId, long folderId, java.lang.String name,
153 com.liferay.portal.kernel.util.OrderByComparator obc)
154 throws com.liferay.portal.SystemException,
155 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
156
157 public com.liferay.portlet.documentlibrary.model.DLFileRank findByC_U_F_N(
158 long companyId, long userId, long folderId, java.lang.String name)
159 throws com.liferay.portal.SystemException,
160 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
161
162 public com.liferay.portlet.documentlibrary.model.DLFileRank fetchByC_U_F_N(
163 long companyId, long userId, long folderId, java.lang.String name)
164 throws com.liferay.portal.SystemException;
165
166 public com.liferay.portlet.documentlibrary.model.DLFileRank fetchByC_U_F_N(
167 long companyId, long userId, long folderId, java.lang.String name,
168 boolean retrieveFromCache) throws com.liferay.portal.SystemException;
169
170 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findAll()
171 throws com.liferay.portal.SystemException;
172
173 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findAll(
174 int start, int end) throws com.liferay.portal.SystemException;
175
176 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileRank> findAll(
177 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
178 throws com.liferay.portal.SystemException;
179
180 public void removeByUserId(long userId)
181 throws com.liferay.portal.SystemException;
182
183 public void removeByG_U(long groupId, long userId)
184 throws com.liferay.portal.SystemException;
185
186 public void removeByF_N(long folderId, java.lang.String name)
187 throws com.liferay.portal.SystemException;
188
189 public void removeByC_U_F_N(long companyId, long userId, long folderId,
190 java.lang.String name)
191 throws com.liferay.portal.SystemException,
192 com.liferay.portlet.documentlibrary.NoSuchFileRankException;
193
194 public void removeAll() throws com.liferay.portal.SystemException;
195
196 public int countByUserId(long userId)
197 throws com.liferay.portal.SystemException;
198
199 public int countByG_U(long groupId, long userId)
200 throws com.liferay.portal.SystemException;
201
202 public int countByF_N(long folderId, java.lang.String name)
203 throws com.liferay.portal.SystemException;
204
205 public int countByC_U_F_N(long companyId, long userId, long folderId,
206 java.lang.String name) throws com.liferay.portal.SystemException;
207
208 public int countAll() throws com.liferay.portal.SystemException;
209 }