Liferay 7.0-ce-b4

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:
IdentifiableOSGiService, BaseLocalService, PersistedModelLocalService, MBBanLocalService

public class MBBanLocalServiceImpl
extends MBBanLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.messageboards.service.base.MBBanLocalServiceBaseImpl
counterLocalService, mbBanLocalService, mbBanPersistence, persistedModelLocalServiceRegistry, systemEventLocalService, systemEventPersistence, userFinder, userLocalService, userPersistence
 
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, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchMBBan, fetchMBBanByUuidAndGroupId, getActionableDynamicQuery, getCounterLocalService, getExportActionableDynamicQuery, getIndexableActionableDynamicQuery, getMBBan, getMBBanByUuidAndGroupId, getMBBanLocalService, getMBBanPersistence, getMBBans, getMBBansByUuidAndCompanyId, getMBBansByUuidAndCompanyId, getMBBansCount, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getSystemEventLocalService, getSystemEventPersistence, getUserFinder, getUserLocalService, getUserPersistence, initActionableDynamicQuery, runSQL, setCounterLocalService, setMBBanLocalService, setMBBanPersistence, setSystemEventLocalService, setSystemEventPersistence, setUserFinder, setUserLocalService, setUserPersistence, updateMBBan
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMap
 
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
Throws:
PortalException

checkBan

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

deleteBan

public void deleteBan(long banId)
               throws PortalException
Throws:
PortalException

deleteBan

public void deleteBan(long banUserId,
                      ServiceContext serviceContext)

deleteBan

@SystemEvent(type=1)
public void deleteBan(MBBan ban)

deleteBansByBanUserId

public void deleteBansByBanUserId(long banUserId)

deleteBansByGroupId

public void deleteBansByGroupId(long groupId)

expireBans

public void expireBans()

getBans

public List<MBBan> getBans(long groupId,
                           int start,
                           int end)

getBansCount

public int getBansCount(long groupId)

hasBan

public boolean hasBan(long groupId,
                      long banUserId)

Liferay 7.0-ce-b4