package com.hida.dao;

import com.hida.model.Setting;
import com.hida.model.TokenType;
import java.util.List;

/**
 *
 * @author lruffin
 */
public interface SettingDao {
    public void save(Setting setting);    
    public void deleteSetting(Setting setting);
    public List<Setting> findAllSettings();
    public Setting findSettingById(int id);
    public List<Setting> findSetting(String Prefix, TokenType TokenType, String CharMap, int RootLength,
            boolean SansVowels);
}

@@ -20,39 +20,9 @@
 o;%0A%0A
-import com.hida.model.Setting;
 %0A
+
 impo
@@ -50,16 +50,51 @@
 enType;%0A
+import com.hida.model.UsedSetting;%0A
 import j
@@ -156,16 +156,20 @@
 terface 
+Used
 SettingD
@@ -194,16 +194,20 @@
 id save(
+Used
 Setting 
@@ -250,16 +250,20 @@
 Setting(
+Used
 Setting 
@@ -272,16 +272,21 @@
 tting);%0A
+    %0A
     publ
@@ -292,40 +292,53 @@
 lic 
-List%3C
+Used
 Setting
-%3E
  find
-All
+Used
 Setting
-s();
+ById(int id);%0A    
 %0A   
@@ -349,40 +349,52 @@
 lic 
+List%3CUsed
 Setting
+%3E
  find
-SettingById(int id);
+AllUsedSettings();    
 %0A   
@@ -406,16 +406,20 @@
 ic List%3C
+Used
 Setting%3E
@@ -423,16 +423,20 @@
 ng%3E find
+Used
 Setting(
@@ -486,16 +486,28 @@
 CharMap,
+%0A           
  int Roo
@@ -514,28 +514,16 @@
 tLength,
-%0A           
  boolean
@@ -536,10 +536,24 @@
 owels);%0A
+    %0A    %0A   %0A
 %7D%0A

Replace Setting import for UsedSetting import