1
22
23 package com.liferay.portlet.blogs.service;
24
25
26
51 public interface BlogsEntryLocalService {
52 public com.liferay.portlet.blogs.model.BlogsEntry addBlogsEntry(
53 com.liferay.portlet.blogs.model.BlogsEntry model)
54 throws com.liferay.portal.SystemException;
55
56 public java.util.List dynamicQuery(
57 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
58 throws com.liferay.portal.SystemException;
59
60 public java.util.List dynamicQuery(
61 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
62 int begin, int end) throws com.liferay.portal.SystemException;
63
64 public com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(
65 com.liferay.portlet.blogs.model.BlogsEntry model)
66 throws com.liferay.portal.SystemException;
67
68 public com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence getBlogsEntryPersistence();
69
70 public void setBlogsEntryPersistence(
71 com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence blogsEntryPersistence);
72
73 public com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder getBlogsEntryFinder();
74
75 public void setBlogsEntryFinder(
76 com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder blogsEntryFinder);
77
78 public com.liferay.portlet.blogs.service.persistence.BlogsStatsUserPersistence getBlogsStatsUserPersistence();
79
80 public void setBlogsStatsUserPersistence(
81 com.liferay.portlet.blogs.service.persistence.BlogsStatsUserPersistence blogsStatsUserPersistence);
82
83 public com.liferay.portlet.blogs.service.persistence.BlogsStatsUserFinder getBlogsStatsUserFinder();
84
85 public void setBlogsStatsUserFinder(
86 com.liferay.portlet.blogs.service.persistence.BlogsStatsUserFinder blogsStatsUserFinder);
87
88 public com.liferay.portal.service.persistence.CompanyPersistence getCompanyPersistence();
89
90 public void setCompanyPersistence(
91 com.liferay.portal.service.persistence.CompanyPersistence companyPersistence);
92
93 public com.liferay.portal.service.persistence.GroupPersistence getGroupPersistence();
94
95 public void setGroupPersistence(
96 com.liferay.portal.service.persistence.GroupPersistence groupPersistence);
97
98 public com.liferay.portal.service.persistence.GroupFinder getGroupFinder();
99
100 public void setGroupFinder(
101 com.liferay.portal.service.persistence.GroupFinder groupFinder);
102
103 public com.liferay.portal.service.persistence.OrganizationPersistence getOrganizationPersistence();
104
105 public void setOrganizationPersistence(
106 com.liferay.portal.service.persistence.OrganizationPersistence organizationPersistence);
107
108 public com.liferay.portal.service.persistence.OrganizationFinder getOrganizationFinder();
109
110 public void setOrganizationFinder(
111 com.liferay.portal.service.persistence.OrganizationFinder organizationFinder);
112
113 public com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence();
114
115 public void setResourcePersistence(
116 com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence);
117
118 public com.liferay.portal.service.persistence.ResourceFinder getResourceFinder();
119
120 public void setResourceFinder(
121 com.liferay.portal.service.persistence.ResourceFinder resourceFinder);
122
123 public com.liferay.portal.service.persistence.UserPersistence getUserPersistence();
124
125 public void setUserPersistence(
126 com.liferay.portal.service.persistence.UserPersistence userPersistence);
127
128 public com.liferay.portal.service.persistence.UserFinder getUserFinder();
129
130 public void setUserFinder(
131 com.liferay.portal.service.persistence.UserFinder userFinder);
132
133 public com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence getMBMessagePersistence();
134
135 public void setMBMessagePersistence(
136 com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence mbMessagePersistence);
137
138 public com.liferay.portlet.messageboards.service.persistence.MBMessageFinder getMBMessageFinder();
139
140 public void setMBMessageFinder(
141 com.liferay.portlet.messageboards.service.persistence.MBMessageFinder mbMessageFinder);
142
143 public com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence getRatingsStatsPersistence();
144
145 public void setRatingsStatsPersistence(
146 com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence ratingsStatsPersistence);
147
148 public com.liferay.portlet.tags.service.persistence.TagsAssetPersistence getTagsAssetPersistence();
149
150 public void setTagsAssetPersistence(
151 com.liferay.portlet.tags.service.persistence.TagsAssetPersistence tagsAssetPersistence);
152
153 public com.liferay.portlet.tags.service.persistence.TagsAssetFinder getTagsAssetFinder();
154
155 public void setTagsAssetFinder(
156 com.liferay.portlet.tags.service.persistence.TagsAssetFinder tagsAssetFinder);
157
158 public com.liferay.portlet.tags.service.persistence.TagsEntryPersistence getTagsEntryPersistence();
159
160 public void setTagsEntryPersistence(
161 com.liferay.portlet.tags.service.persistence.TagsEntryPersistence tagsEntryPersistence);
162
163 public com.liferay.portlet.tags.service.persistence.TagsEntryFinder getTagsEntryFinder();
164
165 public void setTagsEntryFinder(
166 com.liferay.portlet.tags.service.persistence.TagsEntryFinder tagsEntryFinder);
167
168 public void afterPropertiesSet();
169
170 public com.liferay.portlet.blogs.model.BlogsEntry addEntry(long userId,
171 long plid, java.lang.String title, java.lang.String content,
172 int displayDateMonth, int displayDateDay, int displayDateYear,
173 int displayDateHour, int displayDateMinute,
174 java.lang.String[] tagsEntries, boolean addCommunityPermissions,
175 boolean addGuestPermissions,
176 com.liferay.portal.theme.ThemeDisplay themeDisplay)
177 throws com.liferay.portal.SystemException,
178 com.liferay.portal.PortalException;
179
180 public com.liferay.portlet.blogs.model.BlogsEntry addEntry(
181 java.lang.String uuid, long userId, long plid, java.lang.String title,
182 java.lang.String content, int displayDateMonth, int displayDateDay,
183 int displayDateYear, int displayDateHour, int displayDateMinute,
184 java.lang.String[] tagsEntries, boolean addCommunityPermissions,
185 boolean addGuestPermissions,
186 com.liferay.portal.theme.ThemeDisplay themeDisplay)
187 throws com.liferay.portal.SystemException,
188 com.liferay.portal.PortalException;
189
190 public com.liferay.portlet.blogs.model.BlogsEntry addEntry(long userId,
191 long plid, java.lang.String title, java.lang.String content,
192 int displayDateMonth, int displayDateDay, int displayDateYear,
193 int displayDateHour, int displayDateMinute,
194 java.lang.String[] tagsEntries,
195 java.lang.String[] communityPermissions,
196 java.lang.String[] guestPermissions,
197 com.liferay.portal.theme.ThemeDisplay themeDisplay)
198 throws com.liferay.portal.SystemException,
199 com.liferay.portal.PortalException;
200
201 public com.liferay.portlet.blogs.model.BlogsEntry addEntry(
202 java.lang.String uuid, long userId, long plid, java.lang.String title,
203 java.lang.String content, int displayDateMonth, int displayDateDay,
204 int displayDateYear, int displayDateHour, int displayDateMinute,
205 java.lang.String[] tagsEntries,
206 java.lang.Boolean addCommunityPermissions,
207 java.lang.Boolean addGuestPermissions,
208 java.lang.String[] communityPermissions,
209 java.lang.String[] guestPermissions,
210 com.liferay.portal.theme.ThemeDisplay themeDisplay)
211 throws com.liferay.portal.SystemException,
212 com.liferay.portal.PortalException;
213
214 public void addEntryResources(long entryId,
215 boolean addCommunityPermissions, boolean addGuestPermissions)
216 throws com.liferay.portal.SystemException,
217 com.liferay.portal.PortalException;
218
219 public void addEntryResources(
220 com.liferay.portlet.blogs.model.BlogsEntry entry,
221 boolean addCommunityPermissions, boolean addGuestPermissions)
222 throws com.liferay.portal.SystemException,
223 com.liferay.portal.PortalException;
224
225 public void addEntryResources(long entryId,
226 java.lang.String[] communityPermissions,
227 java.lang.String[] guestPermissions)
228 throws com.liferay.portal.SystemException,
229 com.liferay.portal.PortalException;
230
231 public void addEntryResources(
232 com.liferay.portlet.blogs.model.BlogsEntry entry,
233 java.lang.String[] communityPermissions,
234 java.lang.String[] guestPermissions)
235 throws com.liferay.portal.SystemException,
236 com.liferay.portal.PortalException;
237
238 public void deleteEntries(long groupId)
239 throws com.liferay.portal.SystemException,
240 com.liferay.portal.PortalException;
241
242 public void deleteEntry(long entryId)
243 throws com.liferay.portal.SystemException,
244 com.liferay.portal.PortalException;
245
246 public void deleteEntry(com.liferay.portlet.blogs.model.BlogsEntry entry)
247 throws com.liferay.portal.SystemException,
248 com.liferay.portal.PortalException;
249
250 public java.util.List getCompanyEntries(long companyId, int begin, int end)
251 throws com.liferay.portal.SystemException;
252
253 public java.util.List getCompanyEntries(long companyId, int begin, int end,
254 com.liferay.portal.kernel.util.OrderByComparator obc)
255 throws com.liferay.portal.SystemException;
256
257 public int getCompanyEntriesCount(long companyId)
258 throws com.liferay.portal.SystemException;
259
260 public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
261 throws com.liferay.portal.SystemException,
262 com.liferay.portal.PortalException;
263
264 public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
265 java.lang.String urlTitle)
266 throws com.liferay.portal.SystemException,
267 com.liferay.portal.PortalException;
268
269 public java.util.List getGroupEntries(long groupId, int begin, int end)
270 throws com.liferay.portal.SystemException;
271
272 public java.util.List getGroupEntries(long groupId, int begin, int end,
273 com.liferay.portal.kernel.util.OrderByComparator obc)
274 throws com.liferay.portal.SystemException;
275
276 public int getGroupEntriesCount(long groupId)
277 throws com.liferay.portal.SystemException;
278
279 public java.util.List getGroupUserEntries(long groupId, long userId,
280 int begin, int end) throws com.liferay.portal.SystemException;
281
282 public int getGroupUserEntriesCount(long groupId, long userId)
283 throws com.liferay.portal.SystemException;
284
285 public java.util.List getNoAssetEntries()
286 throws com.liferay.portal.SystemException;
287
288 public java.util.List getOrganizationEntries(long organizationId,
289 int begin, int end) throws com.liferay.portal.SystemException;
290
291 public int getOrganizationEntriesCount(long organizationId)
292 throws com.liferay.portal.SystemException;
293
294 public java.lang.String getUrlTitle(long entryId, java.lang.String title);
295
296 public void reIndex(java.lang.String[] ids)
297 throws com.liferay.portal.SystemException;
298
299 public com.liferay.portal.kernel.search.Hits search(long companyId,
300 long groupId, long userId, java.lang.String keywords)
301 throws com.liferay.portal.SystemException;
302
303 public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(long userId,
304 long entryId, java.lang.String title, java.lang.String content,
305 int displayDateMonth, int displayDateDay, int displayDateYear,
306 int displayDateHour, int displayDateMinute,
307 java.lang.String[] tagsEntries,
308 com.liferay.portal.theme.ThemeDisplay themeDisplay)
309 throws com.liferay.portal.SystemException,
310 com.liferay.portal.PortalException;
311
312 public void updateTagsAsset(long userId,
313 com.liferay.portlet.blogs.model.BlogsEntry entry,
314 java.lang.String[] tagsEntries)
315 throws com.liferay.portal.SystemException,
316 com.liferay.portal.PortalException;
317 }