Class ExportImportConfigurationLocalServiceImpl

Object
com.liferay.portal.kernel.service.BaseLocalServiceImpl
com.liferay.portlet.exportimport.service.base.ExportImportConfigurationLocalServiceBaseImpl
com.liferay.portlet.exportimport.service.impl.ExportImportConfigurationLocalServiceImpl
All Implemented Interfaces:
com.liferay.exportimport.kernel.service.ExportImportConfigurationLocalService, com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.PersistedModelLocalService

public class ExportImportConfigurationLocalServiceImpl extends ExportImportConfigurationLocalServiceBaseImpl
Author:
Brian Wing Shun Chan, Daniel Kocsis, Akos Thurzo
  • Constructor Details

    • ExportImportConfigurationLocalServiceImpl

      public ExportImportConfigurationLocalServiceImpl()
  • Method Details

    • addDraftExportImportConfiguration

      public com.liferay.exportimport.kernel.model.ExportImportConfiguration addDraftExportImportConfiguration(long userId, int type, Map<String,Serializable> settingsMap) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addDraftExportImportConfiguration

      public com.liferay.exportimport.kernel.model.ExportImportConfiguration addDraftExportImportConfiguration(long userId, String name, int type, Map<String,Serializable> settingsMap) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addExportImportConfiguration

      @Indexable(type=REINDEX) public com.liferay.exportimport.kernel.model.ExportImportConfiguration addExportImportConfiguration(long userId, long groupId, String name, String description, int type, Map<String,Serializable> settingsMap, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addExportImportConfiguration

      public com.liferay.exportimport.kernel.model.ExportImportConfiguration addExportImportConfiguration(long userId, long groupId, String name, String description, int type, Map<String,Serializable> settingsMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteExportImportConfiguration

      @Indexable(type=DELETE) @SystemEvent(type=1) public com.liferay.exportimport.kernel.model.ExportImportConfiguration deleteExportImportConfiguration(com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration)
      Description copied from class: ExportImportConfigurationLocalServiceBaseImpl
      Deletes the export import configuration from the database. Also notifies the appropriate model listeners.

      Important: Inspect ExportImportConfigurationLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Specified by:
      deleteExportImportConfiguration in interface com.liferay.exportimport.kernel.service.ExportImportConfigurationLocalService
      Overrides:
      deleteExportImportConfiguration in class ExportImportConfigurationLocalServiceBaseImpl
      Parameters:
      exportImportConfiguration - the export import configuration
      Returns:
      the export import configuration that was removed
    • deleteExportImportConfiguration

      public com.liferay.exportimport.kernel.model.ExportImportConfiguration deleteExportImportConfiguration(long exportImportConfigurationId) throws com.liferay.portal.kernel.exception.PortalException
      Description copied from class: ExportImportConfigurationLocalServiceBaseImpl
      Deletes the export import configuration with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect ExportImportConfigurationLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Specified by:
      deleteExportImportConfiguration in interface com.liferay.exportimport.kernel.service.ExportImportConfigurationLocalService
      Overrides:
      deleteExportImportConfiguration in class ExportImportConfigurationLocalServiceBaseImpl
      Parameters:
      exportImportConfigurationId - the primary key of the export import configuration
      Returns:
      the export import configuration that was removed
      Throws:
      com.liferay.portal.kernel.exception.PortalException - if a export import configuration with the primary key could not be found
    • deleteExportImportConfigurations

      public void deleteExportImportConfigurations(long groupId)
    • getExportImportConfigurations

      public List<com.liferay.exportimport.kernel.model.ExportImportConfiguration> getExportImportConfigurations(com.liferay.portal.kernel.search.Hits hits) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getExportImportConfigurations

      public List<com.liferay.exportimport.kernel.model.ExportImportConfiguration> getExportImportConfigurations(long groupId, int type)
    • getExportImportConfigurations

      public List<com.liferay.exportimport.kernel.model.ExportImportConfiguration> getExportImportConfigurations(long groupId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.exportimport.kernel.model.ExportImportConfiguration> orderByComparator)
    • getExportImportConfigurations

      public List<com.liferay.exportimport.kernel.model.ExportImportConfiguration> getExportImportConfigurations(long companyId, long groupId, String keywords, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.exportimport.kernel.model.ExportImportConfiguration> orderByComparator)
    • getExportImportConfigurations

      public List<com.liferay.exportimport.kernel.model.ExportImportConfiguration> getExportImportConfigurations(long companyId, long groupId, String name, String description, int type, boolean andSearch, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.exportimport.kernel.model.ExportImportConfiguration> orderByComparator)
    • getExportImportConfigurationsCount

      public int getExportImportConfigurationsCount(long groupId)
    • getExportImportConfigurationsCount

      public int getExportImportConfigurationsCount(long groupId, int type)
    • getExportImportConfigurationsCount

      public int getExportImportConfigurationsCount(long companyId, long groupId, String keywords, int type)
    • getExportImportConfigurationsCount

      public int getExportImportConfigurationsCount(long companyId, long groupId, String name, String description, int type, boolean andSearch)
    • moveExportImportConfigurationToTrash

      @Indexable(type=REINDEX) public com.liferay.exportimport.kernel.model.ExportImportConfiguration moveExportImportConfigurationToTrash(long userId, long exportImportConfigurationId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • restoreExportImportConfigurationFromTrash

      @Indexable(type=REINDEX) public com.liferay.exportimport.kernel.model.ExportImportConfiguration restoreExportImportConfigurationFromTrash(long userId, long exportImportConfigurationId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchExportImportConfigurations

      public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.exportimport.kernel.model.ExportImportConfiguration> searchExportImportConfigurations(long companyId, long groupId, int type, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchExportImportConfigurations

      public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.exportimport.kernel.model.ExportImportConfiguration> searchExportImportConfigurations(long companyId, long groupId, int type, String name, String description, boolean andSearch, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateExportImportConfiguration

      @Indexable(type=REINDEX) public com.liferay.exportimport.kernel.model.ExportImportConfiguration updateExportImportConfiguration(long userId, long exportImportConfigurationId, String name, String description, Map<String,Serializable> settingsMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateStatus

      @Indexable(type=REINDEX) public com.liferay.exportimport.kernel.model.ExportImportConfiguration updateStatus(long userId, long exportImportConfigurationId, int status) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • buildSearchContext

      protected com.liferay.portal.kernel.search.SearchContext buildSearchContext(long companyId, long groupId, int type, String name, String description, boolean andSearch, int start, int end, com.liferay.portal.kernel.search.Sort sort)