public class MBBanLocalServiceImpl extends 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| Constructor and Description |
|---|
MBBanLocalServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
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 banId) |
void |
deleteBan(long banUserId,
com.liferay.portal.service.ServiceContext serviceContext) |
void |
deleteBan(com.liferay.portlet.messageboards.model.MBBan ban) |
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) |
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, updateMBBanpublic com.liferay.portlet.messageboards.model.MBBan addBan(long userId,
long banUserId,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemException@Transactional(propagation=SUPPORTS,
readOnly=true)
public void checkBan(long groupId,
long banUserId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void deleteBan(long banId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void deleteBan(long banUserId,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException@SystemEvent(type=1)
public void deleteBan(com.liferay.portlet.messageboards.model.MBBan ban)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic void deleteBansByBanUserId(long banUserId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic void deleteBansByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic void expireBans()
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.messageboards.model.MBBan> getBans(long groupId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic int getBansCount(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic boolean hasBan(long groupId,
long banUserId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException