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, ONCEFields inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess
connection -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoVerify()protected Object[]getAuditedModelArray(Connection connection, String tableName, String pkColumnName, long primKey, boolean allowAnonymousUser, long previousUserId) protected Object[]getGuestUserArray(Connection connection, long companyId) protected StringgetUserName(Connection connection, long userId) voidverify(com.liferay.portal.kernel.verify.model.VerifiableAuditedModel... verifiableAuditedModels) protected voidverifyAuditedModel(com.liferay.portal.kernel.verify.model.VerifiableAuditedModel verifiableAuditedModel) protected voidverifyAuditedModel(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, verifyMethods 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, 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
-
VerifyAuditedModel
public VerifyAuditedModel()
-
-
Method Details
-
verify
public void verify(com.liferay.portal.kernel.verify.model.VerifiableAuditedModel... verifiableAuditedModels) throws Exception - Throws:
Exception
-
doVerify
- Overrides:
doVerifyin 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
-