Liferay 7.0-ce-b4

com.liferay.portlet.exportimport.service.impl
Class ExportImportConfigurationLocalServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.exportimport.service.base.ExportImportConfigurationLocalServiceBaseImpl
          extended by com.liferay.portlet.exportimport.service.impl.ExportImportConfigurationLocalServiceImpl
All Implemented Interfaces:
IdentifiableOSGiService, BaseLocalService, PersistedModelLocalService, ExportImportConfigurationLocalService

public class ExportImportConfigurationLocalServiceImpl
extends ExportImportConfigurationLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.exportimport.service.base.ExportImportConfigurationLocalServiceBaseImpl
classNameLocalService, classNamePersistence, counterLocalService, exportImportConfigurationLocalService, exportImportConfigurationPersistence, exportImportLocalService, persistedModelLocalServiceRegistry, resourceLocalService, stagingLocalService, trashEntryLocalService, trashEntryPersistence, userFinder, userLocalService, userPersistence
 
Constructor Summary
ExportImportConfigurationLocalServiceImpl()
           
 
Method Summary
 ExportImportConfiguration addDraftExportImportConfiguration(long userId, int type, Map<String,Serializable> settingsMap)
           
 ExportImportConfiguration addDraftExportImportConfiguration(long userId, String name, int type, Map<String,Serializable> settingsMap)
           
 ExportImportConfiguration addExportImportConfiguration(long userId, long groupId, String name, String description, int type, Map<String,Serializable> settingsMap, int status, ServiceContext serviceContext)
           
 ExportImportConfiguration addExportImportConfiguration(long userId, long groupId, String name, String description, int type, Map<String,Serializable> settingsMap, ServiceContext serviceContext)
           
protected  SearchContext buildSearchContext(long companyId, long groupId, int type, String name, String description, boolean andSearch, int start, int end, Sort sort)
           
 ExportImportConfiguration deleteExportImportConfiguration(ExportImportConfiguration exportImportConfiguration)
          Deletes the export import configuration from the database.
 ExportImportConfiguration deleteExportImportConfiguration(long exportImportConfigurationId)
          Deletes the export import configuration with the primary key from the database.
 void deleteExportImportConfigurations(long groupId)
           
 List<ExportImportConfiguration> getExportImportConfigurations(Hits hits)
           
 List<ExportImportConfiguration> getExportImportConfigurations(long groupId, int type)
           
 List<ExportImportConfiguration> getExportImportConfigurations(long groupId, int type, int start, int end, OrderByComparator<ExportImportConfiguration> orderByComparator)
           
 int getExportImportConfigurationsCount(long groupId)
           
 int getExportImportConfigurationsCount(long groupId, int type)
           
 ExportImportConfiguration moveExportImportConfigurationToTrash(long userId, long exportImportConfigurationId)
           
 ExportImportConfiguration restoreExportImportConfigurationFromTrash(long userId, long exportImportConfigurationId)
           
 BaseModelSearchResult<ExportImportConfiguration> searchExportImportConfigurations(long companyId, long groupId, int type, String keywords, int start, int end, Sort sort)
           
 BaseModelSearchResult<ExportImportConfiguration> searchExportImportConfigurations(long companyId, long groupId, int type, String name, String description, boolean andSearch, int start, int end, Sort sort)
           
 ExportImportConfiguration updateExportImportConfiguration(long userId, long exportImportConfigurationId, String name, String description, Map<String,Serializable> settingsMap, ServiceContext serviceContext)
           
 ExportImportConfiguration updateStatus(long userId, long exportImportConfigurationId, int status)
           
 
Methods inherited from class com.liferay.portlet.exportimport.service.base.ExportImportConfigurationLocalServiceBaseImpl
addExportImportConfiguration, afterPropertiesSet, createExportImportConfiguration, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchExportImportConfiguration, getActionableDynamicQuery, getClassNameLocalService, getClassNamePersistence, getCounterLocalService, getExportImportConfiguration, getExportImportConfigurationLocalService, getExportImportConfigurationPersistence, getExportImportConfigurations, getExportImportConfigurationsCount, getExportImportLocalService, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getResourceLocalService, getStagingLocalService, getTrashEntryLocalService, getTrashEntryPersistence, getUserFinder, getUserLocalService, getUserPersistence, initActionableDynamicQuery, runSQL, setClassNameLocalService, setClassNamePersistence, setCounterLocalService, setExportImportConfigurationLocalService, setExportImportConfigurationPersistence, setExportImportLocalService, setResourceLocalService, setStagingLocalService, setTrashEntryLocalService, setTrashEntryPersistence, setUserFinder, setUserLocalService, setUserPersistence, updateExportImportConfiguration
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExportImportConfigurationLocalServiceImpl

public ExportImportConfigurationLocalServiceImpl()
Method Detail

addDraftExportImportConfiguration

public ExportImportConfiguration addDraftExportImportConfiguration(long userId,
                                                                   int type,
                                                                   Map<String,Serializable> settingsMap)
                                                            throws PortalException
Throws:
PortalException

addDraftExportImportConfiguration

public ExportImportConfiguration addDraftExportImportConfiguration(long userId,
                                                                   String name,
                                                                   int type,
                                                                   Map<String,Serializable> settingsMap)
                                                            throws PortalException
Throws:
PortalException

addExportImportConfiguration

@Indexable(type=REINDEX)
public ExportImportConfiguration addExportImportConfiguration(long userId,
                                                                                   long groupId,
                                                                                   String name,
                                                                                   String description,
                                                                                   int type,
                                                                                   Map<String,Serializable> settingsMap,
                                                                                   int status,
                                                                                   ServiceContext serviceContext)
                                                       throws PortalException
Throws:
PortalException

addExportImportConfiguration

public ExportImportConfiguration addExportImportConfiguration(long userId,
                                                              long groupId,
                                                              String name,
                                                              String description,
                                                              int type,
                                                              Map<String,Serializable> settingsMap,
                                                              ServiceContext serviceContext)
                                                       throws PortalException
Throws:
PortalException

deleteExportImportConfiguration

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

Specified by:
deleteExportImportConfiguration in interface ExportImportConfigurationLocalService
Overrides:
deleteExportImportConfiguration in class ExportImportConfigurationLocalServiceBaseImpl
Parameters:
exportImportConfiguration - the export import configuration
Returns:
the export import configuration that was removed

deleteExportImportConfiguration

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

Specified by:
deleteExportImportConfiguration in interface 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:
PortalException - if a export import configuration with the primary key could not be found

deleteExportImportConfigurations

public void deleteExportImportConfigurations(long groupId)

getExportImportConfigurations

public List<ExportImportConfiguration> getExportImportConfigurations(Hits hits)
                                                              throws PortalException
Throws:
PortalException

getExportImportConfigurations

public List<ExportImportConfiguration> getExportImportConfigurations(long groupId,
                                                                     int type)

getExportImportConfigurations

public List<ExportImportConfiguration> getExportImportConfigurations(long groupId,
                                                                     int type,
                                                                     int start,
                                                                     int end,
                                                                     OrderByComparator<ExportImportConfiguration> orderByComparator)

getExportImportConfigurationsCount

public int getExportImportConfigurationsCount(long groupId)

getExportImportConfigurationsCount

public int getExportImportConfigurationsCount(long groupId,
                                              int type)

moveExportImportConfigurationToTrash

@Indexable(type=REINDEX)
public ExportImportConfiguration moveExportImportConfigurationToTrash(long userId,
                                                                                           long exportImportConfigurationId)
                                                               throws PortalException
Throws:
PortalException

restoreExportImportConfigurationFromTrash

@Indexable(type=REINDEX)
public ExportImportConfiguration restoreExportImportConfigurationFromTrash(long userId,
                                                                                                long exportImportConfigurationId)
                                                                    throws PortalException
Throws:
PortalException

searchExportImportConfigurations

public BaseModelSearchResult<ExportImportConfiguration> searchExportImportConfigurations(long companyId,
                                                                                         long groupId,
                                                                                         int type,
                                                                                         String keywords,
                                                                                         int start,
                                                                                         int end,
                                                                                         Sort sort)
                                                                                  throws PortalException
Throws:
PortalException

searchExportImportConfigurations

public BaseModelSearchResult<ExportImportConfiguration> searchExportImportConfigurations(long companyId,
                                                                                         long groupId,
                                                                                         int type,
                                                                                         String name,
                                                                                         String description,
                                                                                         boolean andSearch,
                                                                                         int start,
                                                                                         int end,
                                                                                         Sort sort)
                                                                                  throws PortalException
Throws:
PortalException

updateExportImportConfiguration

@Indexable(type=REINDEX)
public ExportImportConfiguration updateExportImportConfiguration(long userId,
                                                                                      long exportImportConfigurationId,
                                                                                      String name,
                                                                                      String description,
                                                                                      Map<String,Serializable> settingsMap,
                                                                                      ServiceContext serviceContext)
                                                          throws PortalException
Throws:
PortalException

updateStatus

@Indexable(type=REINDEX)
public ExportImportConfiguration updateStatus(long userId,
                                                                   long exportImportConfigurationId,
                                                                   int status)
                                       throws PortalException
Throws:
PortalException

buildSearchContext

protected SearchContext buildSearchContext(long companyId,
                                           long groupId,
                                           int type,
                                           String name,
                                           String description,
                                           boolean andSearch,
                                           int start,
                                           int end,
                                           Sort sort)

Liferay 7.0-ce-b4