public class MBBanLocalServiceImpl extends MBBanLocalServiceBaseImpl
counterLocalService, mbBanLocalService, mbBanPersistence, mbBanService, persistedModelLocalServiceRegistry, 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, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchMBBan, fetchMBBanByUuidAndGroupId, getActionableDynamicQuery, getCounterLocalService, getExportActionableDynamicQuery, getMBBan, getMBBanByUuidAndGroupId, getMBBanLocalService, getMBBanPersistence, getMBBans, getMBBansByUuidAndCompanyId, getMBBansByUuidAndCompanyId, getMBBansCount, getMBBanService, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getSystemEventLocalService, getSystemEventPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, initActionableDynamicQuery, runSQL, setCounterLocalService, setMBBanLocalService, setMBBanPersistence, setMBBanService, 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.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.PortalExceptionpublic void deleteBan(long banId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void deleteBan(long banUserId,
com.liferay.portal.service.ServiceContext serviceContext)
@SystemEvent(type=1) public void deleteBan(com.liferay.portlet.messageboards.model.MBBan ban)
public void deleteBansByBanUserId(long banUserId)
public void deleteBansByGroupId(long groupId)
public void expireBans()
public java.util.List<com.liferay.portlet.messageboards.model.MBBan> getBans(long groupId,
int start,
int end)
public int getBansCount(long groupId)
public boolean hasBan(long groupId,
long banUserId)