mirror of
https://github.com/Rogiel/l2jserver2
synced 2026-01-27 21:22:48 +00:00
Change-Id: I0000000000000000000000000000000000000000
Change-Id: I8636776eaf000fcdfb528cc403710f6d6ee9e73e Change-Id: Iebc523681d07ecd6d7b7e89343b29a8034558f94
This commit is contained in:
@@ -24,6 +24,24 @@ public interface CharacterDAO extends DataAccessObject<L2Character>, Cacheable {
|
||||
*/
|
||||
L2Character load(CharacterID id);
|
||||
|
||||
/**
|
||||
* Select an character by its name.
|
||||
*
|
||||
* @param name
|
||||
* the character name
|
||||
* @return the found character. Null if does not exists.
|
||||
*/
|
||||
L2Character selectByName(String name);
|
||||
|
||||
/**
|
||||
* Select an character by its name.
|
||||
*
|
||||
* @param name
|
||||
* the character name
|
||||
* @return the found character. Null if does not exists.
|
||||
*/
|
||||
List<L2Character> selectByAccount(String username);
|
||||
|
||||
/**
|
||||
* Loads an List of all {@link ID}s in the database
|
||||
*
|
||||
@@ -36,7 +54,7 @@ public interface CharacterDAO extends DataAccessObject<L2Character>, Cacheable {
|
||||
* Save the instance to the database. If a new database entry was created
|
||||
* returns true.
|
||||
*
|
||||
* @param id
|
||||
* @param option
|
||||
* the id
|
||||
* @return true if created a new entry in database (i.e. insert), false if
|
||||
* not created (i.e. update)
|
||||
|
||||
@@ -22,7 +22,7 @@ public interface ClanDAO extends DataAccessObject<Clan>, Cacheable {
|
||||
* the id
|
||||
*/
|
||||
Clan load(ClanID id);
|
||||
|
||||
|
||||
/**
|
||||
* Loads an List of all {@link ID}s in the database
|
||||
*
|
||||
@@ -35,7 +35,7 @@ public interface ClanDAO extends DataAccessObject<Clan>, Cacheable {
|
||||
* Save the instance to the database. If a new database entry was created
|
||||
* returns true.
|
||||
*
|
||||
* @param id
|
||||
* @param option
|
||||
* the id
|
||||
* @return true if created a new entry in database (i.e. insert), false if
|
||||
* not created (i.e. update)
|
||||
|
||||
@@ -46,7 +46,7 @@ public interface ItemDAO extends DataAccessObject<Item>, Cacheable {
|
||||
* Save the instance to the database. If a new database entry was created
|
||||
* returns true.
|
||||
*
|
||||
* @param id
|
||||
* @param option
|
||||
* the id
|
||||
* @return true if created a new entry in database (i.e. insert), false if
|
||||
* not created (i.e. update)
|
||||
|
||||
@@ -22,7 +22,7 @@ public interface PetDAO extends DataAccessObject<Pet>, Cacheable {
|
||||
* the id
|
||||
*/
|
||||
Pet load(PetID id);
|
||||
|
||||
|
||||
/**
|
||||
* Loads an List of all {@link ID}s in the database
|
||||
*
|
||||
@@ -35,7 +35,7 @@ public interface PetDAO extends DataAccessObject<Pet>, Cacheable {
|
||||
* Save the instance to the database. If a new database entry was created
|
||||
* returns true.
|
||||
*
|
||||
* @param id
|
||||
* @param option
|
||||
* the id
|
||||
* @return true if created a new entry in database (i.e. insert), false if
|
||||
* not created (i.e. update)
|
||||
|
||||
Reference in New Issue
Block a user