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:
MBBanServiceFactory, MBBanServiceUtil

Method Summary
 MBBan addBan(long userId, long plid, long banUserId)
           
 MBBan addMBBan(MBBan model)
           
 void checkBan(long groupId, long banUserId)
           
 void deleteBan(long plid, long banUserId)
           
 void deleteBansByBanUserId(long banUserId)
           
 void deleteBansByGroupId(long groupId)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 void expireBans()
           
 java.util.List getBans(long groupId, int start, int end)
           
 int getBansCount(long groupId)
           
 boolean hasBan(long groupId, long banUserId)
           
 MBBan updateMBBan(MBBan model)
           
 

Method Detail

addMBBan

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

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                   int begin,
                                   int end)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateMBBan

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

addBan

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

checkBan

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

deleteBan

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

deleteBansByBanUserId

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

deleteBansByGroupId

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

expireBans

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

getBans

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

getBansCount

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

hasBan

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