com.liferay.portal.verify
Class VerifyAuditedModel
java.lang.Object
com.liferay.portal.kernel.dao.db.BaseDBProcess
com.liferay.portal.verify.VerifyProcess
com.liferay.portal.verify.VerifyAuditedModel
- All Implemented Interfaces:
- DBProcess
public class VerifyAuditedModel
- extends VerifyProcess
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VerifyAuditedModel
public VerifyAuditedModel()
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