Liferay 7.0-ce-b4

com.liferay.portlet.messageboards.service
Interface MBBanService

All Superinterfaces:
BaseService
All Known Implementing Classes:
MBBanServiceWrapper

@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface MBBanService
extends BaseService

Provides the remote service interface for MBBan. 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, com.liferay.portlet.messageboards.service.base.MBBanServiceBaseImpl, com.liferay.portlet.messageboards.service.impl.MBBanServiceImpl

Method Summary
 MBBan addBan(long banUserId, ServiceContext serviceContext)
           
 void deleteBan(long banUserId, ServiceContext serviceContext)
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 

Method Detail

addBan

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

deleteBan

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

getOSGiServiceIdentifier

String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

Liferay 7.0-ce-b4