Class SourceServiceUtil
java.lang.Object
com.liferay.portal.reports.engine.console.service.SourceServiceUtil
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SourceaddSource(long groupId, Map<Locale, String> nameMap, String driverClassName, String driverUrl, String driverUserName, String driverPassword, com.liferay.portal.kernel.service.ServiceContext serviceContext) static SourcedeleteSource(long sourceId) static StringReturns the OSGi service identifier.static SourceServicestatic SourcegetSource(long sourceId) getSources(long groupId, String name, String driverUrl, boolean andSearch, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Source> orderByComparator) static intgetSourcesCount(long groupId, String name, String driverUrl, boolean andSearch) static SourceupdateSource(long sourceId, Map<Locale, String> nameMap, String driverClassName, String driverUrl, String driverUserName, String driverPassword, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
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
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
-
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
-