com.liferay.portlet.messageboards.service
Interface MBBanLocalService


public interface MBBanLocalService

View Source

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

This interface defines the service. The default implementation is com.liferay.portlet.messageboards.service.impl.MBBanLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
MBBanLocalServiceUtil

Method Summary
 MBBan addBan(long userId, long plid, long banUserId)
           
 MBBan addMBBan(MBBan mbBan)
           
 void checkBan(long groupId, long banUserId)
           
 void deleteBan(long plid, long banUserId)
           
 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()
           
 boolean hasBan(long groupId, long banUserId)
           
 MBBan updateMBBan(MBBan mbBan)
           
 

Method Detail

addMBBan

MBBan addMBBan(MBBan mbBan)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteMBBan

void deleteMBBan(long banId)
                 throws com.liferay.portal.SystemException,
                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteMBBan

void deleteMBBan(MBBan mbBan)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                              int start,
                                              int end)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getMBBan

MBBan getMBBan(long banId)
               throws com.liferay.portal.SystemException,
                      com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getMBBans

java.util.List<MBBan> getMBBans(int start,
                                int end)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getMBBansCount

int getMBBansCount()
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateMBBan

MBBan updateMBBan(MBBan mbBan)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addBan

MBBan addBan(long userId,
             long plid,
             long banUserId)
             throws com.liferay.portal.PortalException,
                    com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

checkBan

void checkBan(long groupId,
              long banUserId)
              throws com.liferay.portal.PortalException,
                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteBan

void deleteBan(long plid,
               long banUserId)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteBansByBanUserId

void deleteBansByBanUserId(long banUserId)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteBansByGroupId

void deleteBansByGroupId(long groupId)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

expireBans

void expireBans()
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getBans

java.util.List<MBBan> getBans(long groupId,
                              int start,
                              int end)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getBansCount

int getBansCount(long groupId)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

hasBan

boolean hasBan(long groupId,
               long banUserId)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException