Class PlayerRegisterTransaction
java.lang.Object
com.djrapitops.plan.storage.database.transactions.Transaction
com.djrapitops.plan.storage.database.transactions.events.PlayerRegisterTransaction
- Direct Known Subclasses:
 StoreServerPlayerTransaction
Transaction for registering player's BaseUser to the database.
- 
Field Summary
FieldsFields inherited from class com.djrapitops.plan.storage.database.transactions.Transaction
attempts, dbType, success - 
Constructor Summary
ConstructorsConstructorDescriptionPlayerRegisterTransaction(UUID playerUUID, LongSupplier registered, String playerName)  - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidImplement this method for transaction execution.protected booleanOverride this method for conditional execution.Methods inherited from class com.djrapitops.plan.storage.database.transactions.Transaction
commitMidTransaction, dbIsNotUnderHeavyLoad, execute, execute, executeOther, executeReturningId, executeSwallowingExceptions, executeTransaction, getDBState, getName, getServerUUID, hasTable, query, toString, wasSuccessful 
- 
Field Details
- 
playerUUID
 - 
registered
 
 - 
 - 
Constructor Details
- 
PlayerRegisterTransaction
 
 - 
 - 
Method Details
- 
shouldBeExecuted
protected boolean shouldBeExecuted()Description copied from class:TransactionOverride this method for conditional execution.Please note that the transaction has not been initialized and class variables are not available for queries. The condition should depend on other variables (Like the data that is to be stored) given to the transaction.
- Overrides:
 shouldBeExecutedin classTransaction- Returns:
 - false if the transaction should not execute.
 
 - 
performOperations
protected void performOperations()Description copied from class:TransactionImplement this method for transaction execution.- Specified by:
 performOperationsin classTransaction
 - 
getUserId
 
 -