Class DefinitionServiceUtil

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

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

    • DefinitionServiceUtil

      public DefinitionServiceUtil()
  • Method Details

    • addDefinition

      public static Definition addDefinition(long groupId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, long sourceId, String reportParameters, String fileName, InputStream inputStream, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteDefinition

      public static Definition deleteDefinition(long definitionId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDefinition

      public static Definition getDefinition(long definitionId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDefinitions

      public static List<Definition> getDefinitions(long groupId, String definitionName, String description, String sourceId, String reportName, boolean andSearch, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Definition> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDefinitionsCount

      public static int getDefinitionsCount(long groupId, String definitionName, String description, String sourceId, String reportName, boolean andSearch)
    • getOSGiServiceIdentifier

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

      public static Definition updateDefinition(long definitionId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, long sourceId, String reportParameters, String fileName, InputStream inputStream, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getService

      public static DefinitionService getService()