Package com.liferay.portal.verify
Class VerifyAuditedModel
Object
com.liferay.portal.kernel.dao.db.BaseDBProcess
com.liferay.portal.verify.VerifyProcess
com.liferay.portal.verify.VerifyAuditedModel
- All Implemented Interfaces:
com.liferay.portal.kernel.dao.db.DBProcess
- Author:
- Michael C. Han, Shinn Lok
-
Field Summary
Fields inherited from class com.liferay.portal.verify.VerifyProcess
ALWAYS, NEVER, ONCE
Fields inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess
connection
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doVerify()
protected Object[]
getAuditedModelArray
(Connection connection, String tableName, String pkColumnName, long primKey, boolean allowAnonymousUser, long previousUserId) protected Object[]
getGuestUserArray
(Connection connection, long companyId) protected String
getUserName
(Connection connection, long userId) void
verify
(com.liferay.portal.kernel.verify.model.VerifiableAuditedModel... verifiableAuditedModels) protected void
verifyAuditedModel
(com.liferay.portal.kernel.verify.model.VerifiableAuditedModel verifiableAuditedModel) protected void
verifyAuditedModel
(Connection connection, PreparedStatement preparedStatement, String tableName, long primKey, Object[] auditedModelArray, boolean updateDates) Methods inherited from class com.liferay.portal.verify.VerifyProcess
doVerify, getPortalTableNames, isForceConcurrent, isPortalTableName, verify, verify
Methods inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess
addIndexes, alterColumnName, alterColumnType, alterTableAddColumn, alterTableDropColumn, alterTableName, doHasTable, dropIndexes, dropTable, getConnection, getPrimaryKeyColumnNames, hasColumn, hasColumnType, hasIndex, hasRows, hasRows, hasTable, hasView, process, processConcurrently, processConcurrently, processConcurrently, processConcurrently, removePrimaryKey, runSQL, runSQL, runSQL, runSQL, runSQLFile, runSQLFile, runSQLTemplate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.dao.db.DBProcess
runSQLTemplate, runSQLTemplateString
-
Constructor Details
-
VerifyAuditedModel
public VerifyAuditedModel()
-
-
Method Details
-
verify
public void verify(com.liferay.portal.kernel.verify.model.VerifiableAuditedModel... verifiableAuditedModels) throws Exception - Throws:
Exception
-
doVerify
- Overrides:
doVerify
in classVerifyProcess
- Throws:
Exception
-
getAuditedModelArray
protected Object[] getAuditedModelArray(Connection connection, String tableName, String pkColumnName, long primKey, boolean allowAnonymousUser, long previousUserId) throws Exception - Throws:
Exception
-
getGuestUserArray
- Throws:
Exception
-
getUserName
- Throws:
Exception
-
verifyAuditedModel
protected void verifyAuditedModel(Connection connection, PreparedStatement preparedStatement, String tableName, long primKey, Object[] auditedModelArray, boolean updateDates) throws Exception - Throws:
Exception
-
verifyAuditedModel
protected void verifyAuditedModel(com.liferay.portal.kernel.verify.model.VerifiableAuditedModel verifiableAuditedModel) throws Exception - Throws:
Exception
-