Liferay 7.0-ce-m6

com.liferay.portal.verify
Class VerifyAuditedModel

java.lang.Object
  extended by com.liferay.portal.kernel.dao.db.BaseDBProcess
      extended by com.liferay.portal.verify.VerifyProcess
          extended by com.liferay.portal.verify.VerifyAuditedModel
All Implemented Interfaces:
DBProcess

public class VerifyAuditedModel
extends VerifyProcess


Field Summary
 
Fields inherited from class com.liferay.portal.verify.VerifyProcess
ALWAYS, NEVER, ONCE
 
Constructor Summary
VerifyAuditedModel()
           
 
Method Summary
protected  void doVerify()
           
protected  Object[] getAuditedModelArray(String tableName, String pkColumnName, long primKey)
           
protected  Object[] getDefaultUserArray(Connection con, long companyId)
           
protected  String getUserName(long userId)
           
 void verify(VerifiableAuditedModel... verifiableAuditedModels)
           
protected  void verifyAuditedModel(String tableName, String primaryKeyColumnName, long primKey, Object[] auditedModelArray, boolean updateDates)
           
protected  void verifyAuditedModel(VerifiableAuditedModel verifiableAuditedModel)
           
 
Methods inherited from class com.liferay.portal.verify.VerifyProcess
doVerify, getBuildNumber, getPortalTableNames, isPortalTableName, verify, verify
 
Methods inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess
runSQL, runSQL, runSQLTemplate, runSQLTemplate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerifyAuditedModel

public VerifyAuditedModel()
Method Detail

verify

public void verify(VerifiableAuditedModel... verifiableAuditedModels)
            throws Exception
Throws:
Exception

doVerify

protected void doVerify()
                 throws Exception
Overrides:
doVerify in class VerifyProcess
Throws:
Exception

getAuditedModelArray

protected Object[] getAuditedModelArray(String tableName,
                                        String pkColumnName,
                                        long primKey)
                                 throws Exception
Throws:
Exception

getDefaultUserArray

protected Object[] getDefaultUserArray(Connection con,
                                       long companyId)
                                throws Exception
Throws:
Exception

getUserName

protected String getUserName(long userId)
                      throws Exception
Throws:
Exception

verifyAuditedModel

protected void verifyAuditedModel(String tableName,
                                  String primaryKeyColumnName,
                                  long primKey,
                                  Object[] auditedModelArray,
                                  boolean updateDates)
                           throws Exception
Throws:
Exception

verifyAuditedModel

protected void verifyAuditedModel(VerifiableAuditedModel verifiableAuditedModel)
                           throws Exception
Throws:
Exception

Liferay 7.0-ce-m6