Class GetCharacterCreationDateCommand
java.lang.Object
marauroa.server.db.command.AbstractDBCommand
games.stendhal.server.core.engine.dbcommand.GetCharacterCreationDateCommand
- All Implemented Interfaces:
DBCommand
Get the date the character was registered
- Author:
- kymara
-
Constructor Summary
ConstructorDescriptionGetCharacterCreationDateCommand(String charname)
creates a new GetCharacterCreationDateCommand -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute(DBTransaction transaction)
processes the database request.To access the character creation date we retrievedtoString()
returns a string suitable for debug output of this DBCommand.Methods inherited from class marauroa.server.db.command.AbstractDBCommand
getEnqueueTime, getException, setEnqueueTime, setException
-
Constructor Details
-
GetCharacterCreationDateCommand
creates a new GetCharacterCreationDateCommand- Parameters:
charname
- the name of the character to get the date for
-
-
Method Details
-
execute
Description copied from class:AbstractDBCommand
processes the database request.- Specified by:
execute
in interfaceDBCommand
- Specified by:
execute
in classAbstractDBCommand
- Parameters:
transaction
- DBTransaction- Throws:
SQLException
- in case of an database error
-
getCreationDate
To access the character creation date we retrieved- Returns:
- date of character creation
-
toString
returns a string suitable for debug output of this DBCommand.
-