mirror of
https://github.com/Rogiel/l2jserver2
synced 2026-01-27 21:22:48 +00:00
@@ -19,12 +19,10 @@ package com.l2jserver.db.dao;
|
||||
import java.util.List;
|
||||
|
||||
import com.l2jserver.model.id.AccountID;
|
||||
import com.l2jserver.model.id.ID;
|
||||
import com.l2jserver.model.id.object.CharacterID;
|
||||
import com.l2jserver.model.world.Clan;
|
||||
import com.l2jserver.model.world.L2Character;
|
||||
import com.l2jserver.service.cache.Cacheable;
|
||||
import com.l2jserver.service.cache.IgnoreCaching;
|
||||
import com.l2jserver.service.database.DataAccessObject;
|
||||
|
||||
/**
|
||||
@@ -61,12 +59,4 @@ public interface CharacterDAO extends
|
||||
* characters.
|
||||
*/
|
||||
List<L2Character> selectByAccount(AccountID account);
|
||||
|
||||
/**
|
||||
* Loads an List of all {@link ID}s in the database
|
||||
*
|
||||
* @return the list containing all ids
|
||||
*/
|
||||
@IgnoreCaching
|
||||
List<CharacterID> listIDs();
|
||||
}
|
||||
|
||||
@@ -16,13 +16,9 @@
|
||||
*/
|
||||
package com.l2jserver.db.dao;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.l2jserver.model.id.ID;
|
||||
import com.l2jserver.model.id.object.ClanID;
|
||||
import com.l2jserver.model.world.Clan;
|
||||
import com.l2jserver.service.cache.Cacheable;
|
||||
import com.l2jserver.service.cache.IgnoreCaching;
|
||||
import com.l2jserver.service.database.DataAccessObject;
|
||||
|
||||
/**
|
||||
@@ -31,11 +27,4 @@ import com.l2jserver.service.database.DataAccessObject;
|
||||
* @author Rogiel
|
||||
*/
|
||||
public interface ClanDAO extends DataAccessObject<Clan, ClanID>, Cacheable {
|
||||
/**
|
||||
* Loads an List of all {@link ID}s in the database
|
||||
*
|
||||
* @return the list containing all ids
|
||||
*/
|
||||
@IgnoreCaching
|
||||
List<ClanID> listIDs();
|
||||
}
|
||||
|
||||
@@ -16,14 +16,10 @@
|
||||
*/
|
||||
package com.l2jserver.db.dao;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.l2jserver.model.id.ID;
|
||||
import com.l2jserver.model.id.object.ItemID;
|
||||
import com.l2jserver.model.world.Item;
|
||||
import com.l2jserver.model.world.L2Character;
|
||||
import com.l2jserver.service.cache.Cacheable;
|
||||
import com.l2jserver.service.cache.IgnoreCaching;
|
||||
import com.l2jserver.service.database.DataAccessObject;
|
||||
|
||||
/**
|
||||
@@ -41,12 +37,4 @@ public interface ItemDAO extends DataAccessObject<Item, ItemID>, Cacheable {
|
||||
* @return amount of items loaded
|
||||
*/
|
||||
int loadInventory(L2Character character);
|
||||
|
||||
/**
|
||||
* Loads an List of all {@link ID}s in the database
|
||||
*
|
||||
* @return the list containing all ids
|
||||
*/
|
||||
@IgnoreCaching
|
||||
List<ItemID> listIDs();
|
||||
}
|
||||
|
||||
@@ -18,12 +18,10 @@ package com.l2jserver.db.dao;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.l2jserver.model.id.ID;
|
||||
import com.l2jserver.model.id.object.NPCID;
|
||||
import com.l2jserver.model.id.template.NPCTemplateID;
|
||||
import com.l2jserver.model.world.NPC;
|
||||
import com.l2jserver.service.cache.Cacheable;
|
||||
import com.l2jserver.service.cache.IgnoreCaching;
|
||||
import com.l2jserver.service.database.DataAccessObject;
|
||||
|
||||
/**
|
||||
@@ -47,12 +45,4 @@ public interface NPCDAO extends DataAccessObject<NPC, NPCID>, Cacheable {
|
||||
* @return the found NPC. Null if does not exists.
|
||||
*/
|
||||
List<NPC> selectByTemplate(NPCTemplateID templateID);
|
||||
|
||||
/**
|
||||
* Loads an List of all {@link ID}s in the database
|
||||
*
|
||||
* @return the list containing all ids
|
||||
*/
|
||||
@IgnoreCaching
|
||||
List<NPCID> listIDs();
|
||||
}
|
||||
|
||||
@@ -16,13 +16,9 @@
|
||||
*/
|
||||
package com.l2jserver.db.dao;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.l2jserver.model.id.ID;
|
||||
import com.l2jserver.model.id.object.PetID;
|
||||
import com.l2jserver.model.world.Pet;
|
||||
import com.l2jserver.service.cache.Cacheable;
|
||||
import com.l2jserver.service.cache.IgnoreCaching;
|
||||
import com.l2jserver.service.database.DataAccessObject;
|
||||
|
||||
/**
|
||||
@@ -31,11 +27,4 @@ import com.l2jserver.service.database.DataAccessObject;
|
||||
* @author Rogiel
|
||||
*/
|
||||
public interface PetDAO extends DataAccessObject<Pet, PetID>, Cacheable {
|
||||
/**
|
||||
* Loads an List of all {@link ID}s in the database
|
||||
*
|
||||
* @return the list containing all ids
|
||||
*/
|
||||
@IgnoreCaching
|
||||
List<PetID> listIDs();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user