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:
- IdentifiableOSGiService, BaseLocalService, PersistedModelLocalService, MBBanLocalService
public class MBBanLocalServiceImpl
- extends MBBanLocalServiceBaseImpl
| Methods inherited from class com.liferay.portlet.messageboards.service.base.MBBanLocalServiceBaseImpl |
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 |
| 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
- Throws:
PortalException
checkBan
@Transactional(propagation=SUPPORTS,
readOnly=true)
public void checkBan(long groupId,
long banUserId)
throws PortalException
- Throws:
PortalException
deleteBan
public void deleteBan(long banId)
throws PortalException
- Throws:
PortalException
deleteBan
public void deleteBan(long banUserId,
ServiceContext serviceContext)
deleteBan
@SystemEvent(type=1)
public void deleteBan(MBBan ban)
deleteBansByBanUserId
public void deleteBansByBanUserId(long banUserId)
deleteBansByGroupId
public void deleteBansByGroupId(long groupId)
expireBans
public void expireBans()
getBans
public List<MBBan> getBans(long groupId,
int start,
int end)
getBansCount
public int getBansCount(long groupId)
hasBan
public boolean hasBan(long groupId,
long banUserId)