public class VerifyAuditedModel extends VerifyProcess
ALWAYS, NEVER, ONCE
Constructor and Description |
---|
VerifyAuditedModel() |
Modifier and Type | Method and Description |
---|---|
protected 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(Connection connection,
PreparedStatement preparedStatement,
String tableName,
long primKey,
Object[] auditedModelArray,
boolean updateDates) |
protected void |
verifyAuditedModel(com.liferay.portal.kernel.verify.model.VerifiableAuditedModel verifiableAuditedModel) |
doVerify, getPortalTableNames, isForceConcurrent, isPortalTableName, verify, verify
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, runSQLTemplate, runSQLTemplate, runSQLTemplateString
public void verify(com.liferay.portal.kernel.verify.model.VerifiableAuditedModel... verifiableAuditedModels) throws Exception
Exception
protected void doVerify() throws Exception
doVerify
in class VerifyProcess
Exception
protected Object[] getAuditedModelArray(Connection connection, String tableName, String pkColumnName, long primKey, boolean allowAnonymousUser, long previousUserId) throws Exception
Exception
protected Object[] getGuestUserArray(Connection connection, long companyId) throws Exception
Exception
protected String getUserName(Connection connection, long userId) throws Exception
Exception
protected void verifyAuditedModel(Connection connection, PreparedStatement preparedStatement, String tableName, long primKey, Object[] auditedModelArray, boolean updateDates) throws Exception
Exception
protected void verifyAuditedModel(com.liferay.portal.kernel.verify.model.VerifiableAuditedModel verifiableAuditedModel) throws Exception
Exception