@AccessControlled @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface MBBanService extends BaseService
MBBanServiceUtil| Modifier and Type | Method and Description |
|---|---|
MBBan |
addBan(long banUserId,
ServiceContext serviceContext)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
void |
deleteBan(long banUserId,
ServiceContext serviceContext) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
MBBan addBan(long banUserId, ServiceContext serviceContext) throws PortalException
MBBanServiceUtil to access the message boards ban remote service. Add custom service methods to com.liferay.portlet.messageboards.service.impl.MBBanServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.PortalExceptionvoid deleteBan(long banUserId,
ServiceContext serviceContext)
throws PortalException
PortalExceptionString getOSGiServiceIdentifier()