com.liferay.portlet.messageboards.service
Class MBBanLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.messageboards.service.MBBanLocalServiceWrapper
All Implemented Interfaces:
MBBanLocalService

public class MBBanLocalServiceWrapper
extends java.lang.Object
implements MBBanLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for MBBanLocalService.

Author:
Brian Wing Shun Chan
See Also:
MBBanLocalService
Generated:

Constructor Summary
MBBanLocalServiceWrapper(MBBanLocalService mbBanLocalService)
           
 
Method Summary
 MBBan addBan(long userId, long banUserId, ServiceContext serviceContext)
           
 MBBan addMBBan(MBBan mbBan)
           
 void checkBan(long groupId, long banUserId)
           
 MBBan createMBBan(long banId)
           
 void deleteBan(long banUserId, ServiceContext serviceContext)
           
 void deleteBansByBanUserId(long banUserId)
           
 void deleteBansByGroupId(long groupId)
           
 void deleteMBBan(long banId)
           
 void deleteMBBan(MBBan mbBan)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 void expireBans()
           
 java.util.List<MBBan> getBans(long groupId, int start, int end)
           
 int getBansCount(long groupId)
           
 MBBan getMBBan(long banId)
           
 java.util.List<MBBan> getMBBans(int start, int end)
           
 int getMBBansCount()
           
 MBBanLocalService getWrappedMBBanLocalService()
           
 boolean hasBan(long groupId, long banUserId)
           
 MBBan updateMBBan(MBBan mbBan)
           
 MBBan updateMBBan(MBBan mbBan, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBBanLocalServiceWrapper

public MBBanLocalServiceWrapper(MBBanLocalService mbBanLocalService)
Method Detail

addMBBan

public MBBan addMBBan(MBBan mbBan)
               throws com.liferay.portal.kernel.exception.SystemException
Specified by:
addMBBan in interface MBBanLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

createMBBan

public MBBan createMBBan(long banId)
Specified by:
createMBBan in interface MBBanLocalService

deleteMBBan

public void deleteMBBan(long banId)
                 throws com.liferay.portal.kernel.exception.PortalException,
                        com.liferay.portal.kernel.exception.SystemException
Specified by:
deleteMBBan in interface MBBanLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteMBBan

public void deleteMBBan(MBBan mbBan)
                 throws com.liferay.portal.kernel.exception.SystemException
Specified by:
deleteMBBan in interface MBBanLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.kernel.exception.SystemException
Specified by:
dynamicQuery in interface MBBanLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                     int start,
                                                     int end)
                                              throws com.liferay.portal.kernel.exception.SystemException
Specified by:
dynamicQuery in interface MBBanLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getMBBan

public MBBan getMBBan(long banId)
               throws com.liferay.portal.kernel.exception.PortalException,
                      com.liferay.portal.kernel.exception.SystemException
Specified by:
getMBBan in interface MBBanLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getMBBans

public java.util.List<MBBan> getMBBans(int start,
                                       int end)
                                throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getMBBans in interface MBBanLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getMBBansCount

public int getMBBansCount()
                   throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getMBBansCount in interface MBBanLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

updateMBBan

public MBBan updateMBBan(MBBan mbBan)
                  throws com.liferay.portal.kernel.exception.SystemException
Specified by:
updateMBBan in interface MBBanLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

updateMBBan

public MBBan updateMBBan(MBBan mbBan,
                         boolean merge)
                  throws com.liferay.portal.kernel.exception.SystemException
Specified by:
updateMBBan in interface MBBanLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

addBan

public MBBan addBan(long userId,
                    long banUserId,
                    ServiceContext serviceContext)
             throws com.liferay.portal.kernel.exception.PortalException,
                    com.liferay.portal.kernel.exception.SystemException
Specified by:
addBan in interface MBBanLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

checkBan

public void checkBan(long groupId,
                     long banUserId)
              throws com.liferay.portal.kernel.exception.PortalException,
                     com.liferay.portal.kernel.exception.SystemException
Specified by:
checkBan in interface MBBanLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteBan

public void deleteBan(long banUserId,
                      ServiceContext serviceContext)
               throws com.liferay.portal.kernel.exception.SystemException
Specified by:
deleteBan in interface MBBanLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

deleteBansByBanUserId

public void deleteBansByBanUserId(long banUserId)
                           throws com.liferay.portal.kernel.exception.SystemException
Specified by:
deleteBansByBanUserId in interface MBBanLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

deleteBansByGroupId

public void deleteBansByGroupId(long groupId)
                         throws com.liferay.portal.kernel.exception.SystemException
Specified by:
deleteBansByGroupId in interface MBBanLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

expireBans

public void expireBans()
                throws com.liferay.portal.kernel.exception.SystemException
Specified by:
expireBans in interface MBBanLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getBans

public java.util.List<MBBan> getBans(long groupId,
                                     int start,
                                     int end)
                              throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getBans in interface MBBanLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getBansCount

public int getBansCount(long groupId)
                 throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getBansCount in interface MBBanLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

hasBan

public boolean hasBan(long groupId,
                      long banUserId)
               throws com.liferay.portal.kernel.exception.SystemException
Specified by:
hasBan in interface MBBanLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getWrappedMBBanLocalService

public MBBanLocalService getWrappedMBBanLocalService()