com.liferay.portlet.messageboards.service.impl
Class MBBanLocalServiceImpl
java.lang.Object
com.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portlet.messageboards.service.base.MBBanLocalServiceBaseImpl
com.liferay.portlet.messageboards.service.impl.MBBanLocalServiceImpl
- All Implemented Interfaces:
- IdentifiableBean, BaseLocalService, PersistedModelLocalService, MBBanLocalService
public class MBBanLocalServiceImpl
- extends MBBanLocalServiceBaseImpl
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, resourceLocalService, systemEventLocalService, systemEventPersistence, userFinder, userLocalService, userPersistence, userService |
Methods inherited from class com.liferay.portlet.messageboards.service.base.MBBanLocalServiceBaseImpl |
addMBBan, afterPropertiesSet, createMBBan, deleteMBBan, deleteMBBan, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchMBBan, fetchMBBanByUuidAndCompanyId, fetchMBBanByUuidAndGroupId, getBeanIdentifier, getCounterLocalService, getMBBan, getMBBanByUuidAndCompanyId, getMBBanByUuidAndGroupId, 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, getResourceLocalService, getSystemEventLocalService, getSystemEventPersistence, 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, setResourceLocalService, setSystemEventLocalService, setSystemEventPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateMBBan |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBBanLocalServiceImpl
public MBBanLocalServiceImpl()
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
@SystemEvent(type=1)
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