1
22
23 package com.liferay.portlet.messageboards.service;
24
25
26
50 public interface MBMessageService {
51 public com.liferay.portlet.messageboards.model.MBMessage addDiscussionMessage(
52 long groupId, java.lang.String className, long classPK, long threadId,
53 long parentMessageId, java.lang.String subject, java.lang.String body,
54 com.liferay.portal.theme.ThemeDisplay themeDisplay)
55 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
56 com.liferay.portal.SystemException;
57
58 public com.liferay.portlet.messageboards.model.MBMessage addMessage(
59 long categoryId, java.lang.String subject, java.lang.String body,
60 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<String, byte[]>> files,
61 boolean anonymous, double priority, java.lang.String[] tagsEntries,
62 boolean addCommunityPermissions, boolean addGuestPermissions)
63 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
64 com.liferay.portal.SystemException;
65
66 public com.liferay.portlet.messageboards.model.MBMessage addMessage(
67 long categoryId, java.lang.String subject, java.lang.String body,
68 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<String, byte[]>> files,
69 boolean anonymous, double priority, java.lang.String[] tagsEntries,
70 java.lang.String[] communityPermissions,
71 java.lang.String[] guestPermissions)
72 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
73 com.liferay.portal.SystemException;
74
75 public com.liferay.portlet.messageboards.model.MBMessage addMessage(
76 long categoryId, java.lang.String subject, java.lang.String body,
77 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<String, byte[]>> files,
78 boolean anonymous, double priority, java.lang.String[] tagsEntries,
79 javax.portlet.PortletPreferences prefs,
80 boolean addCommunityPermissions, boolean addGuestPermissions,
81 com.liferay.portal.theme.ThemeDisplay themeDisplay)
82 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
83 com.liferay.portal.SystemException;
84
85 public com.liferay.portlet.messageboards.model.MBMessage addMessage(
86 long categoryId, java.lang.String subject, java.lang.String body,
87 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<String, byte[]>> files,
88 boolean anonymous, double priority, java.lang.String[] tagsEntries,
89 javax.portlet.PortletPreferences prefs,
90 java.lang.String[] communityPermissions,
91 java.lang.String[] guestPermissions,
92 com.liferay.portal.theme.ThemeDisplay themeDisplay)
93 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
94 com.liferay.portal.SystemException;
95
96 public com.liferay.portlet.messageboards.model.MBMessage addMessage(
97 long categoryId, long threadId, long parentMessageId,
98 java.lang.String subject, java.lang.String body,
99 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<String, byte[]>> files,
100 boolean anonymous, double priority, java.lang.String[] tagsEntries,
101 boolean addCommunityPermissions, boolean addGuestPermissions)
102 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
103 com.liferay.portal.SystemException;
104
105 public com.liferay.portlet.messageboards.model.MBMessage addMessage(
106 long categoryId, long threadId, long parentMessageId,
107 java.lang.String subject, java.lang.String body,
108 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<String, byte[]>> files,
109 boolean anonymous, double priority, java.lang.String[] tagsEntries,
110 java.lang.String[] communityPermissions,
111 java.lang.String[] guestPermissions)
112 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
113 com.liferay.portal.SystemException;
114
115 public com.liferay.portlet.messageboards.model.MBMessage addMessage(
116 long categoryId, long threadId, long parentMessageId,
117 java.lang.String subject, java.lang.String body,
118 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<String, byte[]>> files,
119 boolean anonymous, double priority, java.lang.String[] tagsEntries,
120 javax.portlet.PortletPreferences prefs,
121 boolean addCommunityPermissions, boolean addGuestPermissions,
122 com.liferay.portal.theme.ThemeDisplay themeDisplay)
123 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
124 com.liferay.portal.SystemException;
125
126 public com.liferay.portlet.messageboards.model.MBMessage addMessage(
127 long categoryId, long threadId, long parentMessageId,
128 java.lang.String subject, java.lang.String body,
129 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<String, byte[]>> files,
130 boolean anonymous, double priority, java.lang.String[] tagsEntries,
131 javax.portlet.PortletPreferences prefs,
132 java.lang.String[] communityPermissions,
133 java.lang.String[] guestPermissions,
134 com.liferay.portal.theme.ThemeDisplay themeDisplay)
135 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
136 com.liferay.portal.SystemException;
137
138 public void deleteDiscussionMessage(long groupId,
139 java.lang.String className, long classPK, long messageId)
140 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
141 com.liferay.portal.SystemException;
142
143 public void deleteMessage(long messageId)
144 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
145 com.liferay.portal.SystemException;
146
147 public java.util.List<com.liferay.portlet.messageboards.model.MBMessage> getCategoryMessages(
148 long categoryId, int start, int end)
149 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
150 com.liferay.portal.SystemException;
151
152 public int getCategoryMessagesCount(long categoryId)
153 throws java.rmi.RemoteException, com.liferay.portal.SystemException;
154
155 public java.lang.String getCategoryMessagesRSS(long categoryId, int max,
156 java.lang.String type, double version, java.lang.String displayStyle,
157 java.lang.String feedURL, java.lang.String entryURL,
158 com.liferay.portal.theme.ThemeDisplay themeDisplay)
159 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
160 com.liferay.portal.SystemException;
161
162 public java.lang.String getCompanyMessagesRSS(long companyId, int max,
163 java.lang.String type, double version, java.lang.String displayStyle,
164 java.lang.String feedURL, java.lang.String entryURL,
165 com.liferay.portal.theme.ThemeDisplay themeDisplay)
166 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
167 com.liferay.portal.SystemException;
168
169 public java.lang.String getGroupMessagesRSS(long groupId, int max,
170 java.lang.String type, double version, java.lang.String displayStyle,
171 java.lang.String feedURL, java.lang.String entryURL,
172 com.liferay.portal.theme.ThemeDisplay themeDisplay)
173 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
174 com.liferay.portal.SystemException;
175
176 public java.lang.String getGroupMessagesRSS(long groupId, long userId,
177 int max, java.lang.String type, double version,
178 java.lang.String displayStyle, java.lang.String feedURL,
179 java.lang.String entryURL,
180 com.liferay.portal.theme.ThemeDisplay themeDisplay)
181 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
182 com.liferay.portal.SystemException;
183
184 public com.liferay.portlet.messageboards.model.MBMessage getMessage(
185 long messageId)
186 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
187 com.liferay.portal.SystemException;
188
189 public com.liferay.portlet.messageboards.model.MBMessageDisplay getMessageDisplay(
190 long messageId)
191 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
192 com.liferay.portal.SystemException;
193
194 public java.lang.String getThreadMessagesRSS(long threadId, int max,
195 java.lang.String type, double version, java.lang.String displayStyle,
196 java.lang.String feedURL, java.lang.String entryURL,
197 com.liferay.portal.theme.ThemeDisplay themeDisplay)
198 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
199 com.liferay.portal.SystemException;
200
201 public void subscribeMessage(long messageId)
202 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
203 com.liferay.portal.SystemException;
204
205 public void unsubscribeMessage(long messageId)
206 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
207 com.liferay.portal.SystemException;
208
209 public com.liferay.portlet.messageboards.model.MBMessage updateDiscussionMessage(
210 long groupId, java.lang.String className, long classPK, long messageId,
211 java.lang.String subject, java.lang.String body)
212 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
213 com.liferay.portal.SystemException;
214
215 public com.liferay.portlet.messageboards.model.MBMessage updateMessage(
216 long messageId, java.lang.String subject, java.lang.String body,
217 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<String, byte[]>> files,
218 java.util.List<String> existingFiles, double priority,
219 java.lang.String[] tagsEntries)
220 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
221 com.liferay.portal.SystemException;
222
223 public com.liferay.portlet.messageboards.model.MBMessage updateMessage(
224 long messageId, java.lang.String subject, java.lang.String body,
225 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<String, byte[]>> files,
226 java.util.List<String> existingFiles, double priority,
227 java.lang.String[] tagsEntries, javax.portlet.PortletPreferences prefs,
228 com.liferay.portal.theme.ThemeDisplay themeDisplay)
229 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
230 com.liferay.portal.SystemException;
231 }