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