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(Collection<? extends Callable<Void>> callables)
Deprecated.
As of Cavanaugh (7.4.x), replaced by
BaseDBProcess.processConcurrently(Object[], UnsafeConsumer, String) |
protected int |
getBuildNumber() |
protected Set<String> |
getPortalTableNames() |
protected boolean |
isForceConcurrent(Collection<? extends Callable<Void>> callables) |
protected boolean |
isPortalTableName(String tableName) |
void |
verify() |
void |
verify(VerifyProcess verifyProcess) |
addIndexes, alterColumnName, alterColumnType, alterTableAddColumn, alterTableDropColumn, doHasTable, dropIndexes, getPrimaryKeyColumnNames, hasColumn, hasColumnType, hasIndex, hasRows, hasRows, hasTable, process, processConcurrently, processConcurrently, removePrimaryKey, runSQL, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateString, 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 Exception
Exception@Deprecated
protected void doVerify(Collection<? extends Callable<Void>> callables)
throws Exception
BaseDBProcess.processConcurrently(Object[], UnsafeConsumer, String)Exceptionprotected int getBuildNumber()
throws Exception
DBUpgrader has a chance to update it to
the value in ReleaseInfo.getBuildNumber()Exceptionprotected Set<String> getPortalTableNames()
throws Exception
Exceptionprotected boolean isForceConcurrent(Collection<? extends Callable<Void>> callables)
protected boolean isPortalTableName(String tableName)
throws Exception
Exception