Interface ExportImportConfigurationLocalService
- All Superinterfaces:
BaseLocalService
,PersistedModelLocalService
- All Known Implementing Classes:
ExportImportConfigurationLocalServiceWrapper
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionaddDraftExportImportConfiguration
(long userId, int type, Map<String, Serializable> settingsMap) addDraftExportImportConfiguration
(long userId, String name, int type, Map<String, Serializable> settingsMap) addExportImportConfiguration
(long userId, long groupId, String name, String description, int type, Map<String, Serializable> settingsMap, int status, ServiceContext serviceContext) addExportImportConfiguration
(long userId, long groupId, String name, String description, int type, Map<String, Serializable> settingsMap, ServiceContext serviceContext) addExportImportConfiguration
(ExportImportConfiguration exportImportConfiguration) Adds the export import configuration to the database.createExportImportConfiguration
(long exportImportConfigurationId) Creates a new export import configuration with the primary key.createPersistedModel
(Serializable primaryKeyObj) deleteExportImportConfiguration
(long exportImportConfigurationId) Deletes the export import configuration with the primary key from the database.deleteExportImportConfiguration
(ExportImportConfiguration exportImportConfiguration) Deletes the export import configuration from the database.void
deleteExportImportConfigurations
(long groupId) deletePersistedModel
(PersistedModel persistedModel) <T> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) int
dslQueryCount
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) <T> List<T>
dynamicQuery
(DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> List<T>
dynamicQuery
(DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.<T> List<T>
dynamicQuery
(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.long
dynamicQueryCount
(DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.long
dynamicQueryCount
(DynamicQuery dynamicQuery, Projection projection) Returns the number of rows matching the dynamic query.fetchExportImportConfiguration
(long exportImportConfigurationId) getExportImportConfiguration
(long exportImportConfigurationId) Returns the export import configuration with the primary key.getExportImportConfigurations
(int start, int end) Returns a range of all the export import configurations.getExportImportConfigurations
(long groupId, int type) getExportImportConfigurations
(long groupId, int type, int start, int end, OrderByComparator<ExportImportConfiguration> orderByComparator) getExportImportConfigurations
(long companyId, long groupId, String keywords, int type, int start, int end, OrderByComparator<ExportImportConfiguration> orderByComparator) getExportImportConfigurations
(long companyId, long groupId, String name, String description, int type, boolean andSearch, int start, int end, OrderByComparator<ExportImportConfiguration> orderByComparator) int
Returns the number of export import configurations.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) Returns the OSGi service identifier.getPersistedModel
(Serializable primaryKeyObj) moveExportImportConfigurationToTrash
(long userId, long exportImportConfigurationId) restoreExportImportConfigurationFromTrash
(long userId, long exportImportConfigurationId) searchExportImportConfigurations
(long companyId, long groupId, int type, String keywords, int start, int end, Sort sort) searchExportImportConfigurations
(long companyId, long groupId, int type, String name, String description, boolean andSearch, int start, int end, Sort sort) updateExportImportConfiguration
(long userId, long exportImportConfigurationId, String name, String description, Map<String, Serializable> settingsMap, ServiceContext serviceContext) updateExportImportConfiguration
(ExportImportConfiguration exportImportConfiguration) Updates the export import configuration in the database or adds it if it does not yet exist.updateStatus
(long userId, long exportImportConfigurationId, int status) Methods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel, getBasePersistence
-
Method Details
-
addDraftExportImportConfiguration
ExportImportConfiguration addDraftExportImportConfiguration(long userId, int type, Map<String, Serializable> settingsMap) throws PortalException- Throws:
PortalException
-
addDraftExportImportConfiguration
ExportImportConfiguration addDraftExportImportConfiguration(long userId, String name, int type, Map<String, Serializable> settingsMap) throws PortalException- Throws:
PortalException
-
addExportImportConfiguration
@Indexable(type=REINDEX) ExportImportConfiguration addExportImportConfiguration(ExportImportConfiguration exportImportConfiguration) Adds the export import configuration to 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.
- Parameters:
exportImportConfiguration
- the export import configuration- Returns:
- the export import configuration that was added
-
addExportImportConfiguration
@Indexable(type=REINDEX) 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
ExportImportConfiguration addExportImportConfiguration(long userId, long groupId, String name, String description, int type, Map<String, Serializable> settingsMap, ServiceContext serviceContext) throws PortalException- Throws:
PortalException
-
createExportImportConfiguration
@Transactional(enabled=false) ExportImportConfiguration createExportImportConfiguration(long exportImportConfigurationId) Creates a new export import configuration with the primary key. Does not add the export import configuration to the database.- Parameters:
exportImportConfigurationId
- the primary key for the new export import configuration- Returns:
- the new export import configuration
-
createPersistedModel
- Specified by:
createPersistedModel
in interfacePersistedModelLocalService
- Throws:
PortalException
-
deleteExportImportConfiguration
@Indexable(type=DELETE) @SystemEvent(type=1) ExportImportConfiguration deleteExportImportConfiguration(ExportImportConfiguration exportImportConfiguration) 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.
- Parameters:
exportImportConfiguration
- the export import configuration- Returns:
- the export import configuration that was removed
-
deleteExportImportConfiguration
@Indexable(type=DELETE) ExportImportConfiguration deleteExportImportConfiguration(long exportImportConfigurationId) throws PortalException 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.
- 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
void deleteExportImportConfigurations(long groupId) -
deletePersistedModel
- Specified by:
deletePersistedModel
in interfacePersistedModelLocalService
- Throws:
PortalException
-
dslQuery
@Transactional(propagation=SUPPORTS, readOnly=true) <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfacePersistedModelLocalService
-
dslQueryCount
@Transactional(propagation=SUPPORTS, readOnly=true) int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfacePersistedModelLocalService
-
dynamicQuery
-
dynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) <T> List<T> dynamicQuery(DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.exportimport.model.impl.ExportImportConfigurationModelImpl
.- Parameters:
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.exportimport.model.impl.ExportImportConfigurationModelImpl
.- Parameters:
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
@Transactional(propagation=SUPPORTS, readOnly=true) long dynamicQueryCount(DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
@Transactional(propagation=SUPPORTS, readOnly=true) long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) Returns the number of rows matching the dynamic query.- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchExportImportConfiguration
@Transactional(propagation=SUPPORTS, readOnly=true) ExportImportConfiguration fetchExportImportConfiguration(long exportImportConfigurationId) -
getActionableDynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) ActionableDynamicQuery getActionableDynamicQuery() -
getExportImportConfiguration
@Transactional(propagation=SUPPORTS, readOnly=true) ExportImportConfiguration getExportImportConfiguration(long exportImportConfigurationId) throws PortalException Returns the export import configuration with the primary key.- Parameters:
exportImportConfigurationId
- the primary key of the export import configuration- Returns:
- the export import configuration
- Throws:
PortalException
- if a export import configuration with the primary key could not be found
-
getExportImportConfigurations
@Transactional(propagation=SUPPORTS, readOnly=true) List<ExportImportConfiguration> getExportImportConfigurations(Hits hits) throws PortalException - Throws:
PortalException
-
getExportImportConfigurations
@Transactional(propagation=SUPPORTS, readOnly=true) List<ExportImportConfiguration> getExportImportConfigurations(int start, int end) Returns a range of all the export import configurations.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.exportimport.model.impl.ExportImportConfigurationModelImpl
.- Parameters:
start
- the lower bound of the range of export import configurationsend
- the upper bound of the range of export import configurations (not inclusive)- Returns:
- the range of export import configurations
-
getExportImportConfigurations
@Transactional(propagation=SUPPORTS, readOnly=true) List<ExportImportConfiguration> getExportImportConfigurations(long groupId, int type) -
getExportImportConfigurations
@Transactional(propagation=SUPPORTS, readOnly=true) List<ExportImportConfiguration> getExportImportConfigurations(long groupId, int type, int start, int end, OrderByComparator<ExportImportConfiguration> orderByComparator) -
getExportImportConfigurations
@Transactional(propagation=SUPPORTS, readOnly=true) List<ExportImportConfiguration> getExportImportConfigurations(long companyId, long groupId, String keywords, int type, int start, int end, OrderByComparator<ExportImportConfiguration> orderByComparator) -
getExportImportConfigurations
@Transactional(propagation=SUPPORTS, readOnly=true) List<ExportImportConfiguration> getExportImportConfigurations(long companyId, long groupId, String name, String description, int type, boolean andSearch, int start, int end, OrderByComparator<ExportImportConfiguration> orderByComparator) -
getExportImportConfigurationsCount
Returns the number of export import configurations.- Returns:
- the number of export import configurations
-
getExportImportConfigurationsCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getExportImportConfigurationsCount(long groupId) -
getExportImportConfigurationsCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getExportImportConfigurationsCount(long groupId, int type) -
getExportImportConfigurationsCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getExportImportConfigurationsCount(long companyId, long groupId, String keywords, int type) -
getExportImportConfigurationsCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getExportImportConfigurationsCount(long companyId, long groupId, String name, String description, int type, boolean andSearch) -
getIndexableActionableDynamicQuery
@Transactional(propagation=SUPPORTS, readOnly=true) IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() -
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getPersistedModel
@Transactional(propagation=SUPPORTS, readOnly=true) PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException - Specified by:
getPersistedModel
in interfacePersistedModelLocalService
- Throws:
PortalException
-
moveExportImportConfigurationToTrash
@Indexable(type=REINDEX) ExportImportConfiguration moveExportImportConfigurationToTrash(long userId, long exportImportConfigurationId) throws PortalException - Throws:
PortalException
-
restoreExportImportConfigurationFromTrash
@Indexable(type=REINDEX) ExportImportConfiguration restoreExportImportConfigurationFromTrash(long userId, long exportImportConfigurationId) throws PortalException - Throws:
PortalException
-
searchExportImportConfigurations
@Transactional(propagation=SUPPORTS, readOnly=true) BaseModelSearchResult<ExportImportConfiguration> searchExportImportConfigurations(long companyId, long groupId, int type, String keywords, int start, int end, Sort sort) throws PortalException - Throws:
PortalException
-
searchExportImportConfigurations
@Transactional(propagation=SUPPORTS, readOnly=true) 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) ExportImportConfiguration updateExportImportConfiguration(ExportImportConfiguration exportImportConfiguration) Updates the export import configuration in the database or adds it if it does not yet exist. 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.
- Parameters:
exportImportConfiguration
- the export import configuration- Returns:
- the export import configuration that was updated
-
updateExportImportConfiguration
@Indexable(type=REINDEX) ExportImportConfiguration updateExportImportConfiguration(long userId, long exportImportConfigurationId, String name, String description, Map<String, Serializable> settingsMap, ServiceContext serviceContext) throws PortalException- Throws:
PortalException
-
updateStatus
@Indexable(type=REINDEX) ExportImportConfiguration updateStatus(long userId, long exportImportConfigurationId, int status) throws PortalException - Throws:
PortalException
-