Package com.liferay.batch.engine
Class BaseBatchEngineTaskItemDelegate<T>
java.lang.Object
com.liferay.batch.engine.BaseBatchEngineTaskItemDelegate<T>
- All Implemented Interfaces:
BatchEngineTaskItemDelegate<T>
public abstract class BaseBatchEngineTaskItemDelegate<T>
extends Object
implements BatchEngineTaskItemDelegate<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BatchEngineImportStrategy
protected com.liferay.portal.kernel.model.Company
protected com.liferay.portal.kernel.model.User
protected String
protected javax.ws.rs.core.UriInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
create
(Collection<T> items, Map<String, Serializable> parameters) createItem
(T item, Map<String, Serializable> parameters) void
delete
(Collection<T> items, Map<String, Serializable> parameters) void
deleteItem
(T item, Map<String, Serializable> parameters) com.liferay.portal.odata.entity.EntityModel
getEntityModel
(Map<String, List<String>> multivaluedMap) boolean
hasCreateStrategy
(String createStrategy) boolean
hasUpdateStrategy
(String updateStrategy) 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) void
updateItem
(T item, Map<String, Serializable> parameters) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.batch.engine.BatchEngineTaskItemDelegate
getItemClass, read
-
Field Details
-
batchEngineImportStrategy
-
contextCompany
protected com.liferay.portal.kernel.model.Company contextCompany -
contextUser
protected com.liferay.portal.kernel.model.User contextUser -
languageId
-
uriInfo
protected javax.ws.rs.core.UriInfo uriInfo
-
-
Constructor Details
-
BaseBatchEngineTaskItemDelegate
public BaseBatchEngineTaskItemDelegate()
-
-
Method Details
-
create
- Specified by:
create
in interfaceBatchEngineTaskItemDelegate<T>
- Throws:
Exception
-
createItem
- Throws:
Exception
-
delete
- Specified by:
delete
in interfaceBatchEngineTaskItemDelegate<T>
- Throws:
Exception
-
deleteItem
- Throws:
Exception
-
getAvailableCreateStrategies
- Specified by:
getAvailableCreateStrategies
in interfaceBatchEngineTaskItemDelegate<T>
-
getAvailableUpdateStrategies
- Specified by:
getAvailableUpdateStrategies
in interfaceBatchEngineTaskItemDelegate<T>
-
getEntityModel
public com.liferay.portal.odata.entity.EntityModel getEntityModel(Map<String, List<String>> multivaluedMap) throws Exception- Specified by:
getEntityModel
in interfaceBatchEngineTaskItemDelegate<T>
- Throws:
Exception
-
hasCreateStrategy
- Specified by:
hasCreateStrategy
in interfaceBatchEngineTaskItemDelegate<T>
-
hasUpdateStrategy
- Specified by:
hasUpdateStrategy
in interfaceBatchEngineTaskItemDelegate<T>
-
setBatchEngineImportStrategy
- Specified by:
setBatchEngineImportStrategy
in interfaceBatchEngineTaskItemDelegate<T>
-
setContextCompany
public void setContextCompany(com.liferay.portal.kernel.model.Company contextCompany) - Specified by:
setContextCompany
in interfaceBatchEngineTaskItemDelegate<T>
-
setContextUriInfo
public void setContextUriInfo(javax.ws.rs.core.UriInfo uriInfo) - Specified by:
setContextUriInfo
in interfaceBatchEngineTaskItemDelegate<T>
-
setContextUser
public void setContextUser(com.liferay.portal.kernel.model.User contextUser) - Specified by:
setContextUser
in interfaceBatchEngineTaskItemDelegate<T>
-
setLanguageId
- Specified by:
setLanguageId
in interfaceBatchEngineTaskItemDelegate<T>
-
update
- Specified by:
update
in interfaceBatchEngineTaskItemDelegate<T>
- Throws:
Exception
-
updateItem
- Throws:
Exception
-