public class SourceServiceUtil
extends java.lang.Object
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.SourceService
Constructor and Description |
---|
SourceServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static Source |
addSource(long groupId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.lang.String driverClassName,
java.lang.String driverUrl,
java.lang.String driverUserName,
java.lang.String driverPassword,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static Source |
deleteSource(long sourceId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static SourceService |
getService() |
static Source |
getSource(long sourceId) |
static java.util.List<Source> |
getSources(long groupId,
java.lang.String name,
java.lang.String driverUrl,
boolean andSearch,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Source> orderByComparator) |
static int |
getSourcesCount(long groupId,
java.lang.String name,
java.lang.String driverUrl,
boolean andSearch) |
static Source |
updateSource(long sourceId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.lang.String driverClassName,
java.lang.String driverUrl,
java.lang.String driverUserName,
java.lang.String driverPassword,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public static Source addSource(long groupId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.lang.String driverClassName, java.lang.String driverUrl, java.lang.String driverUserName, java.lang.String driverPassword, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static Source deleteSource(long sourceId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static Source getSource(long sourceId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<Source> getSources(long groupId, java.lang.String name, java.lang.String driverUrl, boolean andSearch, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Source> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getSourcesCount(long groupId, java.lang.String name, java.lang.String driverUrl, boolean andSearch)
public static Source updateSource(long sourceId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.lang.String driverClassName, java.lang.String driverUrl, java.lang.String driverUserName, java.lang.String driverPassword, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static SourceService getService()