Liferay 6.1.2-ce-ga3

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

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.messageboards.service.base.MBBanLocalServiceBaseImpl
          extended by com.liferay.portlet.messageboards.service.impl.MBBanLocalServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseLocalService, PersistedModelLocalService, 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, mbMessageLocalService, mbMessagePersistence, mbMessageService, mbStatsUserLocalService, mbStatsUserPersistence, mbThreadFinder, mbThreadFlagLocalService, mbThreadFlagPersistence, mbThreadLocalService, mbThreadPersistence, mbThreadService, persistedModelLocalServiceRegistry, 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 banId)
           
 void deleteBan(long banUserId, ServiceContext serviceContext)
           
 void deleteBan(MBBan ban)
           
 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, afterPropertiesSet, createMBBan, deleteMBBan, deleteMBBan, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, fetchMBBan, getBeanIdentifier, getCounterLocalService, getMBBan, getMBBanLocalService, getMBBanPersistence, getMBBans, getMBBansCount, getMBBanService, getMBCategoryFinder, getMBCategoryLocalService, getMBCategoryPersistence, getMBCategoryService, getMBDiscussionLocalService, getMBDiscussionPersistence, getMBMailingListLocalService, getMBMailingListPersistence, getMBMessageFinder, getMBMessageLocalService, getMBMessagePersistence, getMBMessageService, getMBStatsUserLocalService, getMBStatsUserPersistence, getMBThreadFinder, getMBThreadFlagLocalService, getMBThreadFlagPersistence, 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, updateMBBan, updateMBBan
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader
 
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 banId)
               throws PortalException,
                      SystemException
Throws:
PortalException
SystemException

deleteBan

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

deleteBan

public void deleteBan(MBBan ban)
               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.1.2-ce-ga3