com.liferay.portlet.messageboards.service.impl
Class MBBanLocalServiceImpl
java.lang.Object
com.liferay.portal.kernel.service.BaseLocalServiceImpl
com.liferay.portlet.messageboards.service.base.MBBanLocalServiceBaseImpl
com.liferay.portlet.messageboards.service.impl.MBBanLocalServiceImpl
- All Implemented Interfaces:
- com.liferay.message.boards.kernel.service.MBBanLocalService, com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.PersistedModelLocalService
public class MBBanLocalServiceImpl
- extends MBBanLocalServiceBaseImpl
|
Method Summary |
com.liferay.message.boards.kernel.model.MBBan |
addBan(long userId,
long banUserId,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
|
void |
checkBan(long groupId,
long banUserId)
|
void |
deleteBan(long banId)
|
void |
deleteBan(long banUserId,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
|
void |
deleteBan(com.liferay.message.boards.kernel.model.MBBan ban)
|
void |
deleteBansByBanUserId(long banUserId)
|
void |
deleteBansByGroupId(long groupId)
|
void |
expireBans()
|
List<com.liferay.message.boards.kernel.model.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.kernel.service.BaseLocalServiceImpl |
getClassLoader, getLocalizationMap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBBanLocalServiceImpl
public MBBanLocalServiceImpl()
addBan
public com.liferay.message.boards.kernel.model.MBBan addBan(long userId,
long banUserId,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
checkBan
@Transactional(propagation=SUPPORTS,
readOnly=true)
public void checkBan(long groupId,
long banUserId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
deleteBan
public void deleteBan(long banId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
deleteBan
public void deleteBan(long banUserId,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
deleteBan
@SystemEvent(type=1)
public void deleteBan(com.liferay.message.boards.kernel.model.MBBan ban)
deleteBansByBanUserId
public void deleteBansByBanUserId(long banUserId)
deleteBansByGroupId
public void deleteBansByGroupId(long groupId)
expireBans
public void expireBans()
getBans
public List<com.liferay.message.boards.kernel.model.MBBan> getBans(long groupId,
int start,
int end)
getBansCount
public int getBansCount(long groupId)
hasBan
public boolean hasBan(long groupId,
long banUserId)