Class PendingAchievementDAO
java.lang.Object
games.stendhal.server.core.engine.db.PendingAchievementDAO
DAO to gather information on pending achievements
- Author:
- kymara
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deletePendingAchievementDetails(DBTransaction transaction, String charname)
Delete used records for a pending achievement for a given playergetPendingAchievementDetails(DBTransaction transaction, String charname)
Get details on pending achievements for a given player
-
Constructor Details
-
PendingAchievementDAO
public PendingAchievementDAO()
-
-
Method Details
-
deletePendingAchievementDetails
public void deletePendingAchievementDetails(DBTransaction transaction, String charname) throws SQLExceptionDelete used records for a pending achievement for a given player- Parameters:
transaction
- DBTransactioncharname
- name of player- Throws:
SQLException
- in case of an database error
-
getPendingAchievementDetails
public Map<String,Map<String,Integer>> getPendingAchievementDetails(DBTransaction transaction, String charname) throws SQLExceptionGet details on pending achievements for a given player- Parameters:
transaction
- DBTransactioncharname
- name of player- Returns:
- details as param and count
- Throws:
SQLException
- in case of an database error
-