mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 18:59:10 +00:00
Changed package naming across all examples.
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
package com.iluwatar.servicelayer.magic;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.iluwatar.servicelayer.servicelayer.spell.Spell;
|
||||
import com.iluwatar.servicelayer.spellbook.Spellbook;
|
||||
import com.iluwatar.servicelayer.wizard.Wizard;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Service interface.
|
||||
*
|
||||
*/
|
||||
public interface MagicService {
|
||||
|
||||
List<Wizard> findAllWizards();
|
||||
|
||||
List<Spellbook> findAllSpellbooks();
|
||||
|
||||
List<Spell> findAllSpells();
|
||||
|
||||
List<Wizard> findWizardsWithSpellbook(String name);
|
||||
|
||||
List<Wizard> findWizardsWithSpell(String name);
|
||||
}
|
||||
Reference in New Issue
Block a user