Package com.liferay.portal.verify
Class VerifyProcess
Object
com.liferay.portal.kernel.dao.db.BaseDBProcess
com.liferay.portal.verify.VerifyProcess
- All Implemented Interfaces:
com.liferay.portal.kernel.dao.db.DBProcess
- Direct Known Subclasses:
BaseCompanySettingsVerifyProcess,PreupgradeVerifyProcess,VerifyAuditedModel,VerifyGroup,VerifyGroupedModel,VerifyLayout,VerifyPermission,VerifyProcessSuite,VerifyResourceActions,VerifyResourcePermissions,VerifyRole,VerifyUser,VerifyUUID
public abstract class VerifyProcess
extends com.liferay.portal.kernel.dao.db.BaseDBProcess
This abstract class should be extended for startup processes that verify the
integrity of the database.
- Author:
- Alexander Chow, Hugo Huijser
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess
connection -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoVerify()protected voiddoVerify(Collection<? extends Callable<Void>> callables) Deprecated.protected booleanisForceConcurrent(Collection<? extends Callable<Void>> callables) voidverify()voidverify(VerifyProcess verifyProcess) Methods inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess
addIndexes, alterColumnName, alterColumnType, alterTableAddColumn, alterTableDropColumn, alterTableName, closeConnections, closeConnections, doHasTable, dropIndexes, dropIndexes, dropTable, getConnection, getPrimaryKeyColumnNames, hasColumn, hasColumnType, hasIndex, hasRows, hasRows, hasTable, hasView, process, processConcurrently, processConcurrently, processConcurrently, processConcurrently, removePrimaryKey, runSQL, runSQL, runSQL, runSQL, runSQLFile, runSQLFile, runSQLTemplateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.dao.db.DBProcess
runSQLTemplate, runSQLTemplateString
-
Constructor Details
-
VerifyProcess
public VerifyProcess()
-
-
Method Details
-
verify
- Throws:
VerifyException
-
verify
- Throws:
VerifyException
-
doVerify
- Throws:
Exception
-
doVerify
@Deprecated protected void doVerify(Collection<? extends Callable<Void>> callables) throws Exception Deprecated.As of Cavanaugh (7.4.x), replaced byBaseDBProcess.processConcurrently(Object[], UnsafeConsumer, String)- Throws:
Exception
-
isForceConcurrent
-
BaseDBProcess.processConcurrently(Object[], UnsafeConsumer, String)