1
22
23 package com.liferay.portlet.documentlibrary.service.persistence;
24
25
31 public interface DLFileEntryPersistence {
32 public com.liferay.portlet.documentlibrary.model.DLFileEntry create(
33 long fileEntryId);
34
35 public com.liferay.portlet.documentlibrary.model.DLFileEntry remove(
36 long fileEntryId)
37 throws com.liferay.portal.SystemException,
38 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
39
40 public com.liferay.portlet.documentlibrary.model.DLFileEntry remove(
41 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
42 throws com.liferay.portal.SystemException;
43
44 public com.liferay.portlet.documentlibrary.model.DLFileEntry update(
45 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
46 throws com.liferay.portal.SystemException;
47
48 public com.liferay.portlet.documentlibrary.model.DLFileEntry update(
49 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
50 boolean merge) throws com.liferay.portal.SystemException;
51
52 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateImpl(
53 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
54 boolean merge) throws com.liferay.portal.SystemException;
55
56 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByPrimaryKey(
57 long fileEntryId)
58 throws com.liferay.portal.SystemException,
59 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
60
61 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByPrimaryKey(
62 long fileEntryId) throws com.liferay.portal.SystemException;
63
64 public java.util.List findByUuid(java.lang.String uuid)
65 throws com.liferay.portal.SystemException;
66
67 public java.util.List findByUuid(java.lang.String uuid, int begin, int end)
68 throws com.liferay.portal.SystemException;
69
70 public java.util.List findByUuid(java.lang.String uuid, int begin, int end,
71 com.liferay.portal.kernel.util.OrderByComparator obc)
72 throws com.liferay.portal.SystemException;
73
74 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByUuid_First(
75 java.lang.String uuid,
76 com.liferay.portal.kernel.util.OrderByComparator obc)
77 throws com.liferay.portal.SystemException,
78 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
79
80 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByUuid_Last(
81 java.lang.String uuid,
82 com.liferay.portal.kernel.util.OrderByComparator obc)
83 throws com.liferay.portal.SystemException,
84 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
85
86 public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByUuid_PrevAndNext(
87 long fileEntryId, java.lang.String uuid,
88 com.liferay.portal.kernel.util.OrderByComparator obc)
89 throws com.liferay.portal.SystemException,
90 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
91
92 public java.util.List findByCompanyId(long companyId)
93 throws com.liferay.portal.SystemException;
94
95 public java.util.List findByCompanyId(long companyId, int begin, int end)
96 throws com.liferay.portal.SystemException;
97
98 public java.util.List findByCompanyId(long companyId, int begin, int end,
99 com.liferay.portal.kernel.util.OrderByComparator obc)
100 throws com.liferay.portal.SystemException;
101
102 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByCompanyId_First(
103 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
104 throws com.liferay.portal.SystemException,
105 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
106
107 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByCompanyId_Last(
108 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
109 throws com.liferay.portal.SystemException,
110 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
111
112 public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByCompanyId_PrevAndNext(
113 long fileEntryId, long companyId,
114 com.liferay.portal.kernel.util.OrderByComparator obc)
115 throws com.liferay.portal.SystemException,
116 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
117
118 public java.util.List findByFolderId(long folderId)
119 throws com.liferay.portal.SystemException;
120
121 public java.util.List findByFolderId(long folderId, int begin, int end)
122 throws com.liferay.portal.SystemException;
123
124 public java.util.List findByFolderId(long folderId, int begin, int end,
125 com.liferay.portal.kernel.util.OrderByComparator obc)
126 throws com.liferay.portal.SystemException;
127
128 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByFolderId_First(
129 long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
130 throws com.liferay.portal.SystemException,
131 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
132
133 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByFolderId_Last(
134 long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
135 throws com.liferay.portal.SystemException,
136 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
137
138 public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByFolderId_PrevAndNext(
139 long fileEntryId, long folderId,
140 com.liferay.portal.kernel.util.OrderByComparator obc)
141 throws com.liferay.portal.SystemException,
142 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
143
144 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByF_N(
145 long folderId, java.lang.String name)
146 throws com.liferay.portal.SystemException,
147 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
148
149 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByF_N(
150 long folderId, java.lang.String name)
151 throws com.liferay.portal.SystemException;
152
153 public java.util.List findByF_T(long folderId, java.lang.String title)
154 throws com.liferay.portal.SystemException;
155
156 public java.util.List findByF_T(long folderId, java.lang.String title,
157 int begin, int end) throws com.liferay.portal.SystemException;
158
159 public java.util.List findByF_T(long folderId, java.lang.String title,
160 int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
161 throws com.liferay.portal.SystemException;
162
163 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByF_T_First(
164 long folderId, java.lang.String title,
165 com.liferay.portal.kernel.util.OrderByComparator obc)
166 throws com.liferay.portal.SystemException,
167 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
168
169 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByF_T_Last(
170 long folderId, java.lang.String title,
171 com.liferay.portal.kernel.util.OrderByComparator obc)
172 throws com.liferay.portal.SystemException,
173 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
174
175 public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByF_T_PrevAndNext(
176 long fileEntryId, long folderId, java.lang.String title,
177 com.liferay.portal.kernel.util.OrderByComparator obc)
178 throws com.liferay.portal.SystemException,
179 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
180
181 public java.util.List findWithDynamicQuery(
182 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
183 throws com.liferay.portal.SystemException;
184
185 public java.util.List findWithDynamicQuery(
186 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
187 int begin, int end) throws com.liferay.portal.SystemException;
188
189 public java.util.List findAll() throws com.liferay.portal.SystemException;
190
191 public java.util.List findAll(int begin, int end)
192 throws com.liferay.portal.SystemException;
193
194 public java.util.List findAll(int begin, int end,
195 com.liferay.portal.kernel.util.OrderByComparator obc)
196 throws com.liferay.portal.SystemException;
197
198 public void removeByUuid(java.lang.String uuid)
199 throws com.liferay.portal.SystemException;
200
201 public void removeByCompanyId(long companyId)
202 throws com.liferay.portal.SystemException;
203
204 public void removeByFolderId(long folderId)
205 throws com.liferay.portal.SystemException;
206
207 public void removeByF_N(long folderId, java.lang.String name)
208 throws com.liferay.portal.SystemException,
209 com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
210
211 public void removeByF_T(long folderId, java.lang.String title)
212 throws com.liferay.portal.SystemException;
213
214 public void removeAll() throws com.liferay.portal.SystemException;
215
216 public int countByUuid(java.lang.String uuid)
217 throws com.liferay.portal.SystemException;
218
219 public int countByCompanyId(long companyId)
220 throws com.liferay.portal.SystemException;
221
222 public int countByFolderId(long folderId)
223 throws com.liferay.portal.SystemException;
224
225 public int countByF_N(long folderId, java.lang.String name)
226 throws com.liferay.portal.SystemException;
227
228 public int countByF_T(long folderId, java.lang.String title)
229 throws com.liferay.portal.SystemException;
230
231 public int countAll() throws com.liferay.portal.SystemException;
232 }