com.liferay.portlet.messageboards.service
Interface MBBanLocalService

All Known Implementing Classes:
MBBanLocalServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
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
Generated:

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 dynamicQuery(DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
 long dynamicQueryCount(DynamicQuery dynamicQuery)
           
 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)
           
 MBBan updateMBBan(MBBan mbBan, boolean merge)
           
 

Method Detail

addMBBan

MBBan addMBBan(MBBan mbBan)
               throws SystemException
Throws:
SystemException

createMBBan

MBBan createMBBan(long banId)

deleteMBBan

void deleteMBBan(long banId)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

deleteMBBan

void deleteMBBan(MBBan mbBan)
                 throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                            int start,
                            int end)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                            int start,
                            int end,
                            OrderByComparator orderByComparator)
                            throws SystemException
Throws:
SystemException

dynamicQueryCount

long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Throws:
SystemException

getMBBan

@Transactional(propagation=SUPPORTS,
               readOnly=true)
MBBan getMBBan(long banId)
               throws PortalException,
                      SystemException
Throws:
PortalException
SystemException

getMBBans

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<MBBan> getMBBans(int start,
                                                                         int end)
                                throws SystemException
Throws:
SystemException

getMBBansCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getMBBansCount()
                   throws SystemException
Throws:
SystemException

updateMBBan

MBBan updateMBBan(MBBan mbBan)
                  throws SystemException
Throws:
SystemException

updateMBBan

MBBan updateMBBan(MBBan mbBan,
                  boolean merge)
                  throws SystemException
Throws:
SystemException

addBan

MBBan addBan(long userId,
             long banUserId,
             ServiceContext serviceContext)
             throws PortalException,
                    SystemException
Throws:
PortalException
SystemException

checkBan

void checkBan(long groupId,
              long banUserId)
              throws PortalException,
                     SystemException
Throws:
PortalException
SystemException

deleteBan

void deleteBan(long banUserId,
               ServiceContext serviceContext)
               throws SystemException
Throws:
SystemException

deleteBansByBanUserId

void deleteBansByBanUserId(long banUserId)
                           throws SystemException
Throws:
SystemException

deleteBansByGroupId

void deleteBansByGroupId(long groupId)
                         throws SystemException
Throws:
SystemException

expireBans

void expireBans()
                throws SystemException
Throws:
SystemException

getBans

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<MBBan> getBans(long groupId,
                                                                       int start,
                                                                       int end)
                              throws SystemException
Throws:
SystemException

getBansCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getBansCount(long groupId)
                 throws SystemException
Throws:
SystemException

hasBan

@Transactional(propagation=SUPPORTS,
               readOnly=true)
boolean hasBan(long groupId,
                                                        long banUserId)
               throws SystemException
Throws:
SystemException