@ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface ExportImportConfigurationLocalService extends BaseLocalService, PersistedModelLocalService
ExportImportConfigurationLocalServiceUtil
,
ExportImportConfigurationLocalServiceBaseImpl
,
ExportImportConfigurationLocalServiceImpl
Modifier and Type | Method and Description |
---|---|
ExportImportConfiguration |
addDraftExportImportConfiguration(long userId,
int type,
Map<String,Serializable> settingsMap) |
ExportImportConfiguration |
addDraftExportImportConfiguration(long userId,
String name,
int type,
Map<String,Serializable> settingsMap) |
ExportImportConfiguration |
addExportImportConfiguration(ExportImportConfiguration exportImportConfiguration)
Adds the export import configuration to the database.
|
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) |
ExportImportConfiguration |
createExportImportConfiguration(long exportImportConfigurationId)
Creates a new export import configuration with the primary key.
|
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) |
PersistedModel |
deletePersistedModel(PersistedModel persistedModel) |
DynamicQuery |
dynamicQuery() |
<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.
|
ExportImportConfiguration |
fetchExportImportConfiguration(long exportImportConfigurationId) |
ActionableDynamicQuery |
getActionableDynamicQuery() |
ExportImportConfiguration |
getExportImportConfiguration(long exportImportConfigurationId)
Returns the export import configuration with the primary key.
|
List<ExportImportConfiguration> |
getExportImportConfigurations(Hits hits) |
List<ExportImportConfiguration> |
getExportImportConfigurations(int start,
int end)
Returns a range of all the export import configurations.
|
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()
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) |
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj) |
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(ExportImportConfiguration exportImportConfiguration)
Updates the export import configuration in the database or adds it if it does not yet exist.
|
ExportImportConfiguration |
updateExportImportConfiguration(long userId,
long exportImportConfigurationId,
String name,
String description,
Map<String,Serializable> settingsMap,
ServiceContext serviceContext) |
ExportImportConfiguration |
updateStatus(long userId,
long exportImportConfigurationId,
int status) |
ExportImportConfiguration addDraftExportImportConfiguration(long userId, int type, Map<String,Serializable> settingsMap) throws PortalException
PortalException
ExportImportConfiguration addDraftExportImportConfiguration(long userId, String name, int type, Map<String,Serializable> settingsMap) throws PortalException
PortalException
@Indexable(type=REINDEX) ExportImportConfiguration addExportImportConfiguration(ExportImportConfiguration exportImportConfiguration)
exportImportConfiguration
- the export import configuration@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
PortalException
ExportImportConfiguration addExportImportConfiguration(long userId, long groupId, String name, String description, int type, Map<String,Serializable> settingsMap, ServiceContext serviceContext) throws PortalException
PortalException
@Transactional(enabled=false) ExportImportConfiguration createExportImportConfiguration(long exportImportConfigurationId)
exportImportConfigurationId
- the primary key for the new export import configuration@Indexable(type=DELETE) @SystemEvent(type=1) ExportImportConfiguration deleteExportImportConfiguration(ExportImportConfiguration exportImportConfiguration)
exportImportConfiguration
- the export import configuration@Indexable(type=DELETE) ExportImportConfiguration deleteExportImportConfiguration(long exportImportConfigurationId) throws PortalException
exportImportConfigurationId
- the primary key of the export import configurationPortalException
- if a export import configuration with the primary key could not be foundvoid deleteExportImportConfigurations(long groupId)
PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel
in interface PersistedModelLocalService
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) DynamicQuery dynamicQuery()
@Transactional(propagation=SUPPORTS, readOnly=true) <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic query@Transactional(propagation=SUPPORTS, readOnly=true) <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExportImportConfigurationModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)@Transactional(propagation=SUPPORTS, readOnly=true) <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExportImportConfigurationModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)@Transactional(propagation=SUPPORTS, readOnly=true) long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic query@Transactional(propagation=SUPPORTS, readOnly=true) long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query@Transactional(propagation=SUPPORTS, readOnly=true) ExportImportConfiguration fetchExportImportConfiguration(long exportImportConfigurationId)
@Transactional(propagation=SUPPORTS, readOnly=true) ActionableDynamicQuery getActionableDynamicQuery()
@Transactional(propagation=SUPPORTS, readOnly=true) ExportImportConfiguration getExportImportConfiguration(long exportImportConfigurationId) throws PortalException
exportImportConfigurationId
- the primary key of the export import configurationPortalException
- if a export import configuration with the primary key could not be found@Transactional(propagation=SUPPORTS, readOnly=true) List<ExportImportConfiguration> getExportImportConfigurations(Hits hits) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<ExportImportConfiguration> getExportImportConfigurations(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from ExportImportConfigurationModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of export import configurationsend
- the upper bound of the range of export import configurations (not inclusive)@Transactional(propagation=SUPPORTS, readOnly=true) List<ExportImportConfiguration> getExportImportConfigurations(long groupId, int type)
@Transactional(propagation=SUPPORTS, readOnly=true) List<ExportImportConfiguration> getExportImportConfigurations(long groupId, int type, int start, int end, OrderByComparator<ExportImportConfiguration> orderByComparator)
@Transactional(propagation=SUPPORTS, readOnly=true) List<ExportImportConfiguration> getExportImportConfigurations(long companyId, long groupId, String keywords, int type, int start, int end, OrderByComparator<ExportImportConfiguration> orderByComparator)
@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)
@Transactional(propagation=SUPPORTS, readOnly=true) int getExportImportConfigurationsCount()
@Transactional(propagation=SUPPORTS, readOnly=true) int getExportImportConfigurationsCount(long groupId)
@Transactional(propagation=SUPPORTS, readOnly=true) int getExportImportConfigurationsCount(long groupId, int type)
@Transactional(propagation=SUPPORTS, readOnly=true) int getExportImportConfigurationsCount(long companyId, long groupId, String keywords, int type)
@Transactional(propagation=SUPPORTS, readOnly=true) int getExportImportConfigurationsCount(long companyId, long groupId, String name, String description, int type, boolean andSearch)
@Transactional(propagation=SUPPORTS, readOnly=true) IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
String getOSGiServiceIdentifier()
@Transactional(propagation=SUPPORTS, readOnly=true) PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException
getPersistedModel
in interface PersistedModelLocalService
PortalException
@Indexable(type=REINDEX) ExportImportConfiguration moveExportImportConfigurationToTrash(long userId, long exportImportConfigurationId) throws PortalException
PortalException
@Indexable(type=REINDEX) ExportImportConfiguration restoreExportImportConfigurationFromTrash(long userId, long exportImportConfigurationId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) BaseModelSearchResult<ExportImportConfiguration> searchExportImportConfigurations(long companyId, long groupId, int type, String keywords, int start, int end, Sort sort) throws PortalException
PortalException
@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
PortalException
@Indexable(type=REINDEX) ExportImportConfiguration updateExportImportConfiguration(ExportImportConfiguration exportImportConfiguration)
exportImportConfiguration
- the export import configuration@Indexable(type=REINDEX) ExportImportConfiguration updateExportImportConfiguration(long userId, long exportImportConfigurationId, String name, String description, Map<String,Serializable> settingsMap, ServiceContext serviceContext) throws PortalException
PortalException
@Indexable(type=REINDEX) ExportImportConfiguration updateStatus(long userId, long exportImportConfigurationId, int status) throws PortalException
PortalException