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