Interface SourceService

All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
All Known Implementing Classes:
SourceServiceWrapper

@AccessControlled @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class}) public interface SourceService extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for Source. 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:
  • Method Details

    • addSource

      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

      Source deleteSource(long sourceId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

      String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • getSource

      @Transactional(propagation=SUPPORTS, readOnly=true) Source getSource(long sourceId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getSources

      @Transactional(propagation=SUPPORTS, readOnly=true) 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

      @Transactional(propagation=SUPPORTS, readOnly=true) int getSourcesCount(long groupId, String name, String driverUrl, boolean andSearch)
    • updateSource

      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