com.dotmarketing.startup.runonce
Class Task00760AddContentletStructureInodeIndex
java.lang.Object
com.dotmarketing.startup.AbstractJDBCStartupTask
com.dotmarketing.startup.runonce.Task00760AddContentletStructureInodeIndex
- All Implemented Interfaces:
- StartupTask
public class Task00760AddContentletStructureInodeIndex
- extends AbstractJDBCStartupTask
|
Method Summary |
boolean |
forceRun()
By Default tasks only execute once. |
java.lang.String |
getMSSQLScript()
The SQL for MSSQL |
java.lang.String |
getMySQLScript()
The SQL MySQL |
java.lang.String |
getOracleScript()
The SQL for Oracle |
java.lang.String |
getPostgresScript()
The SQL for Postgres |
protected java.util.List<java.lang.String> |
getTablesToDropConstraints()
This is a list of tables which will get the constraints dropped prior to the task executing and then get recreated afer the execution of the DB Specific SQL |
| Methods inherited from class com.dotmarketing.startup.AbstractJDBCStartupTask |
createConstraint, createIndex, createPrimaryKey, executeDropConstraint, executeDropForeignKeyMySql, executeDropIndex, executeUpgrade, getColumnList, getForeingKeys, getIndexes, getPrimaryKey, getTablesToDropPrimaryKeys, setRebuildForeignKeys, setRebuildIndices, setRebuildPrimaryKeys |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Task00760AddContentletStructureInodeIndex
public Task00760AddContentletStructureInodeIndex()
getMSSQLScript
public java.lang.String getMSSQLScript()
- Description copied from class:
AbstractJDBCStartupTask
- The SQL for MSSQL
- Specified by:
getMSSQLScript in class AbstractJDBCStartupTask
- Returns:
getMySQLScript
public java.lang.String getMySQLScript()
- Description copied from class:
AbstractJDBCStartupTask
- The SQL MySQL
- Specified by:
getMySQLScript in class AbstractJDBCStartupTask
- Returns:
getOracleScript
public java.lang.String getOracleScript()
- Description copied from class:
AbstractJDBCStartupTask
- The SQL for Oracle
- Specified by:
getOracleScript in class AbstractJDBCStartupTask
- Returns:
getPostgresScript
public java.lang.String getPostgresScript()
- Description copied from class:
AbstractJDBCStartupTask
- The SQL for Postgres
- Specified by:
getPostgresScript in class AbstractJDBCStartupTask
- Returns:
getTablesToDropConstraints
protected java.util.List<java.lang.String> getTablesToDropConstraints()
- Description copied from class:
AbstractJDBCStartupTask
- This is a list of tables which will get the constraints dropped prior to the task executing and then get recreated afer the execution of the DB Specific SQL
- Specified by:
getTablesToDropConstraints in class AbstractJDBCStartupTask
- Returns:
forceRun
public boolean forceRun()
- Description copied from interface:
StartupTask
- By Default tasks only execute once. If you have a task that needs to execute more then once use this method.
- Returns:
Copyright © 2013 dotCMS Inc. All Rights Reserved.