Class CADatabaseUserUpdates
java.lang.Object
com.io7m.cardant.database.api.CADatabaseUserUpdates
-
Method Summary
Modifier and TypeMethodDescriptionstatic CAUseruserMerge(CADatabaseConnectionType connection, CAUser user) Merge the given user with the user in the database.static CAUseruserMerge(CADatabaseTransactionType transaction, CAUser user) Merge the given user with the user in the database.static CAUseruserMerge(CADatabaseType database, CAUser user) Merge the given user with the user in the database.
-
Method Details
-
userMerge
Merge the given user with the user in the database.- Parameters:
database- The databaseuser- The user- Returns:
- The merged user
- Throws:
CADatabaseException- On errors
-
userMerge
public static CAUser userMerge(CADatabaseConnectionType connection, CAUser user) throws CADatabaseException Merge the given user with the user in the database.- Parameters:
connection- The database connectionuser- The user- Returns:
- The merged user
- Throws:
CADatabaseException- On errors
-
userMerge
public static CAUser userMerge(CADatabaseTransactionType transaction, CAUser user) throws CADatabaseException Merge the given user with the user in the database.- Parameters:
transaction- The database transactionuser- The user- Returns:
- The merged user
- Throws:
CADatabaseException- On errors
-