com.liferay.portlet.messageboards.service.impl
Class MBBanLocalServiceImpl
java.lang.Object
com.liferay.portlet.messageboards.service.base.MBBanLocalServiceBaseImpl
com.liferay.portlet.messageboards.service.impl.MBBanLocalServiceImpl
- All Implemented Interfaces:
- com.liferay.portlet.messageboards.service.MBBanLocalService
public class MBBanLocalServiceImpl
- extends MBBanLocalServiceBaseImpl
View Source
- Author:
- Brian Wing Shun Chan
Fields inherited from class com.liferay.portlet.messageboards.service.base.MBBanLocalServiceBaseImpl |
counterLocalService, counterService, mbBanLocalService, mbBanPersistence, mbBanService, mbCategoryFinder, mbCategoryLocalService, mbCategoryPersistence, mbCategoryService, mbDiscussionLocalService, mbDiscussionPersistence, mbMailingListLocalService, mbMailingListPersistence, mbMessageFinder, mbMessageFlagLocalService, mbMessageFlagPersistence, mbMessageFlagService, mbMessageLocalService, mbMessagePersistence, mbMessageService, mbStatsUserLocalService, mbStatsUserPersistence, mbThreadFinder, mbThreadLocalService, mbThreadPersistence, mbThreadService, userFinder, userLocalService, userPersistence, userService |
Method Summary |
com.liferay.portlet.messageboards.model.MBBan |
addBan(long userId,
long banUserId,
com.liferay.portal.service.ServiceContext serviceContext)
|
void |
checkBan(long groupId,
long banUserId)
|
void |
deleteBan(long banUserId,
com.liferay.portal.service.ServiceContext serviceContext)
|
void |
deleteBansByBanUserId(long banUserId)
|
void |
deleteBansByGroupId(long groupId)
|
void |
expireBans()
|
java.util.List<com.liferay.portlet.messageboards.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, createMBBan, deleteMBBan, deleteMBBan, dynamicQuery, dynamicQuery, getCounterLocalService, getCounterService, 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, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setCounterLocalService, setCounterService, setMBBanLocalService, setMBBanPersistence, setMBBanService, setMBCategoryFinder, setMBCategoryLocalService, setMBCategoryPersistence, setMBCategoryService, setMBDiscussionLocalService, setMBDiscussionPersistence, setMBMailingListLocalService, setMBMailingListPersistence, setMBMessageFinder, setMBMessageFlagLocalService, setMBMessageFlagPersistence, setMBMessageFlagService, setMBMessageLocalService, setMBMessagePersistence, setMBMessageService, setMBStatsUserLocalService, setMBStatsUserPersistence, setMBThreadFinder, setMBThreadLocalService, setMBThreadPersistence, setMBThreadService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateMBBan, updateMBBan |
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.portlet.messageboards.model.MBBan addBan(long userId,
long banUserId,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
checkBan
@Transactional(propagation=SUPPORTS,
readOnly=true)
public void checkBan(long groupId,
long banUserId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteBan
public void deleteBan(long banUserId,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteBansByBanUserId
public void deleteBansByBanUserId(long banUserId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteBansByGroupId
public void deleteBansByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
expireBans
public void expireBans()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getBans
public java.util.List<com.liferay.portlet.messageboards.model.MBBan> getBans(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getBansCount
public int getBansCount(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
hasBan
public boolean hasBan(long groupId,
long banUserId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException