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
| Fields inherited from class com.liferay.portlet.messageboards.service.base.MBBanLocalServiceBaseImpl |
counterLocalService, mbBanLocalService, mbBanPersistence, mbBanService, persistedModelLocalServiceRegistry, systemEventLocalService, systemEventPersistence, userFinder, userLocalService, userPersistence, userService |
| 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, 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, 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)