Class DefaultBaseGateway
- java.lang.Object
-
- de.hybris.platform.task.impl.gateways.DefaultBaseGateway
-
- All Implemented Interfaces:
BaseGateway
- Direct Known Subclasses:
DefaultSchedulerStateGateway,DefaultTasksQueueGateway,DefaultWorkerStateGateway
public abstract class DefaultBaseGateway extends java.lang.Object implements BaseGateway
-
-
Field Summary
Fields Modifier and Type Field Description protected org.springframework.jdbc.core.JdbcTemplatejdbcTemplate
-
Constructor Summary
Constructors Constructor Description DefaultBaseGateway(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleancreateTable()booleandoesTableExist()voiddropTable()protected abstract java.lang.StringgetCreateTableStatement()protected org.springframework.jdbc.core.JdbcTemplategetJdbcTemplate()protected booleantryCreatingTableAndLogException(org.slf4j.Logger logger, java.lang.String message, java.lang.Exception ex)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.task.impl.gateways.BaseGateway
getTableName
-
-
-
-
Method Detail
-
createTable
public boolean createTable()
- Specified by:
createTablein interfaceBaseGateway
-
getCreateTableStatement
protected abstract java.lang.String getCreateTableStatement()
-
dropTable
public void dropTable()
- Specified by:
dropTablein interfaceBaseGateway
-
doesTableExist
public boolean doesTableExist()
- Specified by:
doesTableExistin interfaceBaseGateway
-
tryCreatingTableAndLogException
protected boolean tryCreatingTableAndLogException(org.slf4j.Logger logger, java.lang.String message, java.lang.Exception ex)
-
getJdbcTemplate
protected org.springframework.jdbc.core.JdbcTemplate getJdbcTemplate()
-
-