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.SystemException,
57 com.liferay.portal.PortalException;
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 files, boolean anonymous, double priority,
62 java.lang.String[] tagsEntries, boolean addCommunityPermissions,
63 boolean addGuestPermissions)
64 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
65 com.liferay.portal.PortalException;
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 files, boolean anonymous, double priority,
70 java.lang.String[] tagsEntries,
71 java.lang.String[] communityPermissions,
72 java.lang.String[] guestPermissions)
73 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
74 com.liferay.portal.PortalException;
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 files, boolean anonymous, double priority,
79 java.lang.String[] tagsEntries, javax.portlet.PortletPreferences prefs,
80 boolean addCommunityPermissions, boolean addGuestPermissions,
81 com.liferay.portal.theme.ThemeDisplay themeDisplay)
82 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
83 com.liferay.portal.PortalException;
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 files, boolean anonymous, double priority,
88 java.lang.String[] tagsEntries, javax.portlet.PortletPreferences prefs,
89 java.lang.String[] communityPermissions,
90 java.lang.String[] guestPermissions,
91 com.liferay.portal.theme.ThemeDisplay themeDisplay)
92 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
93 com.liferay.portal.PortalException;
94
95 public com.liferay.portlet.messageboards.model.MBMessage addMessage(
96 long categoryId, long threadId, long parentMessageId,
97 java.lang.String subject, java.lang.String body, java.util.List files,
98 boolean anonymous, double priority, java.lang.String[] tagsEntries,
99 boolean addCommunityPermissions, boolean addGuestPermissions)
100 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
101 com.liferay.portal.PortalException;
102
103 public com.liferay.portlet.messageboards.model.MBMessage addMessage(
104 long categoryId, long threadId, long parentMessageId,
105 java.lang.String subject, java.lang.String body, java.util.List files,
106 boolean anonymous, double priority, java.lang.String[] tagsEntries,
107 java.lang.String[] communityPermissions,
108 java.lang.String[] guestPermissions)
109 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
110 com.liferay.portal.PortalException;
111
112 public com.liferay.portlet.messageboards.model.MBMessage addMessage(
113 long categoryId, long threadId, long parentMessageId,
114 java.lang.String subject, java.lang.String body, java.util.List files,
115 boolean anonymous, double priority, java.lang.String[] tagsEntries,
116 javax.portlet.PortletPreferences prefs,
117 boolean addCommunityPermissions, boolean addGuestPermissions,
118 com.liferay.portal.theme.ThemeDisplay themeDisplay)
119 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
120 com.liferay.portal.PortalException;
121
122 public com.liferay.portlet.messageboards.model.MBMessage addMessage(
123 long categoryId, long threadId, long parentMessageId,
124 java.lang.String subject, java.lang.String body, java.util.List files,
125 boolean anonymous, double priority, java.lang.String[] tagsEntries,
126 javax.portlet.PortletPreferences prefs,
127 java.lang.String[] communityPermissions,
128 java.lang.String[] guestPermissions,
129 com.liferay.portal.theme.ThemeDisplay themeDisplay)
130 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
131 com.liferay.portal.PortalException;
132
133 public void deleteDiscussionMessage(long groupId,
134 java.lang.String className, long classPK, long messageId)
135 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
136 com.liferay.portal.PortalException;
137
138 public void deleteMessage(long messageId)
139 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
140 com.liferay.portal.PortalException;
141
142 public java.util.List getCategoryMessages(long categoryId, int begin,
143 int end)
144 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
145 com.liferay.portal.PortalException;
146
147 public int getCategoryMessagesCount(long categoryId)
148 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
149 com.liferay.portal.PortalException;
150
151 public java.lang.String getCategoryMessagesRSS(long categoryId, int max,
152 java.lang.String type, double version, java.lang.String displayStyle,
153 java.lang.String feedURL, java.lang.String entryURL)
154 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
155 com.liferay.portal.PortalException;
156
157 public java.lang.String getCompanyMessagesRSS(long companyId, int max,
158 java.lang.String type, double version, java.lang.String displayStyle,
159 java.lang.String feedURL, java.lang.String entryURL)
160 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
161 com.liferay.portal.PortalException;
162
163 public java.lang.String getGroupMessagesRSS(long groupId, int max,
164 java.lang.String type, double version, java.lang.String displayStyle,
165 java.lang.String feedURL, java.lang.String entryURL)
166 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
167 com.liferay.portal.PortalException;
168
169 public java.lang.String getGroupMessagesRSS(long groupId, long userId,
170 int max, java.lang.String type, double version,
171 java.lang.String displayStyle, java.lang.String feedURL,
172 java.lang.String entryURL)
173 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
174 com.liferay.portal.PortalException;
175
176 public com.liferay.portlet.messageboards.model.MBMessage getMessage(
177 long messageId)
178 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
179 com.liferay.portal.PortalException;
180
181 public com.liferay.portlet.messageboards.model.MBMessageDisplay getMessageDisplay(
182 long messageId)
183 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
184 com.liferay.portal.PortalException;
185
186 public java.lang.String getThreadMessagesRSS(long threadId, int max,
187 java.lang.String type, double version, java.lang.String displayStyle,
188 java.lang.String feedURL, java.lang.String entryURL)
189 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
190 com.liferay.portal.PortalException;
191
192 public void subscribeMessage(long messageId)
193 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
194 com.liferay.portal.PortalException;
195
196 public void unsubscribeMessage(long messageId)
197 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
198 com.liferay.portal.PortalException;
199
200 public com.liferay.portlet.messageboards.model.MBMessage updateDiscussionMessage(
201 long groupId, java.lang.String className, long classPK, long messageId,
202 java.lang.String subject, java.lang.String body)
203 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
204 com.liferay.portal.PortalException;
205
206 public com.liferay.portlet.messageboards.model.MBMessage updateMessage(
207 long messageId, java.lang.String subject, java.lang.String body,
208 java.util.List files, double priority, java.lang.String[] tagsEntries)
209 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
210 com.liferay.portal.PortalException;
211
212 public com.liferay.portlet.messageboards.model.MBMessage updateMessage(
213 long messageId, java.lang.String subject, java.lang.String body,
214 java.util.List files, double priority, java.lang.String[] tagsEntries,
215 javax.portlet.PortletPreferences prefs,
216 com.liferay.portal.theme.ThemeDisplay themeDisplay)
217 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
218 com.liferay.portal.PortalException;
219 }