Liferay 6.0.5

com.liferay.portlet.messageboards.service
Interface MBBanService

All Known Implementing Classes:
MBBanServiceBaseImpl, MBBanServiceImpl, MBBanServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface MBBanService

The interface for the message boards ban remote service.

Never modify or reference this interface directly. Always use MBBanServiceUtil to access the message boards ban remote service. Add custom service methods to MBBanServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

See Also:
MBBanServiceUtil, MBBanServiceBaseImpl, MBBanServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 MBBan addBan(long banUserId, ServiceContext serviceContext)
           
 void deleteBan(long banUserId, ServiceContext serviceContext)
           
 

Method Detail

addBan

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

deleteBan

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

Liferay 6.0.5