Package com.liferay.batch.engine
Interface BatchEngineTaskItemDelegate<T>
- All Known Implementing Classes:
BaseBatchEngineTaskItemDelegate
@ProviderType
public interface BatchEngineTaskItemDelegate<T>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
create
(Collection<T> items, Map<String, Serializable> parameters) void
delete
(Collection<T> items, Map<String, Serializable> parameters) com.liferay.portal.odata.entity.EntityModel
getEntityModel
(Map<String, List<String>> multivaluedMap) boolean
hasCreateStrategy
(String createStrategy) boolean
hasUpdateStrategy
(String updateStrategy) read
(com.liferay.portal.kernel.search.filter.Filter filter, Pagination pagination, com.liferay.portal.kernel.search.Sort[] sorts, Map<String, Serializable> parameters, String search) void
setBatchEngineImportStrategy
(BatchEngineImportStrategy batchEngineImportStrategy) void
setContextCompany
(com.liferay.portal.kernel.model.Company contextCompany) void
setContextUriInfo
(javax.ws.rs.core.UriInfo uriInfo) void
setContextUser
(com.liferay.portal.kernel.model.User contextUser) void
setLanguageId
(String languageId) void
update
(Collection<T> items, Map<String, Serializable> parameters)
-
Method Details
-
create
- Throws:
Exception
-
delete
- Throws:
Exception
-
getAvailableCreateStrategies
-
getAvailableUpdateStrategies
-
getEntityModel
com.liferay.portal.odata.entity.EntityModel getEntityModel(Map<String, List<String>> multivaluedMap) throws Exception- Throws:
Exception
-
getItemClass
-
hasCreateStrategy
-
hasUpdateStrategy
-
read
Page<T> read(com.liferay.portal.kernel.search.filter.Filter filter, Pagination pagination, com.liferay.portal.kernel.search.Sort[] sorts, Map<String, Serializable> parameters, String search) throws Exception- Throws:
Exception
-
setBatchEngineImportStrategy
-
setContextCompany
void setContextCompany(com.liferay.portal.kernel.model.Company contextCompany) -
setContextUriInfo
void setContextUriInfo(javax.ws.rs.core.UriInfo uriInfo) -
setContextUser
void setContextUser(com.liferay.portal.kernel.model.User contextUser) -
setLanguageId
-
update
- Throws:
Exception
-