Liferay 7.0-ce-b4

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
 
Fields inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess
connection
 
Constructor Summary
VerifyAuditedModel()
           
 
Method Summary
protected  void doVerify()
           
protected  Object[] getAuditedModelArray(Connection con, String tableName, String pkColumnName, long primKey, boolean allowAnonymousUser, long previousUserId)
           
protected  Object[] getDefaultUserArray(Connection con, long companyId)
           
protected  String getUserName(Connection con, long userId)
           
 void verify(VerifiableAuditedModel... verifiableAuditedModels)
           
protected  void verifyAuditedModel(Connection con, 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
doHasTable, hasColumn, hasRows, hasTable, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateString
 
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(Connection con,
                                        String tableName,
                                        String pkColumnName,
                                        long primKey,
                                        boolean allowAnonymousUser,
                                        long previousUserId)
                                 throws Exception
Throws:
Exception

getDefaultUserArray

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

getUserName

protected String getUserName(Connection con,
                             long userId)
                      throws Exception
Throws:
Exception

verifyAuditedModel

protected void verifyAuditedModel(Connection con,
                                  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-b4