Class SourceServiceUtil

java.lang.Object
com.liferay.portal.reports.engine.console.service.SourceServiceUtil

public class SourceServiceUtil extends Object
Provides the remote service utility for Source. This utility wraps com.liferay.portal.reports.engine.console.service.impl.SourceServiceImpl 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

    • SourceServiceUtil

      public SourceServiceUtil()
  • Method Details

    • addSource

      public static Source addSource(long groupId, Map<Locale,String> nameMap, String driverClassName, String driverUrl, String driverUserName, String driverPassword, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteSource

      public static Source deleteSource(long sourceId) 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
    • getSource

      public static Source getSource(long sourceId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getSources

      public static List<Source> getSources(long groupId, String name, String driverUrl, boolean andSearch, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Source> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getSourcesCount

      public static int getSourcesCount(long groupId, String name, String driverUrl, boolean andSearch)
    • updateSource

      public static Source updateSource(long sourceId, Map<Locale,String> nameMap, String driverClassName, String driverUrl, String driverUserName, String driverPassword, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getService

      public static SourceService getService()