org.openanzo.server.repository.rdb.sql
Class UserRdbWrapper.BatchUpdateUser
java.lang.Object
org.openanzo.jdbc.utils.batchable.Batchable.BatchOperation
org.openanzo.server.repository.rdb.sql.UserRdbWrapper.BatchUpdateUser
- Enclosing class:
- UserRdbWrapper
public static class UserRdbWrapper.BatchUpdateUser
- extends Batchable.BatchOperation
Batch operation for adding parameters to the UpdateUser prepared statement
|
Method Summary |
void |
addBatch(java.sql.PreparedStatement ps)
Called by BatchExecutor when prepared statement is being readied for execution. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserRdbWrapper.BatchUpdateUser
public UserRdbWrapper.BatchUpdateUser(UserRdbWrapper.UpdateUserParams params)
- Create a batchable object for the updateUser prepared statement.
- Parameters:
params - UpdateUserParams containg input parameters
UserRdbWrapper.BatchUpdateUser
public UserRdbWrapper.BatchUpdateUser(java.lang.String userId,
java.lang.String passwordHash,
long defaultRoleId,
long defaultAclId,
long id)
- Create a batchable object for the updateUser prepared statement.
- Parameters:
userId - template parameterpasswordHash - template parameterdefaultRoleId - template parameterdefaultAclId - template parameterid - template parameter
addBatch
public void addBatch(java.sql.PreparedStatement ps)
throws java.sql.SQLException
- Description copied from class:
Batchable.BatchOperation
- Called by BatchExecutor when prepared statement is being readied for execution. This adds a new batch onto the
preparedStatement in question.
- Specified by:
addBatch in class Batchable.BatchOperation
- Parameters:
ps - preparedStatement onto which batch is added
- Throws:
java.sql.SQLException - if there was an error adding a batch to the preparedStatement
Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.