com.liferay.portlet.exportimport.service.impl
Class ExportImportConfigurationLocalServiceImpl
java.lang.Object
com.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portlet.exportimport.service.base.ExportImportConfigurationLocalServiceBaseImpl
com.liferay.portlet.exportimport.service.impl.ExportImportConfigurationLocalServiceImpl
- All Implemented Interfaces:
- IdentifiableOSGiService, BaseLocalService, PersistedModelLocalService, ExportImportConfigurationLocalService
public class ExportImportConfigurationLocalServiceImpl
- extends ExportImportConfigurationLocalServiceBaseImpl
| Fields inherited from class com.liferay.portlet.exportimport.service.base.ExportImportConfigurationLocalServiceBaseImpl |
classNameLocalService, classNamePersistence, counterLocalService, exportImportConfigurationFinder, exportImportConfigurationLocalService, exportImportConfigurationPersistence, exportImportLocalService, persistedModelLocalServiceRegistry, resourceLocalService, stagingLocalService, trashEntryLocalService, trashEntryPersistence, userFinder, userLocalService, userPersistence |
|
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)
|
List<ExportImportConfiguration> |
getExportImportConfigurations(long companyId,
long groupId,
String keywords,
int type,
int start,
int end,
OrderByComparator<ExportImportConfiguration> orderByComparator)
|
List<ExportImportConfiguration> |
getExportImportConfigurations(long companyId,
long groupId,
String name,
String description,
int type,
boolean andSearch,
int start,
int end,
OrderByComparator<ExportImportConfiguration> orderByComparator)
|
int |
getExportImportConfigurationsCount(long groupId)
|
int |
getExportImportConfigurationsCount(long groupId,
int type)
|
int |
getExportImportConfigurationsCount(long companyId,
long groupId,
String keywords,
int type)
|
int |
getExportImportConfigurationsCount(long companyId,
long groupId,
String name,
String description,
int type,
boolean andSearch)
|
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, getExportImportConfigurationFinder, getExportImportConfigurationLocalService, getExportImportConfigurationPersistence, getExportImportConfigurations, getExportImportConfigurationsCount, getExportImportLocalService, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getResourceLocalService, getStagingLocalService, getTrashEntryLocalService, getTrashEntryPersistence, getUserFinder, getUserLocalService, getUserPersistence, initActionableDynamicQuery, runSQL, setClassNameLocalService, setClassNamePersistence, setCounterLocalService, setExportImportConfigurationFinder, setExportImportConfigurationLocalService, setExportImportConfigurationPersistence, setExportImportLocalService, setResourceLocalService, setStagingLocalService, setTrashEntryLocalService, setTrashEntryPersistence, setUserFinder, setUserLocalService, setUserPersistence, updateExportImportConfiguration |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExportImportConfigurationLocalServiceImpl
public ExportImportConfigurationLocalServiceImpl()
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)
getExportImportConfigurations
public List<ExportImportConfiguration> getExportImportConfigurations(long companyId,
long groupId,
String keywords,
int type,
int start,
int end,
OrderByComparator<ExportImportConfiguration> orderByComparator)
getExportImportConfigurations
public List<ExportImportConfiguration> getExportImportConfigurations(long companyId,
long groupId,
String name,
String description,
int type,
boolean andSearch,
int start,
int end,
OrderByComparator<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 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)