public class MBBanLocalServiceImpl extends MBBanLocalServiceBaseImpl
counterLocalService, mbBanLocalService, mbBanPersistence, persistedModelLocalServiceRegistry, systemEventLocalService, systemEventPersistence, userFinder, userLocalService, userPersistence
Constructor and Description |
---|
MBBanLocalServiceImpl() |
Modifier and Type | Method and Description |
---|---|
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) |
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
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
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) public void checkBan(long groupId, long banUserId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteBan(long banId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteBan(long banUserId, com.liferay.portal.kernel.service.ServiceContext serviceContext)
@SystemEvent(type=1) public void deleteBan(com.liferay.message.boards.kernel.model.MBBan ban)
public void deleteBansByBanUserId(long banUserId)
public void deleteBansByGroupId(long groupId)
public void expireBans()
public List<com.liferay.message.boards.kernel.model.MBBan> getBans(long groupId, int start, int end)
public int getBansCount(long groupId)
public boolean hasBan(long groupId, long banUserId)