Class MBBanServiceUtil

java.lang.Object
com.liferay.message.boards.service.MBBanServiceUtil

public class MBBanServiceUtil extends Object
Provides the remote service utility for MBBan. This utility wraps com.liferay.message.boards.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.
See Also:
Generated:
  • Constructor Details

    • MBBanServiceUtil

      public MBBanServiceUtil()
  • Method Details

    • addBan

      public static MBBan addBan(long banUserId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteBan

      public static void deleteBan(long banUserId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

      public static String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • getService

      public static MBBanService getService()