1
22
23 package com.liferay.portlet.blogs.service;
24
25
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.model.BlogsEntry addEntry(long userId,
69 long plid, long categoryId, java.lang.String title,
70 java.lang.String content, int displayDateMonth, int displayDateDay,
71 int displayDateYear, int displayDateHour, int displayDateMinute,
72 com.liferay.portal.theme.ThemeDisplay themeDisplay,
73 java.lang.String[] tagsEntries, boolean addCommunityPermissions,
74 boolean addGuestPermissions)
75 throws com.liferay.portal.SystemException,
76 com.liferay.portal.PortalException;
77
78 public com.liferay.portlet.blogs.model.BlogsEntry addEntry(long userId,
79 long plid, long categoryId, java.lang.String title,
80 java.lang.String content, int displayDateMonth, int displayDateDay,
81 int displayDateYear, int displayDateHour, int displayDateMinute,
82 com.liferay.portal.theme.ThemeDisplay themeDisplay,
83 java.lang.String[] tagsEntries,
84 java.lang.String[] communityPermissions,
85 java.lang.String[] guestPermissions)
86 throws com.liferay.portal.SystemException,
87 com.liferay.portal.PortalException;
88
89 public com.liferay.portlet.blogs.model.BlogsEntry addEntry(long userId,
90 long plid, long categoryId, java.lang.String title,
91 java.lang.String content, int displayDateMonth, int displayDateDay,
92 int displayDateYear, int displayDateHour, int displayDateMinute,
93 com.liferay.portal.theme.ThemeDisplay themeDisplay,
94 java.lang.String[] tagsEntries,
95 java.lang.Boolean addCommunityPermissions,
96 java.lang.Boolean addGuestPermissions,
97 java.lang.String[] communityPermissions,
98 java.lang.String[] guestPermissions)
99 throws com.liferay.portal.SystemException,
100 com.liferay.portal.PortalException;
101
102 public void addEntryResources(long entryId,
103 boolean addCommunityPermissions, boolean addGuestPermissions)
104 throws com.liferay.portal.SystemException,
105 com.liferay.portal.PortalException;
106
107 public void addEntryResources(
108 com.liferay.portlet.blogs.model.BlogsEntry entry,
109 boolean addCommunityPermissions, boolean addGuestPermissions)
110 throws com.liferay.portal.SystemException,
111 com.liferay.portal.PortalException;
112
113 public void addEntryResources(long entryId,
114 java.lang.String[] communityPermissions,
115 java.lang.String[] guestPermissions)
116 throws com.liferay.portal.SystemException,
117 com.liferay.portal.PortalException;
118
119 public void addEntryResources(
120 com.liferay.portlet.blogs.model.BlogsEntry entry,
121 java.lang.String[] communityPermissions,
122 java.lang.String[] guestPermissions)
123 throws com.liferay.portal.SystemException,
124 com.liferay.portal.PortalException;
125
126 public void deleteEntries(long groupId)
127 throws com.liferay.portal.SystemException,
128 com.liferay.portal.PortalException;
129
130 public void deleteEntry(long entryId)
131 throws com.liferay.portal.SystemException,
132 com.liferay.portal.PortalException;
133
134 public void deleteEntry(com.liferay.portlet.blogs.model.BlogsEntry entry)
135 throws com.liferay.portal.SystemException,
136 com.liferay.portal.PortalException;
137
138 public int getCategoriesEntriesCount(java.util.List categoryIds)
139 throws com.liferay.portal.SystemException;
140
141 public java.util.List getCompanyEntries(long companyId, int begin, int end)
142 throws com.liferay.portal.SystemException;
143
144 public java.util.List getCompanyEntries(long companyId, int begin, int end,
145 com.liferay.portal.kernel.util.OrderByComparator obc)
146 throws com.liferay.portal.SystemException;
147
148 public int getCompanyEntriesCount(long companyId)
149 throws com.liferay.portal.SystemException;
150
151 public java.util.List getEntries(long categoryId, int begin, int end)
152 throws com.liferay.portal.SystemException;
153
154 public int getEntriesCount(long categoryId)
155 throws com.liferay.portal.SystemException;
156
157 public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
158 throws com.liferay.portal.SystemException,
159 com.liferay.portal.PortalException;
160
161 public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
162 java.lang.String urlTitle)
163 throws com.liferay.portal.SystemException,
164 com.liferay.portal.PortalException;
165
166 public java.util.List getGroupEntries(long groupId, int begin, int end)
167 throws com.liferay.portal.SystemException;
168
169 public java.util.List getGroupEntries(long groupId, int begin, int end,
170 com.liferay.portal.kernel.util.OrderByComparator obc)
171 throws com.liferay.portal.SystemException;
172
173 public int getGroupEntriesCount(long groupId)
174 throws com.liferay.portal.SystemException;
175
176 public java.util.List getGroupUserEntries(long groupId, long userId,
177 int begin, int end) throws com.liferay.portal.SystemException;
178
179 public int getGroupUserEntriesCount(long groupId, long userId)
180 throws com.liferay.portal.SystemException;
181
182 public java.util.List getNoAssetEntries()
183 throws com.liferay.portal.SystemException;
184
185 public java.util.List getOrganizationEntries(long organizationId,
186 int begin, int end) throws com.liferay.portal.SystemException;
187
188 public int getOrganizationEntriesCount(long organizationId)
189 throws com.liferay.portal.SystemException;
190
191 public java.lang.String getUrlTitle(long entryId, java.lang.String title);
192
193 public void reIndex(java.lang.String[] ids)
194 throws com.liferay.portal.SystemException;
195
196 public com.liferay.portal.kernel.search.Hits search(long companyId,
197 long groupId, long userId, long[] categoryIds, java.lang.String keywords)
198 throws com.liferay.portal.SystemException;
199
200 public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(long userId,
201 long entryId, long categoryId, java.lang.String title,
202 java.lang.String content, int displayDateMonth, int displayDateDay,
203 int displayDateYear, int displayDateHour, int displayDateMinute,
204 com.liferay.portal.theme.ThemeDisplay themeDisplay,
205 java.lang.String[] tagsEntries)
206 throws com.liferay.portal.SystemException,
207 com.liferay.portal.PortalException;
208
209 public void updateTagsAsset(long userId,
210 com.liferay.portlet.blogs.model.BlogsEntry entry,
211 java.lang.String[] tagsEntries)
212 throws com.liferay.portal.SystemException,
213 com.liferay.portal.PortalException;
214 }