public class BaseChildWarehouseTask extends Object implements org.sakaiproject.warehouse.service.ChildWarehouseTask
| Constructor and Description |
|---|
BaseChildWarehouseTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Object parent,
Collection items,
Connection connection)
This is run after prepare
|
int |
getBatchSize() |
String |
getClearStmt() |
List |
getComplexFields() |
List |
getFields() |
String |
getInsertStmt() |
void |
prepare(Connection connection)
This method is run before execute.
|
protected void |
processItem(Object parent,
Object item,
PreparedStatement ps,
int itemIndex) |
void |
setBatchSize(int batchSize) |
void |
setClearStmt(String clearStmt) |
void |
setComplexFields(List complexFields) |
void |
setFields(List fields) |
void |
setInsertStmt(String insertStmt) |
public void execute(Object parent, Collection items, Connection connection) throws org.quartz.JobExecutionException
execute in interface org.sakaiproject.warehouse.service.ChildWarehouseTaskorg.quartz.JobExecutionExceptionpublic void prepare(Connection connection)
prepare in interface org.sakaiproject.warehouse.service.ChildWarehouseTaskConnection - clears the database.protected void processItem(Object parent, Object item, PreparedStatement ps, int itemIndex) throws org.quartz.JobExecutionException
org.quartz.JobExecutionExceptionpublic List getFields()
public void setFields(List fields)
public String getInsertStmt()
public void setInsertStmt(String insertStmt)
public List getComplexFields()
public void setComplexFields(List complexFields)
public int getBatchSize()
public void setBatchSize(int batchSize)
public String getClearStmt()
public void setClearStmt(String clearStmt)
Copyright © 2003-2014 Sakai Project. All Rights Reserved.