Class BatchEngineImportTaskLocalServiceWrapper
- All Implemented Interfaces:
BatchEngineImportTaskLocalService
,com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.PersistedModelLocalService
,com.liferay.portal.kernel.service.ServiceWrapper<BatchEngineImportTaskLocalService>
BatchEngineImportTaskLocalService
.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionBatchEngineImportTaskLocalServiceWrapper
(BatchEngineImportTaskLocalService batchEngineImportTaskLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddBatchEngineImportTask
(BatchEngineImportTask batchEngineImportTask) Adds the batch engine import task to the database.addBatchEngineImportTask
(String externalReferenceCode, long companyId, long userId, long batchSize, String callbackURL, String className, byte[] content, String contentType, String executeStatus, Map<String, String> fieldNameMappingMap, int importStrategy, String operation, Map<String, Serializable> parameters, String taskItemDelegateName) addBatchEngineImportTask
(String externalReferenceCode, long companyId, long userId, long batchSize, String callbackURL, String className, byte[] content, String contentType, String executeStatus, Map<String, String> fieldNameMappingMap, int importStrategy, String operation, Map<String, Serializable> parameters, String taskItemDelegateName, BatchEngineTaskItemDelegate<?> batchEngineTaskItemDelegate) createBatchEngineImportTask
(long batchEngineImportTaskId) Creates a new batch engine import task with the primary key.com.liferay.portal.kernel.model.PersistedModel
createPersistedModel
(Serializable primaryKeyObj) deleteBatchEngineImportTask
(long batchEngineImportTaskId) Deletes the batch engine import task with the primary key from the database.deleteBatchEngineImportTask
(BatchEngineImportTask batchEngineImportTask) Deletes the batch engine import task from the database.com.liferay.portal.kernel.model.PersistedModel
deletePersistedModel
(com.liferay.portal.kernel.model.PersistedModel persistedModel) <T> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) int
dslQueryCount
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) com.liferay.portal.kernel.dao.orm.DynamicQuery
<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.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
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.fetchBatchEngineImportTask
(long batchEngineImportTaskId) fetchBatchEngineImportTaskByExternalReferenceCode
(String externalReferenceCode, long companyId) fetchBatchEngineImportTaskByUuidAndCompanyId
(String uuid, long companyId) Returns the batch engine import task with the matching UUID and company.com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
com.liferay.portal.kernel.service.persistence.BasePersistence<?>
getBatchEngineImportTask
(long batchEngineImportTaskId) Returns the batch engine import task with the primary key.getBatchEngineImportTaskByExternalReferenceCode
(String externalReferenceCode, long companyId) getBatchEngineImportTaskByUuidAndCompanyId
(String uuid, long companyId) Returns the batch engine import task with the matching UUID and company.getBatchEngineImportTasks
(int start, int end) Returns a range of all the batch engine import tasks.getBatchEngineImportTasks
(long companyId, int start, int end) getBatchEngineImportTasks
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) getBatchEngineImportTasks
(String executeStatus) int
Returns the number of batch engine import tasks.int
getBatchEngineImportTasksCount
(long companyId) getContentBlobModel
(Serializable primaryKey) com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery
getExportActionableDynamicQuery
(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModel
getPersistedModel
(Serializable primaryKeyObj) openContentInputStream
(long batchEngineImportTaskId) void
setWrappedService
(BatchEngineImportTaskLocalService batchEngineImportTaskLocalService) updateBatchEngineImportTask
(BatchEngineImportTask batchEngineImportTask) Updates the batch engine import task in the database or adds it if it does not yet exist.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
BatchEngineImportTaskLocalServiceWrapper
public BatchEngineImportTaskLocalServiceWrapper() -
BatchEngineImportTaskLocalServiceWrapper
public BatchEngineImportTaskLocalServiceWrapper(BatchEngineImportTaskLocalService batchEngineImportTaskLocalService)
-
-
Method Details
-
addBatchEngineImportTask
Adds the batch engine import task to the database. Also notifies the appropriate model listeners.Important: Inspect BatchEngineImportTaskLocalServiceImpl 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:
addBatchEngineImportTask
in interfaceBatchEngineImportTaskLocalService
- Parameters:
batchEngineImportTask
- the batch engine import task- Returns:
- the batch engine import task that was added
-
addBatchEngineImportTask
public BatchEngineImportTask addBatchEngineImportTask(String externalReferenceCode, long companyId, long userId, long batchSize, String callbackURL, String className, byte[] content, String contentType, String executeStatus, Map<String, String> fieldNameMappingMap, int importStrategy, String operation, Map<String, throws com.liferay.portal.kernel.exception.PortalExceptionSerializable> parameters, String taskItemDelegateName) - Specified by:
addBatchEngineImportTask
in interfaceBatchEngineImportTaskLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addBatchEngineImportTask
public BatchEngineImportTask addBatchEngineImportTask(String externalReferenceCode, long companyId, long userId, long batchSize, String callbackURL, String className, byte[] content, String contentType, String executeStatus, Map<String, String> fieldNameMappingMap, int importStrategy, String operation, Map<String, throws com.liferay.portal.kernel.exception.PortalExceptionSerializable> parameters, String taskItemDelegateName, BatchEngineTaskItemDelegate<?> batchEngineTaskItemDelegate) - Specified by:
addBatchEngineImportTask
in interfaceBatchEngineImportTaskLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createBatchEngineImportTask
Creates a new batch engine import task with the primary key. Does not add the batch engine import task to the database.- Specified by:
createBatchEngineImportTask
in interfaceBatchEngineImportTaskLocalService
- Parameters:
batchEngineImportTaskId
- the primary key for the new batch engine import task- Returns:
- the new batch engine import task
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModel
in interfaceBatchEngineImportTaskLocalService
- Specified by:
createPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteBatchEngineImportTask
public BatchEngineImportTask deleteBatchEngineImportTask(BatchEngineImportTask batchEngineImportTask) Deletes the batch engine import task from the database. Also notifies the appropriate model listeners.Important: Inspect BatchEngineImportTaskLocalServiceImpl 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:
deleteBatchEngineImportTask
in interfaceBatchEngineImportTaskLocalService
- Parameters:
batchEngineImportTask
- the batch engine import task- Returns:
- the batch engine import task that was removed
-
deleteBatchEngineImportTask
public BatchEngineImportTask deleteBatchEngineImportTask(long batchEngineImportTaskId) throws com.liferay.portal.kernel.exception.PortalException Deletes the batch engine import task with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect BatchEngineImportTaskLocalServiceImpl 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:
deleteBatchEngineImportTask
in interfaceBatchEngineImportTaskLocalService
- Parameters:
batchEngineImportTaskId
- the primary key of the batch engine import task- Returns:
- the batch engine import task that was removed
- Throws:
PortalException
- if a batch engine import task with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deletePersistedModel
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModel
in interfaceBatchEngineImportTaskLocalService
- Specified by:
deletePersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfaceBatchEngineImportTaskLocalService
- Specified by:
dslQuery
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfaceBatchEngineImportTaskLocalService
- Specified by:
dslQueryCount
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQuery
in interfaceBatchEngineImportTaskLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in interfaceBatchEngineImportTaskLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.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.batch.engine.model.impl.BatchEngineImportTaskModelImpl
.- Specified by:
dynamicQuery
in interfaceBatchEngineImportTaskLocalService
- 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
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.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.batch.engine.model.impl.BatchEngineImportTaskModelImpl
.- Specified by:
dynamicQuery
in interfaceBatchEngineImportTaskLocalService
- 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
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceBatchEngineImportTaskLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceBatchEngineImportTaskLocalService
- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchBatchEngineImportTask
- Specified by:
fetchBatchEngineImportTask
in interfaceBatchEngineImportTaskLocalService
-
fetchBatchEngineImportTaskByExternalReferenceCode
public BatchEngineImportTask fetchBatchEngineImportTaskByExternalReferenceCode(String externalReferenceCode, long companyId) - Specified by:
fetchBatchEngineImportTaskByExternalReferenceCode
in interfaceBatchEngineImportTaskLocalService
-
fetchBatchEngineImportTaskByUuidAndCompanyId
public BatchEngineImportTask fetchBatchEngineImportTaskByUuidAndCompanyId(String uuid, long companyId) Returns the batch engine import task with the matching UUID and company.- Specified by:
fetchBatchEngineImportTaskByUuidAndCompanyId
in interfaceBatchEngineImportTaskLocalService
- Parameters:
uuid
- the batch engine import task's UUIDcompanyId
- the primary key of the company- Returns:
- the matching batch engine import task, or
null
if a matching batch engine import task could not be found
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQuery
in interfaceBatchEngineImportTaskLocalService
-
getBatchEngineImportTask
public BatchEngineImportTask getBatchEngineImportTask(long batchEngineImportTaskId) throws com.liferay.portal.kernel.exception.PortalException Returns the batch engine import task with the primary key.- Specified by:
getBatchEngineImportTask
in interfaceBatchEngineImportTaskLocalService
- Parameters:
batchEngineImportTaskId
- the primary key of the batch engine import task- Returns:
- the batch engine import task
- Throws:
PortalException
- if a batch engine import task with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getBatchEngineImportTaskByExternalReferenceCode
public BatchEngineImportTask getBatchEngineImportTaskByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getBatchEngineImportTaskByExternalReferenceCode
in interfaceBatchEngineImportTaskLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBatchEngineImportTaskByUuidAndCompanyId
public BatchEngineImportTask getBatchEngineImportTaskByUuidAndCompanyId(String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException Returns the batch engine import task with the matching UUID and company.- Specified by:
getBatchEngineImportTaskByUuidAndCompanyId
in interfaceBatchEngineImportTaskLocalService
- Parameters:
uuid
- the batch engine import task's UUIDcompanyId
- the primary key of the company- Returns:
- the matching batch engine import task
- Throws:
PortalException
- if a matching batch engine import task could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getBatchEngineImportTasks
Returns a range of all the batch engine import tasks.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.batch.engine.model.impl.BatchEngineImportTaskModelImpl
.- Specified by:
getBatchEngineImportTasks
in interfaceBatchEngineImportTaskLocalService
- Parameters:
start
- the lower bound of the range of batch engine import tasksend
- the upper bound of the range of batch engine import tasks (not inclusive)- Returns:
- the range of batch engine import tasks
-
getBatchEngineImportTasks
- Specified by:
getBatchEngineImportTasks
in interfaceBatchEngineImportTaskLocalService
-
getBatchEngineImportTasks
public List<BatchEngineImportTask> getBatchEngineImportTasks(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BatchEngineImportTask> orderByComparator) - Specified by:
getBatchEngineImportTasks
in interfaceBatchEngineImportTaskLocalService
-
getBatchEngineImportTasks
- Specified by:
getBatchEngineImportTasks
in interfaceBatchEngineImportTaskLocalService
-
getBatchEngineImportTasksCount
public int getBatchEngineImportTasksCount()Returns the number of batch engine import tasks.- Specified by:
getBatchEngineImportTasksCount
in interfaceBatchEngineImportTaskLocalService
- Returns:
- the number of batch engine import tasks
-
getBatchEngineImportTasksCount
public int getBatchEngineImportTasksCount(long companyId) - Specified by:
getBatchEngineImportTasksCount
in interfaceBatchEngineImportTaskLocalService
-
getContentBlobModel
- Specified by:
getContentBlobModel
in interfaceBatchEngineImportTaskLocalService
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQuery
in interfaceBatchEngineImportTaskLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQuery
in interfaceBatchEngineImportTaskLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceBatchEngineImportTaskLocalService
- Returns:
- the OSGi service identifier
-
getPersistedModel
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModel
in interfaceBatchEngineImportTaskLocalService
- Specified by:
getPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
openContentInputStream
- Specified by:
openContentInputStream
in interfaceBatchEngineImportTaskLocalService
-
updateBatchEngineImportTask
public BatchEngineImportTask updateBatchEngineImportTask(BatchEngineImportTask batchEngineImportTask) Updates the batch engine import task in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect BatchEngineImportTaskLocalServiceImpl 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:
updateBatchEngineImportTask
in interfaceBatchEngineImportTaskLocalService
- Parameters:
batchEngineImportTask
- the batch engine import task- Returns:
- the batch engine import task that was updated
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistence
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<BatchEngineImportTaskLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<BatchEngineImportTaskLocalService>
-