Liferay 6.0.5

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

java.lang.Object
  extended by com.liferay.portlet.messageboards.service.base.MBBanLocalServiceBaseImpl
      extended by com.liferay.portlet.messageboards.service.impl.MBBanLocalServiceImpl
All Implemented Interfaces:
MBBanLocalService

public class MBBanLocalServiceImpl
extends MBBanLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.messageboards.service.base.MBBanLocalServiceBaseImpl
counterLocalService, mbBanLocalService, mbBanPersistence, mbBanService, mbCategoryFinder, mbCategoryLocalService, mbCategoryPersistence, mbCategoryService, mbDiscussionLocalService, mbDiscussionPersistence, mbMailingListLocalService, mbMailingListPersistence, mbMessageFinder, mbMessageFlagLocalService, mbMessageFlagPersistence, mbMessageFlagService, mbMessageLocalService, mbMessagePersistence, mbMessageService, mbStatsUserLocalService, mbStatsUserPersistence, mbThreadFinder, mbThreadLocalService, mbThreadPersistence, mbThreadService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService
 
Constructor Summary
MBBanLocalServiceImpl()
           
 
Method Summary
 MBBan addBan(long userId, long banUserId, ServiceContext serviceContext)
           
 void checkBan(long groupId, long banUserId)
           
 void deleteBan(long banUserId, ServiceContext serviceContext)
           
 void deleteBansByBanUserId(long banUserId)
           
 void deleteBansByGroupId(long groupId)
           
 void expireBans()
           
 List<MBBan> getBans(long groupId, int start, int end)
           
 int getBansCount(long groupId)
           
 boolean hasBan(long groupId, long banUserId)
           
 
Methods inherited from class com.liferay.portlet.messageboards.service.base.MBBanLocalServiceBaseImpl
addMBBan, createMBBan, deleteMBBan, deleteMBBan, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, getCounterLocalService, getMBBan, getMBBanLocalService, getMBBanPersistence, getMBBans, getMBBansCount, getMBBanService, getMBCategoryFinder, getMBCategoryLocalService, getMBCategoryPersistence, getMBCategoryService, getMBDiscussionLocalService, getMBDiscussionPersistence, getMBMailingListLocalService, getMBMailingListPersistence, getMBMessageFinder, getMBMessageFlagLocalService, getMBMessageFlagPersistence, getMBMessageFlagService, getMBMessageLocalService, getMBMessagePersistence, getMBMessageService, getMBStatsUserLocalService, getMBStatsUserPersistence, getMBThreadFinder, getMBThreadLocalService, getMBThreadPersistence, getMBThreadService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setCounterLocalService, setMBBanLocalService, setMBBanPersistence, setMBBanService, setMBCategoryFinder, setMBCategoryLocalService, setMBCategoryPersistence, setMBCategoryService, setMBDiscussionLocalService, setMBDiscussionPersistence, setMBMailingListLocalService, setMBMailingListPersistence, setMBMessageFinder, setMBMessageFlagLocalService, setMBMessageFlagPersistence, setMBMessageFlagService, setMBMessageLocalService, setMBMessagePersistence, setMBMessageService, setMBStatsUserLocalService, setMBStatsUserPersistence, setMBThreadFinder, setMBThreadLocalService, setMBThreadPersistence, setMBThreadService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateMBBan, updateMBBan
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBBanLocalServiceImpl

public MBBanLocalServiceImpl()
Method Detail

addBan

public MBBan addBan(long userId,
                    long banUserId,
                    ServiceContext serviceContext)
             throws PortalException,
                    SystemException
Throws:
PortalException
SystemException

checkBan

@Transactional(propagation=SUPPORTS,
               readOnly=true)
public void checkBan(long groupId,
                                                              long banUserId)
              throws PortalException,
                     SystemException
Throws:
PortalException
SystemException

deleteBan

public void deleteBan(long banUserId,
                      ServiceContext serviceContext)
               throws SystemException
Throws:
SystemException

deleteBansByBanUserId

public void deleteBansByBanUserId(long banUserId)
                           throws SystemException
Throws:
SystemException

deleteBansByGroupId

public void deleteBansByGroupId(long groupId)
                         throws SystemException
Throws:
SystemException

expireBans

public void expireBans()
                throws SystemException
Throws:
SystemException

getBans

public List<MBBan> getBans(long groupId,
                           int start,
                           int end)
                    throws SystemException
Throws:
SystemException

getBansCount

public int getBansCount(long groupId)
                 throws SystemException
Throws:
SystemException

hasBan

public boolean hasBan(long groupId,
                      long banUserId)
               throws SystemException
Throws:
SystemException

Liferay 6.0.5