com.liferay.portlet.messageboards.service.impl
Class MBThreadFlagLocalServiceImpl

java.lang.Object
  extended by com.liferay.portlet.messageboards.service.base.MBThreadFlagLocalServiceBaseImpl
      extended by com.liferay.portlet.messageboards.service.impl.MBThreadFlagLocalServiceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.bean.IdentifiableBean, com.liferay.portal.service.PersistedModelLocalService, com.liferay.portlet.messageboards.service.MBThreadFlagLocalService

public class MBThreadFlagLocalServiceImpl
extends MBThreadFlagLocalServiceBaseImpl

Author:
Brian Wing Shun Chan, Shuyang Zhou

Field Summary
 
Fields inherited from class com.liferay.portlet.messageboards.service.base.MBThreadFlagLocalServiceBaseImpl
counterLocalService, mbBanLocalService, mbBanPersistence, mbBanService, mbCategoryFinder, mbCategoryLocalService, mbCategoryPersistence, mbCategoryService, mbDiscussionLocalService, mbDiscussionPersistence, mbMailingListLocalService, mbMailingListPersistence, mbMessageFinder, mbMessageLocalService, mbMessagePersistence, mbMessageService, mbStatsUserLocalService, mbStatsUserPersistence, mbThreadFinder, mbThreadFlagLocalService, mbThreadFlagPersistence, mbThreadLocalService, mbThreadPersistence, mbThreadService, persistedModelLocalServiceRegistry, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService
 
Constructor Summary
MBThreadFlagLocalServiceImpl()
           
 
Method Summary
 void addThreadFlag(long userId, com.liferay.portlet.messageboards.model.MBThread thread)
           
 void deleteThreadFlag(long threadFlagId)
           
 void deleteThreadFlag(com.liferay.portlet.messageboards.model.MBThreadFlag threadFlag)
           
 void deleteThreadFlagsByThreadId(long threadId)
           
 void deleteThreadFlagsByUserId(long userId)
           
 com.liferay.portlet.messageboards.model.MBThreadFlag getThreadFlag(long userId, com.liferay.portlet.messageboards.model.MBThread thread)
           
 boolean hasThreadFlag(long userId, com.liferay.portlet.messageboards.model.MBThread thread)
           
 
Methods inherited from class com.liferay.portlet.messageboards.service.base.MBThreadFlagLocalServiceBaseImpl
addMBThreadFlag, afterPropertiesSet, createMBThreadFlag, deleteMBThreadFlag, deleteMBThreadFlag, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, fetchMBThreadFlag, getBeanIdentifier, getCounterLocalService, getMBBanLocalService, getMBBanPersistence, getMBBanService, getMBCategoryFinder, getMBCategoryLocalService, getMBCategoryPersistence, getMBCategoryService, getMBDiscussionLocalService, getMBDiscussionPersistence, getMBMailingListLocalService, getMBMailingListPersistence, getMBMessageFinder, getMBMessageLocalService, getMBMessagePersistence, getMBMessageService, getMBStatsUserLocalService, getMBStatsUserPersistence, getMBThreadFinder, getMBThreadFlag, getMBThreadFlagLocalService, getMBThreadFlagPersistence, getMBThreadFlags, getMBThreadFlagsCount, getMBThreadLocalService, getMBThreadPersistence, getMBThreadService, getModelClass, getModelClassName, getPersistedModel, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setBeanIdentifier, setCounterLocalService, setMBBanLocalService, setMBBanPersistence, setMBBanService, setMBCategoryFinder, setMBCategoryLocalService, setMBCategoryPersistence, setMBCategoryService, setMBDiscussionLocalService, setMBDiscussionPersistence, setMBMailingListLocalService, setMBMailingListPersistence, setMBMessageFinder, setMBMessageLocalService, setMBMessagePersistence, setMBMessageService, setMBStatsUserLocalService, setMBStatsUserPersistence, setMBThreadFinder, setMBThreadFlagLocalService, setMBThreadFlagPersistence, setMBThreadLocalService, setMBThreadPersistence, setMBThreadService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateMBThreadFlag, updateMBThreadFlag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBThreadFlagLocalServiceImpl

public MBThreadFlagLocalServiceImpl()
Method Detail

addThreadFlag

public void addThreadFlag(long userId,
                          com.liferay.portlet.messageboards.model.MBThread thread)
                   throws com.liferay.portal.kernel.exception.PortalException,
                          com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteThreadFlag

public void deleteThreadFlag(long threadFlagId)
                      throws com.liferay.portal.kernel.exception.PortalException,
                             com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteThreadFlag

public void deleteThreadFlag(com.liferay.portlet.messageboards.model.MBThreadFlag threadFlag)
                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

deleteThreadFlagsByThreadId

public void deleteThreadFlagsByThreadId(long threadId)
                                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

deleteThreadFlagsByUserId

public void deleteThreadFlagsByUserId(long userId)
                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getThreadFlag

public com.liferay.portlet.messageboards.model.MBThreadFlag getThreadFlag(long userId,
                                                                          com.liferay.portlet.messageboards.model.MBThread thread)
                                                                   throws com.liferay.portal.kernel.exception.PortalException,
                                                                          com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

hasThreadFlag

public boolean hasThreadFlag(long userId,
                             com.liferay.portlet.messageboards.model.MBThread thread)
                      throws com.liferay.portal.kernel.exception.PortalException,
                             com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException