public class MBBanServiceUtil
extends Object
com.liferay.portlet.messageboards.service.impl.MBBanServiceImpl and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.MBBanService| Constructor and Description |
|---|
MBBanServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static MBBan |
addBan(long banUserId,
ServiceContext serviceContext)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
static void |
deleteBan(long banUserId,
ServiceContext serviceContext) |
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static MBBanService |
getService() |
public static 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.PortalExceptionpublic static void deleteBan(long banUserId,
ServiceContext serviceContext)
throws PortalException
PortalExceptionpublic static String getOSGiServiceIdentifier()
public static MBBanService getService()