source: ether_eccad/trunk/ECCAD_INTERFACE/WEB-INF/src/org/medias/eccad/persistance/dummy/CodeDAOdummy.java @ 68

Last change on this file since 68 was 68, checked in by cbipsl, 14 years ago

commit v1 eccad

  • Property svn:executable set to *
File size: 832 bytes
Line 
1package org.medias.eccad.persistance.dummy;
2
3import java.util.LinkedList;
4import java.util.List;
5
6import org.medias.eccad.persistance.dao.CodeDAO;
7import org.medias.eccad.persistance.exception.PersistanceException;
8
9public class CodeDAOdummy implements CodeDAO {
10
11        public List<String> getListCodeByGrille(long oid) {
12                List<String> map = new LinkedList<String>();
13               
14                map.add("un");
15                map.add("deux");
16                map.add("trois");
17                map.add("quatre");
18                map.add("cinq");
19                map.add("six");
20                map.add("sept");
21                map.add("huit");
22                map.add("neuf");
23                map.add("dix");
24                map.add("onze");
25                map.add("douze");
26                map.add("treize");
27                map.add("quatorze");
28                map.add("quinze");
29                map.add("seize");
30               
31                return map;
32        }
33
34        public Long getNumberCode(long id_grille) throws PersistanceException {
35                // TODO Auto-generated method stub
36                return null;
37        }
38
39}
Note: See TracBrowser for help on using the repository browser.