/**
* Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package com.liferay.portlet.messageboards.service;
/**
* <a href="MBThreadLocalService.java.html"><b><i>View Source</i></b></a>
*
* <p>
* ServiceBuilder generated this class. Modifications in this class will be
* overwritten the next time is generated.
* </p>
*
* <p>
* This interface defines the service. The default implementation is
* <code>com.liferay.portlet.messageboards.service.impl.MBThreadLocalServiceImpl</code>.
* Modify methods in that class and rerun ServiceBuilder to populate this class
* and all other generated classes.
* </p>
*
* <p>
* This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
* </p>
*
* @author Brian Wing Shun Chan
*
* @see com.liferay.portlet.messageboards.service.MBThreadLocalServiceFactory
* @see com.liferay.portlet.messageboards.service.MBThreadLocalServiceUtil
*
*/
public interface MBThreadLocalService {
public com.liferay.portlet.messageboards.model.MBThread addMBThread(
com.liferay.portlet.messageboards.model.MBThread model)
throws com.liferay.portal.SystemException;
public java.util.List dynamicQuery(
com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException;
public java.util.List dynamicQuery(
com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin, int end) throws com.liferay.portal.SystemException;
public com.liferay.portlet.messageboards.model.MBThread updateMBThread(
com.liferay.portlet.messageboards.model.MBThread model)
throws com.liferay.portal.SystemException;
public com.liferay.portlet.messageboards.service.persistence.MBBanPersistence getMBBanPersistence();
public void setMBBanPersistence(
com.liferay.portlet.messageboards.service.persistence.MBBanPersistence mbBanPersistence);
public com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence getMBCategoryPersistence();
public void setMBCategoryPersistence(
com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence mbCategoryPersistence);
public com.liferay.portlet.messageboards.service.persistence.MBCategoryFinder getMBCategoryFinder();
public void setMBCategoryFinder(
com.liferay.portlet.messageboards.service.persistence.MBCategoryFinder mbCategoryFinder);
public com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence getMBDiscussionPersistence();
public void setMBDiscussionPersistence(
com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence mbDiscussionPersistence);
public com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence getMBMessagePersistence();
public void setMBMessagePersistence(
com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence mbMessagePersistence);
public com.liferay.portlet.messageboards.service.persistence.MBMessageFinder getMBMessageFinder();
public void setMBMessageFinder(
com.liferay.portlet.messageboards.service.persistence.MBMessageFinder mbMessageFinder);
public com.liferay.portlet.messageboards.service.persistence.MBMessageFlagPersistence getMBMessageFlagPersistence();
public void setMBMessageFlagPersistence(
com.liferay.portlet.messageboards.service.persistence.MBMessageFlagPersistence mbMessageFlagPersistence);
public com.liferay.portlet.messageboards.service.persistence.MBMessageFlagFinder getMBMessageFlagFinder();
public void setMBMessageFlagFinder(
com.liferay.portlet.messageboards.service.persistence.MBMessageFlagFinder mbMessageFlagFinder);
public com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence getMBStatsUserPersistence();
public void setMBStatsUserPersistence(
com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence mbStatsUserPersistence);
public com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence getMBThreadPersistence();
public void setMBThreadPersistence(
com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence mbThreadPersistence);
public com.liferay.portlet.messageboards.service.persistence.MBThreadFinder getMBThreadFinder();
public void setMBThreadFinder(
com.liferay.portlet.messageboards.service.persistence.MBThreadFinder mbThreadFinder);
public com.liferay.portal.service.persistence.ActivityTrackerPersistence getActivityTrackerPersistence();
public void setActivityTrackerPersistence(
com.liferay.portal.service.persistence.ActivityTrackerPersistence activityTrackerPersistence);
public com.liferay.portal.service.persistence.ActivityTrackerFinder getActivityTrackerFinder();
public void setActivityTrackerFinder(
com.liferay.portal.service.persistence.ActivityTrackerFinder activityTrackerFinder);
public com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence();
public void setResourcePersistence(
com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence);
public com.liferay.portal.service.persistence.ResourceFinder getResourceFinder();
public void setResourceFinder(
com.liferay.portal.service.persistence.ResourceFinder resourceFinder);
public com.liferay.portal.service.persistence.UserPersistence getUserPersistence();
public void setUserPersistence(
com.liferay.portal.service.persistence.UserPersistence userPersistence);
public com.liferay.portal.service.persistence.UserFinder getUserFinder();
public void setUserFinder(
com.liferay.portal.service.persistence.UserFinder userFinder);
public com.liferay.portlet.tags.service.persistence.TagsAssetPersistence getTagsAssetPersistence();
public void setTagsAssetPersistence(
com.liferay.portlet.tags.service.persistence.TagsAssetPersistence tagsAssetPersistence);
public com.liferay.portlet.tags.service.persistence.TagsAssetFinder getTagsAssetFinder();
public void setTagsAssetFinder(
com.liferay.portlet.tags.service.persistence.TagsAssetFinder tagsAssetFinder);
public void afterPropertiesSet();
public void deleteThread(long threadId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException;
public void deleteThread(
com.liferay.portlet.messageboards.model.MBThread thread)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException;
public void deleteThreads(long categoryId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException;
public int getCategoriesThreadsCount(java.util.List categoryIds)
throws com.liferay.portal.SystemException;
public java.util.List getGroupThreads(long groupId, int begin, int end)
throws com.liferay.portal.SystemException;
public java.util.List getGroupThreads(long groupId, long userId, int begin,
int end) throws com.liferay.portal.SystemException;
public java.util.List getGroupThreads(long groupId, long userId,
boolean subscribed, int begin, int end)
throws com.liferay.portal.SystemException;
public int getGroupThreadsCount(long groupId)
throws com.liferay.portal.SystemException;
public int getGroupThreadsCount(long groupId, long userId)
throws com.liferay.portal.SystemException;
public int getGroupThreadsCount(long groupId, long userId,
boolean subscribed) throws com.liferay.portal.SystemException;
public com.liferay.portlet.messageboards.model.MBThread getThread(
long threadId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException;
public java.util.List getThreads(long categoryId, int begin, int end)
throws com.liferay.portal.SystemException;
public int getThreadsCount(long categoryId)
throws com.liferay.portal.SystemException;
public boolean hasReadThread(long userId, long threadId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException;
public com.liferay.portlet.messageboards.model.MBThread moveThread(
long categoryId, long threadId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException;
public com.liferay.portlet.messageboards.model.MBThread splitThread(
long messageId, javax.portlet.PortletPreferences prefs,
com.liferay.portal.theme.ThemeDisplay themeDisplay)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException;
public com.liferay.portlet.messageboards.model.MBThread updateThread(
long threadId, int viewCount)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException;
}
|