public abstract class VerifyProcess
extends com.liferay.portal.kernel.dao.db.BaseDBProcess
VerifyProcessSuite or be executed independently by being set in
the portal.properties file. Each of these processes should not cause any
problems if run multiple times.| Modifier and Type | Field and Description |
|---|---|
static int |
ALWAYS |
static int |
NEVER |
static int |
ONCE |
| Constructor and Description |
|---|
VerifyProcess() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doVerify() |
protected void |
doVerify(java.util.Collection<? extends java.util.concurrent.Callable<java.lang.Void>> callables)
Deprecated.
As of Cavanaugh (7.4.x), replaced by
BaseDBProcess.processConcurrently(Object[], UnsafeConsumer, String) |
protected int |
getBuildNumber() |
protected java.util.Set<java.lang.String> |
getPortalTableNames() |
protected boolean |
isForceConcurrent(java.util.Collection<? extends java.util.concurrent.Callable<java.lang.Void>> callables) |
protected boolean |
isPortalTableName(java.lang.String tableName) |
void |
verify() |
void |
verify(VerifyProcess verifyProcess) |
addIndexes, alterColumnName, alterColumnType, alterTableAddColumn, alterTableDropColumn, alterTableName, doHasTable, dropIndexes, dropTable, getConnection, getPrimaryKeyColumnNames, hasColumn, hasColumnType, hasIndex, hasRows, hasRows, hasTable, process, processConcurrently, processConcurrently, processConcurrently, removePrimaryKey, runSQL, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateStringpublic static final int ALWAYS
public static final int NEVER
public static final int ONCE
public void verify()
throws VerifyException
VerifyExceptionpublic void verify(VerifyProcess verifyProcess) throws VerifyException
VerifyExceptionprotected void doVerify()
throws java.lang.Exception
java.lang.Exception@Deprecated
protected void doVerify(java.util.Collection<? extends java.util.concurrent.Callable<java.lang.Void>> callables)
throws java.lang.Exception
BaseDBProcess.processConcurrently(Object[], UnsafeConsumer, String)java.lang.Exceptionprotected int getBuildNumber()
throws java.lang.Exception
DBUpgrader has a chance to update it to
the value in ReleaseInfo.getBuildNumber()java.lang.Exceptionprotected java.util.Set<java.lang.String> getPortalTableNames()
throws java.lang.Exception
java.lang.Exceptionprotected boolean isForceConcurrent(java.util.Collection<? extends java.util.concurrent.Callable<java.lang.Void>> callables)
protected boolean isPortalTableName(java.lang.String tableName)
throws java.lang.Exception
java.lang.Exception