@ProviderType
public class MBBanServiceUtil
extends java.lang.Object
com.liferay.portlet.messageboards.service.impl.MBBanServiceImpl and is the
primary 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,
com.liferay.portlet.messageboards.service.base.MBBanServiceBaseImpl,
com.liferay.portlet.messageboards.service.impl.MBBanServiceImpl| Constructor and Description |
|---|
MBBanServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static MBBan |
addBan(long banUserId,
ServiceContext serviceContext) |
static void |
deleteBan(long banUserId,
ServiceContext serviceContext) |
static java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
static MBBanService |
getService() |
static void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setService(MBBanService service)
Deprecated.
As of 6.2.0
|
public static MBBan addBan(long banUserId, ServiceContext serviceContext) throws PortalException
PortalExceptionpublic static void deleteBan(long banUserId,
ServiceContext serviceContext)
throws PortalException
PortalExceptionpublic static java.lang.String getBeanIdentifier()
public static void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanpublic static MBBanService getService()
@Deprecated public void setService(MBBanService service)